/* ==========================================================================
   MariannaFS UI — design system for the new design.

   Loaded on every public page after Bootstrap and the legacy stylesheets.
   Everything here is scoped to elements carrying `.mfs-ui` (header, footer,
   journey, mobile bar, and <main> on pages built in the new design), so the
   legacy page bodies keep their own styles until they are rebuilt.

   Contents
     1. Tokens            5. Buttons and links     9. Mobile action bar
     2. Fonts             6. Forms                10. Journey (lead modal)
     3. Base + resets     7. Header + drawer      11. Carousel
     4. Layout + type     8. Footer               12. Motion
   Breakpoints: sm 640, md 768, lg 1024, xl 1280.
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --mfs-font-heading: "Oswald", "Arial Narrow", sans-serif;
  --mfs-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --mfs-navy: #002f6a;
  --mfs-navy-deep: #00224d;
  --mfs-action: #2117d7;
  --mfs-action-hover: #1a11ad;
  --mfs-action-tint: #f3f4ff;
  --mfs-body: #4b515a;
  --mfs-band: #e7f0fa;
  --mfs-band-deep: #dae8f6;
  --mfs-line: #e8edf3;
  --mfs-star: #cc6d26;
  --mfs-wa: #25d366;
  --mfs-wa-ink: #126b39;
  --mfs-wa-line: #168c48;
  --mfs-muted-on-navy: #a9bcd6;
  --mfs-signal: #c8231a;

  --mfs-radius: 12px;
  --mfs-radius-lg: 16px;
  --mfs-radius-sm: 8px;
  --mfs-shadow-card: 0 18px 40px -20px rgb(0 47 106 / 0.28);
  --mfs-shadow-lift: 0 24px 48px -24px rgb(0 47 106 / 0.35);
  --mfs-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --mfs-header-h: 96px;
}

/* 2. Fonts (self-hosted, variable weight) --------------------------------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 3. Base + resets -------------------------------------------------------- */
/* New-design pages don't load Bootstrap, so carry the few global resets it
   provided (identical to Bootstrap's, so legacy pages are unaffected). */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
/* The legacy CSS fixes html/body at 100% height, which stops a sticky header
   once the first screen has scrolled past. */
html,
body {
  height: auto;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--mfs-header-h);
}
@media (max-width: 1023px) {
  html {
    scroll-padding-bottom: 96px;
  }
}
body {
  background: #fff;
}
body.mfs-lock {
  overflow: hidden;
}

.mfs-ui {
  font-family: var(--mfs-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--mfs-navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.mfs-ui ::selection {
  background: var(--mfs-band-deep);
}

/* Neutralise Bootstrap's element styles inside the new UI. :where() keeps
   these at element specificity so any component class overrides them. */
:where(.mfs-ui) :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, address, fieldset, legend, label) {
  margin: 0;
}
:where(.mfs-ui) :where(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
:where(.mfs-ui) :where(ul, ol) {
  padding: 0;
  list-style: none;
}
:where(.mfs-ui) address {
  font-style: normal;
  line-height: inherit;
}
:where(.mfs-ui) label {
  display: block;
}
:where(.mfs-ui) legend {
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  width: auto;
}
:where(.mfs-ui) fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
:where(.mfs-ui) :where(img, svg, picture) {
  vertical-align: middle;
}
:where(.mfs-ui) img {
  max-width: 100%;
  height: auto;
}
:where(.mfs-ui) button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
}
/* Links: no Bootstrap blue or hover underline. Components set their own
   colour, and anchors with a coloured hover state set it on :hover too. */
:where(.mfs-ui) a,
:where(.mfs-ui) a:hover {
  color: inherit;
  text-decoration: none;
}
.mfs-ui :focus-visible,
.mfs-ui:focus-visible {
  outline: 2px solid var(--mfs-action);
  outline-offset: 2px;
}
.mfs-ui :focus:not(:focus-visible) {
  outline: 0;
}
/* On navy grounds the action blue has no contrast: use white. */
.mfs-ui .mfs-on-navy :focus-visible,
.mfs-section--navy :focus-visible,
.mfs-section--navy-deep :focus-visible {
  outline-color: #fff;
}

.mfs-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 4. Layout + type -------------------------------------------------------- */
.mfs-container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 640px) {
  .mfs-container { padding-inline: 32px; }
}
@media (min-width: 1024px) {
  .mfs-container { padding-inline: 40px; }
}

