/* ==========================================================================
   Orthivaro Orthodontics — main stylesheet
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --navy: #0c3264;
  --navy-800: #0a2a55;
  --navy-900: #071d3d;
  --navy-100: #e6ecf5;
  --teal: #30b6c3;
  --teal-700: #137480;
  --teal-100: #d3f0f3;
  --teal-50: #ebf8f9;
  --coral: #ea6747;
  --cta: #c8472a;
  --cta-hover: #ad3b21;
  --coral-50: #fdeee9;
  --peach: #fbb07c;
  --sand: #f4f0eb;
  --sand-2: #ebe4db;
  --ink: #12203a;
  --body: #3f4a5e;
  --muted: #5b6579;
  --line: #e2e6ed;
  --white: #fff;
  --success: #1f8a5b;
  --danger: #c0392b;

  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(12, 50, 100, .06), 0 2px 8px rgba(12, 50, 100, .05);
  --shadow: 0 2px 4px rgba(12, 50, 100, .04), 0 12px 32px rgba(12, 50, 100, .09);
  --shadow-lg: 0 30px 60px -24px rgba(12, 50, 100, .32), 0 8px 20px rgba(12, 50, 100, .06);

  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.55rem + 3.9vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); letter-spacing: -.01em; line-height: 1.2; }
h4 { font-size: 1.15rem; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--xs { width: .9em; height: .9em; }
.icon--sm { width: 1.05em; height: 1.05em; }
.icon--lg { width: 1.75rem; height: 1.75rem; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.container--mid { max-width: 1080px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal-50); }
.section--flush-top { padding-top: 0; }
.sr-only { position: absolute !important; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 10px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M2 2c5 7 13 7 18 0' fill='none' stroke='%23EA6747' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.center .eyebrow, .eyebrow--center { justify-content: center; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.6; color: var(--body); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head p:last-child { margin-bottom: 0; }

/* Brand "smile" underline — the coral arc from the logo */
.smile { position: relative; white-space: nowrap; display: inline-block; }
.smile::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -.14em; height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 5c55 22 137 22 192 0' fill='none' stroke='%23EA6747' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left; animation: smile-draw .9s .35s var(--ease) both;
}
@keyframes smile-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.text-teal { color: var(--teal-700); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--cta); --btn-fg: #fff; --btn-bd: var(--cta);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.6em; border-radius: 999px; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary:hover { --btn-bg: var(--cta-hover); --btn-bd: var(--cta-hover); box-shadow: 0 10px 24px -10px rgba(200, 71, 42, .6); }
.btn--navy { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn--navy:hover { --btn-bg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(12, 50, 100, .28); }
.btn--outline:hover { --btn-bd: var(--navy); --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--teal-50); --btn-bd: var(--teal-50); --btn-fg: var(--navy); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .4); }
.btn--ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 44px; padding: .55em 1.2em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow, .link-arrow:hover .icon { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .icon { color: var(--coral); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--cta); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.utility { border-bottom: 1px solid var(--line); font-size: .875rem; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.utility__left, .utility__right { display: flex; align-items: center; gap: 18px; }
.utility__link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; text-decoration: none; }
.utility__link:hover { color: var(--cta); }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.lang-switch a { padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--navy); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--cta); color: #fff; }
.lang-switch--lg a { padding: 8px 18px; font-size: .9rem; }
.my-location { position: relative; }
.my-location summary { list-style: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--muted); padding: 6px 0; }
.my-location summary::-webkit-details-marker { display: none; }
.my-location__value { color: var(--cta); font-weight: 700; }
.my-location__panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: min(560px, 92vw); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px; }
.my-location__title { font-family: var(--font-display); font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.my-location__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 12px; }
.my-location__grid a { display: block; padding: 5px 8px; border-radius: 8px; color: var(--body); text-decoration: none; }
.my-location__grid a:hover { background: var(--teal-50); color: var(--navy); }

