/* =========================================================
   Dr Sachin G R — Neurosurgeon
   Design tokens · base · components · pages · motion
   ========================================================= */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
:root {
  --primary: #0B1F3A;
  --primary-2: #10294c;
  --secondary: #0E7490;
  --accent: #38BDF8;
  --bg: #F7FAFC;
  --text: #172033;
  --muted: #5b6678;
  --line: rgba(11, 31, 58, .09);
  --card: #ffffff;
  --glass: rgba(255, 255, 255, .66);
  --glass-dark: rgba(255, 255, 255, .06);
  --vessel: #fb7185;
  --grad: linear-gradient(135deg, var(--secondary), var(--accent));
  --grad-deep: linear-gradient(160deg, #0B1F3A 0%, #0c2a4d 55%, #0b3a55 100%);
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .05), 0 12px 32px -12px rgba(11, 31, 58, .18);
  --shadow-lg: 0 30px 80px -30px rgba(11, 31, 58, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Roboto', system-ui, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --tab-h: 0px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
main, .footer { overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.02em; color: var(--primary); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 12px; transition: top .3s; }
.skip:focus { top: 16px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(40px, 5vw, 64px); position: relative; }
.section:not(.section--dark):not(.soft) + .section:not(.section--dark):not(.soft) { padding-top: 0; }
.section--dark { background: var(--grad-deep); color: #d6e3f3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--secondary);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.section--dark .eyebrow { color: var(--accent); }
.h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 600; margin-top: 16px; }
.h2 em, .h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 56ch; margin-top: 12px; }
.section--dark .lead { color: #a9bdd6; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
/* ---------- Buttons ---------- */
.btn {
  --bh: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font: 500 15.5px/1 var(--head); white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
}
.btn .ico { width: 19px; height: 19px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 12px 30px -12px rgba(11, 31, 58, .6); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .7s var(--ease);
}
.btn--primary:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.btn--glow { background: var(--grad); color: #fff; box-shadow: 0 14px 40px -12px rgba(56, 189, 248, .7); }
.btn--glow::after {
  content: ''; position: absolute; inset: -2px; z-index: -1;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, rgba(255, 255, 255, .8) 80%, transparent 90%);
  animation: spin 3.2s linear infinite; mix-blend-mode: overlay;
}
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--line { color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--secondary); }
.btn:active { transform: scale(.96); }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h);
  display: flex; align-items: center; view-transition-name: header;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid { background: rgba(247, 250, 252, .78); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 8px 20px -8px rgba(14, 116, 144, .6); }