/* Sections: vertical rhythm plus the four grounds used by the design. */
.mfs-section {
  padding-block: 56px;
}
@media (min-width: 1024px) {
  .mfs-section { padding-block: 80px; }
}
.mfs-section--rule { border-top: 1px solid var(--mfs-line); }
.mfs-section--band { background: var(--mfs-band); }
.mfs-section--navy { background: var(--mfs-navy); color: #fff; }
.mfs-section--navy-deep { background: var(--mfs-navy-deep); color: #fff; }

/* Section header: title left, intro or link right on wider screens. */
.mfs-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .mfs-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
}

/* Type scale. Use these classes on new pages so headings and text stay
   consistent; the element (h1/h2/p) stays free for correct document outline. */
.mfs-display,
.mfs-h1,
.mfs-h2,
.mfs-display-lg {
  font-family: var(--mfs-font-heading);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.06;
  text-wrap: balance;
}
/* Page hero H1 */
.mfs-display { font-size: 38px; }
@media (min-width: 640px) { .mfs-display { font-size: 52px; } }
@media (min-width: 1024px) { .mfs-display { font-size: 46px; } }
@media (min-width: 1280px) { .mfs-display { font-size: 60px; } }
/* Closing call to action / big statements */
.mfs-display-lg { font-size: 38px; }
@media (min-width: 640px) { .mfs-display-lg { font-size: 52px; } }
/* Inner-page H1 (no hero image) */
.mfs-h1 { font-size: 36px; }
@media (min-width: 640px) { .mfs-h1 { font-size: 48px; } }
/* Section titles */
.mfs-h2 { font-size: 34px; }
@media (min-width: 640px) { .mfs-h2 { font-size: 44px; } }
/* Card and block titles */
.mfs-h3 {
  font-family: var(--mfs-font-heading);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
}
@media (min-width: 640px) { .mfs-h3 { font-size: 26px; } }
.mfs-h4 {
  font-family: var(--mfs-font-heading);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
}
.mfs-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(0 47 106 / 0.75);
}
.mfs-section--navy .mfs-eyebrow,
.mfs-section--navy-deep .mfs-eyebrow,
.mfs-on-navy .mfs-eyebrow { color: var(--mfs-muted-on-navy); }
.mfs-lead {
  font-size: 17px;
  line-height: 28px;
  color: var(--mfs-body);
}
@media (min-width: 640px) { .mfs-lead { font-size: 18px; } }
.mfs-text { font-size: 16px; line-height: 26px; color: var(--mfs-body); }
.mfs-small { font-size: 14px; line-height: 22px; color: var(--mfs-body); }
.mfs-fine { font-size: 13px; line-height: 19px; color: var(--mfs-body); }
.mfs-strong { font-weight: 600; color: var(--mfs-navy); }
.mfs-measure { max-width: 640px; }
.mfs-num { font-variant-numeric: tabular-nums; }