.mainbar { transition: box-shadow .25s; }
.site-header.is-scrolled .mainbar { box-shadow: 0 8px 24px -16px rgba(12, 50, 100, .35); }
.mainbar__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; }
.primary-nav { margin-right: auto; }
.primary-nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.primary-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 0; background: none;
  color: var(--navy); font-weight: 650; font-size: .975rem; text-decoration: none; white-space: nowrap;
}
.primary-nav__link .icon { color: var(--coral); transition: transform .2s; }
.primary-nav__link:hover, .primary-nav__link[aria-current] { background: var(--teal-50); color: var(--navy); }
.has-menu { position: relative; }
.has-menu.is-open > .primary-nav__link .icon { transform: rotate(180deg); }
.mega {
  position: absolute; left: -12px; top: calc(100% + 10px); width: 380px; padding: 12px; background: #fff; border-radius: var(--r);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .22s var(--ease), visibility 0s .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .22s var(--ease); }
.mega__list { list-style: none; display: grid; gap: 2px; }
.mega__item { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--body); }
.mega__item strong { display: block; color: var(--navy); font-weight: 650; line-height: 1.3; }
.mega__item small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.mega__item:hover, .mega__item[aria-current] { background: var(--sand); }
.mega__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); flex: none; transition: background .2s, color .2s; }
.mega__item:hover .mega__icon { background: var(--navy); color: #fff; }
.mega__all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 650; text-decoration: none; }
.mega__all:hover { color: #fff; background: var(--navy-800); }
.mainbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.show-xs { display: none; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; }
.burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: var(--drawer-top, 118px) 0 0 0; z-index: 45; background: #fff; overflow-y: auto; overscroll-behavior: contain; animation: drawer-in .28s var(--ease); }
.drawer[hidden] { display: none; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } }
.drawer__inner { padding: 12px var(--gutter) 40px; display: grid; gap: 24px; }
.drawer__list { list-style: none; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy); text-decoration: none; list-style: none; cursor: pointer; }
.drawer__link::-webkit-details-marker { display: none; }
.drawer__link .icon { color: var(--coral); transition: transform .2s; }
.drawer__group[open] .drawer__link .icon { transform: rotate(180deg); }
.drawer__group ul { list-style: none; padding: 0 0 14px; display: grid; gap: 2px; }
.drawer__group a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; color: var(--body); text-decoration: none; font-weight: 600; }
.drawer__group a .icon { color: var(--teal-700); }
.drawer__group a:hover { background: var(--teal-50); }
.drawer__foot { display: grid; gap: 12px; justify-items: stretch; }
.drawer__foot .lang-switch { justify-self: center; margin-top: 8px; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--sand); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; min-height: min(720px, calc(100vh - 118px)); }
.hero__content { padding: clamp(48px, 7vw, 104px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) 0; align-self: center; }
.hero h1 { margin-bottom: .45em; max-width: 12ch; }
.hero .lead { margin-bottom: 2rem; }
.hero__media { position: relative; margin-right: calc(-1 * (max(0px, (100vw - 1280px) / 2) + var(--gutter))); }
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-bottom-left-radius: var(--r-xl); }
.hero__badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--r); box-shadow: var(--shadow); color: var(--navy); font-weight: 650; line-height: 1.25;
  animation: float-in .8s .5s var(--ease) both;
}
.hero__badge small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.hero__badge--a { left: clamp(-40px, -3vw, -16px); bottom: 14%; }
.hero__badge--b { right: calc(var(--gutter) + 16px); top: 9%; animation-delay: .7s; }
.hero__badge-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--coral-50); color: var(--cta); flex: none; }
.hero__badge-icon--teal { background: var(--teal-50); color: var(--teal-700); }
@keyframes float-in { from { opacity: 0; transform: translateY(14px); } }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; font-size: .95rem; color: var(--muted); }
.hero__trust strong { color: var(--navy); }
.hero__trust > span { display: inline-flex; align-items: center; gap: 8px; }
.stars { display: inline-flex; gap: 1px; color: #f2a93b; }
.stars .icon { width: 1em; height: 1em; }

/* Search pill */
.search-label { display: block; font-size: .875rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.search-pill { display: flex; align-items: center; gap: 6px; max-width: 520px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid rgba(12, 50, 100, .06); }
.search-pill .icon { margin-left: 14px; color: var(--muted); }
.search-pill input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 6px; font-size: 1rem; color: var(--ink); }
.search-pill input:focus { outline: none; }
.search-pill:focus-within { box-shadow: 0 0 0 3px var(--teal-100), var(--shadow); }
.search-pill .btn { flex: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--sand); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.page-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); }
.page-hero .lead { margin-bottom: 1.75rem; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 8px; box-shadow: var(--shadow-lg); }
.page-hero__media--wide img { aspect-ratio: 4 / 3; }
.page-hero__media::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; right: -14%; top: -12%; border-radius: 50%; border: 22px solid var(--teal-100); border-top-color: transparent; transform: rotate(20deg); z-index: 0; }
.page-hero__media img { position: relative; z-index: 1; }
.page-hero--simple .page-hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-block: clamp(48px, 7vw, 96px); }
.page-hero--simple h1 { max-width: 18ch; }
.page-hero--simple .lead { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.75rem; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm); }
.chips .icon { color: var(--teal-700); }

