/* ==========================================================================
   Integra Pain — main stylesheet
   Typeface: Roboto (body + headings), Roboto Mono (codes).
   Colours match the Integra Pain logo; all text pairs meet WCAG 2.2 AA.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #0B4A8F;
  --blue-700: #083A70;
  --blue-900: #06284F;
  --cyan: #00A3C4;
  --cyan-ink: #00788F;
  --cyan-ink-hover: #006379;
  --cyan-bright: #5EE6FF;
  --cyan-soft: #E5F7FA;
  --purple: #5E2B87;
  --magenta: #7B1FA2;
  --magenta-soft: #F6EDFC;

  --ink: #0E1A29;
  --ink-soft: #2A3A4E;
  --muted: #55667A;
  --line: #DDE5EE;
  --surface: #F6F9FC;
  --mint: #EEF8F9;
  --sand: #FAF7F2;
  --white: #FFFFFF;
  --ok: #047857;
  --error: #B42318;

  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(14, 26, 41, .06);
  --shadow-sm: 0 1px 2px rgba(14, 26, 41, .05), 0 4px 12px rgba(11, 74, 143, .06);
  --shadow-md: 0 12px 32px -10px rgba(11, 74, 143, .2);
  --shadow-lg: 0 30px 70px -24px rgba(11, 74, 143, .32);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .35s;
  --header-h: 120px;     /* header height at the top of the page */
  --header-h-sm: 66px;   /* header height once scrolled */
  --gutter: 24px;
}

html { font-size: 106.25%; }
html[data-text-size="1"] { font-size: 118.75%; }
html[data-text-size="2"] { font-size: 131.25%; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-sm) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 1rem; font-weight: 400; line-height: 1.65;
  color: var(--ink-soft); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.18; letter-spacing: -.015em; font-weight: 700; }