/* Rich text from the CMS on new-design pages: wrap it in .mfs-prose. */
.mfs-prose { font-size: 17px; line-height: 28px; color: var(--mfs-body); max-width: 760px; }
.mfs-prose > * + * { margin-top: 16px; }
.mfs-prose h2 { font-family: var(--mfs-font-heading); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--mfs-navy); margin-top: 40px; }
.mfs-prose h3 { font-family: var(--mfs-font-heading); font-weight: 700; font-size: 23px; line-height: 1.3; color: var(--mfs-navy); margin-top: 32px; }
.mfs-prose a { color: var(--mfs-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.mfs-prose a:hover { color: var(--mfs-action); text-decoration: underline; }
.mfs-prose ul { list-style: disc; padding-left: 22px; }
.mfs-prose ol { list-style: decimal; padding-left: 22px; }
.mfs-prose li + li { margin-top: 6px; }
.mfs-prose strong { color: var(--mfs-navy); }

/* Card */
.mfs-card {
  background: #fff;
  border: 1px solid var(--mfs-line);
  border-radius: var(--mfs-radius);
}
.mfs-card-lift {
  transition: transform 0.35s var(--mfs-ease), box-shadow 0.35s var(--mfs-ease);
}
.mfs-card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--mfs-shadow-lift);
}
.mfs-card-lift .mfs-zoom {
  transition: transform 0.8s var(--mfs-ease);
}
.mfs-card-lift:hover .mfs-zoom {
  transform: scale(1.04);
}

.mfs-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--mfs-star);
}
.mfs-icon { flex-shrink: 0; }
.mfs-icon--signal { color: var(--mfs-signal); }
.mfs-icon--wa { color: var(--mfs-wa); }
.mfs-icon--action { color: var(--mfs-action); }

/* Round icon button (header phone, menu, drawer close). */
.mfs-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--mfs-line);
  color: var(--mfs-navy);
  background: #fff;
  transition: border-color 0.2s;
}
.mfs-ui a.mfs-icon-btn:hover,
.mfs-icon-btn:hover {
  border-color: var(--mfs-navy);
  color: var(--mfs-navy);
}

/* 5. Buttons and links ---------------------------------------------------- */
.mfs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: var(--mfs-font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out, transform 0.2s ease-out;
}
.mfs-btn:hover { transform: translateY(-1px); }
.mfs-btn:active { transform: none; }
.mfs-btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.mfs-btn--lg { padding: 16px 24px; font-size: 17px; }
.mfs-btn--sm { padding: 12px 20px; font-size: 15px; }
.mfs-btn--block { display: flex; width: 100%; }
.mfs-btn--split { justify-content: space-between; }

.mfs-btn--primary,
.mfs-ui a.mfs-btn--primary:hover { color: #fff; }
.mfs-btn--primary { background: var(--mfs-action); }
.mfs-btn--primary:hover { background: var(--mfs-action-hover); color: #fff; }

.mfs-btn--secondary,
.mfs-ui a.mfs-btn--secondary:hover { color: var(--mfs-navy); }
.mfs-btn--secondary { background: #fff; border-color: rgb(0 47 106 / 0.25); }
.mfs-btn--secondary:hover { border-color: var(--mfs-navy); }

.mfs-btn--whatsapp,
.mfs-ui a.mfs-btn--whatsapp:hover { color: var(--mfs-wa-ink); }
.mfs-btn--whatsapp { background: #fff; border-color: var(--mfs-wa-line); }
.mfs-btn--whatsapp:hover { background: #f2fbf5; }

.mfs-btn--white,
.mfs-ui a.mfs-btn--white:hover { color: var(--mfs-navy); }
.mfs-btn--white { background: #fff; border-color: rgb(255 255 255 / 0.4); }
.mfs-btn--white:hover { background: var(--mfs-band); }

.mfs-btn--ghost-light,
.mfs-ui a.mfs-btn--ghost-light:hover { color: #fff; }
.mfs-btn--ghost-light { background: transparent; border-color: rgb(255 255 255 / 0.3); }
.mfs-btn--ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / 0.1); transform: none; }

/* Text link with a trailing arrow. */
.mfs-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--mfs-navy);
  text-underline-offset: 4px;
}
.mfs-ui a.mfs-link-arrow:hover { color: var(--mfs-navy); text-decoration: underline; }
/* Plain underlined inline link. */
.mfs-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.mfs-ui a.mfs-link { text-decoration: underline; }
.mfs-ui a.mfs-link:hover { text-decoration: underline; color: inherit; }
/* Underline only on hover (footer, lists). */
.mfs-ui a.mfs-link-quiet:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Action row under a block of copy: button + secondary link. */
.mfs-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 640px) {
  .mfs-actions { flex-direction: row; align-items: center; gap: 24px; }
}

/* 6. Forms ---------------------------------------------------------------- */
.mfs-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mfs-navy);
}
.mfs-legend {
  font-size: 16px;
  font-weight: 600;
  color: var(--mfs-navy);
}
.mfs-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgb(0 47 106 / 0.6);
  border-radius: var(--mfs-radius-sm);
  background: #fff;
  font-family: var(--mfs-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--mfs-navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mfs-input::placeholder { color: rgb(75 81 90 / 0.6); }
.mfs-ui .mfs-input:focus-visible,
.mfs-ui .mfs-input:focus {
  outline: none;
  border-color: var(--mfs-action);
  box-shadow: 0 0 0 4px rgb(33 23 215 / 0.14);
}
.mfs-input[aria-invalid="true"] { border-color: var(--mfs-signal); }
.mfs-error {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mfs-signal);
}
.mfs-error[hidden] { display: none; }