.brand b { display: block; font: 600 17px/1.1 var(--head); color: var(--primary); letter-spacing: -.01em; }
.brand small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }
.header--dark:not(.is-solid) .brand b { color: #fff; }
.header--dark:not(.is-solid) .brand small { color: #9fb4cf; }
.nav { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.header--dark:not(.is-solid) .nav { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.nav a { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font: 500 14.5px/1 var(--head); color: var(--muted); transition: color .35s; }
.header--dark:not(.is-solid) .nav a { color: #b5c6dc; }
.nav a:hover, .nav a[aria-current] { color: var(--primary); }
.header--dark:not(.is-solid) .nav a:hover, .header--dark:not(.is-solid) .nav a[aria-current] { color: #fff; }
.nav-pill { position: absolute; z-index: 0; top: 6px; height: calc(100% - 12px); border-radius: 999px; background: #fff; box-shadow: var(--shadow); transition: left .6s var(--ease-spring), width .6s var(--ease-spring); }
.header--dark:not(.is-solid) .nav-pill { background: rgba(255, 255, 255, .14); box-shadow: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { --bh: 46px; padding: 0 20px; font-size: 14.5px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 116, 144, .8);
}
.icon-btn .ico { width: 20px; height: 20px; }
.header-call-m { display: none; }
/* ---------- Mobile app shell ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  :root { --header-h: 64px; --tab-h: 78px; }
  .nav, .header-cta .btn { display: none; }
  .header-call-m { display: grid; }
  .brand img { width: 40px; height: 40px; border-radius: 12px; }
  .brand b { font-size: 16px; }
  body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    height: 66px; padding: 0 6px; border-radius: 24px; view-transition-name: tabbar;
    background: rgba(11, 31, 58, .88); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
    box-shadow: 0 18px 40px -14px rgba(11, 31, 58, .7), inset 0 0 0 1px rgba(255, 255, 255, .08);
  }
  .tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 500 10.5px/1 var(--head); color: #8ea3bf; transition: color .3s; }
  .tab .ico { width: 22px; height: 22px; transition: transform .5s var(--ease-spring); }
  .tab[aria-current] { color: #fff; }
  .tab[aria-current] .ico { transform: translateY(-2px); color: var(--accent); }
  .tab:active .ico { transform: scale(.85); }
  .tab-blob { position: absolute; z-index: 0; top: 9px; width: 54px; height: 48px; border-radius: 16px; background: rgba(56, 189, 248, .14); transition: left .6s var(--ease-spring); }
  .tab--fab { justify-self: center; }
  .tab--fab span.fab {
    width: 56px; height: 56px; margin-top: -30px; border-radius: 20px; display: grid; place-items: center;
    background: var(--grad); color: #fff; box-shadow: 0 12px 26px -8px rgba(56, 189, 248, .8), 0 0 0 6px var(--bg);
    animation: fabPulse 2.8s var(--ease) infinite;
  }
  .tab--fab .ico { width: 24px; height: 24px; }
}
@keyframes fabPulse { 0%, 100% { box-shadow: 0 12px 26px -8px rgba(56, 189, 248, .8), 0 0 0 6px var(--bg), 0 0 0 6px rgba(56, 189, 248, .5); } 60% { box-shadow: 0 12px 26px -8px rgba(56, 189, 248, .8), 0 0 0 6px var(--bg), 0 0 0 18px rgba(56, 189, 248, 0); } }
/* ---------- Scroll spine progress (desktop) ---------- */
.top-progress { position: fixed; z-index: 96; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); display: none; }
@media (max-width: 860px) {
  .top-progress { display: block; }
}
/* ---------- Hero (dark, glowing) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #b9cce3;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 56px)) 0 clamp(100px, 10vw, 140px);
  background: radial-gradient(60% 70% at 72% 42%, #1d5ea8 0%, rgba(29, 94, 168, 0) 60%), radial-gradient(40% 50% at 10% 90%, rgba(14, 116, 144, .45), transparent 70%), linear-gradient(160deg, #0B1F3A 0%, #0a2449 50%, #07162c 100%);
}

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 7vw, 110px); fill: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.badge-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font: 500 13px/1 var(--head); color: #dcebfa; backdrop-filter: blur(8px); }
.badge-live .ico { width: 16px; height: 16px; color: var(--accent); }
.badge-live b { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.h1 { font-size: clamp(38px, 5.4vw, 70px); font-weight: 600; color: #fff; margin-top: 24px; letter-spacing: -.035em; line-height: 1.04; }
.rotator { display: inline-grid; vertical-align: bottom; perspective: 800px; height: 1.08em; overflow: visible; }
.rotator > span { grid-area: 1 / 1; transform-origin: 50% 50% -.5em; backface-visibility: hidden; transition: transform .9s var(--ease), opacity .9s var(--ease); opacity: 0; transform: rotateX(90deg); background: linear-gradient(90deg, #7dd3fc, #38BDF8 50%, #ffb45e); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; padding-bottom: .06em; }
.rotator > span.on { opacity: 1; transform: rotateX(0); }
.rotator > span.out { opacity: 0; transform: rotateX(-90deg); }
.hero-sub { margin-top: 22px; font-size: clamp(16px, 1.5vw, 18.5px); color: #b3c7de; max-width: 54ch; }
.hero-sub strong { color: #fff; font-weight: 500; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.cred { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font: 500 13px/1.2 var(--head); color: #dcebfa; }
.cred .ico { width: 16px; height: 16px; color: var(--accent); }
.hero .crumbs, .page-hero .crumbs { color: #8fa8c6; }
.hero .crumbs a:hover, .page-hero .crumbs a:hover { color: #fff; }
/* Hero head + brain */
.brain-stage { position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 470 / 560; perspective: 1200px; }

.brain { position: relative; width: 100%; height: 100%; overflow: visible; transition: transform 1s var(--ease); }
.brain .head { fill: url(#headFill); }
.brain .gy { fill: none; stroke: #4aa3ec; stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; }
.brain .lobe { fill: #ffb45e; opacity: 0; cursor: pointer; outline: none; transition: opacity .7s var(--ease); }
.brain .lobe:hover { opacity: .22; }
.brain .lobe.on { opacity: .34; }
.brain .lobe:focus-visible { opacity: .34; stroke: #fff; stroke-width: 3; }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(12, 36, 70, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(125, 211, 252, .2); font: 500 13px/1.25 var(--head); color: #fff; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float-card small { display: block; font: 400 11.5px var(--body); color: #9fb8d4; }
.float-card .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.float-card .dot .ico { width: 17px; height: 17px; }
.fc1 { right: -2%; top: 8%; }
.fc2 { left: -6%; bottom: 12%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
/* spine illustration (treatment pages) */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .brain-stage { max-width: 440px; order: -1; margin-bottom: 18px; }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .brain-stage { max-width: 330px; }
  .float-card { font-size: 11.5px; padding: 7px 10px; gap: 8px; }
  .float-card .dot { width: 26px; height: 26px; border-radius: 8px; }
  .float-card small { display: none; }
  .fc1 { right: -4%; top: 4%; }
  .fc2 { left: -6%; bottom: 30%; }
}
/* ---------- Stats ---------- */
/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 20px 0 8px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 14px; font: 500 clamp(18px, 2.2vw, 26px)/1 var(--head); color: #9aa8bc; white-space: nowrap; letter-spacing: -.01em; }
.marquee-item::after { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); margin-left: 42px; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* ---------- Body explorer ---------- */

@keyframes float { 50% { transform: translateY(-18px); opacity: .2; } }
@keyframes hsPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

.t-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(14, 116, 144, .12), rgba(56, 189, 248, .14)); color: var(--secondary); }
.t-ic .ico { width: 24px; height: 24px; }
.t-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--secondary); transition: background .4s, color .4s, transform .5s var(--ease-spring); }
.t-go .ico { width: 16px; height: 16px; }

@media (max-width: 560px) {
  .t-ic { width: 42px; height: 42px; border-radius: 12px; }
}
/* ---------- Cards / features ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
}
.card {
  position: relative; padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden;
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { font-size: 20px; font-weight: 600; margin-top: 22px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card .t-ic { width: 56px; height: 56px; border-radius: 18px; }
.card .t-ic .ico { width: 28px; height: 28px; }
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(56, 189, 248, .16), transparent 45%); }
[data-tilt]:hover .glare { opacity: 1; }
.section--dark .card { background: var(--glass-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); backdrop-filter: blur(10px); }
.section--dark .card p { color: #9fb4cf; }
.section--dark .card .t-ic { background: rgba(56, 189, 248, .12); color: var(--accent); }
/* Why section: split with sticky visual */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.why-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.why-list { display: grid; gap: 16px; }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.why-item .num { font: 600 15px var(--head); color: var(--secondary); width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(14, 116, 144, .08); }
.why-item h3 { font-size: 19px; font-weight: 600; }
.why-item p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.quote-card { position: relative; margin: 36px 0 0; padding: 32px; border-radius: 28px; background: var(--grad-deep); color: #d6e3f3; box-shadow: var(--shadow-lg); }
.quote-card .qi { width: 40px; height: 40px; color: var(--accent); }
.quote-card p { margin-top: 14px; font: 500 clamp(18px, 1.8vw, 21px)/1.5 var(--head); color: #fff; }
.quote-card figcaption { margin-top: 20px; }
.quote-card figcaption b { display: block; font: 600 15px var(--head); color: var(--accent); }
.quote-card figcaption small { color: #9fb4cf; font-size: 13px; }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
}
@media (max-width: 560px) {
  .why-item { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .why-item .num { width: 44px; height: 44px; border-radius: 14px; }
}
/* Journey */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.journey-line { position: absolute; left: 0; right: 0; top: 34px; height: 60px; pointer-events: none; }
.journey-line path { fill: none; stroke-width: 2; }
.journey-line .bg { stroke: rgba(255, 255, 255, .1); }
.journey-line .fg { stroke: url(#jGrad); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.step { position: relative; padding-top: 96px; }
.step .dot { position: absolute; top: 44px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); box-shadow: inset 0 0 0 2px rgba(125, 211, 252, .4); transition: background .5s, box-shadow .5s; }
.step.lit .dot { background: var(--accent); box-shadow: 0 0 0 8px rgba(56, 189, 248, .15), 0 0 24px rgba(56, 189, 248, .8); }
.step small { font: 600 12px var(--head); letter-spacing: .14em; color: var(--accent); }
.step h3 { font-size: 19px; font-weight: 600; margin-top: 8px; }
.step p { color: #9fb4cf; font-size: 14.5px; margin-top: 8px; }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; gap: 0; padding-left: 40px; }
  .journey-line { display: none; }
  .journey::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: rgba(255, 255, 255, .1); }
  .journey::after { content: ''; position: absolute; left: 10px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--p, 0)); background: var(--grad); }
  .step { padding: 0 0 36px; }
  .step .dot { left: -40px; top: 2px; }
}
/* Testimonials — 3D coverflow */
.tcarousel { position: relative; height: 330px; perspective: 1400px; touch-action: pan-y; user-select: none; }
.tcard {
  position: absolute; left: 50%; top: 0; width: min(520px, 86vw); margin-left: calc(min(520px, 86vw) / -2); padding: 34px; border-radius: 28px;
  background: #fff; box-shadow: var(--shadow-lg); transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); will-change: transform;
}
.tcard .stars { display: flex; gap: 3px; color: #f59e0b; }
.tcard .stars .ico { width: 18px; height: 18px; fill: currentColor; stroke-width: 1.2; }
.tcard blockquote { margin: 18px 0 0; font: 400 17px/1.65 var(--body); color: var(--text); }
.tcard footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.tcard .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 16px var(--head); color: #fff; background: var(--grad); }
.tcard footer b { display: block; font: 600 15px var(--head); color: var(--primary); }
.tcard footer small { color: var(--muted); font-size: 13px; }
.tcard .sample { position: absolute; top: 20px; right: 22px; font: 600 10px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 5px 8px; border-radius: 6px; }
.tcard .q { stroke-width: 1.4; position: absolute; right: 26px; bottom: 22px; width: 54px; height: 54px; color: rgba(14, 116, 144, .1); }
.tnav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.tnav button.arrow { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); color: var(--primary); transition: transform .4s var(--ease-spring); }
.tnav button.arrow:active { transform: scale(.9); }
.tnav .prev .ico { transform: rotate(180deg); }
.tdots { display: flex; gap: 6px; }
.tdots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(11, 31, 58, .15); transition: width .5s var(--ease), background .5s; }
.tdots button[aria-current] { width: 28px; background: var(--secondary); }
@media (max-width: 560px) {
  .tcarousel { height: 430px; }
  .tcard { padding: 26px; }
  .tcard blockquote { font-size: 16px; }
}
/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, background .4s; overflow: hidden; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font: 500 16.5px/1.4 var(--head); color: var(--primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--secondary); transition: transform .6s var(--ease-spring), background .4s, color .4s; }
.faq summary i .ico { width: 16px; height: 16px; }
.faq details[open] summary i { transform: rotate(135deg); background: var(--secondary); color: #fff; }
.faq .ans { padding: 0 24px 24px; color: var(--muted); }
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq summary { padding: 18px 18px; font-size: 15.5px; }
  .faq .ans { padding: 0 18px 20px; }
}
/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 7vw, 80px); background: var(--grad-deep); color: #c3d4e8; isolation: isolate; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ''; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 189, 248, .28), transparent); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4.4vw, 50px); font-weight: 600; max-width: 18ch; }
.cta-band p { margin-top: 16px; max-width: 52ch; color: #a9bdd6; }
.cta-band .hero-actions { margin-top: 30px; }
/* Footer */
.footer { background: var(--primary); color: #9fb4cf; padding: 64px 0 32px; margin-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand b { color: #fff; }
.footer .brand small { color: #7f98b7; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer li { margin-top: 10px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer p { font-size: 14.5px; margin-top: 16px; max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #6f89aa; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer { margin-top: 72px; padding-top: 56px; }
}
/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(96px, 10vw, 140px); background: radial-gradient(50% 80% at 85% 20%, #1d5ea8 0%, rgba(29, 94, 168, 0) 70%), linear-gradient(160deg, #0B1F3A, #0a2449 55%, #07162c); color: #b3c7de; }
.page-hero .h1 em { background: linear-gradient(90deg, #7dd3fc, #38BDF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero canvas.neural { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .75; }
.page-hero .h1 { font-size: clamp(36px, 6vw, 68px); margin-top: 18px; max-width: 16ch; }
.page-hero .lead { color: #b3c7de; }
.crumbs { display: flex; gap: 8px; font: 500 13px var(--head); color: var(--muted); }
.crumbs a:hover { color: var(--secondary); }
/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #1a4b72, #0B1F3A 70%); box-shadow: var(--shadow-lg); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo .mono { position: absolute; inset: 0; display: grid; place-items: center; }
.about-photo .mono svg { width: 70%; }
.about-photo .tag { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); display: flex; align-items: center; gap: 14px; }
.about-photo .tag b { font: 600 26px/1 var(--head); color: var(--primary); }
.about-photo .tag > span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.prose p { color: var(--muted); margin-top: 16px; font-size: 16.5px; }
.prose p strong { color: var(--text); font-weight: 500; }
.q-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.q-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.q-item .ico { color: var(--secondary); margin-top: 2px; }
.q-item b { display: block; font: 600 15px/1.3 var(--head); color: var(--primary); }
.q-item small { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
}
@media (max-width: 480px) {
  .q-grid { grid-template-columns: 1fr; }
}
/* Training world timeline */
.train { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.world { position: relative; aspect-ratio: 1.8; border-radius: 28px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; }
.world svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.world .land { fill: none; stroke: rgba(125, 211, 252, .28); stroke-width: 3.4; stroke-linecap: round; }
.world .arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.6; stroke-dasharray: 4 6; stroke-linecap: round; opacity: 0; transition: opacity .6s; }
.world .arc.lit { opacity: 1; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.world .city circle.c { fill: var(--accent); }
.world .city circle.p { fill: none; stroke: var(--accent); transform-box: fill-box; transform-origin: center; animation: hsPulse 2.4s infinite; opacity: 0; }
.world .city.lit circle.p { opacity: 1; }
.world .city text { fill: #cfe2f6; font: 600 16px var(--head); opacity: .5; transition: opacity .5s; }
.world .city.lit text { opacity: 1; }
.tl { display: grid; gap: 10px; }
.tl button { text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: background .5s, box-shadow .5s, transform .6s var(--ease); }
.tl button[aria-pressed="true"] { background: rgba(56, 189, 248, .1); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .45); transform: translateX(6px); }
.tl .flag { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); font: 600 12px var(--head); color: var(--accent); letter-spacing: .08em; }
.tl b { display: block; font: 600 16.5px/1.3 var(--head); color: #fff; }
.tl small { display: block; color: #9fb4cf; font-size: 14px; margin-top: 3px; }
@media (max-width: 960px) {
  .train { grid-template-columns: 1fr; }
}
/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.c-tiles { display: grid; gap: 14px; }
.c-tile { position: relative; display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: center; padding: 22px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s; }
.c-tile:hover { box-shadow: var(--shadow-lg); }
.c-tile .t-ic { width: 60px; height: 60px; border-radius: 18px; }
.c-tile .t-ic .ico { width: 26px; height: 26px; }
.c-tile.wa .t-ic { background: rgba(37, 211, 102, .12); color: #128c4a; }
.c-tile small { display: block; font-size: 13px; color: var(--muted); }
.c-tile b { display: block; font: 600 clamp(17px, 2vw, 20px)/1.3 var(--head); color: var(--primary); word-break: break-word; }
.c-tile .t-go { width: 42px; height: 42px; }
.c-tile:hover .t-go { background: var(--secondary); color: #fff; transform: rotate(-45deg); }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: #fff; box-shadow: var(--shadow-lg); }
.form h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; }
.form > p { color: var(--muted); margin-top: 8px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--text); background: var(--bg); border: 0; border-radius: 16px;
  padding: 26px 16px 10px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .35s, background .35s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field label { position: absolute; left: 16px; top: 18px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .35s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--secondary), 0 0 0 5px rgba(56, 189, 248, .14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { transform: translateY(-10px) scale(.78); color: var(--secondary); }
.field .err { display: none; font-size: 12.5px; color: #dc2626; margin: 6px 4px 0; }
.field.invalid input, .field.invalid select { box-shadow: inset 0 0 0 1.5px #dc2626; }
.field.invalid .err { display: block; }
.form .btn { margin-top: 20px; width: 100%; }
.form .note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.hours { margin-top: 14px; padding: 22px; border-radius: 24px; background: var(--grad-deep); color: #a9bdd6; }
.hours h3 { color: #fff; font-size: 17px; display: flex; gap: 10px; align-items: center; }
.hours h3 .ico { color: var(--accent); }
.hours ul { margin-top: 12px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); font-size: 14.5px; }
.hours li:last-child { border: 0; }
.hours li b { color: #fff; font-weight: 500; }
.hours .em { margin-top: 12px; font-size: 13.5px; color: #7dd3fc; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .fields { grid-template-columns: 1fr; }
  .c-tile { grid-template-columns: 52px 1fr auto; padding: 16px; gap: 14px; }
  .c-tile .t-ic { width: 52px; height: 52px; }
}
/* Services directory */
/* ---------- Treatment sheet ---------- */
.sheet {
  position: fixed; z-index: 160; inset: 4vh auto 4vh 50%; width: min(760px, 94vw); transform: translateX(-50%);
  background: var(--bg); border-radius: 32px; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .5); display: flex; flex-direction: column; overflow: hidden; visibility: hidden;
}
.sheet.open { visibility: visible; }
.recovery { padding: 20px; border-radius: 20px; background: linear-gradient(135deg, rgba(14, 116, 144, .08), rgba(56, 189, 248, .1)); }
.recovery p { color: var(--text); margin-top: 8px; font-size: 15px; }

@media (max-width: 640px) {
  .sheet { inset: auto 0 0 0; width: 100%; transform: none; max-height: 92svh; border-radius: 28px 28px 0 0; }
}
body.lock { overflow: hidden; }
/* ---------- Motion primitives ---------- */
.js [data-split] .w { display: inline-block; perspective: 600px; }
.js [data-split] em { background: none; color: inherit; }
.js [data-split] em .wi { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.section--dark [data-split] em .wi, .cta-band [data-split] em .wi, .hero [data-split] em .wi, .page-hero [data-split] em .wi { background-image: linear-gradient(90deg, #7dd3fc, #38BDF8 60%, #22d3ee); }
.js [data-split] .wi { display: inline-block; transform-origin: 50% 100%; transform: rotateX(-80deg) translateZ(0); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 55ms); }
.js [data-split].in .wi { transform: none; opacity: 1; }
.js [data-reveal="focus"] { opacity: 0; transform: scale(.97); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="focus"].in { opacity: 1; transform: none; }
.js [data-reveal="iris"] { clip-path: circle(0% at 50% 50%); transition: clip-path 1.5s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="iris"].in { clip-path: circle(75% at 50% 50%); }
.js [data-reveal="scan"] { position: relative; clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="scan"].in { clip-path: inset(0 0 0 0 round var(--radius)); }

.js [data-reveal="flip"] { opacity: 0; transform: perspective(900px) rotateX(18deg); transform-origin: 50% 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="flip"].in { opacity: 1; transform: none; }
.js [data-reveal="draw"] { opacity: 0; transition: opacity .6s; }
.js [data-reveal="draw"].in { opacity: 1; }
/* Page transitions (cross-document view transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .5s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .7s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-split] .wi, .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .marquee-track { animation: none !important; }
}
/* ---------- 3D body ---------- */
/* ---------- Decorative elements ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco.plus { width: 26px; height: 26px; }
.deco.plus::before, .deco.plus::after { content: ''; position: absolute; inset: 11px 0; border-radius: 2px; background: rgba(14, 116, 144, .25); }
.deco.plus::after { inset: 0 11px; }
.deco.p1 { right: 6%; top: 60px; animation: bob 7s ease-in-out infinite; }
.deco.p2 { left: 4%; bottom: 80px; animation: bob 9s ease-in-out infinite reverse; }
.section { isolation: isolate; }
.section > .wrap { position: relative; z-index: 1; }
.section.soft { background: linear-gradient(180deg, #eef6fa, var(--bg)); }
/* ---------- Specialities ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec { position: relative; padding: 28px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.spec::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 189, 248, .16), transparent); }
.spec:hover { box-shadow: var(--shadow-lg); }
.spec-top { display: flex; align-items: flex-start; justify-content: space-between; }
.ic3d { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #38BDF8, #0E7490 70%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -6px 12px rgba(11, 31, 58, .35), 0 14px 26px -10px rgba(14, 116, 144, .7); transform: perspective(300px) rotateX(10deg); }
.ic3d .ico { width: 30px; height: 30px; stroke-width: 1.9; filter: drop-shadow(0 2px 2px rgba(11, 31, 58, .35)); }
.spec-n { font: 600 34px/1 var(--head); color: rgba(11, 31, 58, .1); text-align: right; }
.spec-n small { display: block; font: 500 11px var(--head); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.spec h3 { font-size: 21px; font-weight: 600; margin-top: 22px; }
.spec p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.spec ul { margin-top: 16px; border-top: 1px solid var(--line); }
.spec li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font: 500 14.5px/1.3 var(--head); color: var(--primary); transition: color .3s, padding .4s var(--ease); }
.spec li a .ico { width: 16px; height: 16px; color: var(--secondary); transition: transform .4s var(--ease); }
.spec li a:hover { color: var(--secondary); padding-left: 6px; }
.spec li a:hover .ico { transform: translate(3px, -3px); }
@media (max-width: 960px) {
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .specs { grid-template-columns: 1fr; }
}
/* ---------- Treatment page ---------- */
.t-hero { padding-bottom: clamp(130px, 13vw, 180px); }
.t-h1 { font-size: clamp(36px, 5vw, 64px); margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -84px; position: relative; z-index: 3; }
.fact { display: flex; gap: 14px; align-items: center; padding: 20px 22px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.fact small { display: block; font: 600 11.5px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); }
.fact b { display: block; font: 500 14.5px/1.4 var(--head); color: var(--primary); margin-top: 3px; }
.subnav { position: sticky; top: var(--header-h); z-index: 70; margin-top: 36px; background: rgba(247, 250, 252, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav a { flex: none; padding: 9px 16px; border-radius: 999px; font: 500 14px var(--head); color: var(--muted); transition: background .3s, color .3s; }
.subnav a:hover, .subnav a.on { background: var(--primary); color: #fff; }
.t-overview { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.t-lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.7; color: var(--text); }
.doc-card { position: relative; padding: 28px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.doc-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 90px; background: var(--grad-deep); }
.doc-av { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-top: 30px; background: var(--grad); box-shadow: 0 0 0 5px #fff, var(--shadow); display: grid; place-items: center; }
.doc-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.doc-av span { font: 600 30px var(--head); color: #fff; }
.doc-card > b { display: block; margin-top: 16px; font: 600 20px var(--head); color: var(--primary); }
.doc-card > small { color: var(--muted); font-size: 13.5px; }
.doc-card ul { margin-top: 16px; display: grid; gap: 8px; }
.doc-card li { display: flex; gap: 8px; font-size: 14px; color: var(--text); }
.doc-card li .ico { width: 18px; color: var(--secondary); }
.doc-card .btn { width: 100%; margin-top: 22px; }
.signs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sign { position: relative; padding: 26px 22px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.sign-n { position: absolute; right: 18px; top: 12px; font: 600 42px/1 var(--head); color: rgba(14, 116, 144, .1); }
.sign-ic { width: 44px !important; height: 44px !important; padding: 10px; border-radius: 14px; background: linear-gradient(145deg, #38BDF8, #0E7490); color: #fff; stroke-width: 2.4 !important; box-shadow: 0 10px 20px -10px rgba(14, 116, 144, .8); }
.sign p { margin-top: 18px; font: 500 15.5px/1.5 var(--head); color: var(--primary); }
.t-recovery { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.rec-card { padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: linear-gradient(145deg, #e3f4fa, #fff); box-shadow: var(--shadow); }
.rec-card p { margin-top: 18px; font-size: 17px; color: var(--text); }
.card.rel { display: flex; flex-direction: column; }
.card.rel p { flex: 1; }
@media (max-width: 960px) {
  .facts { grid-template-columns: 1fr; margin-top: -70px; }
  .t-overview, .t-recovery { grid-template-columns: 1fr; }
  .signs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .signs { grid-template-columns: 1fr; }
}
/* ---------- 3D hero canvas ---------- */
.hero .hero-wave { z-index: 1; }
/* ---------- Conditions ---------- */
/* ---------- Technology / treatment options ---------- */
.techs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech { position: relative; padding: 26px; border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); overflow: hidden; transition: transform .6s var(--ease), background .4s; }
.tech:hover { background: rgba(255, 255, 255, .08); }
.tech h3 { font-size: 18.5px; font-weight: 600; margin-top: 18px; color: #fff; }
.tech p { font-size: 14.5px; color: #a9c1dc; margin-top: 8px; }
.tech .ic3d { width: 54px; height: 54px; border-radius: 16px; }
.tech .ic3d .ico { width: 26px; height: 26px; }
.techs.light .tech { background: #fff; box-shadow: var(--shadow); }
.techs.light .tech h3 { color: var(--primary); }
.techs.light .tech p { color: var(--muted); }
@media (max-width: 960px) {
  .techs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .techs { grid-template-columns: 1fr; }
}
/* ---------- Warning signs + emergency ---------- */
.signs-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.sym { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.sym li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.45; }
.sym .ico { width: 20px; height: 20px; color: var(--secondary); flex: none; }
.emergency { position: relative; padding: 28px; border-radius: 28px; color: #ffe9e9; background: linear-gradient(150deg, #7f1d1d, #b91c1c 55%, #dc2626); box-shadow: 0 30px 60px -28px rgba(185, 28, 28, .7); overflow: hidden; }
.emergency::after { content: ''; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .2), transparent); }
.em-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font: 600 12.5px var(--head); color: #fff; }
.em-badge .ico { width: 16px; height: 16px; }
.emergency h3 { color: #fff; font-size: 22px; font-weight: 600; margin-top: 16px; }
.emergency ul { margin-top: 12px; display: grid; gap: 8px; }
.emergency li { position: relative; padding-left: 20px; font-size: 15px; }
.emergency li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #fecaca; }
.emergency .btn { margin-top: 20px; background: #fff; color: #b91c1c; box-shadow: none; }
.emergency .btn::after { display: none; }
@media (max-width: 900px) {
  .signs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sym { grid-template-columns: 1fr; }
}
/* ---------- Second opinion ---------- */
.second { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px 40px; align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: 32px; background: linear-gradient(135deg, #e3f4fa, #ffffff 60%); box-shadow: var(--shadow); }
.second-head p { color: var(--muted); margin-top: 12px; }
.second-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.second-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: center; padding: 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.second-steps span { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 600 17px var(--head); }
.second-steps b { font: 600 15.5px var(--head); color: var(--primary); }
.second-steps small { color: var(--muted); font-size: 13.5px; }
.second > .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 860px) {
  .second { grid-template-columns: 1fr; }
  .second > .btn { width: 100%; }
}
/* ---------- Treatment page content blocks ---------- */
.facts-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .facts-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .facts-4 { grid-template-columns: 1fr; }
}
.t-lead b { color: var(--primary); font-weight: 500; }
.t-lead + .t-lead { margin-top: 14px; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.mini { padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mini b { font: 600 15.5px var(--head); color: var(--primary); }
.mini p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info { position: relative; padding: 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .6s var(--ease); }
.info-n { font: 600 13px var(--head); color: var(--secondary); padding: 6px 10px; border-radius: 999px; background: rgba(14, 116, 144, .1); }
.info h3 { font-size: 18px; font-weight: 600; margin-top: 14px; }
.info p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.sub-h { font-size: clamp(19px, 2vw, 23px); font-weight: 600; margin: 36px 0 16px; }
.lobes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lobe-row { display: grid; grid-template-columns: 180px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.lobe-tag { font: 600 14px var(--head); color: var(--secondary); }
.lobe-row p { font-size: 14.5px; color: var(--text); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline::before { content: ''; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: linear-gradient(90deg, var(--secondary), var(--accent)); opacity: .4; }
.tl-item { position: relative; padding-top: 36px; }
.tl-dot { position: absolute; top: 2px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px var(--secondary), 0 0 0 5px rgba(14, 116, 144, .12); }
.tl-item b { font: 600 17px var(--head); color: var(--primary); }
.tl-item p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.ticks-list { display: grid; gap: 8px; margin-top: 14px; }
.ticks-list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.ticks-list .ico { width: 18px; height: 18px; color: var(--secondary); flex: none; margin-top: 2px; }
.rec-card.alt { background: #fff; }
.rec-card > p { font-size: 15px; margin-top: 10px; color: var(--muted); }
.warn { display: flex; gap: 10px; margin-top: 18px !important; padding: 14px; border-radius: 14px; background: #fef2f2; color: #991b1b !important; font-size: 14px !important; }
.warn .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.t-recovery { align-items: stretch; }
.spec li span { display: block; padding: 11px 0; border-bottom: 1px dashed var(--line); font: 500 14.5px/1.3 var(--head); color: var(--muted); }
.subnav { margin-top: 28px; }
@media (max-width: 960px) {
  .infos { grid-template-columns: repeat(2, 1fr); }
  .lobes { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
}
@media (max-width: 560px) {
  .infos, .split-2, .timeline { grid-template-columns: 1fr; }
  .lobe-row { grid-template-columns: 1fr; gap: 4px; }
}
/* ---------- Hero image (client-supplied brain illustration) ---------- */
.hero { background: #051129; }
.hero-img { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: min(64%, 1000px); overflow: hidden; pointer-events: none; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; animation: heroZoom 18s ease-in-out infinite alternate, heroGlow 4s ease-in-out infinite; }
.hero-img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #051129 0%, rgba(5, 17, 41, .75) 22%, rgba(5, 17, 41, 0) 48%), linear-gradient(0deg, #051129 0%, rgba(5, 17, 41, 0) 26%); }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06) translateY(-1%); } }
@keyframes heroGlow { 50% { filter: brightness(1.12) saturate(1.1); } }
.hero-side { aspect-ratio: auto; min-height: 460px; }
@media (max-width: 960px) {
  .hero-img { left: 0; width: 100%; bottom: auto; height: 440px; }
  .hero-img::before { background: linear-gradient(0deg, #051129 2%, rgba(5, 17, 41, 0) 45%); }
  .hero-side { min-height: 330px; max-width: none; }
}
@media (max-width: 560px) {
  .hero-img { height: 360px; }
  .hero-side { min-height: 260px; }
}
.hero-side .fc1 { top: auto; right: 0; bottom: 4%; }
.hero-side .fc2 { left: -4%; bottom: 20%; }
@media (max-width: 560px) {
  .hero-side .fc1 { right: 0; bottom: 6%; }
  .hero-side .fc2 { left: 0; bottom: 26%; }
}
/* Hero image: smaller, kept inside the content area below the header */
.hero-img { top: calc(var(--header-h) + 28px); bottom: 90px; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); width: min(46%, 640px); overflow: visible; }
.hero-img img { object-fit: contain; object-position: center; -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent 100%); mask-image: radial-gradient(closest-side, #000 68%, transparent 100%); }
.hero-img::before { display: none; }
@media (max-width: 960px) {
  .hero-img { top: calc(var(--header-h) + 8px); bottom: auto; left: 50%; right: auto; transform: translateX(-50%); width: min(88%, 420px); height: 320px; }
  .hero-side { min-height: 320px; }
}
@media (max-width: 560px) {
  .hero-img { height: 270px; }
  .hero-side { min-height: 270px; }
}
/* Hero image: height matched to headline→buttons by main.js, 3D tilt */
@media (min-width: 961px) {
  .hero-img { bottom: auto; width: auto; aspect-ratio: 1374 / 1145; }
}
.hero-img { perspective: 1100px; }
.hero-img img { animation: none; transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; cursor: grab; pointer-events: auto; touch-action: pan-y; }
.hero-img { pointer-events: none; }
/* 3D head canvas (replaces the image when WebGL is available) */
/* ---------- Your journey: connected step cards ---------- */
.jcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: j; }
.jcard { position: relative; padding: 26px 22px 24px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .5s var(--ease), box-shadow .5s, background .5s; }
.jcard::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); transition-delay: var(--d, 0s); }
.jcard.in::before { transform: scaleX(1); }
.jcard:not(:last-child)::after { content: ''; position: absolute; z-index: 2; right: -15px; top: 50%; width: 12px; height: 12px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); opacity: .8; }
.jcard:hover { transform: translateY(-6px); background: linear-gradient(160deg, rgba(56, 189, 248, .16), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .4), 0 24px 40px -24px rgba(0, 0, 0, .6); }
.jnum { position: absolute; right: 18px; top: 14px; font: 600 44px/1 var(--head); color: rgba(125, 211, 252, .14); }
.jcard .ic3d { width: 52px; height: 52px; border-radius: 16px; }
.jcard .ic3d .ico { width: 24px; height: 24px; }
.jcard h3 { font-size: 18px; font-weight: 600; margin-top: 18px; color: #fff; }
.jcard p { font-size: 14px; color: #a9c1dc; margin-top: 8px; }
@media (max-width: 1060px) {
  .jcards { grid-template-columns: repeat(3, 1fr); }
  .jcard:nth-child(3)::after { display: none; }
}
@media (max-width: 700px) {
  .jcards { grid-template-columns: 1fr; gap: 22px; }
  .jcard:not(:last-child)::after { display: block; right: auto; left: 50%; top: auto; bottom: -17px; transform: translateX(-50%) rotate(135deg); }
}
/* ---------- FAQ: left column stays in place while questions scroll (desktop) ---------- */
@media (min-width: 861px) {
  .faq-wrap > :first-child { position: sticky; top: calc(var(--header-h) + 72px); }
}
/* ---------- Consultation band: show immediately ---------- */
.js .cta-band[data-reveal] { clip-path: none; }
/* Hero image: static, no motion */
.hero-img img { animation: none !important; transition: none; cursor: default; pointer-events: none; transform: scale(1.22); }
.hero-side, .hero-side .float-card { animation: none; }
.js .hero-side[data-reveal] { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .hero-img img { transform: scale(1.15) translateX(-9%); }
}
/* ---------- Stats: separate floating cards ---------- */
.stats2 { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -64px; }
.st { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 20px 44px -24px rgba(11, 31, 58, .35); border-top: 3px solid transparent; border-image: none; position: relative; overflow: hidden; }
.st::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.st:first-child { background: var(--grad-deep); }
.st:first-child b { color: #fff; }
.st:first-child span { color: #a9c1dc; }
.st-ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #38BDF8, #0E7490 70%); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 12px 22px -10px rgba(14,116,144,.7); }
.st-ic .ico { width: 24px; height: 24px; }
.st b { display: block; font: 600 clamp(28px, 3vw, 36px)/1 var(--head); color: var(--primary); letter-spacing: -.02em; }
.st b sup { font-size: .5em; color: var(--accent); vertical-align: .7em; margin-left: 2px; }
.st > div > span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
@media (max-width: 960px) {
  .stats2 { grid-template-columns: repeat(2, 1fr); margin-top: -48px; }
}
@media (max-width: 480px) {
  .stats2 { grid-template-columns: 1fr; gap: 10px; }
  .st { padding: 16px; }
}
/* ---------- Doctor intro ---------- */
.doc-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.doc-photo { position: relative; max-width: 460px; }
.doc-photo::before { content: ''; position: absolute; inset: 24px -20px -20px 24px; border-radius: 32px; background: var(--grad); opacity: .9; }
.doc-frame { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.doc-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.doc-badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.doc-badge.b1 { left: -24px; top: 12%; flex-direction: column; gap: 2px; text-align: center; background: var(--grad-deep); }
.doc-badge.b1 b { font: 600 34px/1 var(--head); color: #fff; }
.doc-badge.b1 span { font-size: 12px; color: #a9c1dc; line-height: 1.3; }
.doc-badge.b2 { right: -30px; bottom: 10%; }
.doc-badge.b2 .st-ic { width: 42px; height: 42px; border-radius: 12px; }
.doc-badge.b2 b { display: block; font: 600 14.5px var(--head); color: var(--primary); }
.doc-badge.b2 small { color: var(--muted); font-size: 12.5px; }
.doc-role { margin-top: 10px; font: 500 15px var(--head); color: var(--secondary); }
.doc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.doc-list li { display: flex; gap: 10px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.doc-list .ico { width: 20px; height: 20px; color: var(--secondary); flex: none; margin-top: 1px; }
.doc-list b { display: block; font: 600 14.5px var(--head); color: var(--primary); }
.doc-list small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doc-photo { margin: 0 auto 10px; width: 86%; }
  .doc-badge.b1 { left: -12px; }
  .doc-badge.b2 { right: -12px; }
}
@media (max-width: 480px) {
  .doc-list { grid-template-columns: 1fr; }
}
/* ---------- Technology: bento grid ---------- */
.bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.bt { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.bt:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bt h3 { font-size: 18px; font-weight: 600; }
.bt p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.bt-n { position: absolute; right: 20px; top: 14px; font: 600 40px/1 var(--head); color: rgba(14, 116, 144, .1); }
.bt .ic3d { width: 52px; height: 52px; border-radius: 16px; }
.bt .ic3d .ico { width: 24px; height: 24px; }
.bt.b1 { grid-row: span 2; justify-content: flex-end; background: var(--grad-deep); padding: 32px; }
.bt.b1::before { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56,189,248,.35), transparent); }
.bt.b1 .ic3d { width: 72px; height: 72px; border-radius: 22px; margin-bottom: auto; }
.bt.b1 .ic3d .ico { width: 34px; height: 34px; }
.bt.b1 h3 { color: #fff; font-size: 26px; }
.bt.b1 p { color: #a9c1dc; font-size: 16px; }
.bt.b1 .bt-n { color: rgba(125, 211, 252, .16); font-size: 64px; }
.bt.b6 { grid-column: 1 / -1; flex-direction: row; align-items: center; background: linear-gradient(120deg, #e0f2fe, #fff 70%); }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bt.b1 { grid-column: 1 / -1; grid-row: auto; min-height: 260px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bt.b6 { flex-direction: column; align-items: flex-start; }
}
/* Journey cards: full-width top bar that follows the rounded corners, no arrows */
.jcard { overflow: hidden; }
.jcard::before { left: 0; right: 0; border-radius: 0; }
.jcard:not(:last-child)::after, .jcard:nth-child(3)::after { display: none !important; }
/* Stats cards: no top border */
.st { border-top: 0; }
.st::after { display: none; }
/* ---------- Treatments mega menu (desktop) ---------- */
.nav-dd { position: relative; z-index: 1; }
.dd-toggle { display: inline-flex !important; align-items: center; gap: 6px; }
.dd-car { width: 13px; height: 13px; transform: rotate(90deg); transition: transform .3s var(--ease); }
.nav-dd:hover .dd-car, .nav-dd.open .dd-car { transform: rotate(-90deg); }
.mm-col { display: flex; flex-direction: column; gap: 2px; min-width: 170px; }
.mm-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font: 600 11.5px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); }
.mm-h .ico { width: 16px; height: 16px; }
/* ---------- Treatments sheet (mobile) ---------- */
.tmenu { position: fixed; inset: 0; z-index: 150; }
.tmenu[hidden] { display: none; }
.tmenu-scrim { position: absolute; inset: 0; background: rgba(8, 20, 38, .55); animation: fadeIn .3s; }
.tmenu-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82svh; overflow-y: auto; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fff; animation: sheetUp .4s var(--ease); }
.tmenu-top { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; background: #fff; font: 600 18px var(--head); color: var(--primary); }
.tmenu-x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); }
.tmenu-list { display: grid; gap: 18px; }
.tmenu-list .mm-col { min-width: 0; }
.tmenu-list a { padding: 12px 14px; border-radius: 14px; background: var(--bg); margin-top: 6px; font: 500 15px var(--head); color: var(--primary); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } }
/* ---------- Footer treatments list ---------- */
.f-treat ul { columns: 2; column-gap: 20px; }
.f-treat li { break-inside: avoid; }
@media (min-width: 861px) {
  .footer-grid { grid-template-columns: 1.2fr .7fr 1.6fr 1fr; }
}
/* ---------- Document treatment pages ---------- */
.h1-sub { display: block; margin-top: 8px; font: 500 clamp(16px, 1.6vw, 20px) var(--head); color: #8fb0d0; letter-spacing: .02em; }
.darticle { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.dside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.dtoc { display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 300px); overflow-y: auto; padding: 18px 10px 18px 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); scrollbar-width: thin; }
.dtoc b { font: 600 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); margin-bottom: 8px; }
.dtoc a { padding: 7px 10px; margin-left: -10px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.35; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.dtoc a:hover { color: var(--primary); }
.dtoc a.on { color: var(--primary); font-weight: 500; border-left-color: var(--accent); background: var(--bg); }
.dbook { display: grid; justify-items: center; text-align: center; padding: 18px; border-radius: 20px; background: var(--grad-deep); color: #a9c1dc; }
.dbook img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; box-shadow: 0 0 0 3px rgba(125, 211, 252, .35); }
.dbook b { margin-top: 10px; color: #fff; font: 600 16px var(--head); }
.dbook small { font-size: 12.5px; }
.dbook .btn { margin-top: 12px; width: 100%; --bh: 44px; font-size: 14px; }
.dmain { min-width: 0; }
.dintro p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: var(--text); }
.dintro p + p { margin-top: 14px; }
.dintro { padding-bottom: 8px; }
.dsec { padding-top: 38px; scroll-margin-top: calc(var(--header-h) + 20px); }
.dsec + .dsec, .dintro + .dsec { border-top: 1px solid var(--line); margin-top: 38px; }
.dsec h2 { font-size: clamp(23px, 2.5vw, 31px); font-weight: 600; margin-bottom: 14px; }
.dsec p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-top: 12px; }
.dsec p:first-of-type { margin-top: 0; }
.dsec .ticks { display: grid; gap: 8px; margin: 16px 0 4px; }
.dsec .ticks.two { grid-template-columns: 1fr 1fr; }
.dsec .ticks li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.5; color: var(--text); }
.dsec .ticks .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--secondary); }
.dsec .sym-list li { background: #f0f9ff; box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .25); }
.dsec .warn-list li { background: #fffbeb; box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .25); }
.dsec .warn-list .ico { color: #d97706; }
.dcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 20px; }
.dcard { position: relative; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.dcard h3 { font-size: 17px; font-weight: 600; margin-top: 12px; padding-right: 30px; }
.dcard p { font-size: 14.5px; margin-top: 8px; line-height: 1.6; }
.dcard .ticks { margin-top: 10px; }
.dcard .ticks.two { grid-template-columns: 1fr; }
.dcard .ticks li { padding: 8px 10px; font-size: 14px; box-shadow: none; background: var(--bg); }
.dc-n { font: 600 12.5px var(--head); color: var(--secondary); padding: 5px 9px; border-radius: 999px; background: rgba(14, 116, 144, .1); }
.dcard .ic3d { width: 46px; height: 46px; border-radius: 14px; }
.dcard .ic3d .ico { width: 22px; height: 22px; }
.dsteps { list-style: none; margin: 22px 0 0; padding: 0; position: relative; display: grid; gap: 14px; }
.dsteps::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--secondary), var(--accent)); opacity: .35; }
.dsteps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.ds-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 600 15px var(--head); box-shadow: 0 0 0 5px var(--bg); }
.dsteps h3 { font-size: 17px; font-weight: 600; margin-top: 12px; }
.dsteps p { font-size: 15px; margin-top: 6px; }
.dtime { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 22px; position: relative; }
.dt-item { position: relative; padding: 40px 20px 20px; border-radius: 20px; background: linear-gradient(160deg, #e3f4fa, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.dt-dot { position: absolute; left: 20px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--secondary), 0 0 0 4px rgba(14, 116, 144, .12); }
.dt-item h3 { font-size: 16.5px; font-weight: 600; }
.dt-item p { font-size: 14.5px; margin-top: 6px; }
.tbl-wrap { overflow-x: auto; margin-top: 18px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; min-width: 520px; }
.tbl th { background: var(--primary); color: #fff; font: 600 14px var(--head); text-align: left; padding: 14px 16px; }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; }
.tbl td:first-child { font-weight: 500; color: var(--primary); }
.tbl tr:nth-child(even) td { background: #f8fbfd; }
.dcall { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 38px; padding: 22px 24px; border-radius: 22px; background: var(--grad-deep); color: #a9c1dc; }
.dcall b { color: #fff; font: 600 18px var(--head); }
.dcall p { margin-top: 4px; font-size: 14.5px; color: #a9c1dc; }
.dcall-a { display: flex; gap: 10px; flex-wrap: wrap; }
.dcall-a .btn { --bh: 46px; padding: 0 18px; font-size: 14px; }
.why-doc { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; }
.why-doc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.rel-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rel-links b { font: 600 15px var(--head); color: var(--primary); margin-right: 6px; }
.rel-links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 500 14px var(--head); color: var(--primary); }
.rel-links a .ico { width: 15px; height: 15px; color: var(--secondary); }
.rel-links a:hover { box-shadow: inset 0 0 0 1.5px var(--secondary); }
@media (max-width: 1000px) {
  .darticle { grid-template-columns: 1fr; }
  .dside { position: static; }
  .dtoc { display: none; }
  .dbook { display: none; }
}
@media (max-width: 640px) {
  .dsec .ticks.two { grid-template-columns: 1fr; }
  .dcall { grid-template-columns: 1fr; text-align: left; }
  .why-doc { grid-template-columns: 1fr; }
  .why-doc img { max-width: 220px; }
  .f-treat ul { columns: 1; }
}
.dpart { margin-top: 48px; padding: 26px 28px; border-radius: 22px; background: var(--grad-deep); scroll-margin-top: calc(var(--header-h) + 20px); }
.dpart h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; margin-top: 8px; }
.dpart + .dsec { border-top: 0; margin-top: 0; }
.close-txt { max-width: 72ch; }
.close-txt p { margin-top: 12px; color: #b3c7de; }
.close-txt h3 { color: #fff; font-size: 18px; margin-top: 18px; }
.close-txt .ticks { display: grid; gap: 6px; margin-top: 12px; }
.close-txt .ticks li { display: flex; gap: 8px; color: #d6e6f7; font-size: 15px; }
.close-txt .ticks .ico { width: 18px; color: var(--accent); flex: none; }
.close-txt .close-strong { color: #fff; font: 500 17px/1.5 var(--head); }
/* ===== Round of fixes ===== */
/* nav: chevron instead of arrow */
.dd-car { display: none; }
.dd-toggle::after { content: ''; width: 7px; height: 7px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.nav-dd:hover .dd-toggle::after, .nav-dd.open .dd-toggle::after { transform: translateY(1px) rotate(-135deg); }
/* contents list: show every topic, doctor card below; sticks only when it fits */
.dside { position: static; }
.dside.stick { position: sticky; top: calc(var(--header-h) + 16px); }
.dtoc { max-height: none; overflow: visible; padding: 16px 12px 16px 18px; }
.dtoc a { padding: 5px 10px; font-size: 13px; }
/* tighter treatment pages */
.t-hero { padding-bottom: clamp(70px, 7vw, 100px); }
.doc-body { padding-top: 28px; }
.dsec { padding-top: 0; }
.dsec + .dsec, .dintro + .dsec, .dcall + .dsec, .dpart + .dsec { margin-top: 26px; padding-top: 26px; }
.dcall { margin-top: 26px; }
.dpart { margin-top: 30px; }
.dsec h2 { margin-bottom: 10px; }
.dsec .ticks { margin: 12px 0 2px; }
/* cards: masonry columns so different heights leave no gaps */
.dcards { display: block; columns: 3 230px; column-gap: 14px; margin-top: 16px; }
.dcards.c2 { columns: 2 230px; }
.dcard { break-inside: avoid; margin-bottom: 14px; display: inline-block; width: 100%; }
.dcard h3 { margin-top: 10px; }
.dtime { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; }
.dt-item { flex: 1 1 220px; }
.dsteps { gap: 10px; margin-top: 16px; }
/* why choose: compact doctor card */
.why-doc { grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: 24px; background: linear-gradient(135deg, #e3f4fa, #fff 70%); box-shadow: inset 0 0 0 1px var(--line); }
.why-doc img { width: 170px; height: 200px; aspect-ratio: auto; object-fit: cover; object-position: 50% 12%; border-radius: 18px; }
.why-doc .ticks.two { grid-template-columns: 1fr 1fr; }
.why-doc .btn { margin-top: 14px; --bh: 44px; font-size: 14px; }
@media (max-width: 640px) {
  .why-doc { grid-template-columns: 1fr; }
  .why-doc img { width: 140px; height: 165px; }
  .why-doc .ticks.two { grid-template-columns: 1fr; }
}
/* consultation band: content left, doctor card right */
.close-txt { max-width: none; }
.dcards { display: grid; columns: auto; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; align-items: start; }
.dcards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dcard { display: block; margin: 0; }
@media (max-width: 640px) {
  .dcards.c2 { grid-template-columns: 1fr; }
}
.why-doc { align-items: start; }
/* ===== Fixes: no dash-like eyebrow lines, sticky sidebar, compact consultation ===== */
.eyebrow::before { display: none; }
.eyebrow { gap: 0; }
.dside, .dside.stick { position: sticky; }
.darticle { align-items: start; }
.cta-band { padding: clamp(28px, 4vw, 48px); }
.cta-band .h2 { max-width: none; font-size: clamp(26px, 3.4vw, 40px); }
.cta-band > p, .close-txt { max-width: none; }
.close-txt { columns: 2 320px; column-gap: 36px; margin-top: 6px; }
.close-txt p { margin-top: 0; margin-bottom: 12px; break-inside: avoid; }
.close-txt .close-strong { column-span: all; margin-top: 6px; }
.cta-band .hero-actions { margin-top: 18px; }
.doc-body { padding-top: 20px; padding-bottom: 32px; }
.dsec + .dsec, .dintro + .dsec, .dcall + .dsec, .dpart + .dsec { margin-top: 20px; padding-top: 20px; }
.dpart { margin-top: 24px; padding: 20px 24px; }
.dpart .eyebrow { display: none; }
.dpart h2 { margin-top: 0; }
#faqs.section { padding-block: 40px; }
.rel-sec { padding-top: 32px; }
.close-txt { columns: auto; }
.close-txt p { margin: 10px 0 0; }
.close-txt .close-strong { margin-top: 14px; font-size: 16.5px; }
.cta-band p, .close-txt p, .close-txt .close-strong { max-width: none !important; }
.rel-sec { padding-bottom: 28px !important; }
/* Treatments menu: 7 groups */
.mm-h { white-space: nowrap; }
.mm-col { min-width: 0; }
.mm-h { white-space: normal; align-items: flex-start; line-height: 1.35; min-height: 32px; }
.mm-h .ico { flex: none; margin-top: -1px; }
/* Specialities: 7 groups */
.specs { grid-template-columns: repeat(4, 1fr); }
.spec { padding: 24px; }
.spec h3 { font-size: 19px; }
@media (max-width: 1100px) {
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .specs { grid-template-columns: 1fr; }
}
.spec-cta { display: flex; flex-direction: column; align-items: flex-start; background: var(--grad-deep); }
.spec-cta h3 { color: #fff; }
.spec-cta p { color: #a9c1dc; flex: 1; }
.spec-cta .btn { margin-top: 20px; --bh: 46px; font-size: 14.5px; }
.spec-call { margin-top: 12px; font: 500 14px var(--head); color: #9fd8ff; }
.spec-call:hover { color: #fff; }
/* Treatment page images are already centred: no sideways shift on mobile */
@media (max-width: 960px) {
  .t-hero .hero-img img { transform: scale(1.12); object-position: center; }
}

/* ---------- Privacy policy ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: clamp(20px, 2.2vw, 25px); font-weight: 600; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0 0 0; padding-left: 0; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.legal b { color: var(--text); font-weight: 500; }
.legal a { color: var(--secondary); text-decoration: underline; }
.footer-bottom a { color: #9fb4cf; text-decoration: underline; margin-left: 6px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 404 ---------- */
.nf { min-height: 82vh; display: flex; align-items: center; }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.nf-code { display: block; font: 600 clamp(64px, 10vw, 120px)/1 var(--head); background: linear-gradient(90deg, #7dd3fc, #38BDF8 50%, #ffb45e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .h1 { margin-top: 8px; }
.nf .h1 em { font-style: normal; background: linear-gradient(90deg, #7dd3fc, #38BDF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.nf-links a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #dcebfa; font: 500 13.5px var(--head); }
.nf-links a:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 960px) { .nf-grid { grid-template-columns: 1fr; } .nf .hero-side { order: -1; } }

/* ---------- Coming soon ---------- */
.cs-body { background: #051129; min-height: 100vh; padding: 0 !important; }
.cs { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; overflow: hidden; }
.cs-img { position: absolute; inset: 0; display: grid; place-items: center; opacity: .55; pointer-events: none; }
.cs-img img { width: min(900px, 120vw); height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
.cs-card { position: relative; max-width: 560px; text-align: center; padding: clamp(28px, 5vw, 48px); border-radius: 32px; background: rgba(8, 24, 50, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(125, 211, 252, .18), 0 40px 80px -30px rgba(0, 0, 0, .7); color: #b9cce3; }
.cs-logo { margin: 0 auto; border-radius: 16px; }
.cs-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font: 500 13px var(--head); color: #dcebfa; }
.cs-badge b { width: 8px; height: 8px; border-radius: 50%; background: #ffb45e; box-shadow: 0 0 12px #ff9f43; }
.cs h1 { margin-top: 18px; color: #fff; font-size: clamp(32px, 5vw, 48px); font-weight: 600; }
.cs-role { margin-top: 8px; font: 500 15px var(--head); color: #7dd3fc; }
.cs-txt { margin-top: 16px; font-size: 16px; line-height: 1.7; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
/* ---------- Treatments mega menu (desktop): specialities | treatments | help card ---------- */
.mega { position: absolute; top: calc(100% + 16px); left: 0; width: 1000px; display: grid; grid-template-columns: 310px 1fr 300px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 40px 90px -30px rgba(3, 10, 25, .6), 0 0 0 1px rgba(11, 31, 58, .06); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; text-align: left; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-dd:hover .mega, .nav-dd:focus-within .mega, .nav-dd.open .mega { opacity: 1; visibility: visible; transform: none; }
.mg-cats { display: flex; flex-direction: column; gap: 2px; padding: 18px; background: var(--bg); border-right: 1px solid var(--line); }
.mg-cat { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; white-space: nowrap; border: 0; border-radius: 14px; background: none; font: 500 14.5px/1.3 var(--head); color: var(--text); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.mg-cat .ico { width: 18px; height: 18px; flex: none; color: var(--secondary); }
.mg-cat::after { content: '\203A'; margin-left: auto; font-size: 20px; line-height: 1; opacity: 0; transition: opacity .2s; }
.mg-cat:hover { background: rgba(14, 116, 144, .08); }
.mg-cat.on { background: var(--primary); color: #fff; }
.mg-cat.on .ico { color: var(--accent); }
.mg-cat.on::after { opacity: 1; }
.mg-list { padding: 26px 30px; min-width: 0; }
.mg-pane { display: none; flex-direction: column; gap: 4px; }
.mg-pane.on { display: flex; animation: fadeIn .25s; }
.mg-h { margin-bottom: 10px; font: 600 12.5px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); }
.mega .mg-pane a { display: block; padding: 12px 14px !important; margin: 0; border-radius: 14px; background: none; transition: background .2s; }
.mega .mg-pane a b { display: block; font: 600 15.5px/1.3 var(--head); color: var(--primary); }
.mega .mg-pane a span { display: block; margin-top: 3px; font: 400 13.5px/1.4 var(--body); color: var(--muted); }
.mega .mg-pane a:hover, .mega .mg-pane a[aria-current] { background: #eef7fb; }
.mega .mg-pane a:hover b { color: var(--secondary); }
.mg-feat { display: flex; flex-direction: column; padding: 22px; background: var(--primary); color: #fff; }
.mg-feat img { width: 100%; height: 170px; object-fit: cover; border-radius: 16px; background: #051129; }
.mg-feat b { margin-top: 16px; font: 600 17px var(--head); }
.mg-feat p { margin: 8px 0 18px; font-size: 13.5px; line-height: 1.55; color: #a9bdd6; }
.mega .mg-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 13px 18px !important; border-radius: 999px; background: linear-gradient(90deg, var(--secondary), var(--accent)); font: 600 15px var(--head); color: #fff !important; box-shadow: 0 14px 30px -14px rgba(56, 189, 248, .8); transition: transform .25s var(--ease), box-shadow .25s; }
.mega .mg-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(56, 189, 248, .9); }
.mg-cta .ico { width: 17px; height: 17px; }
@media (max-width: 1100px) {
  .mega { grid-template-columns: 290px 1fr; }
  .mg-feat { display: none; }
}