p + p { margin-top: .9em; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan-ink); text-underline-offset: 3px; }
a:hover { color: var(--cyan-ink-hover); }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
button:disabled { cursor: not-allowed; }
code, kbd { font-family: var(--font-mono); }
[hidden] { display: none !important; }
::selection { background: rgba(0, 163, 196, .22); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus, main:focus { outline: none; }

.sr-only { position: absolute !important; 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: 16px; top: -100px; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

/* Images: soft shimmer until loaded, then fade in */
.fade-img { background: linear-gradient(110deg, #E9EFF5 8%, #F5F8FB 18%, #E9EFF5 33%); background-size: 200% 100%; }
.js .fade-img { opacity: 0; transition: opacity .7s var(--ease), transform 1s var(--ease); animation: shimmer 1.4s linear infinite; }
.js .fade-img.is-loaded { opacity: 1; animation: none; background: none; }
@keyframes shimmer { to { background-position-x: -200%; } }

/* ---------- 3. Type helpers ---------- */
.h2 { font-size: clamp(1.8rem, 1.2rem + 2.1vw, 2.65rem); margin: .55rem 0 1rem; font-weight: 700; }
.h2--light { color: #fff; }
.h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: .75rem; }
.h3--light { color: #fff; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.lead--light { color: #DCE6F2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--cyan-soft); color: var(--blue);
  font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow i { color: var(--cyan-ink); }
.eyebrow--glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.eyebrow--glass i { color: var(--cyan-bright); }
.eyebrow--purple { background: var(--magenta-soft); color: var(--purple); }
.eyebrow--purple i { color: var(--purple); }

.ticks { display: grid; gap: .55rem; margin-top: 1rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem;
  position: absolute; left: 0; top: .28em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan-ink);
}
.ticks--light li { color: #E6EEF7; }
.ticks--light li::before { background: rgba(94, 230, 255, .16); color: var(--cyan-bright); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .5rem; }
.tags li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.tags--lg li { padding: 10px 18px; font-size: .95rem; }
.tags--dark li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #E6EEF7; }

.notice { display: flex; gap: 10px; margin: 1.25rem 0; padding: 14px 16px; border-left: 4px solid var(--purple); background: var(--magenta-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .93rem; color: var(--ink-soft); }
.notice i { color: var(--purple); margin-top: .25em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* ---------- 4. Buttons ---------- */
.btn {
  --_bg: transparent; --_fg: var(--ink); --_bd: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-weight: 500; font-size: .95rem; line-height: 1.2; letter-spacing: .01em; text-decoration: none;
  color: var(--_fg); background: var(--_bg); border: 2px solid var(--_bd); border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ripple { position: absolute; z-index: -1; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .18; animation: ripple .6s var(--ease) forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.btn--primary { --_bg: var(--cyan-ink); --_fg: #fff; --_bd: var(--cyan-ink); box-shadow: 0 10px 24px -10px rgba(0, 120, 143, .7); }
.btn--primary:hover { --_bg: var(--cyan-ink-hover); --_bd: var(--cyan-ink-hover); color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 120, 143, .75); }
.btn--outline { --_bg: var(--white); --_fg: var(--ink); --_bd: var(--line); }
.btn--outline:hover { --_bd: var(--blue); --_fg: var(--blue); color: var(--blue); }
.btn--ghost { --_fg: #fff; --_bd: rgba(255, 255, 255, .45); }
.btn--ghost:hover { --_bg: rgba(255, 255, 255, .12); --_bd: #fff; color: #fff; }
.btn--ghost-dark { --_fg: var(--ink); --_bd: var(--line); --_bg: var(--white); }
.btn--ghost-dark:hover { --_bd: var(--blue); color: var(--blue); }
.btn--ghost-dark.is-selected { --_bg: var(--blue); --_bd: var(--blue); --_fg: #fff; color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.round-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.round-btn:hover { background: var(--cyan-ink); border-color: var(--cyan-ink); transform: scale(1.06); }
.round-btn--light { color: var(--ink); background: var(--white); border-color: var(--line); }
.round-btn--light:hover { color: #fff; }

.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background-color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--surface); transform: rotate(90deg); }
.link-btn { color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.link-btn--light { color: #B9C7D8; margin-top: 14px; }
.link-btn--light:hover { color: #fff; }

/* ---------- 5. Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta)); }

/* ---------- 6. Top bar ---------- */
.topbar { background: var(--ink); color: #C9D5E3; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.topbar__info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__info li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__info i { color: var(--cyan-bright); }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--cyan-bright); }
.topbar__tools { display: flex; align-items: center; gap: 12px; }
.audience-toggle, .text-size { display: flex; gap: 3px; padding: 3px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); }
.audience-toggle__btn, .text-size button { white-space: nowrap; padding: 3px 12px; border-radius: var(--r-pill); font-size: .76rem; font-weight: 500; color: #C9D5E3; transition: background-color .2s, color .2s; }
.audience-toggle__btn:hover, .text-size button:hover { color: #fff; }
.audience-toggle__btn.is-active, .text-size button[aria-pressed="true"] { background: var(--cyan-ink); color: #fff; }
.text-size button { padding: 3px 9px; }
.topbar__close { color: #C9D5E3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.topbar__close:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- 7. Header + mega menu ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* The header shrinks when scrolled. Its margin grows by exactly the same amount,
   so the space it takes in the page never changes: no layout jump, no flicker. */
.header { margin-bottom: 0; transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), margin-bottom var(--dur) var(--ease); }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(11, 74, 143, .3); margin-bottom: calc(var(--header-h) - var(--header-h-sm)); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--header-h); transition: height var(--dur) var(--ease); }
.header.is-scrolled .header__inner { height: var(--header-h-sm); }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__logo { height: 110px; width: auto; transition: height var(--dur) var(--ease); }
.header.is-scrolled .brand__logo { height: 44px; }
.brand__wordmark, .footer__logo { font-weight: 900; font-size: 1.55rem; color: var(--blue); letter-spacing: -.03em; }
.brand__wordmark span:last-child, .footer__logo span:last-child { color: var(--purple); font-weight: 500; }
.brand__i { color: var(--cyan); }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; display: block; padding: 10px 9px; font-weight: 500; font-size: .93rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.has-mega .nav__link { padding-right: 2px; }
.nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2.5px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.has-mega .nav__link::after { right: 2px; }
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__caret { width: 26px; height: 32px; display: grid; place-items: center; color: var(--muted); font-size: .65rem; border-radius: 6px; transition: transform .3s var(--ease), color .2s; }
.nav__caret:hover { color: var(--blue); }
.nav__caret[aria-expanded="true"] { transform: rotate(180deg); color: var(--blue); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 950;
  width: 560px; padding: 14px; border-radius: var(--r-lg); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translateX(-50%); opacity: 0; translate: 0 -6px; transition: opacity .22s var(--ease), translate .22s var(--ease);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.mega.is-open { opacity: 1; translate: 0 0; }
.mega--sm { width: 380px; }
.mega--lg { width: 820px; display: grid; grid-template-columns: 1fr 250px; gap: 14px; transform: translateX(-35%); }
.mega__list { display: grid; gap: 2px; }
.mega__list--2 { grid-template-columns: 1fr 1fr; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; }
.mega__link { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: background-color .2s; }
.mega__link:hover, .mega__link:focus-visible { background: var(--surface); color: var(--ink); }
.mega__link > i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--blue); font-size: .95rem; transition: background-color .2s, color .2s; }
.mega__link:hover > i { background: var(--blue); color: #fff; }
.mega__link strong { display: block; font-weight: 500; font-size: .93rem; }
.mega__link small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.mega__link--compact { align-items: center; padding: 9px 10px; }
.mega__link--compact > i { width: 32px; height: 32px; font-size: .85rem; }
.mega__link--accent > i { background: var(--magenta-soft); color: var(--purple); }
.mega__promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mega__promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 40, 79, .1), rgba(6, 40, 79, .92)); }
.mega__promo:hover img { transform: scale(1.06); }
.mega__promo-body { padding: 18px; display: grid; gap: 4px; }
.mega__promo-body small { color: #DCE6F2; font-size: .82rem; }
.mega__promo-cta { font-size: .85rem; font-weight: 500; color: var(--cyan-bright); margin-top: 6px; }
.mega__promo:hover { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .88rem; transition: border-color .2s, color .2s, background-color .2s; }
.search-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--white); }
.search-btn__kbd { font-size: .7rem; padding: 2px 6px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 1500; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(14, 26, 41, .5); opacity: 0; transition: opacity .3s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 90vw); background: var(--white); display: flex; flex-direction: column; padding: 18px 22px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer__head .brand__wordmark { font-size: 1.3rem; }
.drawer__search { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .92rem; text-align: left; margin-bottom: 8px; }
.drawer__list > li > a, .drawer__group > summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1.05rem; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__group > summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; color: var(--muted); transition: transform .3s var(--ease); }
.drawer__group[open] > summary::after { transform: rotate(180deg); }
.drawer__group ul { padding: 6px 0 10px 10px; border-bottom: 1px solid var(--line); }
.drawer__group ul a { display: block; padding: 8px 4px; color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.drawer__list a:hover { color: var(--blue); }
.drawer__cta { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.drawer__phone { text-align: center; font-weight: 500; padding: 8px; text-decoration: none; }

/* ---------- 8. Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; background: var(--blue-900); min-height: min(820px, calc(100svh - 120px)); display: grid; }
.hero__bgs { position: absolute; inset: 0; z-index: -3; }
.hero__bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-in-out); }
.hero__bg.is-active { opacity: 1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__bg.is-active img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(5, 30, 62, .94) 0%, rgba(8, 48, 98, .82) 38%, rgba(30, 22, 80, .45) 70%, rgba(40, 18, 80, .35) 100%), linear-gradient(0deg, rgba(5, 20, 40, .55), transparent 40%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; pointer-events: none; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; padding: clamp(64px, 9vw, 120px) 0 clamp(120px, 12vw, 150px); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center; height: 100%; }
.hero__title { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4rem); color: #fff; line-height: 1.06; letter-spacing: -.025em; margin: 1.2rem 0; max-width: 14ch; font-weight: 700; text-wrap: balance; }
.hero__title .hl { background: linear-gradient(90deg, var(--cyan-bright), #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #E1E9F3; max-width: 54ch; font-weight: 300; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 2.1rem 0 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: #C9D5E3; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta i { color: var(--cyan-bright); }
.hero__card { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); }
.hero__card-badge { display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(94, 230, 255, .16); color: var(--cyan-bright); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero__card-title { font-weight: 500; font-size: 1.32rem; color: #fff; margin: .9rem 0 1.1rem; line-height: 1.3; }
.hero__card-list { display: grid; gap: 12px; }
.hero__card-list li { display: flex; gap: 12px; align-items: flex-start; color: #E6EEF7; }
.hero__card-list i { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; background: var(--cyan-ink); color: #fff; margin-top: 1px; }

.js .hero__slide .hero__copy > *, .js .hero__slide .hero__card { opacity: 0; transform: translateY(22px); }
.js .hero__slide.is-active .hero__copy > *, .js .hero__slide.is-active .hero__card { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .hero__slide.is-active .hero__copy > :nth-child(1) { transition-delay: .1s; }
.js .hero__slide.is-active .hero__copy > :nth-child(2) { transition-delay: .25s; }
.js .hero__slide.is-active .hero__copy > :nth-child(3) { transition-delay: .4s; }
.js .hero__slide.is-active .hero__copy > :nth-child(4) { transition-delay: .55s; }
.js .hero__slide.is-active .hero__copy > :nth-child(5) { transition-delay: .65s; }
.js .hero__slide.is-active .hero__card { transition-delay: .5s; }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 32px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.hero__dots { display: flex; gap: 14px; }
.hero__dot { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 6px 0; color: rgba(255, 255, 255, .6); font-family: var(--font-mono); font-size: .75rem; transition: color .3s; }
.hero__dot.is-active, .hero__dot:hover { color: #fff; }
.hero__dot-bar { display: block; width: 64px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; position: relative; }
.hero__dot-bar::after { content: ""; position: absolute; inset: 0; background: var(--cyan-bright); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active .hero__dot-bar::after { transform: scaleX(1); }
.hero.is-playing .hero__dot.is-active .hero__dot-bar::after { animation: heroProgress var(--hero-interval, 7000ms) linear forwards; }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 10px; }
.hero__scroll { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollCue 1.8s var(--ease) infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 9. Trust strip ---------- */
.trust { background: var(--sand); border-bottom: 1px solid var(--line); overflow: hidden; }
.trust__marquee { display: flex; justify-content: center; }
.trust__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 34px; padding: 20px var(--gutter); width: 100%; max-width: 1260px; }
.trust__list[aria-hidden="true"] { display: none; }
.trust__item { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .93rem; color: var(--ink); white-space: nowrap; }
.trust__item i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--purple); border: 1px solid var(--line); font-size: .92rem; }

/* ---------- 10. Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 112px); position: relative; }
.section--mint { background: var(--mint); }
.section--sand { background: var(--sand); }
.section--ink { background: radial-gradient(1200px 600px at 85% 0%, rgba(123, 31, 162, .35), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(0, 163, 196, .25), transparent 60%), var(--blue-900); color: #DCE6F2; }
.section-head { max-width: 740px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; flex-wrap: wrap; }
.section-head--row > div:first-child { max-width: 640px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; margin-top: clamp(48px, 6vw, 72px); }

/* Stat card */
.stat-card { position: relative; overflow: hidden; text-align: center; padding: clamp(32px, 4vw, 52px); border-radius: var(--r-lg); background: linear-gradient(150deg, #fff 0%, var(--cyan-soft) 55%, var(--magenta-soft) 100%); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.stat-card__art { width: 100%; height: 110px; margin: -8px auto 8px; }
.nerve-path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; opacity: .8; }
.nerve-path--2 { stroke: var(--purple); opacity: .45; }
.stat-card.is-visible .nerve-path { animation: drawLine 2.4s var(--ease) forwards; }
.stat-card.is-visible .nerve-path--2 { animation-delay: .3s; }
.nerve-node { fill: var(--blue); }
.nerve-node--alt { fill: var(--purple); }
.stat-card.is-visible .nerve-node { animation: pulse 2.8s ease-in-out 1.4s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .6; } }
.stat-card__value { font-weight: 900; font-size: clamp(3rem, 2rem + 4vw, 4.6rem); line-height: 1; letter-spacing: -.03em; background: linear-gradient(120deg, var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-card__unit { font-size: .42em; font-weight: 700; letter-spacing: -.01em; }
.stat-card__label { font-weight: 500; font-size: 1.2rem; color: var(--ink); margin-top: .6rem; }
.stat-card__sub { color: var(--muted); max-width: 40ch; margin: .6rem auto 0; font-size: .95rem; }
.stat-card__cite { font-size: .78rem; color: var(--muted); margin-top: 1.25rem; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 72px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.facts__item { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); position: relative; }
.facts__item:last-child { border-right: 0; }
.facts__item::before { content: ""; position: absolute; left: 24px; top: 0; width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.facts__value { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.7rem); font-weight: 700; color: var(--blue); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts__label { color: var(--muted); font-size: .92rem; }

/* Pain alarm explainer */
.alarm { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: linear-gradient(135deg, #FBF8FF, #F1FAFC); border: 1px solid var(--line); }
.alarm__intro p { color: var(--ink-soft); }
.alarm__label { display: block; margin-top: 1.5rem; font-weight: 500; font-size: .9rem; color: var(--ink); }
.alarm__scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 6px; }
.alarm__state { margin-top: 1.1rem; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); display: grid; gap: 2px; transition: border-color .4s; }
.alarm__state strong { color: var(--blue); font-weight: 500; transition: color .4s; }
.alarm__state span { font-size: .93rem; color: var(--ink-soft); }
.alarm[data-level="1"] .alarm__state { border-color: #A8DCE6; }
.alarm[data-level="2"] .alarm__state { border-color: #D8B4FE; }
.alarm[data-level="2"] .alarm__state strong { color: var(--purple); }
.alarm__viz { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 14px; box-shadow: var(--shadow-sm); }
.alarm__viz figcaption { text-align: center; font-size: .76rem; color: var(--muted); margin-top: 4px; }
.alarm__svg { width: 100%; height: auto; }
.alarm__cap { font: 500 13px var(--font); fill: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.alarm__wave { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.alarm__wave--in { stroke: var(--cyan); }
.alarm__wave--out { stroke: url(#alarmGrad); }
.alarm__ring { fill: var(--cyan-soft); stroke: var(--line); stroke-width: 2; }
.alarm__ring-fill { fill: none; stroke: url(#alarmGrad); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 276.5; stroke-dashoffset: 221; transform: rotate(-90deg); transform-origin: 210px 130px; transition: stroke-dashoffset .3s var(--ease); }
.alarm__amp-t { font: 500 12px var(--font); fill: var(--blue); }
.alarm__meter-bg { fill: var(--line); }
.alarm__meter { fill: url(#alarmGrad); transition: width .3s var(--ease); }

/* Range input */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; margin-top: 10px; background: linear-gradient(90deg, var(--cyan-ink) 0 var(--fill, 20%), var(--line) var(--fill, 20%) 100%); outline-offset: 6px; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--cyan-ink); box-shadow: 0 4px 12px rgba(0, 120, 143, .35); transition: transform .2s; }
.range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--cyan-ink); box-shadow: 0 4px 12px rgba(0, 120, 143, .35); }
.range--light { background: linear-gradient(90deg, var(--cyan-bright) 0 var(--fill, 50%), rgba(255, 255, 255, .2) var(--fill, 50%) 100%); }
.range--light::-webkit-slider-thumb { border-color: var(--cyan-bright); }

/* ---------- 11. Integra wheel ---------- */
.wheel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.wheel__visual { position: relative; width: min(100%, 480px); aspect-ratio: 1; margin-inline: auto; }
.wheel__svg { width: 100%; height: 100%; overflow: visible; }
.wheel__orbit { fill: none; stroke: #C9D9E6; stroke-width: 1.5; stroke-dasharray: 4 7; transform-origin: 200px 200px; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel__seg { cursor: pointer; transition: transform .45s var(--ease), opacity .3s, filter .3s; transform-origin: 200px 200px; opacity: .28; }
.wheel__seg--blue { fill: var(--blue); }
.wheel__seg--cyan { fill: var(--cyan-ink); }
.wheel__seg--purple { fill: var(--purple); }
.wheel__seg--magenta { fill: var(--magenta); }
.wheel__seg:hover { opacity: .5; }
.wheel__seg.is-active { opacity: 1; transform: scale(1.045); filter: drop-shadow(0 10px 18px rgba(11, 74, 143, .3)); }
.wheel__links line { stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 3 6; opacity: .55; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.wheel__core { filter: drop-shadow(0 8px 20px rgba(11, 74, 143, .18)); }
.wheel__core-ring { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 6 8; opacity: .7; transform-origin: 200px 200px; animation: spin 30s linear infinite reverse; }
.wheel__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.wheel__center-kicker { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.wheel__center-title { font-weight: 900; font-size: clamp(1.15rem, .9rem + 1vw, 1.55rem); color: var(--blue); line-height: 1.1; letter-spacing: -.02em; }
.wheel__center-sub { font-size: .8rem; color: var(--cyan-ink); font-weight: 500; margin-top: 2px; }
.wheel__labels { position: absolute; inset: 0; }
.wheel__node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-weight: 500; font-size: clamp(.68rem, .55rem + .4vw, .86rem); line-height: 1.15; text-align: center; padding: 8px; border-radius: 14px; max-width: 26%; transition: color .3s; }
.wheel__node i { font-size: clamp(1rem, .8rem + .6vw, 1.35rem); transition: transform .3s var(--ease); }
.wheel__node:hover i { transform: scale(1.15); }
.wheel__node:focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--ink); }
.wheel__node:not(.is-active) { color: rgba(14, 26, 41, .85); }

.wheel__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.wheel__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--surface); }
.wheel__media img { width: 100%; height: 100%; object-fit: cover; }
.wheel__media img.is-swapping { opacity: 0 !important; transform: scale(1.04); }
.wheel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 40, 79, .45)); pointer-events: none; }
.wheel__media-tag { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); color: var(--blue); font-size: .82rem; font-weight: 500; }
.wheel__panel-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.wheel__panel-inner { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.wheel__panel-inner.is-swapping { opacity: 0; transform: translateY(8px); }
.wheel__step { font-family: var(--font-mono); font-weight: 500; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan-ink); display: block; margin-bottom: .6rem; }
.wheel__panel .h3 { color: var(--blue); }
.wheel__panel-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }
.wheel__progress { display: flex; gap: 6px; }
.wheel__progress span { width: 22px; height: 5px; border-radius: 4px; background: var(--line); transition: background-color .3s, width .3s var(--ease); }
.wheel__progress span.is-active { width: 40px; background: var(--cyan-ink); }
.wheel__nav { display: flex; gap: 8px; }

/* ---------- 12. Body map + conditions ---------- */
.bodymap { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: radial-gradient(600px 400px at 15% 30%, var(--cyan-soft), transparent 70%), var(--surface); border: 1px solid var(--line); margin-bottom: clamp(56px, 7vw, 88px); }
.bodymap__figure-wrap { display: flex; justify-content: center; }
.bodymap__figure { position: relative; width: min(100%, 260px); aspect-ratio: 200 / 440; }
.bodymap__svg { width: 100%; height: 100%; overflow: visible; }
.bodymap__body > * { fill: url(#bodyGrad); stroke: #B6CBE0; stroke-width: 1.5; }
.bodymap__body > .bodymap__limb { fill: none; stroke: #C9DCEE; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.bodymap__body > .bodymap__limb--leg { stroke-width: 28; }
.bodymap__glow { transition: cx .5s var(--ease), cy .5s var(--ease), r .5s var(--ease); }
.hotspot { position: absolute; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; z-index: 1; }
.hotspot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan-ink); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 120, 143, .45); transition: transform .3s var(--ease), background-color .3s; }
.hotspot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan); animation: ping 2.4s var(--ease) infinite; pointer-events: none; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.hotspot:hover::before, .hotspot[aria-pressed="true"]::before { transform: scale(1.35); background: var(--purple); }
.hotspot[aria-pressed="true"]::after { border-color: var(--purple); }
.hotspot__label { position: absolute; left: calc(100% + 4px); top: 50%; transform: translate(-6px, -50%); white-space: nowrap; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: .76rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); z-index: 2; }
.hotspot:hover .hotspot__label, .hotspot:focus-visible .hotspot__label, .hotspot[aria-pressed="true"] .hotspot__label { opacity: 1; transform: translate(0, -50%); }
.bodymap__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.bodymap__result { min-height: 260px; }
.bodymap__empty { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r-md); border: 2px dashed #C9D5E2; color: var(--muted); }
.bodymap__empty-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--cyan-ink); font-size: 1.3rem; animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.bodymap__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 1.25rem; font-weight: 500; margin-bottom: 14px; }
.bodymap__title span { font-size: .8rem; font-weight: 500; color: var(--muted); padding: 3px 10px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); }
.bodymap__list { display: grid; gap: 10px; }
.bodymap__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); animation: slideIn .4s var(--ease) backwards; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.bodymap__item:hover { border-color: var(--cyan); transform: translateX(4px); box-shadow: var(--shadow-sm); color: var(--ink); }
.bodymap__item > i:first-child { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--blue); }
.bodymap__item strong { display: block; font-weight: 500; }
.bodymap__item small { display: block; color: var(--muted); font-size: .85rem; }
.bodymap__item > i:last-child { margin-left: auto; color: var(--cyan-ink); }
.bodymap__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--white); font-weight: 500; font-size: .9rem; color: var(--ink-soft); transition: all .25s var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip--sm { padding: 7px 14px; font-size: .85rem; }

.cond-head { margin-bottom: 28px; align-items: center; }
.cond-head .h3 { margin: 0; }
.cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cond-card.is-filtered-out { display: none; }
.cond-card__btn { position: relative; width: 100%; height: 100%; text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs); text-decoration: none; color: inherit; overflow: hidden; }
.cond-card__btn:hover { box-shadow: var(--shadow-md); border-color: #9ED9E5; color: inherit; }
.cond-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: var(--blue); background: var(--cyan-soft); margin-bottom: 6px; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.cond-card__btn:hover .cond-card__icon { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.cond-card__title { font-weight: 500; font-size: 1.12rem; color: var(--ink); line-height: 1.3; }
.cond-card__text { color: var(--muted); font-size: .93rem; flex-grow: 1; }
.cond-card__more { margin-top: 6px; font-weight: 500; font-size: .88rem; color: var(--cyan-ink); display: inline-flex; align-items: center; gap: 8px; }
.cond-card__more i { transition: transform .3s var(--ease); }
.cond-card__btn:hover .cond-card__more i { transform: translateX(4px); }
.cond-empty { text-align: center; color: var(--muted); }

/* 3D tilt + cursor spotlight (pointer devices only, driven by JS) */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .5s var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.tilt.is-tilting { transition: transform .12s linear, box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); --ty: -4px; }
.spotlight::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 163, 196, .12), transparent 45%); opacity: 0; transition: opacity .3s; }
.spotlight:hover::before { opacity: 1; }