/* Choice tiles: a visually hidden radio inside a label. */
.mfs-option,
.mfs-chip {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgb(0 47 106 / 0.25);
  border-radius: var(--mfs-radius-sm);
  background: #fff;
  color: var(--mfs-navy);
  transition: border-color 0.2s, background-color 0.2s;
}
.mfs-option:hover,
.mfs-chip:hover { border-color: rgb(0 47 106 / 0.6); }
.mfs-option input,
.mfs-chip input,
.mfs-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.mfs-option:has(input:checked),
.mfs-chip:has(input:checked) {
  border-color: var(--mfs-action);
  background: var(--mfs-action-tint);
}
.mfs-option:has(input:focus-visible),
.mfs-chip:has(input:focus-visible),
.mfs-check:has(input:focus-visible) .mfs-check__box {
  outline: 2px solid var(--mfs-action);
  outline-offset: 2px;
}
.mfs-option {
  gap: 12px;
  padding: 16px;
  font-size: 17px;
}
.mfs-option__radio {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.5px solid rgb(0 47 106 / 0.6);
  background: #fff;
  transition: border-color 0.2s;
}
.mfs-option__radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mfs-action);
  opacity: 0;
  transition: opacity 0.2s;
}
.mfs-option:has(input:checked) .mfs-option__radio { border-color: var(--mfs-action); }
.mfs-option:has(input:checked) .mfs-option__radio::after { opacity: 1; }
.mfs-chip {
  justify-content: center;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}
.mfs-chip:has(input:checked) { font-weight: 600; }

/* Checkbox with a custom box. */
.mfs-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 21px;
  color: var(--mfs-body);
}
.mfs-check__box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid rgb(0 47 106 / 0.6);
  background: #fff;
  color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.mfs-check__box .mfs-icon { opacity: 0; }
.mfs-check:has(input:checked) .mfs-check__box { background: var(--mfs-action); border-color: var(--mfs-action); }
.mfs-check:has(input:checked) .mfs-check__box .mfs-icon { opacity: 1; }
.mfs-check:has(input[aria-invalid="true"]) .mfs-check__box { border-color: var(--mfs-signal); }
.mfs-check a { color: var(--mfs-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mfs-ui .mfs-check a:hover { color: var(--mfs-navy); text-decoration: underline; }

/* 7. Header + drawer ------------------------------------------------------ */
.mfs-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 60;
}
.mfs-skip:focus { top: 16px; }

.mfs-header {
  position: sticky;
  top: 0;
  z-index: 1030; /* above legacy page content, below the journey modal */
  background: rgb(255 255 255 / 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mfs-line);
  transition: box-shadow 0.3s;
}
.mfs-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 0 var(--mfs-line), 0 12px 32px -24px rgb(0 47 106 / 0.35);
}
.mfs-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
  transition: padding 0.3s;
}
@media (min-width: 1024px) { .mfs-header__bar { padding-block: 20px; } }
@media (min-width: 1280px) { .mfs-header__bar { gap: 32px; } }
.mfs-header.is-scrolled .mfs-header__bar { padding-block: 10px; }