/* Breadcrumbs */
.crumbs { font-size: .875rem; margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: #a7b0bf; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.page-hero--simple .crumbs ol { justify-content: center; }

/* ---------- Reviews strip ---------- */
.reviews { padding-block: 48px 8px; }
.reviews__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.review { text-align: center; padding: 8px 10px; }
.review .stars { margin-bottom: 10px; color: var(--navy); }
.review blockquote { margin: 0 0 10px; font-size: .95rem; line-height: 1.55; color: var(--body); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-expanded blockquote { -webkit-line-clamp: unset; }
.review__more { border: 0; background: none; padding: 0; color: var(--cta); font-weight: 700; font-size: .875rem; margin-bottom: 6px; }
.review cite { display: block; font-style: normal; font-weight: 700; color: var(--teal-700); font-size: .9rem; }
.review cite small { display: block; font-weight: 500; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16.66%; right: 16.66%; height: 2px; background: repeating-linear-gradient(90deg, var(--coral) 0 10px, transparent 10px 18px); opacity: .55; }
.step { position: relative; text-align: center; padding-inline: 8px; }
.step__num { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--coral-50); }
.step__num span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cta); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; box-shadow: 0 8px 18px -6px rgba(200, 71, 42, .55); }
.step h3 { font-size: 1.3rem; margin-bottom: .4em; }
.step p { color: var(--muted); max-width: 30ch; margin-inline: auto; }
.steps--left .step { text-align: left; }
.steps--left .step__num { margin-left: 0; }
.steps--left .step p { margin-inline: 0; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--4::before { left: 12.5%; right: 12.5%; }

/* ---------- Feature rows (image + text) ---------- */
.feature-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-lg); }
.feature__media::after { content: ""; position: absolute; z-index: -1; inset: auto -18px -18px auto; width: 46%; height: 46%; border-radius: var(--r-lg); background: var(--teal-100); }
.feature:nth-child(even) .feature__media::after { inset: auto auto -18px -18px; background: var(--coral-50); }
.feature__tag { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .8rem; box-shadow: var(--shadow-sm); }
.feature__body h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); }
.feature__body > p { font-size: 1.075rem; }