/* ---------- 13. Tabs ---------- */
.tabs { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.tabs__list { position: relative; display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 500; font-size: .94rem; color: var(--muted); white-space: nowrap; transition: color .25s; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab.is-active { color: var(--blue); }
.tabs__ink { position: absolute; bottom: -2px; left: 0; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--cyan-ink), var(--purple)); transition: transform .45s var(--ease), width .45s var(--ease); }
.tabs__acc { display: none; }
.tabs__panel.is-active { animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabs--pills { background: none; border: 0; box-shadow: none; padding: 0; margin-top: 1.25rem; }
.tabs--pills .tabs__list { border: 0; background: var(--surface); padding: 4px; border-radius: var(--r-pill); display: inline-flex; margin-bottom: 18px; max-width: 100%; }
.tabs--pills .tabs__tab { padding: 9px 18px; border-radius: var(--r-pill); position: relative; z-index: 1; transition: color .3s; }
.tabs--pills .tabs__tab.is-active { color: #fff; }
.tabs--pills .tabs__ink { top: 4px; bottom: 4px; height: auto; border-radius: var(--r-pill); background: var(--blue); }

.treat { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.treat__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-md); }
.treat__media img { width: 100%; height: 100%; object-fit: cover; }
.tabs__panel.is-active .treat__media img.is-loaded { animation: zoomSettle 1.4s var(--ease); }
@keyframes zoomSettle { from { transform: scale(1.08); } to { transform: scale(1); } }
.treat__badge { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); color: var(--blue); font-size: .82rem; font-weight: 500; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.25rem; }
.feature-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; color: var(--ink); }
.feature-list__icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--cyan-ink); color: #fff; font-size: .72rem; }