.mfs-header__logo { flex-shrink: 0; display: block; }
.mfs-header__logo img {
  display: block;
  width: auto;
  height: 48px;
  transition: height 0.3s;
}
@media (min-width: 1024px) { .mfs-header__logo img { height: 56px; } }
.mfs-header.is-scrolled .mfs-header__logo img { height: 40px; }

.mfs-nav { display: none; }
@media (min-width: 1024px) {
  .mfs-nav { display: flex; align-items: center; gap: 20px; }
}
@media (min-width: 1280px) { .mfs-nav { gap: 28px; } }
.mfs-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 8px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--mfs-navy);
  transition: color 0.2s;
}
@media (min-width: 1280px) { .mfs-nav__link { font-size: 16px; } }
.mfs-ui a.mfs-nav__link:hover,
.mfs-nav__link:hover,
.mfs-nav__link[aria-current="page"] { color: var(--mfs-action); }
.mfs-nav__link .mfs-icon { transition: transform 0.2s; }
.mfs-menu { position: relative; }
.mfs-menu.is-open .mfs-nav__link .mfs-icon { transform: rotate(180deg); }
.mfs-menu__panel {
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 8px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
}
.mfs-menu.is-open .mfs-menu__panel { visibility: visible; opacity: 1; }
.mfs-menu__list {
  width: 256px;
  padding: 8px;
  border: 1px solid var(--mfs-line);
  border-radius: var(--mfs-radius);
  background: #fff;
  box-shadow: var(--mfs-shadow-card);
}
.mfs-menu__item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--mfs-radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--mfs-navy);
  transition: background-color 0.2s;
}
.mfs-ui a.mfs-menu__item:hover { background: var(--mfs-band); color: var(--mfs-navy); }

.mfs-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 1024px) { .mfs-header__actions { gap: 16px; } }
@media (min-width: 1280px) { .mfs-header__actions { gap: 20px; } }
.mfs-header__login,
.mfs-header__phone { display: none; }
@media (min-width: 1280px) {
  .mfs-header__login,
  .mfs-header__phone { display: inline-flex; align-items: center; white-space: nowrap; }
}
.mfs-header__login { gap: 4px; font-size: 14px; font-weight: 600; color: rgb(0 47 106 / 0.8); }
.mfs-ui a.mfs-header__login:hover { color: var(--mfs-navy); }
.mfs-header__phone { gap: 8px; font-size: 16px; font-weight: 600; color: var(--mfs-navy); }
.mfs-ui a.mfs-header__phone:hover { color: var(--mfs-navy); text-decoration: underline; text-underline-offset: 4px; }
.mfs-header__cta { display: none; }
@media (min-width: 640px) { .mfs-header__cta { display: inline-flex; } }
@media (min-width: 1280px) { .mfs-header__cta { padding-block: 14px; font-size: 16px; } }
@media (min-width: 1280px) { .mfs-header__call { display: none; } }
@media (min-width: 1024px) { .mfs-header__menu { display: none; } }