.checklist { list-style: none; display: grid; gap: 10px; margin: 0 0 1.75rem; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23137480' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 13px;
}
.checklist--light li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363DEE4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Compare table ---------- */
.compare-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: .975rem; }
.compare th, .compare td { padding: 18px 16px; text-align: center; vertical-align: middle; }
.compare thead th { font-family: var(--font-display); color: var(--navy); font-weight: 650; font-size: 1.02rem; line-height: 1.2; border-bottom: 3px solid var(--navy); }
.compare thead th:first-child { text-align: left; border-bottom-color: transparent; }
.compare thead th.is-brand { background: var(--navy); color: #fff; border-radius: var(--r) var(--r) 0 0; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.compare tbody tr:nth-child(odd) > * { background: #fff; }
.compare tbody tr:nth-child(odd) > th { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.compare tbody tr:nth-child(odd) > td:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.compare td.is-brand { background: var(--teal-50) !important; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.compare .yes { background: #dff3ea; color: var(--success); }
.compare .no { background: #fbe5e1; color: var(--danger); }
.compare .icon { width: 17px; height: 17px; stroke-width: 3; }
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; }
.compare thead th:first-child { background: var(--sand); }
.compare tbody tr:nth-child(even) > th { background: var(--sand); }

/* ---------- Navy band ---------- */
.band { position: relative; color: #dbe5f3; background: linear-gradient(115deg, #1c4a8a 0%, var(--navy) 45%, var(--navy-900) 100%); overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -420px; top: -460px; border-radius: 50%; border: 80px solid rgba(48, 182, 195, .1); border-bottom-color: transparent; transform: rotate(-30deg); }
.band h2, .band h3, .band strong { color: #fff; }
.band a:not(.btn) { color: var(--peach); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.band__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.band .eyebrow { color: var(--teal); }
.band-list { list-style: none; display: grid; gap: 26px; margin: 28px 0 32px; }
.band-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.band-list__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #63dee4; }
.band-list h3 { font-size: 1.3rem; margin: 0 0 .25em; }
.band-list p { margin: 0; color: #c9d6e8; }

/* ---------- Stats ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 28px 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2.3rem, 1.8rem + 2vw, 3.4rem); font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.stat__num em { font-style: normal; color: var(--coral); }
.stat p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Gallery collage ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 17vw, 250px); gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(7, 29, 61, .72); color: #fff; font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gallery figure:nth-child(1) { grid-row: span 2; }
.gallery figure:nth-child(2) img, .gallery figure:nth-child(6) img { object-position: 50% 30%; }
.gallery figure:nth-child(3) { grid-column: span 2; }
.gallery figure:nth-child(3) img { object-position: 50% 35%; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: #fff; border-radius: var(--r); padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.card h3 { font-size: 1.35rem; }
.card p:last-child { margin-bottom: 0; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--sand { background: var(--sand); border-color: transparent; box-shadow: none; }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; background: var(--teal-50); color: var(--teal-700); }
.card__icon .icon { width: 28px; height: 28px; }
.card__icon--coral { background: var(--coral-50); color: var(--cta); }
.card__icon--navy { background: var(--navy); color: #fff; }
.card .link-arrow { margin-top: 8px; }
.card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .checklist { margin-bottom: 0; font-size: .975rem; }

/* Treatment cards (with photos) */
.tcard { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.tcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.04); }
.tcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tcard__body p { color: var(--muted); }
.tcard__body .link-arrow { margin-top: auto; }
.tcard__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: .78rem; font-weight: 700; }
.pill--coral { background: var(--coral-50); color: var(--cta); }
.pill--navy { background: var(--navy-100); color: var(--navy); }

/* Split section */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split__media img { width: 100%; border-radius: var(--r-lg); object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__media--wide img { aspect-ratio: 4 / 3; }

/* Fact box */
.facts { list-style: none; display: grid; gap: 0; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.facts li { display: flex; gap: 16px; align-items: center; padding: 20px 24px; }
.facts li + li { border-top: 1px solid var(--line); }
.facts .icon { width: 26px; height: 26px; color: var(--teal-700); }
.facts span { display: block; font-size: .85rem; color: var(--muted); }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }

/* State chips */
.state-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.state-grid a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 650; text-decoration: none; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.state-grid a:hover { border-color: var(--teal); background: var(--teal-50); transform: translateY(-2px); }
.state-grid small { flex: none; padding: 2px 9px; border-radius: 999px; background: var(--sand); color: var(--muted); font-weight: 700; font-size: .78rem; }

/* Posts */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.post-card h3 { font-size: 1.25rem; margin-bottom: .5em; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .975rem; }

/* CTA panel */
.cta-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: #c9d6e8; box-shadow: var(--shadow-lg); }
.cta-panel__body { padding: clamp(32px, 5vw, 72px); }
.cta-panel h2 { color: #fff; }
.cta-panel__media { position: relative; min-height: 320px; }
.cta-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-panel .checklist { color: #e3eaf4; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: rgba(48, 182, 195, .6); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--sand); color: var(--navy); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--cta); color: #fff; }
.faq__body { padding: 0 24px 22px; }
.faq__body p { margin: 0; max-width: 72ch; }
@supports (interpolate-size: allow-keywords) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}
.faq-groups { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-nav { position: sticky; top: 140px; display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: 10px; color: var(--navy); font-weight: 600; text-decoration: none; }
.faq-nav a:hover { background: var(--sand); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.75rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 650; color: var(--ink); font-size: .95rem; padding: 0; }
.field .hint { font-weight: 500; color: var(--muted); font-size: .85rem; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #cfd6e1; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C3264' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; }
.input:hover, .select:hover, .textarea:hover { border-color: #9fabbd; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-100); }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--danger); }
.field__error { display: none; color: var(--danger); font-size: .85rem; font-weight: 600; }
.field.is-invalid .field__error { display: block; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #cfd6e1; background: #fff; font-weight: 600; color: var(--navy); transition: border-color .2s, background .2s, box-shadow .2s; }
.choice span .icon { color: var(--teal-700); }
.choice span small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.choice input:hover + span { border-color: #9fabbd; }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 1px var(--teal); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--teal-100); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-700); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
.form-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); }
.form-steps { display: flex; gap: 8px; margin-bottom: 28px; list-style: none; }
.form-steps li { flex: 1; }
.form-steps span { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; position: relative; }
.form-steps span::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.form-steps li.is-done span::after, .form-steps li.is-current span::after { transform: none; }
.form-steps small { display: block; margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.form-steps li.is-current small { color: var(--navy); }
.form-step[hidden] { display: none; }
.form-step h2 { font-size: 1.6rem; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.form-success { text-align: center; padding: 24px 0; }
.form-success__icon { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.form-success__icon .icon { width: 40px; height: 40px; stroke-width: 2.5; }
.form-error { padding: 12px 16px; border-radius: 12px; background: #fbe5e1; color: #8e2a1c; font-weight: 600; }

/* ---------- Clinic finder ---------- */
.finder { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.finder__filters { position: sticky; top: 140px; display: grid; gap: 22px; padding: 24px; border-radius: var(--r); background: var(--sand); }
.finder__filters h2 { font-size: 1.25rem; margin: 0; }
.finder__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.finder__count { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); font-weight: 600; margin: 0; }
.finder__results { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.finder__more { margin-top: 24px; text-align: center; }
.finder__empty { padding: 48px 24px; text-align: center; border-radius: var(--r); border: 1.5px dashed #cfd6e1; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.toggle input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: #c5cdd9; position: relative; transition: background .2s; flex: none; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.toggle input:checked { background: var(--teal-700); }
.toggle input:checked::after { transform: translateX(18px); }
.clinic { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s var(--ease), border-color .2s; }
.clinic:hover { box-shadow: var(--shadow); border-color: #cbd5e3; }
.clinic__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.clinic h3 { font-size: 1.2rem; margin: 0; }
.clinic__state { font-size: .82rem; color: var(--muted); font-weight: 600; }
.clinic__rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--navy); font-size: .9rem; flex: none; }
.clinic__rating .icon { color: #f2a93b; width: 1em; height: 1em; }
.clinic__rating small { color: var(--muted); font-weight: 500; }
.clinic__info { list-style: none; display: grid; gap: 6px; font-size: .95rem; }
.clinic__info li { display: flex; gap: 10px; align-items: flex-start; }
.clinic__info .icon { margin-top: 3px; color: var(--teal-700); }
.clinic__info a { color: var(--navy); font-weight: 600; text-decoration: none; }
.clinic__info a:hover { color: var(--cta); }
.clinic__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.clinic__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.clinic__actions .btn { flex: 1; min-height: 42px; font-size: .9rem; padding-inline: 1em; }

/* ---------- Prose (articles & legal) ---------- */
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--body); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--coral); }
.prose blockquote { position: relative; margin: 2em 0; padding: 40px 32px 28px; background: var(--sand); border-radius: var(--r); font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); line-height: 1.45; }
.prose blockquote::before { content: ""; position: absolute; left: 32px; top: 18px; width: 40px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M3 3c10 11 24 11 34 0' fill='none' stroke='%23EA6747' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--muted); font-size: .95rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { margin-top: -1px; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-xl); }
.callout { display: flex; gap: 18px; padding: 24px; border-radius: var(--r); background: var(--teal-50); border: 1px solid var(--teal-100); }
.callout .icon { width: 28px; height: 28px; color: var(--teal-700); flex: none; }
.callout p { margin: 0; }

/* Timeline */
.timeline { list-style: none; position: relative; display: grid; gap: 28px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), var(--coral)); border-radius: 2px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.timeline h3 { font-size: 1.25rem; margin-bottom: .3em; }
.timeline p { margin: 0; color: var(--muted); }
.timeline__time { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cta); margin-bottom: 4px; }

/* App badges */
.app-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; line-height: 1.15; }
.app-badge small { display: block; font-size: .7rem; opacity: .8; }
.app-badge strong { color: #fff; font-size: 1rem; }
.app-badge:hover { background: var(--navy); color: #fff; }

/* Phone mockup (Orthivaro Anywhere) */
.phone { position: relative; width: min(300px, 80%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: var(--ink); box-shadow: var(--shadow-lg); }
.phone__screen { height: 100%; border-radius: 34px; background: linear-gradient(180deg, var(--teal-50), #fff 40%); overflow: hidden; padding: 44px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.phone__notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: var(--ink); }
.phone__title { font-family: var(--font-display); font-weight: 650; color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.phone__card { background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-sm); font-size: .8rem; line-height: 1.4; display: flex; gap: 10px; align-items: center; }
.phone__card .icon { width: 22px; height: 22px; color: var(--teal-700); }
.phone__card strong { display: block; font-size: .85rem; color: var(--navy); }
.phone__progress { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.phone__progress span { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--teal), var(--coral)); border-radius: inherit; }
.phone__btn { margin-top: auto; padding: 12px; border-radius: 999px; background: var(--cta); color: #fff; text-align: center; font-weight: 700; font-size: .85rem; }

/* Team / leaders */
.person { text-align: center; }
.person__avatar { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--teal), var(--navy)); }
.person h3 { font-size: 1.15rem; margin-bottom: .2em; }
.person p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Jobs */
.jobs { list-style: none; display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.job:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.job h3 { font-size: 1.15rem; margin: 0 0 .25em; }
.job p { margin: 0; color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.job p span { display: inline-flex; align-items: center; gap: 6px; }

/* Contact cards */
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.contact-item .card__icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.contact-item h3 { font-size: 1.1rem; margin: 0 0 .2em; }
.contact-item p { margin: 0; color: var(--muted); }
.contact-item a { font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-item a:hover { color: var(--cta); }
.map-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: var(--sand); }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-card__label { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 360px; padding: 18px 20px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.map-card__label strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.1rem; }
.map-card__label p { margin: 4px 0 0; font-size: .95rem; }

/* Pricing */
.price-card { text-align: left; display: flex; flex-direction: column; }
.price-card--featured { background: var(--navy); border-color: var(--navy); color: #c9d6e8; box-shadow: var(--shadow-lg); }
.price-card--featured h3, .price-card--featured .price, .price-card--featured strong { color: #fff; }
.price-card--featured .checklist li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363DEE4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1; margin: 12px 0 6px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card--featured .price small { color: #c9d6e8; }
.price-card .checklist { margin: 18px 0 26px; }
.price-card .btn { margin-top: auto; }

.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; }
.logo-row li { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .95rem; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound__code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.05em; }
.notfound__code span { color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c6da; padding-top: 0; font-size: .975rem; }
.site-footer a { color: #e3eaf4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cta { position: relative; top: -1px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta__title { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 650; color: #fff; margin: 0 0 4px; letter-spacing: -.02em; }
.footer-cta p:last-child { margin: 0; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta .btn--ghost-light:hover { text-decoration: none; }
.footer-cta .btn:hover { text-decoration: none; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding: 56px 0 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-brand address { display: grid; gap: 8px; margin: 18px 0 22px; }
.footer-brand address > * { display: inline-flex; align-items: flex-start; gap: 10px; }
.footer-brand address .icon { margin-top: 4px; color: var(--teal); }
.footer-col__title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.socials { list-style: none; display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s var(--ease); }
.socials a:hover { background: var(--teal-700); transform: translateY(-2px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; }
.footer-legal { flex-basis: 100%; font-size: .8rem; color: #8798b3; }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .smile::after, .hero__badge { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .hide-lg { display: none; }
  .primary-nav__link { padding-inline: 9px; font-size: .94rem; }
  .mainbar__inner { gap: 16px; }
}
@media (max-width: 1100px) {
  .reviews__list { grid-template-columns: repeat(3, 1fr); }
  .reviews__list li:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .footer-brand img, .footer-brand p { grid-column: 1; }
  .footer-brand address, .footer-brand .socials { grid-column: 2; grid-row: 1 / span 2; }
  .footer-brand .socials { grid-row: 3; }
  .finder { grid-template-columns: 1fr; }
  .finder__filters { position: static; grid-template-columns: repeat(2, 1fr); }
  .finder__filters h2, .finder__filters .field--wide { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .primary-nav, .utility__right .utility__link:nth-child(2) { display: none; }
  .burger { display: grid; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding: 48px 0 40px; }
  .hero h1 { max-width: 14ch; }
  .hero__media { margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 4 / 3.4; }
  .hero__media > img { border-radius: 0; object-position: 50% 20%; }
  .hero__badge--a { left: var(--gutter); bottom: 20px; }
  .page-hero__grid, .split, .band__grid, .feature, .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature__media { order: 0; }
  .feature__media img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .page-hero__media { max-width: 560px; }
  .page-hero__media img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-groups { grid-template-columns: 1fr; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; }
  .faq-nav a { background: var(--sand); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 30vw; }
  .gallery figure:nth-child(1) { grid-row: span 1; }
  .gallery figure:nth-child(3) { grid-column: span 1; }
  .cta-panel__media { min-height: 260px; order: -1; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps--4::before { display: none; }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .utility__inner { min-height: 40px; }
  .my-location__label { display: none; }
  .utility__right .utility__link:first-child { font-size: 0; gap: 0; }
  .utility__right .utility__link:first-child .icon { font-size: .875rem; }
  .my-location__panel { position: fixed; left: 12px; right: 12px; top: 112px; width: auto; max-height: 70vh; overflow: auto; }
  .my-location__grid { grid-template-columns: repeat(2, 1fr); }
  .brand img { height: 32px; }
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .reviews__list { grid-template-columns: 1fr; gap: 28px; }
  .reviews__list li:nth-child(n+3) { display: none; }
  .steps, .steps--4 { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .grid--2, .grid--3, .grid--4, .form-row { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 16px; }
  .finder__filters { grid-template-columns: 1fr; }
  .finder__results { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 44px; }
  .footer-brand { display: block; }
  .footer-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .footer-cta__actions .btn { flex: 1; }
  .search-pill { flex-wrap: wrap; border-radius: 22px; padding: 8px; }
  .search-pill input { flex: 1 1 60%; }
  .search-pill .btn { flex: 1 1 100%; }
  .hero__badge--b { display: none; }
  .job { grid-template-columns: 1fr; }
  .mobile-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -12px rgba(12, 50, 100, .3); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .site-footer { padding-bottom: 72px; }
  .compare th, .compare td { padding: 14px 10px; }
  .faq__item summary { padding: 18px; font-size: 1.04rem; }
  .faq__body { padding: 0 18px 18px; }
}
@media (max-width: 400px) {
  .lang-switch a { padding: 2px 8px; }
  .mainbar__actions .btn--sm { padding-inline: .9em; }
}

/* ==========================================================================
   Smile Journal, article, patient portal & legal pages
   (app/pages/blog.php, post.php, portal.php, legal.php)
   ========================================================================== */
/* Featured article card */
.post-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 0; overflow: hidden; }
.post-feature__media { position: relative; min-height: 380px; overflow: hidden; background: var(--sand); }
.post-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.post-feature:hover .post-feature__media img { transform: scale(1.03); }
.post-feature__flag { position: absolute; z-index: 1; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .8rem; box-shadow: var(--shadow-sm); }
.post-feature__flag .icon { color: var(--coral); }
.post-feature__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4.5vw, 64px); }
.post-feature h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.6rem); margin-bottom: .45em; }
.post-feature h2 a { color: inherit; text-decoration: none; }
.post-feature h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-feature__excerpt { font-size: 1.1rem; }
.post-card__meta--wrap { flex-wrap: wrap; row-gap: 6px; }
.post-byline { display: flex; align-items: center; gap: 12px; margin: 4px 0 22px; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.post-byline strong { display: block; color: var(--navy); font-size: .98rem; }
.post-avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
.post-avatar--lg { width: 72px; height: 72px; font-size: 1.45rem; }

/* Single article */
.page-hero--article .page-hero__grid { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero--article h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); max-width: 22ch; margin-top: .35em; }
.page-hero--article .article-meta span { gap: 8px; }
.page-hero--article .article-meta .icon { color: var(--teal-700); }
.post-cover { background: linear-gradient(var(--sand) 50%, transparent 50%); }
.post-cover .article-cover { margin: 0; }
.post-cover .article-cover img { aspect-ratio: 16 / 9; object-position: 50% 30%; box-shadow: var(--shadow-lg); }
.article-body > p:first-child { font-size: 1.2em; line-height: 1.6; color: var(--ink); }
.article-note { margin: 2.5em 0 0; padding-top: 1.25em; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.post-author { display: flex; gap: 20px; align-items: flex-start; margin-top: clamp(40px, 5vw, 56px); padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--sand); }
.post-author__label { margin: 0 0 2px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }
.post-author__name { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 650; color: var(--navy); line-height: 1.25; }
.post-author p:last-child { margin: 0; }
.callout--cta { flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 24px; padding: clamp(22px, 3vw, 32px); }
.callout--cta > div { flex: 1 1 260px; }
.callout--cta h2 { font-size: 1.4rem; margin-bottom: .3em; }

/* Patient portal */
.portal-panel { display: flex; flex-direction: column; align-items: flex-start; }
.portal-panel h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.portal-panel .contact-list { width: 100%; margin-top: 8px; }
.portal-panel .btn-row { margin-top: auto; padding-top: 8px; }

/* Legal */
.legal-toc { margin-bottom: clamp(36px, 5vw, 56px); padding: 24px 28px; border-radius: var(--r); background: var(--sand); }
.legal-toc__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 650; font-size: 1.1rem; color: var(--navy); }
.legal-toc ol { columns: 2 230px; column-gap: 40px; padding-left: 1.5em; }
.legal-toc li { break-inside: avoid; padding: 3px 0; }
.legal-toc li::marker { color: var(--coral); font-weight: 700; }
.legal-toc a { color: var(--navy); font-weight: 600; text-decoration: none; }
.legal-toc a:hover { color: var(--cta); text-decoration: underline; }
.prose--legal { font-size: 1.04rem; }
.prose--legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-top: 1.9em; scroll-margin-top: 40px; }
.prose--legal h3 { font-size: 1.15rem; }
.prose--legal > h2:first-child { margin-top: 0; }
.legal-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }

@media (max-width: 1023px) {
  .post-feature { grid-template-columns: minmax(0, 1fr); }
  .post-feature__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .post-feature__media { aspect-ratio: 4 / 3; }
  .post-author { flex-direction: column; gap: 14px; }
  .legal-toc { padding: 20px; }
}

/* ---------- Booking page ---------- */
.book-aside { display: grid; gap: 20px; position: sticky; top: 140px; }
.book-quote { margin: 0; }
.book-quote blockquote { margin: 12px 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; color: var(--navy); }
.book-quote figcaption { color: var(--muted); font-size: .9rem; }
@media (max-width: 1023px) { .book-aside { position: static; } }
.page-book .mobile-cta { display: none; }
/* Smile Journal article — refinements (post.php) */
.callout--cta { align-items: flex-start; }
.callout--cta > .icon { margin-top: 4px; }
.callout--cta > .btn { align-self: center; }
@media (max-width: 767px) {
  .page-hero--article .crumbs li:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .callout--cta > .btn { width: 100%; }
}
.page-book .mobile-cta { display: none; }

/* ---------- About / Community / Careers / Contact pages ---------- */
.quote-card { position: relative; margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--sand); }
.section--sand .quote-card { background: #fff; }
.quote-card > .icon { width: 40px; height: 40px; color: var(--coral); margin-bottom: 18px; }
.quote-card blockquote { margin: 0 0 24px; font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.45; color: var(--navy); letter-spacing: -.01em; text-wrap: pretty; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.quote-card figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.person__avatar--sm { width: 48px; height: 48px; margin: 0; font-size: 1rem; flex: none; }
.person .person__role { margin: 0 0 12px; color: var(--teal-700); font-weight: 700; font-size: .875rem; }
.person .person__role + p { font-size: .95rem; line-height: 1.6; }
.contact-grid h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.contact-grid .contact-item p.small { margin-top: 2px; font-size: .875rem; }
@media (min-width: 1024px) { .sticky-col { position: sticky; top: 140px; } }

/* ---------- Mobile refinements (header location, compare table) ---------- */
.my-location__value { white-space: nowrap; }
.compare-hint { display: none; }
@media (max-width: 767px) {
  .my-location__value { max-width: 36vw; overflow: hidden; text-overflow: ellipsis; }
  .compare { min-width: 600px; font-size: .875rem; }
  .compare tbody th, .compare thead th:first-child { width: 150px; min-width: 150px; max-width: 150px; }
  .compare-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
}
.contact-item .card__icon { flex: none; }

/* ---------- FAQ page (faq.php): icon nav links + anchor offset under sticky header ---------- */
.faq-nav a { display: flex; align-items: center; gap: 10px; }
.faq-nav a .icon { flex: none; color: var(--teal-700); }
.faq-group { scroll-margin-top: 32px; }

/* ---------- FAQ nav active state (scroll-spy in faq.php) + Anywhere phone stage (anywhere.php) ---------- */
.faq-nav a { transition: background-color .2s, color .2s; }
.faq-nav a[aria-current="true"] { background: var(--navy); color: #fff; }
.faq-nav a[aria-current="true"] .icon { color: #63dee4; }
.phone-stage { position: relative; display: grid; place-items: center; padding-block: clamp(8px, 2vw, 24px); isolation: isolate; }
.phone-stage::before { content: ""; position: absolute; z-index: -1; width: min(460px, 96%); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 26px rgba(255, 255, 255, .45); }
.phone-stage .phone { margin: 0; }
.phone-stage__badge { font-size: .95rem; }
.phone-stage__badge--a { left: 0; bottom: 15%; }
.phone-stage__badge--b { right: 0; top: 0; animation-delay: .7s; }
@media (max-width: 1023px) { .faq-nav a { padding: 8px 14px; border-radius: 999px; font-size: .95rem; } }
@media (max-width: 600px) { .phone-stage__badge { display: none; } }