/* ---------- 14. Life gallery ---------- */
.life__note { color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: 8px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 16px; }
.mosaic__item--wide { grid-column: span 2; }
.mosaic__item--tall { grid-row: span 2; }
.mosaic__btn { position: relative; width: 100%; height: 100%; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.mosaic__btn img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__btn:hover img { transform: scale(1.07); }
.mosaic__caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 40px 18px 16px; color: #fff; font-weight: 500; text-align: left; background: linear-gradient(180deg, transparent, rgba(6, 30, 60, .78)); }
.mosaic__caption i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .8rem; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.mosaic__btn:hover .mosaic__caption i, .mosaic__btn:focus-visible .mosaic__caption i { opacity: 1; transform: none; }

/* ---------- 15. Journey ---------- */
.journey { position: relative; margin-bottom: clamp(48px, 6vw, 72px); --progress: 0; }
.journey__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; z-index: 1; }
.journey__track { position: absolute; top: 36px; left: 10%; right: 10%; height: 4px; border-radius: 4px; background: var(--line); }
.journey__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-ink), var(--purple)); transform: scaleX(var(--progress)); transform-origin: left; }
.journey__step { text-align: center; padding-inline: 6px; }
.journey__dot { position: relative; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; color: var(--muted); background: var(--white); border: 3px solid var(--line); transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.journey__num { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: var(--white); border: 2px solid var(--line); color: var(--muted); transition: inherit; }
.journey__step.is-lit .journey__dot { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.06); box-shadow: 0 0 0 8px rgba(0, 163, 196, .14); }
.journey__step.is-lit .journey__num { background: var(--cyan-ink); border-color: var(--white); color: #fff; }
.journey__title { font-size: 1.05rem; font-weight: 500; margin-bottom: 6px; }
.journey__step p { font-size: .93rem; color: var(--muted); }

.visit-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.visit-cards { display: grid; gap: 20px; }
.visit-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-xs); isolation: isolate; }
.visit-card:hover { color: var(--ink); box-shadow: var(--shadow-md); }
.visit-card strong { font-weight: 500; font-size: 1.15rem; }
.visit-card small { color: var(--muted); font-size: .92rem; }
.visit-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--magenta-soft); color: var(--purple); font-size: 1.15rem; margin-bottom: 8px; position: relative; }
.visit-card__icon--cyan { background: var(--cyan-soft); color: var(--cyan-ink); }
.visit-card__cta { margin-top: 8px; font-weight: 500; font-size: .9rem; color: var(--cyan-ink); display: inline-flex; gap: 8px; align-items: center; }
.visit-card__cta i { transition: transform .3s var(--ease); }
.visit-card:hover .visit-card__cta i { transform: translateX(4px); }
.visit-card--photo { color: #fff; min-height: 250px; justify-content: flex-end; border: 0; }
.visit-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.visit-card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 40, 79, .1), rgba(6, 40, 79, .92)); }
.visit-card--photo:hover { color: #fff; }
.visit-card--photo:hover img { transform: scale(1.06); }
.visit-card--photo small { color: #DCE6F2; }
.visit-card--photo .visit-card__cta { color: var(--cyan-bright); }
.visit-card__body { display: flex; flex-direction: column; gap: 6px; }

.checklist { background: var(--mint); border: 1px solid #CBE9EE; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); }
.checklist__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.checklist__head p { color: var(--muted); font-size: .95rem; }
.checklist__meter { position: relative; width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--blue); }
.checklist__meter svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.checklist__ring-bg { fill: none; stroke: #CBE9EE; stroke-width: 4; }
.checklist__ring { fill: none; stroke: var(--cyan-ink); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .5s var(--ease); }
.checklist__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.checklist__foot { display: flex; gap: 16px; align-items: center; margin-top: 20px; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 6px 0; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #9FB3C8; background: var(--white); display: grid; place-items: center; color: transparent; font-size: .72rem; transition: all .2s var(--ease); margin-top: 1px; }
.check input:checked + .check__box { background: var(--cyan-ink); border-color: var(--cyan-ink); color: #fff; animation: pop .3s var(--ease); }
@keyframes pop { 50% { transform: scale(1.18); } }
.check input:focus-visible + .check__box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.checklist .check input:checked ~ span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(85, 102, 122, .5); }

/* ---------- 16. Visit planner ---------- */
.planner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.planner__trust { display: grid; gap: 12px; margin-top: 1.75rem; }
.planner__trust li { display: flex; gap: 12px; align-items: center; color: #C9D5E3; font-size: .95rem; }
.planner__trust i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--cyan-bright); }
.planner__card { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); overflow: hidden; }
.planner__progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.planner__progress span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--cyan-bright), #C4B5FD); border-radius: inherit; transition: width .5s var(--ease); }
.planner__count { font-family: var(--font-mono); font-size: .78rem; color: #B9C7D8; margin: 14px 0 6px; letter-spacing: .04em; }
.planner__step { border: 0; padding: 0; min-width: 0; }
.planner__step.is-active { animation: stepIn .45s var(--ease); }
.planner__step.is-back { animation: stepBack .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.planner__q { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); font-weight: 500; color: #fff; margin-bottom: 6px; padding: 0; line-height: 1.25; }
.planner__hint { color: #B9C7D8; font-size: .9rem; margin: 6px 0 14px; }
.planner__error { color: #FCA5A5; font-size: .9rem; margin-top: 12px; }
.planner__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.planner__nav .btn--primary { margin-left: auto; }
.planner__noscript { color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); border: 1.5px solid rgba(255, 255, 255, .22); color: #E6EEF7; font-size: .93rem; transition: all .2s var(--ease); }
.pill span::before { content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .68rem; transition: transform .3s var(--ease); }
.pill:hover span { border-color: rgba(255, 255, 255, .55); }
.pill input:checked + span { background: #fff; border-color: #fff; color: var(--blue); font-weight: 500; }
.pill input:checked + span::before { content: "\f00c"; transform: rotate(360deg); }
.pill input:focus-visible + span { outline: 3px solid var(--cyan-bright); outline-offset: 2px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.option { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-md); border: 1.5px solid rgba(255, 255, 255, .2); color: #E6EEF7; cursor: pointer; transition: all .2s var(--ease); }
.option input { position: absolute; opacity: 0; }
.option__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); flex-shrink: 0; transition: all .2s; }
.option:hover { border-color: rgba(255, 255, 255, .5); }
.option:has(input:checked) { background: rgba(255, 255, 255, .12); border-color: var(--cyan-bright); }
.option input:checked + .option__dot { border-color: var(--cyan-bright); box-shadow: inset 0 0 0 4px var(--blue-900); background: var(--cyan-bright); }
.option:has(input:focus-visible) { outline: 3px solid var(--cyan-bright); outline-offset: 2px; }
.impact { margin: 14px 0 6px; }
.impact__scale { display: flex; justify-content: space-between; color: #B9C7D8; font-size: .78rem; margin-top: 8px; }
.impact__out { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; color: #fff; }
.impact__out strong { font-size: 2.2rem; font-weight: 700; color: var(--cyan-bright); line-height: 1; font-variant-numeric: tabular-nums; }
.planner__result { animation: stepIn .5s var(--ease); }
.planner__result:focus { outline: none; }
.planner__result-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.planner__result-head p { color: #DCE6F2; font-size: .95rem; }
.planner__result-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan-ink), var(--purple)); color: #fff; font-size: 1.3rem; }
.summary { display: grid; border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); }
.summary div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: #B9C7D8; font-size: .88rem; }
.summary dd { color: #fff; font-size: .95rem; }

/* ---------- 17. Doctor ---------- */
.doctor { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; background: var(--white); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.doctor__photo { position: relative; background: linear-gradient(160deg, #EDE4D6, #DCCFBB); overflow: hidden; min-height: 440px; }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.doctor:hover .doctor__photo img { transform: scale(1.03); }
.doctor__initials { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--blue); }
.doctor__initials span { font-weight: 900; font-size: 5.5rem; letter-spacing: -.04em; opacity: .55; line-height: 1; }
.doctor__initials small { font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.doctor__chip { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .94); font-size: .85rem; font-weight: 500; color: var(--ink); }
.doctor__chip i { color: var(--ok); }
.doctor__body { padding: clamp(28px, 4vw, 52px); }
.doctor__creds { color: var(--purple); font-weight: 500; }

/* ---------- 18. Referrers ---------- */
.referrers { position: relative; padding-block: clamp(72px, 9vw, 112px); color: #DCE6F2; overflow: hidden; isolation: isolate; background: var(--blue-900); }
.referrers__bg { position: absolute; inset: 0; z-index: -2; }
.referrers__bg img { width: 100%; height: 100%; object-fit: cover; }
.referrers__bg img.is-loaded { opacity: .35; }
.referrers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(6, 40, 79, .97) 30%, rgba(11, 74, 143, .85) 60%, rgba(26, 20, 80, .8)); }
.referrers__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.referrers__sub { color: #fff; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin: 1.75rem 0 .5rem; }
.referrers__note { display: flex; gap: 10px; margin-top: 1.5rem; font-size: .95rem; color: #C9D5E3; }
.referrers__note i { color: var(--cyan-bright); margin-top: .3em; }
.referrers.is-highlighted .ref-card { animation: glow 1.6s var(--ease) 2; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(94, 230, 255, .35), 0 30px 60px -24px rgba(0, 0, 0, .5); } }
.ref-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); }
.ref-card__title { color: #fff; font-size: 1.3rem; font-weight: 500; margin-bottom: 1rem; }
.ref-card__row { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ref-card__row:last-of-type { border-bottom: 0; margin-bottom: 18px; }
.ref-card__label { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #B9C7D8; margin-bottom: 6px; }
.ref-card__label i { color: var(--cyan-bright); }
.ref-card__copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ref-card__copy code { font-size: 1.1rem; font-weight: 500; color: #fff; letter-spacing: .04em; }
.ref-card__link { color: #fff; font-weight: 500; word-break: break-all; }
.ref-card__link:hover { color: var(--cyan-bright); }
.copy-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); transition: background-color .2s; }
.copy-btn:hover { background: rgba(255, 255, 255, .22); }
.copy-btn.is-copied { background: var(--ok); border-color: var(--ok); }

/* ---------- 19. Learn ---------- */
.learn { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.video { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.video__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; color: #fff; text-align: left; }
.video__play img { width: 100%; height: 100%; object-fit: cover; }
.video__play:not(:disabled):hover img { transform: scale(1.04); }
.video__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 30, 60, .1), rgba(6, 30, 60, .82)); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video__icon { position: absolute; left: 50%; top: 45%; z-index: 1; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: var(--blue); background: #fff; box-shadow: 0 0 0 12px rgba(255, 255, 255, .22); transition: transform .3s var(--ease), box-shadow .3s; }
.video__play:not(:disabled):hover .video__icon { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(255, 255, 255, .15); }
.video__play:disabled { cursor: default; }
.video__play:disabled .video__icon { color: #fff; background: rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video__overlay { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; display: grid; gap: 2px; }
.video__overlay strong { font-size: 1.25rem; font-weight: 500; }
.video__overlay span { color: #C9D5E3; font-size: .88rem; }

.articles { display: grid; gap: 14px; }
.article { width: 100%; text-align: left; display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform var(--dur) var(--ease), border-color var(--dur), box-shadow var(--dur); }
.article:hover { transform: translateX(4px); border-color: var(--cyan); box-shadow: var(--shadow-sm); color: var(--ink); }
.article__thumb { flex-shrink: 0; width: 104px; height: 92px; border-radius: 12px; overflow: hidden; }
.article__thumb img { width: 100%; height: 100%; object-fit: cover; }
.article:hover .article__thumb img { transform: scale(1.08); }
.article__body { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.article__meta { font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); display: inline-flex; gap: 6px; align-items: center; }
.article__title { font-weight: 500; color: var(--ink); line-height: 1.3; }
.article__text { font-size: .86rem; color: var(--muted); }
.article__arrow { color: var(--cyan-ink); transition: transform .3s var(--ease); margin-right: 8px; }
.article:hover .article__arrow { transform: translateX(4px); }

/* ---------- 20. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-layout__head { position: sticky; top: calc(var(--header-h-sm) + 24px); }
.faq-layout__head > p { color: var(--muted); }
.faq-search { position: relative; margin-top: 22px; }
.faq-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-search input { width: 100%; min-height: 54px; padding: 12px 20px 12px 50px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq-search input:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 4px rgba(0, 163, 196, .18); }
.faq-actions { margin-top: 12px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item.is-open { border-color: #A8DCE6; box-shadow: var(--shadow-sm); }
.faq__q { font-size: 1.02rem; font-weight: 500; }
.faq__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; text-align: left; font-weight: 500; color: var(--ink); }
.faq__btn:hover { color: var(--blue); }
.faq__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--cyan-soft); transition: background-color .3s, transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--cyan-ink); transition: transform .4s var(--ease), background-color .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--cyan-ink); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 24px 22px; color: var(--ink-soft); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.no-js .faq__a { grid-template-rows: 1fr; }
.faq__item.is-hidden { display: none; }
.faq__item.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px rgba(0, 163, 196, .3); } }
.faq-empty { text-align: center; color: var(--muted); margin-top: 20px; }
mark { background: #FFF1B8; color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- 21. Booking wizard ---------- */
.booking { display: grid; grid-template-columns: 1.2fr .8fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.booking__form { padding: clamp(24px, 4vw, 52px); }
.booking__intro { color: var(--muted); margin-bottom: 1.4rem; }
.steps { display: flex; gap: 8px; margin-bottom: 26px; }
.no-js .steps { display: none; }
.steps__item { flex: 1; position: relative; }
.steps__item button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 0 12px; text-align: left; border-bottom: 3px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 500; transition: color .3s, border-color .3s; }
.steps__item button:disabled { cursor: default; }
.steps__num { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font-size: .8rem; font-weight: 700; transition: all .3s var(--ease); position: relative; }
.steps__item.is-current button { color: var(--blue); border-color: var(--cyan-ink); }
.steps__item.is-current .steps__num { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps__item.is-done button { color: var(--ink); border-color: var(--cyan-ink); }
.steps__item.is-done .steps__num { background: var(--cyan-ink); border-color: var(--cyan-ink); color: transparent; }
.steps__item.is-done .steps__num::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #fff; position: absolute; font-size: .72rem; }
.wizard__step { border: 0; padding: 0; min-width: 0; }
.js .wizard__step:not(.is-active) { display: none; }
.js .wizard__step.is-active { animation: stepIn .4s var(--ease); }
.js .wizard__step.is-back { animation: stepBack .4s var(--ease); }
.wizard__legend { font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 14px; padding: 0; }
.js .wizard__legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-js .wizard__step + .wizard__step { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard__nav { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.wizard__nav > :last-child { margin-left: auto; }
.js [data-wiz-submit].is-step-hidden { display: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field > label:not(.check), .field legend { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid #C9D5E2; background: var(--surface); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355667A' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-ink); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 163, 196, .18); }
/* Floating labels */
.field.float input:not([type="checkbox"]) { padding: 24px 40px 8px 16px; }
.field.float > label { position: absolute; left: 17px; top: 16px; margin: 0; font-weight: 400; font-size: 1rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.float input:focus + label, .float input:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.78); color: var(--cyan-ink); font-weight: 500; }
.field__error { display: none; color: var(--error); font-size: .85rem; font-weight: 500; margin-top: 6px; }
.field.has-error input:not([type="checkbox"]), .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #FFF8F7; }
.field.has-error .check__box { border-color: var(--error); }
.field.has-error .field__error { display: block; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field.is-valid input:not([type="checkbox"]), .field.is-valid select { border-color: #6CC4A1; }
.field.float.is-valid::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 16px; top: 18px; color: var(--ok); font-size: .85rem; animation: pop .3s var(--ease); }
.field__help { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field__help #msgCount { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.field--inline legend { margin-bottom: 8px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid #C9D5E2; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 8px 18px; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500; color: var(--muted); transition: all .2s var(--ease); }
.segmented input:checked + span { background: var(--blue); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 1px; }
.switch { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; cursor: pointer; font-size: .95rem; color: var(--ink); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { flex-shrink: 0; position: relative; width: 48px; height: 28px; border-radius: 28px; background: #C9D5E2; transition: background-color .25s; }
.switch__track span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.switch input:checked + .switch__track { background: var(--cyan-ink); }
.switch input:checked + .switch__track span { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--cyan); outline-offset: 2px; }
.referral-hint { display: flex; gap: 10px; margin: -4px 0 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--cyan-soft); color: var(--blue); font-size: .9rem; animation: fadeIn .35s var(--ease); }
.referral-hint i { margin-top: .25em; }
.review { margin: 4px 0 18px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review__head strong { font-weight: 500; color: var(--ink); }
.review__list { display: grid; gap: 4px; }
.review__list div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: .9rem; }
.review__list dt { color: var(--muted); }
.review__list dd { color: var(--ink); word-break: break-word; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: .93rem; font-weight: 500; animation: fadeIn .35s var(--ease); }
.alert i { margin-top: .2em; }
.alert--ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert--error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__label { display: none; }
.btn.is-loading .btn__spinner { display: block; }
.success { text-align: center; padding: 40px 10px; animation: fadeIn .5s var(--ease); }
.success:focus { outline: none; }
.success__check { width: 96px; height: 96px; margin: 0 auto 18px; }
.success__check circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawLine .7s var(--ease) forwards; }
.success__check path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawLine .4s .6s var(--ease) forwards; }
.success p { color: var(--muted); margin-bottom: 22px; }

.booking__info { position: relative; isolation: isolate; padding: clamp(24px, 4vw, 44px); background: var(--purple); color: #DCD2EA; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.booking__info-bg { position: absolute; inset: 0; z-index: -2; }
.booking__info-bg img { width: 100%; height: 100%; object-fit: cover; }
.booking__info::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(170deg, rgba(42, 16, 70, .8) 0%, rgba(58, 22, 98, .9) 45%, rgba(30, 10, 52, .97) 100%); }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; }
.info-list i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--cyan-bright); }
.info-list strong { display: block; color: #fff; font-weight: 500; font-size: .95rem; }
.info-list span, .info-list a { display: block; font-size: .93rem; color: #E3DAF0; }
.info-list a { color: #fff; }
.info-list a:hover { color: var(--cyan-bright); }
.open-status { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 4px; font-weight: 500; font-size: .82rem !important; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 6px transparent; } }
.open-status.is-open { color: #6EE7B7 !important; }
.open-status.is-closed { color: #FCA5A5 !important; }
.map { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__load { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; font-weight: 500; transition: background-color .25s; }
.map__pin { font-size: 2rem; color: var(--cyan-bright); transition: transform .5s var(--ease); }
.map__load small { font-weight: 400; color: #C4B5DA; }
.map__load:hover { background: rgba(255, 255, 255, .06); }
.map__load:hover .map__pin { transform: translateY(-6px); }
.emergency { display: flex; gap: 12px; padding: 16px; border-radius: var(--r-sm); background: rgba(0, 0, 0, .3); font-size: .86rem; color: #E9E1F3; }
.emergency i { color: #FFB703; margin-top: .25em; }
.emergency strong { color: #fff; font-weight: 500; }

/* ---------- 22. Footer ---------- */
.footer { background: var(--ink); color: #A9B6C6; padding: 0 0 calc(28px + env(safe-area-inset-bottom)); font-size: .93rem; }
.footer a { color: #DCE6F2; text-decoration: none; }
.footer a:hover { color: var(--cyan-bright); }
.footer__cta { background: linear-gradient(110deg, var(--blue) 0%, var(--purple) 100%); margin-bottom: clamp(48px, 6vw, 72px); }
.footer__cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 40px; }
.footer__cta-title { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.footer__cta p { color: #DCE6F2; }
.footer__cta .btn-row { margin: 0; }
.footer__cta a.btn { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { color: #fff; margin-bottom: 12px; }
.footer__logo span:last-child { color: #C4A8E0; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; font-size: 1.25rem; }
.footer__title { color: #fff; font-size: 1rem; font-weight: 500; margin-bottom: 14px; }
.footer__links { display: grid; gap: 9px; }
.footer__links a { position: relative; }
.footer__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.footer__links a:hover::after { transform: scaleX(1); }
.footer__links--icons li { display: flex; align-items: center; gap: 10px; }
.footer__links--icons i { color: var(--cyan-bright); width: 16px; }
.footer__ack { display: flex; gap: 16px; align-items: center; margin-top: 44px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer__flag { flex-shrink: 0; width: 36px; height: 24px; border-radius: 3px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; font-size: .84rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.footer__bottom ul { display: flex; gap: 18px; }

/* ---------- 23. Floating UI ---------- */
.mobile-bar { display: none; }
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 800; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__track { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 3; }
.to-top__ring { fill: none; stroke: var(--cyan-bright); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--cyan-ink); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 2600; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 500; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; }
.toast::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #6EE7B7; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 24. Dialogs ---------- */
dialog { color: var(--ink-soft); }
.modal { margin: auto; width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overscroll-behavior: contain; }
.modal--wide { width: min(920px, calc(100vw - 32px)); }
.modal::backdrop, .palette::backdrop { background: rgba(14, 26, 41, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .4s var(--ease); }
dialog[open]::backdrop { animation: fadeIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__inner { position: relative; padding: clamp(28px, 4vw, 44px); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal__close--float { background: rgba(255, 255, 255, .94); position: fixed; top: auto; right: auto; }
.modal--article { position: relative; }
.modal--article .modal__close--float { position: absolute; top: -56px; right: 16px; }
.modal__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--purple)); margin-bottom: 18px; }
.modal .h3 { margin-top: 4px; padding-right: 36px; }
.modal__sub { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 1.5rem; }
.modal__note { margin-top: 1.25rem; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); font-size: .85rem; color: var(--muted); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.modal--article .modal__hero { aspect-ratio: 16 / 7; overflow: hidden; background: var(--surface); }
.modal--article .modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal--article .modal__inner { padding-top: 26px; }

/* Command palette */
.palette { margin: 10vh auto auto; width: min(640px, calc(100vw - 24px)); max-height: none; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 40px 100px -20px rgba(6, 30, 60, .5); overflow: hidden; }
.palette[open] { animation: modalIn .3s var(--ease); }
.palette__input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette__input i { color: var(--cyan-ink); }
.palette__input input { flex: 1; min-width: 0; height: 62px; border: 0; outline: none; font-size: 1.08rem; background: none; }
.palette kbd { font-size: .72rem; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.palette__results { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.palette__group { padding: 10px 12px 4px; font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.palette__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; }
.palette__item > i:first-child { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--blue); font-size: .85rem; }
.palette__item span { min-width: 0; }
.palette__item strong { display: block; font-weight: 500; color: var(--ink); }
.palette__item small { display: block; color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette__go { margin-left: auto; color: var(--muted); opacity: 0; font-size: .8rem; }
.palette__item[aria-selected="true"] { background: var(--cyan-soft); }
.palette__item[aria-selected="true"] > i:first-child { background: var(--blue); color: #fff; }
.palette__item[aria-selected="true"] .palette__go { opacity: 1; }
.palette__empty { padding: 34px 16px; text-align: center; color: var(--muted); }
.palette__foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); background: var(--surface); }
.palette__foot kbd { margin-right: 3px; }

/* Lightbox */
.lightbox { margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0; background: rgba(6, 14, 26, .95); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { max-width: min(1200px, 92vw); display: grid; gap: 14px; justify-items: center; }
.lightbox__figure img { max-height: 78dvh; width: auto; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: zoomIn .4s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox__figure figcaption { font-size: 1rem; color: #DCE6F2; }
.lightbox__count { position: fixed; top: 22px; left: 24px; font-family: var(--font-mono); font-size: .85rem; color: #B9C7D8; }
.lightbox__btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); transition: background-color .2s, transform .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -26px; }

/* Telehealth check */
.tc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.tc { padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 12px; transition: border-color .3s; }
.tc.is-pass { border-color: #86E0B9; }
.tc.is-fail { border-color: #FDA29B; }
.tc__head { display: flex; align-items: center; gap: 10px; }
.tc__head > i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--white); color: var(--blue); border: 1px solid var(--line); }
.tc__head strong { font-weight: 500; color: var(--ink); }
.tc__status { margin-left: auto; padding: 3px 10px; border-radius: var(--r-pill); font-size: .76rem; font-weight: 500; background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.tc.is-pass .tc__status { background: #ECFDF5; border-color: #A7F3D0; color: var(--ok); }
.tc.is-fail .tc__status { background: #FEF3F2; border-color: #FECDCA; color: var(--error); }
.tc.is-running .tc__status { color: var(--blue); }
.tc__video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--ink); }
.tc__video video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.tc__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .35); font-size: 1.8rem; }
.tc.is-pass .tc__placeholder { display: none; }
.tc__meter { display: flex; align-items: flex-end; gap: 4px; height: 70px; padding: 8px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); }
.tc__meter span { flex: 1; height: 8%; border-radius: 3px; background: linear-gradient(0deg, var(--cyan-ink), var(--cyan-bright)); transition: height .08s linear; }
.tc__hint { font-size: .85rem; color: var(--muted); }
.tc__row { display: flex; gap: 8px; flex-wrap: wrap; }
.tc__gauge { display: flex; align-items: baseline; gap: 8px; padding: 12px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); }
.tc__speed { font-size: 2.2rem; font-weight: 700; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.tc__gauge small { color: var(--muted); }

/* Hover zoom on photos (applies after image has loaded) */
.mega__promo img.is-loaded, .mosaic__btn img.is-loaded, .visit-card--photo img.is-loaded, .video__play img.is-loaded, .article__thumb img.is-loaded { transition: opacity .7s var(--ease), transform 1s var(--ease); }

/* ---------- 25. Scroll reveal ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .7s var(--ease) var(--d, 0ms), translate .7s var(--ease) var(--d, 0ms), transform .5s var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1560px) {
  .hide-lg { display: none; }
  .search-btn__label, .search-btn__kbd { display: none; }
  .search-btn { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 1290px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 1024px) {
  .hide-md { display: none !important; }
  .hero__grid, .split, .wheel, .referrers__grid, .learn, .booking, .alarm, .planner, .faq-layout, .visit-grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 520px; }
  .hero__scroll { display: none; }
  .bodymap { grid-template-columns: 1fr; }
  .bodymap__figure { width: min(100%, 230px); }
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(2) { border-right: 0; }
  .facts__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .mosaic__item:last-child { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .doctor { grid-template-columns: 1fr; }
  .doctor__photo { aspect-ratio: 4 / 3; min-height: 0; max-height: 460px; }
  .faq-layout__head { position: static; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; --header-h-sm: 66px; }
  .brand__logo { height: 42px; }
  .journey__list { grid-template-columns: 1fr; gap: 26px; }
  .journey__track { top: 0; bottom: 0; left: 35px; right: auto; width: 4px; height: auto; }
  .journey__fill { transform: scaleY(var(--progress)); transform-origin: top; }
  .journey__step { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; text-align: left; align-items: start; padding: 0; }
  .journey__dot { grid-row: span 2; margin: 0; }
  .journey__title { margin-top: 10px; }
  .treat { grid-template-columns: 1fr; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 74, 143, .25); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-pill); font-weight: 500; text-decoration: none; color: var(--ink); border: 2px solid var(--line); background: var(--white); }
  .mobile-bar__btn--icon { width: 48px; padding: 0; }
  .mobile-bar__btn--primary { background: var(--cyan-ink); border-color: var(--cyan-ink); color: #fff; }
  .mobile-bar__btn--primary:hover { color: #fff; }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .trust__marquee { justify-content: flex-start; width: max-content; animation: marquee 32s linear infinite; }
  .trust__list { flex-wrap: nowrap; width: auto; max-width: none; padding-right: 34px; }
  .trust__list[aria-hidden="true"] { display: flex; }
  .trust:hover .trust__marquee { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .tabs[data-accordion] { padding: 8px 0; background: transparent; border: 0; box-shadow: none; }
  .tabs[data-accordion] > .tabs__list { display: none; }
  .tabs[data-accordion] .tabs__acc { display: block; font-size: 1rem; }
  .tabs__acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; margin-top: 10px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-weight: 500; color: var(--ink); text-align: left; }
  .tabs__acc-btn span { display: flex; align-items: center; gap: 10px; }
  .tabs__acc-btn span i { color: var(--cyan-ink); }
  .tabs__acc-icon { transition: transform .35s var(--ease); color: var(--cyan-ink); }
  .tabs__acc-btn[aria-expanded="true"] { border-radius: var(--r-md) var(--r-md) 0 0; border-bottom-color: transparent; color: var(--blue); }
  .tabs__acc-btn[aria-expanded="true"] .tabs__acc-icon { transform: rotate(45deg); }
  .tabs[data-accordion] .tabs__panel { background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); padding: 4px 16px 22px; }
  .checklist__list, .options, .feature-list { grid-template-columns: 1fr; }
  .tc-grid { grid-template-columns: 1fr; }
  .summary div, .review__list div { grid-template-columns: 1fr; gap: 2px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; margin: 0; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hide-sm { display: none !important; }
  .topbar__info { gap: 14px; }
  .topbar__call-label { display: none; }
  .audience-toggle__btn { padding: 3px 9px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { min-height: 0; }
  .hero__ctas .btn { width: 100%; }
  .hero__controls { bottom: 18px; }
  .hero__dot-bar { width: 36px; }
  .hero__dot-num { display: none; }
  .round-btn { width: 42px; height: 42px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gutter)); padding-bottom: 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .cond-grid { grid-template-columns: 1fr; }
  .facts__item { padding: 22px 18px; }
  .mosaic { grid-auto-rows: 150px; gap: 10px; }
  .mosaic__caption { padding: 30px 12px 10px; font-size: .85rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .modal__actions .btn, .booking .btn-row .btn, .footer__cta .btn { width: 100%; }
  .header__actions { gap: 8px; }
  .header__actions .btn--sm { padding: 8px 14px; }
  .steps__label { display: none; }
  .steps__item button { justify-content: center; }
  .article__thumb { width: 84px; height: 84px; }
  .palette { margin-top: 12px; }
  .palette__foot { display: none; }
  .planner__nav .btn { flex: 1; }
}

/* ---------- 27. Reduced motion (brief §6) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .hero__slide .hero__copy > *, .js .hero__slide .hero__card { opacity: 1; translate: 0 0; transform: none; }
  .nerve-path { stroke-dashoffset: 0; }
  .hero__bg img, .hero__bg.is-active img { transform: none; }
  .trust__marquee { animation: none !important; width: auto; }
  .trust__list[aria-hidden="true"] { display: none !important; }
  .trust__list { flex-wrap: wrap; }
  .tilt { transform: none !important; }
}

/* ---------- 28. Print (checklist / planner summary) ---------- */
@media print {
  body.print-checklist > *:not(main), body.print-checklist main > *:not(#journey), body.print-checklist #journey .section-head, body.print-checklist .journey, body.print-checklist .checklist__foot, body.print-checklist .visit-cards { display: none !important; }
  body.print-checklist .checklist { border: 0; background: none; }
  body.print-planner > *:not(main), body.print-planner main > *:not(#planner), body.print-planner .planner__aside, body.print-planner .btn-row, body.print-planner #plannerRestart, body.print-planner .planner__progress, body.print-planner .planner__count { display: none !important; }
  body.print-planner #planner { background: none; color: #000; padding: 0; }
  body.print-planner .planner, body.print-planner .planner__card { display: block; background: none; border: 0; box-shadow: none; }
  body.print-planner .summary { border-color: #999; }
  body.print-planner .summary div { border-color: #ccc; }
  body.print-planner .summary dt, body.print-planner .planner__result-head p { color: #444; }
  body.print-planner .summary dd, body.print-planner .h3--light { color: #000; }
  .reveal { opacity: 1 !important; translate: 0 0 !important; }
}

/* ---------- 29. Legal pages ---------- */
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.4rem; margin: .6rem 0; display: grid; gap: .35rem; }
.legal__updated { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* ---------- 30. Team (multiple specialists) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px; }
.doc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.doc-card__photo { position: relative; aspect-ratio: 8 / 7; background: linear-gradient(160deg, #EDE4D6, #DCCFBB); overflow: hidden; }
.doc-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease); }
.doc-card:hover .doc-card__photo img { transform: scale(1.03); }
.doc-card__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.doc-card__body .btn { align-self: flex-start; margin-top: auto; }
.doc-card__name { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.doc-card__bio { color: var(--ink-soft); margin-bottom: 14px; }
.team-focus { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.team-focus__title { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.team-focus .tags { margin: 0; flex: 1; }
@media (max-width: 640px) {
  .team-focus { flex-direction: column; align-items: flex-start; }
  .team-focus .tags { flex: none; }
}

.hero__meta a { color: #fff; text-decoration: none; font-weight: 500; }
.hero__meta a:hover { color: var(--cyan-bright); }

/* ---------- 31. Logo (header, drawer, footer, legal pages) ---------- */
.brand__logo-wrap, .footer__logo-img-wrap { display: flex; align-items: center; }
.brand--drawer .brand__logo { height: 52px; width: auto; }
.footer__logo-card { display: inline-flex; padding: 12px 18px; margin-bottom: 18px; border-radius: var(--r-md); background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.footer__logo-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6); }
.footer__logo-img { height: 84px; width: auto; }
.footer__logo-card .brand__wordmark { color: var(--blue); }
.footer__simple-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 8px 0 24px; }
.footer__simple-brand .footer__logo-card { margin: 0; }
.footer__simple-brand p { color: #A9B6C6; }
/* Legal / secondary pages */
.header--simple { border-color: var(--line); }
.header--simple .header__inner { height: 96px; }
.header--simple .brand__logo { height: 76px; }
.footer__simple-brand { padding-top: 40px; }
@media (max-width: 640px) { .header--simple .header__inner { height: 76px; } .header--simple .brand__logo { height: 58px; } }

/* ---------- 32. GP referral form ---------- */
.referrers__grid--form { align-items: start; grid-template-columns: .9fr 1.1fr; }
.refer-card { position: relative; background: var(--white); color: var(--ink-soft); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.refer-card__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: .6rem 0 .4rem; }
.refer-card__intro { color: var(--muted); margin-bottom: 1.4rem; }
.refer-card .form-foot { text-align: left; }
.success__ref { display: flex; width: fit-content; gap: 8px; align-items: center; margin: -8px auto 22px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--cyan-soft); color: var(--blue); font-size: .95rem; }
.success__ref strong { font-family: var(--font-mono); letter-spacing: .04em; }

.ref-alt { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 10px; }
.ref-alt__label { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #B9C7D8; }
.ref-alt .ref-card__link { display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; text-decoration: none; }
.ref-alt .ref-card__link i { color: var(--cyan-bright); }
.ref-alt__pdf { color: #fff; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.ref-alt__pdf:hover { color: var(--cyan-bright); }

.field__label { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.float--fixed > label { transform: translateY(-9px) scale(.78); color: var(--cyan-ink); font-weight: 500; }
.field input[type="date"] { color: var(--ink); }
.field input[type="date"]:invalid:not(:focus) { color: var(--muted); }

/* File drop zone */
.dropzone { position: relative; border: 2px dashed #B9C9DA; border-radius: var(--r-md); background: var(--surface); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--cyan-ink); background: var(--cyan-soft); }
.dropzone.is-drag { box-shadow: 0 0 0 4px rgba(0, 163, 196, .18); }
.dropzone:focus-within { border-color: var(--cyan-ink); box-shadow: 0 0 0 4px rgba(0, 163, 196, .18); }
.dropzone__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone__empty { display: flex; align-items: center; gap: 14px; padding: 18px; cursor: pointer; }
.dropzone__empty strong { display: block; font-weight: 500; color: var(--ink); }
.dropzone__empty small { display: block; color: var(--muted); font-size: .84rem; }
.dropzone__browse { color: var(--cyan-ink); text-decoration: underline; text-underline-offset: 3px; }
.dropzone__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--cyan-ink); font-size: 1.2rem; border: 1px solid var(--line); transition: transform .3s var(--ease); }
.dropzone:hover .dropzone__icon, .dropzone.is-drag .dropzone__icon { transform: translateY(-3px); }
.dropzone__icon--file { background: var(--cyan-ink); color: #fff; border-color: var(--cyan-ink); }
.dropzone__file { display: flex; align-items: center; gap: 14px; padding: 14px 18px; animation: fadeIn .3s var(--ease); }
.dropzone__meta { flex: 1; min-width: 0; }
.dropzone__meta strong { display: block; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone__meta small { color: var(--muted); font-size: .84rem; }
.dropzone__remove { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background-color .2s, color .2s; }
.dropzone__remove:hover { background: #FEF3F2; color: var(--error); }
.field.has-error .dropzone { border-color: var(--error); background: #FFF8F7; }

@media (max-width: 1024px) { .referrers__grid--form { grid-template-columns: 1fr; } }