/* Mobile drawer */
.mfs-drawer {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.mfs-drawer[hidden] { display: none; }
@media (min-width: 1024px) { .mfs-drawer { display: none; } }
.mfs-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}
.mfs-drawer__top img { height: 44px; width: auto; }
.mfs-drawer__icons { display: flex; gap: 8px; }
.mfs-drawer__nav { flex: 1; overflow-y: auto; padding-top: 4px; padding-bottom: 24px; }
.mfs-drawer__list { margin-top: 4px; border-bottom: 1px solid var(--mfs-line); }
.mfs-drawer__list li + li { border-top: 1px solid var(--mfs-line); }
.mfs-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-block: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--mfs-navy);
}
.mfs-ui a.mfs-drawer__link:hover { color: var(--mfs-action); }
.mfs-drawer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  margin-top: 12px;
}
.mfs-drawer__grid li { border-bottom: 1px solid var(--mfs-line); }
.mfs-drawer__foot {
  border-top: 1px solid var(--mfs-line);
  padding-top: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

/* 8. Footer --------------------------------------------------------------- */
.mfs-footer {
  border-top: 1px solid var(--mfs-line);
  background: #fff;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { .mfs-footer { padding-bottom: 0; } }
.mfs-footer__inner { padding-block: 48px; }
@media (min-width: 1024px) { .mfs-footer__inner { padding-block: 56px; } }
.mfs-footer__top {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .mfs-footer__top { grid-template-columns: 5fr 7fr; gap: 64px; }
}
.mfs-footer__logo { height: 56px; width: auto; }
.mfs-footer__address { margin-top: 20px; font-size: 16px; line-height: 26px; color: var(--mfs-navy); }
.mfs-footer__hours { margin-top: 12px; font-size: 15px; color: var(--mfs-body); }
.mfs-footer__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--mfs-navy);
}
.mfs-footer__social { display: flex; gap: 8px; margin-top: 16px; }
.mfs-footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--mfs-line);
  color: var(--mfs-navy);
  transition: border-color 0.2s;
}
.mfs-ui .mfs-footer__social a:hover { border-color: var(--mfs-navy); color: var(--mfs-navy); }
.mfs-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mfs-footer__heading { font-family: var(--mfs-font-heading); font-size: 22px; font-weight: 700; color: var(--mfs-navy); }
.mfs-footer__links { margin-top: 12px; font-size: 15px; color: var(--mfs-navy); }
.mfs-footer__links a { display: inline-block; padding-block: 6px; }
.mfs-footer__block { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--mfs-line); }
.mfs-footer__block--first { margin-top: 40px; }
.mfs-footer__inline { margin-top: 8px; font-size: 15px; line-height: 28px; color: var(--mfs-navy); }
.mfs-footer__warning { font-size: 17px; font-weight: 600; line-height: 28px; color: var(--mfs-navy); }
.mfs-footer__legal { margin-top: 12px; font-size: 14px; line-height: 23px; color: var(--mfs-body); }
.mfs-footer__legal + .mfs-footer__legal { margin-top: 8px; }
.mfs-footer__legal--first { margin-top: 16px; }
.mfs-footer__policies { margin-top: 16px; font-size: 14px; line-height: 28px; color: var(--mfs-navy); }

/* 9. Mobile action bar ---------------------------------------------------- */
.mfs-actionbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1020;
  border-top: 1px solid var(--mfs-line);
  background: rgb(255 255 255 / 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.3s;
}
.mfs-actionbar.is-visible { transform: none; }
@media (min-width: 1024px) { .mfs-actionbar { display: none; } }
@media (orientation: landscape) and (max-height: 500px) { .mfs-actionbar { display: none; } }
.mfs-actionbar__inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.mfs-actionbar__icon { flex: none; width: 44px; height: 44px; padding: 0; }
.mfs-actionbar__cta { flex: 0 1 auto; min-width: 0; height: 44px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
@media (max-width: 339px) {
  .mfs-actionbar__inner { gap: 6px; padding-inline: 12px; }
  .mfs-actionbar__cta { padding: 0 12px; font-size: 14px; }
  .mfs-actionbar__cta svg { display: none; }
}
/* Cookie banner (markup in the layout, logic in mariannafs.min.js). Styled
   here so pages that no longer load the legacy CSS still show it. */
.mfs-cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 10000;
  max-width: 380px;
  width: calc(100% - 40px);
  padding: 18px 20px;
  border-radius: var(--mfs-radius);
  background: var(--mfs-navy);
  color: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
  font-family: var(--mfs-font-body);
  font-size: 14px;
  line-height: 1.5;
}
.mfs-cookie-banner[hidden] { display: none; }
.mfs-cookie-banner-inner { display: flex; flex-direction: column; gap: 14px; }
.mfs-cookie-banner-text { margin: 0; }
.mfs-cookie-banner-text a,
.mfs-cookie-banner-text a:hover { color: #fff; text-decoration: underline; }
.mfs-cookie-banner-actions { display: flex; gap: 10px; justify-content: flex-end; }
.mfs-cookie-banner button {
  padding: 9px 18px;
  border: 0;
  border-radius: 6px;
  font-family: var(--mfs-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.mfs-cookie-reject { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.5) !important; }
.mfs-cookie-reject:hover { background: rgb(255 255 255 / 0.1); }
.mfs-cookie-accept { background: #fff; color: var(--mfs-navy); }
.mfs-cookie-accept:hover { background: var(--mfs-band); }
/* Keep the cookie banner clear of the action bar on phones. */
@media (max-width: 1023px) {
  .mfs-cookie-banner {
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
  .mfs-cookie-banner-actions button { flex: 1; }
}

/* 10. Journey (lead modal) ------------------------------------------------ */
.mfs-journey {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mfs-journey[hidden] { display: none; }
@media (min-width: 640px) {
  .mfs-journey { align-items: center; padding: 16px; }
}
.mfs-journey__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 47 106 / 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.mfs-journey__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 100dvh;
  overflow: hidden;
  border-radius: var(--mfs-radius-lg) var(--mfs-radius-lg) 0 0;
  background: var(--mfs-band);
  box-shadow: var(--mfs-shadow-lift);
  animation: mfs-sheet-in 0.32s var(--mfs-ease) both;
}
@media (min-width: 640px) {
  .mfs-journey__panel { width: 540px; max-height: 92vh; border-radius: var(--mfs-radius-lg); }
}
.mfs-journey__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 0;
}
@media (min-width: 640px) { .mfs-journey__bar { padding: 20px 28px 0; } }
.mfs-journey__textbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mfs-navy);
  text-underline-offset: 4px;
}
.mfs-journey__textbtn:hover { text-decoration: underline; }
.mfs-journey__textbtn[hidden] { display: inline-flex; visibility: hidden; }
.mfs-journey__progress { padding: 8px 20px 0; }
@media (min-width: 640px) { .mfs-journey__progress { padding: 12px 28px 0; } }
.mfs-journey__progress[hidden] { display: none; }
.mfs-journey__bars { display: flex; gap: 6px; }
.mfs-journey__bars span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgb(0 47 106 / 0.15);
  transition: background-color 0.3s;
}
.mfs-journey__bars span.is-done { background: var(--mfs-action); }
.mfs-journey__count {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(0 47 106 / 0.7);
}
@media (max-height: 500px) { .mfs-journey__count { display: none; } }
.mfs-journey__scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 20px 24px;
}
@media (min-width: 640px) { .mfs-journey__scroll { padding: 12px 28px 28px; } }
.mfs-journey__step[hidden] { display: none; }
.mfs-journey__step.is-entering { animation: mfs-step-in 0.35s var(--mfs-ease) both; }
.mfs-journey__title {
  font-family: var(--mfs-font-heading);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--mfs-navy);
  outline: none;
}
@media (min-width: 640px) { .mfs-journey__title { font-size: 34px; } }
.mfs-journey__sub { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--mfs-body); }
.mfs-journey__choices { display: grid; gap: 12px; margin-top: 20px; }
.mfs-journey__choice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--mfs-line);
  border-radius: var(--mfs-radius);
  background: #fff;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.mfs-journey__choice:hover {
  transform: translateY(-2px);
  border-color: var(--mfs-action);
  box-shadow: var(--mfs-shadow-card);
}
.mfs-journey__choice-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--mfs-radius-sm);
  background: var(--mfs-band);
  color: var(--mfs-navy);
  transition: background-color 0.2s, color 0.2s;
}
.mfs-journey__choice:hover .mfs-journey__choice-icon { background: var(--mfs-action); color: #fff; }
.mfs-journey__choice-text { flex: 1; }
.mfs-journey__choice-title {
  display: block;
  font-family: var(--mfs-font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mfs-navy);
}
.mfs-journey__choice-body { display: block; margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--mfs-body); }
.mfs-journey__choice .mfs-icon--action { margin-top: 4px; transition: transform 0.2s; }
.mfs-journey__choice:hover .mfs-icon--action { transform: translateX(4px); }
.mfs-journey__group { margin-top: 20px; }
.mfs-journey__group + .mfs-journey__group { margin-top: 24px; }
.mfs-journey__options { display: grid; gap: 10px; margin-top: 12px; }
.mfs-journey__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mfs-journey__chips--3 { grid-template-columns: repeat(3, 1fr); }
.mfs-journey__fields { display: grid; gap: 12px; margin-top: 20px; }
.mfs-journey__consent { margin-top: 20px; }
.mfs-journey__submit { margin-top: 20px; }
.mfs-journey__alert {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--mfs-radius-sm);
  background: #fff;
  border: 1px solid var(--mfs-signal);
  font-size: 15px;
  font-weight: 500;
  color: var(--mfs-signal);
}
.mfs-journey__alert[hidden] { display: none; }
.mfs-journey__done {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--mfs-line);
  border-radius: var(--mfs-radius);
  background: #fff;
}
@media (min-width: 640px) { .mfs-journey__done { padding: 32px; } }
.mfs-journey__done-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--mfs-band);
  color: var(--mfs-navy);
}
.mfs-journey__done-body { margin-top: 20px; font-size: 17px; line-height: 28px; color: var(--mfs-navy); }
.mfs-journey__ready-title { margin-top: 20px; font-size: 14px; letter-spacing: 0.08em; }
.mfs-journey__done-alt { margin-top: 20px; }
.mfs-journey__done-wa { margin-top: 20px; }
.mfs-journey__done-close { margin-top: 16px; }
.mfs-journey__ready { display: grid; gap: 8px; margin-top: 8px; }
.mfs-journey__ready li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 24px; color: var(--mfs-navy); }
.mfs-journey__ready .mfs-icon { margin-top: 4px; color: var(--mfs-action); }

/* 11. Carousel (scroll-snap track with prev/next buttons) ---------------- */
.mfs-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.mfs-carousel__track::-webkit-scrollbar { display: none; }
.mfs-carousel__track > * { scroll-snap-align: start; flex-shrink: 0; }
.mfs-carousel__controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mfs-carousel__status { margin-right: 4px; font-size: 14px; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 0.8); }
.mfs-carousel__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.4);
  color: #fff;
  transition: background-color 0.2s, opacity 0.2s;
}
.mfs-carousel__btn:hover { background: rgb(255 255 255 / 0.1); }
.mfs-carousel__btn--next { border-color: #fff; background: #fff; color: var(--mfs-navy); }
.mfs-carousel__btn--next:hover { background: var(--mfs-band); }
.mfs-carousel__btn:disabled { opacity: 0.4; cursor: default; }

/* 12. Motion -------------------------------------------------------------- */
@keyframes mfs-step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes mfs-sheet-in {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mfs-ui *,
  .mfs-ui *::before,
  .mfs-ui *::after {
    animation: none !important;
    transition: none !important;
  }
  .mfs-card-lift:hover,
  .mfs-card-lift:hover .mfs-zoom,
  .mfs-btn:hover { transform: none; }
}

/* Skip-link target: focusable for keyboard users, no visible ring. */
main#main:focus { outline: none; }
