/* =========================================================
   LifeBridge Clinic — design system + section styles
   Palette and type follow the LifeBridge brand guidelines.
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #063B68;
  --deep: #082F54;
  --teal: #009C91;          /* brand teal: accents, icons, graphics */
  --teal-bright: #11B6A5;   /* hover, gradients */
  --teal-ink: #00847A;      /* deepened brand teal: button fills + teal text (4.6:1 on white) */
  --teal-light: #2CCBB9;    /* teal on dark navy (6.7:1) */
  --soft: #EAF6FA;
  --mist: #F5FAFB;
  --slate: #526575;
  --white: #FFFFFF;
  --line: #DCE9EF;

  /* Map illustration */
  --map-bg: #EEF6F8;
  --map-water: #CFEAF1;
  --map-road: #FFFFFF;
  --map-block: #DDEBF0;
  --map-park: #CDEEE7;
  --map-bridge: #009C91;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(6, 59, 104, .06), 0 2px 8px rgba(6, 59, 104, .05);
  --shadow: 0 10px 30px -12px rgba(6, 59, 104, .22), 0 2px 6px rgba(6, 59, 104, .05);
  --shadow-lg: 0 30px 60px -24px rgba(6, 59, 104, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--teal); color: var(--white); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--slate); opacity: .85; font-weight: 400; }
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: middle; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--navy);
  text-wrap: balance;
}
.h2--light { color: var(--white); }
.h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; color: var(--navy); letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; margin-top: 20px; max-width: 56ch; }
.lead--light { color: rgba(255, 255, 255, .78); }
.accent { color: var(--teal-ink); position: relative; white-space: nowrap; }
.accent-light { color: var(--teal-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink);
  margin-bottom: 16px;
}
.eyebrow:not(.eyebrow--chip)::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--teal-light); }
.eyebrow--chip {
  text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600;
  background: var(--white); color: var(--navy); padding: 8px 16px 8px 12px;
  border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; flex-shrink: 0; }
.dot--live { position: relative; }
.dot--live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal-ink); --fg: var(--white); --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .005em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--teal-ink), var(--teal) 55%, var(--teal-bright));
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn--primary { box-shadow: 0 8px 20px -8px rgba(0, 132, 122, .55); }
.btn--primary:hover { box-shadow: 0 14px 28px -10px rgba(0, 132, 122, .6); transform: translateY(-2px); }
.btn--primary:hover::before { opacity: 1; }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: rgba(6, 59, 104, .25); }
.btn--outline:hover { --bd: var(--navy); background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--ghost { --bg: var(--soft); --fg: var(--navy); }
.btn--ghost:hover { --bg: #DCEFF5; }
.btn--light { --bg: var(--white); --fg: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .35); }
.btn--outline-light { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { --bd: var(--white); background: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--navy); background: var(--white);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.icon-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--glass { background: rgba(255, 255, 255, .85); border-color: transparent; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--teal-ink); }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow:hover { color: var(--navy); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--navy), var(--teal), var(--teal-bright)); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--white); transition: clip-path 1s var(--ease-out), visibility 0s 1s; clip-path: inset(0 0 0 0); }
.intro__inner { position: relative; width: 200px; }
.intro__inner img { animation: introMark 1s var(--ease-out) both; }
.intro__arc { width: 100%; margin-top: 10px; overflow: visible; }
.intro__arc path { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s .25s var(--ease-out) forwards; }
.is-loaded .intro { clip-path: inset(0 0 100% 0); visibility: hidden; }
.no-js .intro { display: none; }
@keyframes introMark { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--deep); color: rgba(255, 255, 255, .86); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 42px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .ic { color: var(--teal-light); }
.topbar__dim { opacity: .7; }
.topbar__status .dot { background: var(--teal-light); }
.topbar__status.is-closed .dot { background: #F2B84B; }
.topbar__right { margin-left: auto; display: flex; gap: 24px; }
.topbar a:hover { color: var(--white); }
.topbar__urgent { color: #FFD8D3; }
.topbar__urgent .ic { color: #FF9C8F; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s, transform .45s var(--ease);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(6, 59, 104, .35); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .35s var(--ease); }
.header.is-scrolled .header__inner { height: 80px; }
/* Logo frame: soft-blue panel (as in the brand guidelines), generous clear space */
.brand {
  position: relative; flex-shrink: 0; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; padding: 12px 22px 14px;
  border-radius: 18px; border: 1px solid #D3E8EF;
  background: linear-gradient(135deg, var(--white) 0%, var(--soft) 100%);
  box-shadow: 0 10px 24px -14px rgba(6, 59, 104, .45), inset 0 1px 0 var(--white);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s, padding .35s var(--ease);
}
.brand::before {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--navy), var(--teal) 55%, var(--teal-bright));
}
.brand::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.brand:hover { transform: translateY(-2px); border-color: rgba(0, 156, 145, .35); box-shadow: 0 16px 30px -14px rgba(6, 59, 104, .5), inset 0 1px 0 var(--white); }
.brand:hover::after { transform: translateX(120%); }
.brand img { width: 272px; height: auto; transition: width .35s var(--ease); }
.header.is-scrolled .brand { padding: 9px 18px 11px; }
.header.is-scrolled .brand img { width: 236px; }
.nav { margin-inline: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 11px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--navy);
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 18px; height: 3px; border-radius: 3px;
  background: var(--teal); transform: translateX(-50%) scaleX(0); transition: transform .35s var(--ease);
}
.nav__link:hover { background: var(--soft); }
.nav__link.is-active { color: var(--teal-ink); }
.nav__link.is-active::after { transform: translateX(-50%) scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__call span { display: none; }
.header__call { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 15px; }
.header__call .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--soft); color: var(--teal-ink); transition: background .25s, color .25s; }
.header__call:hover .ic { background: var(--teal-ink); color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--soft); color: var(--navy); place-items: center; }
.menu-btn .ic { width: 22px; height: 22px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8, 47, 84, .45); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: var(--white);
  display: flex; flex-direction: column; padding: 20px 24px 28px; transform: translateX(100%);
  transition: transform .45s var(--ease-out); overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer__list li { opacity: 0; transform: translateX(20px); transition: opacity .4s, transform .4s var(--ease-out); }
.drawer.is-open .drawer__list li { opacity: 1; transform: none; }
.drawer.is-open .drawer__list li:nth-child(2) { transition-delay: .04s; }
.drawer.is-open .drawer__list li:nth-child(3) { transition-delay: .08s; }
.drawer.is-open .drawer__list li:nth-child(4) { transition-delay: .12s; }
.drawer.is-open .drawer__list li:nth-child(5) { transition-delay: .16s; }
.drawer.is-open .drawer__list li:nth-child(6) { transition-delay: .2s; }
.drawer.is-open .drawer__list li:nth-child(7) { transition-delay: .24s; }
.drawer__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); }
.drawer__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal--left { transform: translateX(-36px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--soft { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > div { max-width: 640px; }
.section-head__text { max-width: 420px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 760px; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head--center .section-head__text { max-width: 560px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 0; background: linear-gradient(180deg, var(--soft) 0%, var(--mist) 70%, var(--white) 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(17, 182, 165, .35), transparent 70%); right: -120px; top: -120px; animation: drift 16s ease-in-out infinite alternate; }
.blob--b { width: 460px; height: 460px; background: radial-gradient(circle, rgba(6, 59, 104, .16), transparent 70%); left: -160px; bottom: 60px; animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero__arcs { position: absolute; inset: auto 0 0; width: 100%; height: 70%; }
.hero__arcs path { fill: none; stroke: rgba(0, 156, 145, .14); stroke-width: 1.5; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.8s .6s var(--ease-out) forwards; }
.hero__arcs path + path { stroke: rgba(6, 59, 104, .08); animation-delay: .9s; }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__slides { display: grid; margin-top: 8px; }
.hero__slide { grid-area: 1 / 1; visibility: hidden; }
.hero__slide.is-active { visibility: visible; }
.hero__title {
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
  font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--teal-ink); position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 99px;
  background: linear-gradient(90deg, rgba(17, 182, 165, .45), rgba(17, 182, 165, .1)); z-index: -1;
  transform: scaleX(0); transform-origin: left; transition: transform .9s .55s var(--ease-out);
}
.hero__slide.is-active .hero__title em::after { transform: scaleX(1); }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 1.35vw, 19px); max-width: 52ch; }

/* word-by-word text animation (words wrapped by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.hero__slide.is-active .w > span { transform: none; }
.hero__slide.is-leaving .w > span { transform: translateY(-105%); transition-duration: .45s; transition-delay: calc(var(--i) * 15ms); }
.hero__slide .hero__lead { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .7s var(--ease-out); }
.hero__slide.is-active .hero__lead { opacity: 1; transform: none; transition-delay: .35s; }
.no-js .hero__slide:not(:first-child) { display: none; }
.no-js .hero__slide:first-child { visibility: visible; }
.no-js .hero__slide .hero__lead { opacity: 1; transform: none; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 36px; font-size: 15px; color: var(--navy); line-height: 1.5; }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--white); object-fit: cover; margin-left: -12px; box-shadow: var(--shadow-sm); }
.avatars img:first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; background: var(--navy); color: var(--white); font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.stars { display: inline-flex; gap: 1px; color: #F4B63F; vertical-align: -2px; }
.stars .ic { width: 15px; height: 15px; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; aspect-ratio: 5 / 5.4; border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--soft);
  isolation: isolate;
}
.hero__img { position: absolute; inset: 0; opacity: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-out), opacity 0s 1.1s; }
.hero__img.is-active { opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-out), opacity 0s; z-index: 1; }
.hero__img.is-prev { opacity: 1; clip-path: inset(0 0 0 0); z-index: 0; transition: none; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 7s linear; }
.hero__img.is-active img { transform: scale(1.02); }
.hero__img:nth-child(1) img { object-position: 38% 50%; }
.hero__img:nth-child(2) img { object-position: 45% 50%; }
.hero__img:nth-child(3) img { object-position: 60% 50%; }
.hero__img:nth-child(4) img { object-position: 30% 50%; }
.hero__frame-arc { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; z-index: 3; fill: rgba(255, 255, 255, .0); }

.hero__controls {
  position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 999px;
  background: rgba(8, 47, 84, .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero__controls .icon-btn { width: 40px; height: 40px; }
.hero__bars { display: flex; gap: 6px; }
.hero__bars button { width: 34px; height: 40px; display: grid; align-items: center; }
.hero__bars button span { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hero__bars button span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__bars button[aria-selected="true"] span::after { animation: bar var(--hero-dur, 6.5s) linear forwards; }
.hero__bars button.is-done span::after { transform: scaleX(1); }
.hero.is-paused .hero__bars button[aria-selected="true"] span::after { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

.float-card {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .7);
  animation: floaty 6s ease-in-out infinite;
}
/* Cards sit where no slide has a face: lower-left above the controls, and the empty corner beside the arch */
.float-card--slot { left: -44px; top: auto; bottom: 88px; }
.float-card--stat { right: -30px; top: -22px; animation-delay: -3s; }
.float-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-ink); color: var(--white); }
.float-card__icon .ic { width: 22px; height: 22px; }
.float-card__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--teal-ink); }
.float-card__value { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 18px; line-height: 1.25; }
.float-card__meta { font-size: 13.5px; line-height: 1.4; }
@keyframes floaty { 50% { translate: 0 -10px; } }
.ring { width: 48px; height: 48px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--soft); stroke-width: 5; }
.ring .ring__fill { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset 1.8s 1.2s var(--ease-out); }
.is-loaded .ring .ring__fill { stroke-dashoffset: 2.4; }

/* Finder */
.finder {
  position: relative; z-index: 6; margin-top: clamp(40px, 5vw, 64px); margin-bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px; align-items: stretch;
  background: var(--white); padding: 10px; border-radius: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform: translateY(50%);
}
.finder__field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 18px; border-radius: 18px; transition: background .2s; position: relative; }
.finder__field:hover, .finder__field:focus-within { background: var(--mist); }
.finder__field + .finder__field::before { content: ""; position: absolute; left: -4px; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.finder__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--teal-ink); }
.finder select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 2px 24px 2px 0;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--navy); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063B68' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 18px;
}
.finder select:focus-visible { outline: none; }
.finder__btn { border-radius: 18px; padding-inline: 30px; }

/* =========================================================
   STATS + MARQUEE
   ========================================================= */
.stats { padding: clamp(110px, 12vw, 150px) 0 0; background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px 12px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -12px; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 4.4vw, 58px); color: var(--navy); letter-spacing: -.03em; line-height: 1.05; }
.stat__num span { background: linear-gradient(120deg, var(--navy), var(--teal-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 6px; font-size: 15px; }

.marquee { margin-top: clamp(48px, 6vw, 72px); border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: rgba(6, 59, 104, .5); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); opacity: .6; }
.marquee__track span:first-child, .marquee__track span:nth-child(9) { color: var(--teal-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__main { position: relative; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.about__main img, .about__sub img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about__main img { object-position: 50% 20%; }
.about__media:hover .about__main img { transform: scale(1.04); }
.about__sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid var(--white); box-shadow: var(--shadow-lg); }
.about__badge { position: absolute; left: -28px; bottom: 22%; width: 128px; height: 128px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; }
.about__badge-text { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: spin 22s linear infinite; }
.about__badge-text text { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: .06em; fill: var(--navy); }
.about__badge img { width: 58px; }
@keyframes spin { to { transform: rotate(360deg); } }
.director { margin-top: 32px; padding: 28px 28px 24px; background: var(--mist); border-radius: var(--radius); border-left: 4px solid var(--teal); position: relative; }
.director__quote { position: absolute; right: 22px; top: 18px; width: 40px; height: 40px; color: var(--teal); opacity: .18; }
.director p { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.55; color: var(--navy); }
.director footer { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 15px; color: var(--navy); line-height: 1.45; }
.director footer img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--navy); font-weight: 500; line-height: 1.5; }
.checks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--soft); color: var(--teal-ink); margin-top: 1px; }

/* =========================================================
   SPECIALTIES
   ========================================================= */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spec {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 24px; min-height: 260px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.spec::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, var(--navy), var(--deep));
  clip-path: circle(0% at 44px 56px); transition: clip-path .7s var(--ease-out);
}
.spec::after {
  content: ""; position: absolute; right: -40px; bottom: -70px; width: 180px; height: 120px; z-index: -1;
  border: 2px solid rgba(17, 182, 165, .0); border-radius: 50% 50% 0 0; transition: border-color .6s .1s;
}
.spec:hover, .spec:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.spec:hover::before, .spec:focus-visible::before { clip-path: circle(150% at 44px 56px); }
.spec:hover::after { border-color: rgba(17, 182, 165, .45); }
.spec__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--soft); color: var(--teal-ink); margin-bottom: 10px; transition: background .4s, color .4s, transform .5s var(--ease); }
.spec__icon .ic { width: 28px; height: 28px; }
.spec p { font-size: 15.5px; line-height: 1.6; transition: color .4s; }
.spec .h3 { transition: color .4s; }
.spec__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--teal-ink); transition: color .4s, gap .3s; }
.spec:hover .h3, .spec:focus-visible .h3 { color: var(--white); }
.spec:hover p, .spec:focus-visible p { color: rgba(255, 255, 255, .78); }
.spec:hover .spec__icon, .spec:focus-visible .spec__icon { background: var(--teal); color: var(--white); transform: rotate(-8deg) scale(1.05); }
.spec:hover .spec__more, .spec:focus-visible .spec__more { color: var(--teal-light); gap: 10px; }

/* =========================================================
   TABS / SERVICES
   ========================================================= */
.tabs__list { position: relative; display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 44px; padding: 6px; background: var(--soft); border-radius: 999px; }
.tabs__tab { position: relative; z-index: 1; padding: 12px 24px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy); transition: color .35s; white-space: nowrap; }
.tabs__tab.is-active { color: var(--white); }
.tabs__ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--navy); box-shadow: 0 8px 18px -8px rgba(6, 59, 104, .6); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.tabs__panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tabs__panel[hidden] { display: none; }
.tabs__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); position: relative; }
.tabs__img img { width: 100%; height: 100%; object-fit: cover; }
.tabs__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8, 47, 84, .25)); }
.tabs__panel.is-active .tabs__img { animation: imgIn 1s var(--ease-out) both; }
.tabs__panel.is-active .tabs__img img { animation: imgZoom 1.4s var(--ease-out) both; }
.tabs__panel.is-active .tabs__body > * { animation: fadeUp .8s var(--ease-out) both; }
.tabs__panel.is-active .tabs__body > *:nth-child(2) { animation-delay: .08s; }
.tabs__panel.is-active .tabs__body > *:nth-child(3) { animation-delay: .16s; }
.tabs__panel.is-active .tabs__body > *:nth-child(4) { animation-delay: .24s; }
@keyframes imgIn { from { clip-path: inset(0 0 0 100% round var(--radius-lg)); } to { clip-path: inset(0 0 0 0 round var(--radius-lg)); } }
@keyframes imgZoom { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tabs__body .h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.tabs__body > p { margin-top: 14px; }
.svc-list { margin: 26px 0 30px; border-top: 1px solid var(--line); }
.svc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 500; transition: padding .3s var(--ease), background .3s; }
.svc-list li:hover { padding-inline: 14px; background: var(--mist); }
.svc-list__meta { color: var(--teal-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }

/* =========================================================
   JOURNEY
   ========================================================= */
.journey__track { position: relative; padding-top: 30px; }
.journey__bridge { position: absolute; left: 4%; right: 4%; top: 0; width: 92%; height: 140px; overflow: visible; }
.journey__bridge path { fill: none; stroke-width: 3; stroke-linecap: round; }
.journey__bridge-bg { stroke: var(--line); stroke-dasharray: 2 10; }
.journey__bridge-fg { stroke: var(--teal); stroke-dasharray: 1300; stroke-dashoffset: calc(1300 - 1300 * var(--p, 0)); }
.journey__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 30px 26px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:nth-child(1), .step:nth-child(4) { margin-top: 90px; }
.step:nth-child(2), .step:nth-child(3) { margin-top: 20px; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1; color: var(--soft); -webkit-text-stroke: 1px var(--line); }
.step__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); margin-bottom: 20px; box-shadow: 0 0 0 8px var(--soft); transition: background .4s, box-shadow .4s; }
.step__icon .ic { width: 24px; height: 24px; }
.step.is-lit .step__icon { background: var(--teal-ink); box-shadow: 0 0 0 8px rgba(17, 182, 165, .18); }
.step p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; }

/* =========================================================
   WHY
   ========================================================= */
.why { background: var(--deep); color: rgba(255, 255, 255, .78); overflow: hidden; }
.why__arc { position: absolute; left: 50%; top: -520px; width: 1600px; height: 900px; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(17, 182, 165, .18); box-shadow: 0 0 0 80px rgba(17, 182, 165, .025), 0 0 0 160px rgba(17, 182, 165, .02); pointer-events: none; }
.why::after { content: ""; position: absolute; right: -200px; bottom: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(17, 182, 165, .18), transparent 65%); pointer-events: none; }
.why__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why__img { position: relative; margin-top: 36px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__img figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(8, 47, 84, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); font-size: 15px; }
.why__img figcaption strong { font-family: var(--font-head); font-size: 22px; color: var(--teal-light); margin-right: 6px; }
.why__list { display: grid; gap: 16px; }
.feature {
  display: flex; gap: 20px; padding: 26px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--teal-bright), var(--teal)); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out); }
.feature:hover { background: rgba(255, 255, 255, .08); border-color: rgba(17, 182, 165, .35); transform: translateX(6px); }
.feature:hover::before { transform: scaleY(1); }
.feature__icon { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(17, 182, 165, .14); color: var(--teal-light); }
.feature__icon .ic { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--white); margin-bottom: 4px; }
.feature p { font-size: 15.5px; line-height: 1.6; }

/* =========================================================
   DOCTORS
   ========================================================= */
.carousel-nav { display: flex; gap: 10px; }
.doc-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 3.3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 24px;
  scrollbar-width: none; cursor: grab;
}
.doc-rail::-webkit-scrollbar { display: none; }
.doc-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.doc-rail.is-dragging * { pointer-events: none; }
.doc { scroll-snap-align: start; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.doc:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.doc__img { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--soft); }
.doc__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1s var(--ease-out); }
.doc:hover .doc__img img { transform: scale(1.06); }
.doc__body { position: relative; padding: 22px 24px 24px; background: var(--white); }
.doc__role { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); font-weight: 600; margin-bottom: 4px; }
.doc__meta { font-size: 14.5px; margin-top: 4px; }
.doc__reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.doc__reveal-inner { min-height: 0; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.doc__next { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--navy); padding-top: 16px; }
.doc__reveal .btn { margin: 16px 0 2px; }
.doc:hover .doc__reveal, .doc:focus-within .doc__reveal { grid-template-rows: 1fr; }
@media (hover: none) { .doc__reveal { grid-template-rows: 1fr; } }
.doc--cta { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 36px 30px; background: linear-gradient(160deg, var(--soft), var(--mist)); border-style: dashed; border-color: rgba(0, 156, 145, .35); }
.doc--cta img { width: 110px; margin-bottom: 8px; }
.rail-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; max-width: 280px; margin: 8px auto 0; }
.rail-progress span { display: block; height: 100%; width: 30%; background: var(--teal); border-radius: 3px; transition: transform .2s linear; }

/* =========================================================
   STORIES
   ========================================================= */
.stories__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.rating-card { display: inline-flex; align-items: center; gap: 18px; margin-top: 32px; padding: 20px 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.rating-card__num { font-family: var(--font-head); font-size: 50px; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.rating-card .stars .ic { width: 20px; height: 20px; }
.rating-card .muted { font-size: 14px; margin-top: 2px; }
.quotes { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 52px); box-shadow: var(--shadow-lg); overflow: hidden; }
.quotes::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(17, 182, 165, .14), transparent 70%); }
.quotes__viewport { display: grid; position: relative; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), visibility 0s .8s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s .15s var(--ease-out), transform .9s .15s var(--ease-out), visibility 0s; }
.quote.is-out { transform: translateX(-40px); }
.quote__mark { width: 44px; height: 44px; color: var(--teal); margin-bottom: 18px; }
.quote blockquote { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.5; color: var(--navy); letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--navy); line-height: 1.45; font-size: 15px; }
.quote__avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(140deg, var(--navy), var(--teal)); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.quotes__nav { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.quotes__dots { display: flex; gap: 8px; margin-inline: auto; }
.quotes__dots button { width: 10px; height: 10px; border-radius: 10px; background: var(--line); transition: width .4s var(--ease), background .3s; }
.quotes__dots button[aria-current="true"] { width: 32px; background: var(--teal); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); display: block; text-align: left; background: var(--soft); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 47, 84, .75)); opacity: .7; transition: opacity .5s; }
.gallery__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.gallery__cap .ic { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .gallery__cap .ic, .gallery__item:focus-visible .gallery__cap .ic { transform: none; opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; background: rgba(8, 47, 84, .92); padding: 60px 80px; opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 1100px; width: 100%; transform: scale(.96); transition: transform .45s var(--ease-out); }
.lightbox.is-open figure { transform: none; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { margin-top: 14px; color: var(--white); text-align: center; font-family: var(--font-head); font-weight: 600; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__prev { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.help-card { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); width: fit-content; }
.help-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--teal-ink); color: var(--white); }
.help-card__label { font-size: 14px; }
.help-card__value { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--navy); }
.accordion { display: grid; gap: 12px; }
.acc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .4s, border-color .4s; }
.acc.is-open { box-shadow: var(--shadow); border-color: transparent; }
.acc__btn { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 17.5px; color: var(--navy); line-height: 1.4; }
.acc__icon { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--teal-ink); transition: transform .45s var(--ease), background .3s, color .3s; }
.acc.is-open .acc__icon { transform: rotate(135deg); background: var(--teal-ink); color: var(--white); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner p { padding: 0 24px 24px; font-size: 16px; max-width: 62ch; }

/* =========================================================
   BOOKING
   ========================================================= */
.book { background: linear-gradient(180deg, var(--white), var(--soft)); overflow: hidden; }
.book::before { content: ""; position: absolute; left: -260px; top: 120px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(0, 156, 145, .16); box-shadow: 0 0 0 60px rgba(0, 156, 145, .03); pointer-events: none; }
.book__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.book__grid > *, .visit__grid > *, .faq__grid > *, .stories__grid > *, .about__grid > * { min-width: 0; }
.book__assure { display: grid; gap: 18px; margin-top: 34px; }
.book__assure li { display: flex; gap: 14px; font-size: 15.5px; line-height: 1.55; }
.book__assure strong { color: var(--navy); }
.book__assure .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--white); color: var(--teal-ink); box-shadow: var(--shadow-sm); }

.booking { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.booking__steps { display: flex; justify-content: space-between; gap: 8px; }
.booking__steps li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: rgba(6, 59, 104, .45); transition: color .3s; }
.booking__steps li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid currentColor; font-size: 14px; transition: background .3s, border-color .3s, color .3s; }
.booking__steps li.is-current { color: var(--navy); }
.booking__steps li.is-current span { border-color: var(--teal-ink); color: var(--teal-ink); }
.booking__steps li.is-done { color: var(--navy); }
.booking__steps li.is-done span { background: var(--teal-ink); border-color: var(--teal-ink); color: var(--white); }
.booking__bar { height: 4px; border-radius: 4px; background: var(--soft); margin: 18px 0 30px; overflow: hidden; }
.booking__bar span { display: block; height: 100%; width: 33.33%; border-radius: 4px; background: linear-gradient(90deg, var(--teal-ink), var(--teal-bright)); transition: width .6s var(--ease-out); }
.booking__step { display: none; }
.booking__step.is-active { display: block; animation: stepIn .6s var(--ease-out) both; }
.booking__step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
.booking__legend { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 20px; letter-spacing: -.01em; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice input, .segmented input, .day input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%;
  padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.3;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease);
}
.choice .ic { width: 24px; height: 24px; color: var(--teal-ink); }
.choice span:hover { border-color: rgba(0, 132, 122, .5); transform: translateY(-2px); }
.choice input:checked + span { border-color: var(--teal-ink); background: var(--mist); box-shadow: 0 0 0 3px rgba(17, 182, 165, .18); }
.choice input:focus-visible + span, .segmented input:focus-visible + span, .day input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
.field { margin-top: 20px; }
.field__label { display: block; font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.segmented { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--soft); gap: 4px; }
.segmented span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--navy); transition: background .3s, color .3s, box-shadow .3s; }
.segmented input:checked + span { background: var(--white); color: var(--teal-ink); box-shadow: var(--shadow-sm); }
.booking__doctor { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--mist); color: var(--navy); font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.booking__doctor button { color: var(--teal-ink); font-weight: 600; font-size: 14px; text-decoration: underline; }
.booking__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }

.days { display: grid; grid-auto-flow: column; grid-auto-columns: 78px; gap: 10px; overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: thin; }
.day span { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: all .25s var(--ease); line-height: 1.2; }
.day small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.day strong { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--navy); margin: 2px 0; }
.day span:hover { border-color: rgba(0, 132, 122, .5); }
.day input:checked + span { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .8); transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(6, 59, 104, .6); }
.day input:checked + span strong { color: var(--white); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; min-height: 120px; align-content: start; }
.slot span { display: block; text-align: center; padding: 12px 6px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: 15px; color: var(--navy); transition: all .2s; }
.slot span:hover { border-color: var(--teal-ink); }
.slot input:checked + span { background: var(--teal-ink); border-color: var(--teal-ink); color: var(--white); }
.slot input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.slots.is-swapping .slot { animation: fadeUp .45s var(--ease-out) both; animation-delay: calc(var(--i) * 25ms); }
.slots__empty { grid-column: 1 / -1; padding: 20px; border-radius: 12px; background: var(--mist); text-align: center; font-size: 15px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .field { margin-top: 0; }
.input { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--mist); color: var(--navy); font-size: 16px; transition: border-color .25s, background .25s, box-shadow .25s; }
textarea.input { resize: vertical; min-height: 96px; }
.input::placeholder { color: rgba(82, 101, 117, .7); }
.input:hover { border-color: #BCD6E0; }
.input:focus { outline: none; border-color: var(--teal-ink); background: var(--white); box-shadow: 0 0 0 4px rgba(17, 182, 165, .16); }
.field.has-error .input { border-color: #C2412D; background: #FFF7F5; }
.field__error { margin-top: 6px; font-size: 14px; color: #B3321F; font-weight: 500; }
.field__hint { margin-top: 6px; font-size: 13.5px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-ink); flex-shrink: 0; }
.booking__summary { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--soft); color: var(--navy); font-size: 15px; display: grid; gap: 4px; }
.booking__summary strong { font-family: var(--font-head); }
.booking__done { text-align: center; padding: 20px 0 8px; }
.booking__done:focus { outline: none; }
.booking__done .h3 { font-size: 28px; font-weight: 800; margin: 18px 0 10px; }
.booking__done p { max-width: 44ch; margin: 0 auto 8px; }
.booking__done .btn { margin-top: 20px; }
.success { width: 88px; height: 88px; margin: 0 auto; }
.success circle { fill: var(--soft); stroke: var(--teal); stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw .8s var(--ease-out) forwards; }
.success path { fill: none; stroke: var(--teal-ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .6s var(--ease-out) forwards; }

/* =========================================================
   VISIT
   ========================================================= */
.visit__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.visit__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 600 / 460; }
.map { width: 100%; height: 100%; display: block; }
.map__pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); }
.map__marker { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--white); box-shadow: var(--shadow); animation: pinDrop 1s var(--ease-out) both; }
.map__marker img { transform: rotate(45deg); width: 42px; }
.map__pulse { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 156, 145, .25); animation: ping 2.4s var(--ease) infinite; }
@keyframes pinDrop { from { opacity: 0; transform: translateY(-40px) rotate(-45deg); } to { opacity: 1; transform: rotate(-45deg); } }
.map__card { position: absolute; left: 20px; bottom: 20px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); font-size: 14.5px; line-height: 1.5; }
.map__title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 17px; }
.map__card .link-arrow { margin-top: 6px; font-size: 14.5px; }
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--navy); }
.contact-list a:hover strong { color: var(--teal-ink); }
.contact-list__icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--white); color: var(--teal-ink); box-shadow: var(--shadow-sm); }
.hours { margin-top: 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.hours__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours__table th, .hours__table td { padding: 11px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.hours__table tr:last-child th, .hours__table tr:last-child td { border-bottom: 0; }
.hours__table th { font-weight: 600; color: var(--navy); }
.hours__table td { text-align: right; }
.hours__table tr.is-today { background: var(--soft); }
.hours__table tr.is-today th { color: var(--teal-ink); }
.hours__table tr.is-today th::after { content: "Today"; margin-left: 10px; padding: 2px 8px; border-radius: 99px; background: var(--teal-ink); color: var(--white); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px; }

/* =========================================================
   CTA BAND + FOOTER
   ========================================================= */
.cta-band { padding: 0 0 clamp(64px, 8vw, 100px); background: var(--mist); }
.cta-band__inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); color: rgba(255, 255, 255, .85);
  background: linear-gradient(120deg, var(--navy) 0%, var(--deep) 45%, #06615F 100%);
}
.cta-band__inner::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(17, 182, 165, .45), transparent 65%); animation: drift 12s ease-in-out infinite alternate; }
.cta-band__arc { position: absolute; left: 0; bottom: -2px; width: 100%; height: 70%; pointer-events: none; }
.cta-band__arc path { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; }
.cta-band__inner > div { position: relative; z-index: 1; }
.cta-band__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); color: var(--white); letter-spacing: -.025em; line-height: 1.15; }
.cta-band__inner p { margin-top: 8px; font-size: 17px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.footer { background: var(--deep); color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 7vw, 88px); font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 270px; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: var(--white); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--teal-ink); border-color: var(--teal-ink); transform: translateY(-3px); }
.footer__title { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--white); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { position: relative; transition: color .25s, padding .3s var(--ease); }
.footer__links a:hover { color: var(--teal-light); padding-left: 6px; }
.footer__small { font-size: 14.5px; }
.newsletter { display: flex; margin-top: 14px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .3s; }
.newsletter:focus-within { border-color: var(--teal-light); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 14px; color: var(--white); }
.newsletter input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter input:focus { outline: none; }
.newsletter button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-ink); color: var(--white); transition: background .3s; }
.newsletter button:hover { background: var(--teal); }
[data-newsletter-msg] { margin-top: 10px; color: var(--teal-light); min-height: 1.5em; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px; font-size: 14px; }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .1); }
.footer__emergency { display: inline-flex; align-items: center; gap: 8px; color: #FFD8D3; }

/* Floating UI */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--navy); box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top > .ic { transform: rotate(-90deg); position: relative; }
.to-top__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--soft); stroke-width: 3; }
.to-top__ring .to-top__fill { stroke: var(--teal); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.to-top:hover { background: var(--navy); color: var(--white); }
.mobile-cta { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1340px) {
  .header__call span { display: none; }
  .nav__link { padding-inline: 11px; }
}

@media (max-width: 1180px) {
  .nav__link { padding-inline: 9px; font-size: 14.5px; }
  .brand img { width: 232px; }
  .header.is-scrolled .brand img { width: 210px; }
  .header__inner { gap: 18px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-rail { grid-auto-columns: calc((100% - 2 * 24px) / 2.4); }
  .float-card--slot { left: -12px; }
  .float-card--stat { right: -8px; top: -18px; }
}

@media (max-width: 1140px) {
  .nav, .header__call { display: none; }
  .menu-btn { display: grid; }
  .header__actions { margin-left: auto; }
}

@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .header.is-scrolled .header__inner { height: 70px; }
  .brand img { width: 240px; }
  .header.is-scrolled .brand img { width: 214px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; width: 100%; margin-inline: auto; }
  .hero__frame { aspect-ratio: 4 / 3.4; border-radius: 180px 180px var(--radius-lg) var(--radius-lg); }
  .finder { grid-template-columns: 1fr 1fr 1fr; transform: translateY(40%); }
  .finder__btn { grid-column: 1 / -1; }
  .about__grid, .stories__grid, .faq__grid, .book__grid, .visit__grid, .why__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .why__intro, .faq__intro { position: static; }
  .tabs__panel { grid-template-columns: 1fr; }
  .journey__bridge { display: none; }
  .journey__steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .step:nth-child(n) { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
  .topbar__item:first-child .topbar__dim { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .topbar__inner { justify-content: space-between; gap: 12px; }
  .topbar__inner > .topbar__item:first-child, .topbar__urgent { display: none; }
  .topbar__right { margin-left: 0; }
  .brand { padding: 8px 14px 10px; border-radius: 14px; }
  .brand::before { left: 14px; right: 14px; }
  .header.is-scrolled .brand { padding: 7px 12px 9px; }
  .brand img { width: 190px; }
  .header.is-scrolled .brand img { width: 176px; }
  .header__actions .btn { display: none; }
  .hero { padding-top: 28px; }
  .hero__frame { aspect-ratio: 1 / 1; border-radius: 140px 140px var(--radius) var(--radius); }
  .float-card { padding: 10px 14px; gap: 10px; }
  .float-card--slot { position: relative; left: auto; bottom: auto; margin: 14px auto 0; width: fit-content; animation: none; }
  .float-card--stat { display: none; }
  .float-card__icon { width: 38px; height: 38px; border-radius: 12px; }
  .float-card__value { font-size: 15.5px; }
  .hero__proof { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .finder { grid-template-columns: 1fr; transform: none; margin-bottom: 0; border-radius: 22px; margin-top: 32px; }
  .finder__field + .finder__field::before { left: 18px; right: 18px; top: -4px; bottom: auto; width: auto; height: 1px; }
  .hero { padding-bottom: 8px; }
  .stats { padding-top: 64px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .stat:nth-child(3)::before { display: none; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .spec { min-height: 0; padding: 20px 16px 18px; border-radius: var(--radius); }
  .spec .h3 { font-size: 16.5px; }
  .spec p { font-size: 14px; }
  .spec__icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 4px; }
  .checks { grid-template-columns: 1fr; }
  .about__badge { left: -6px; width: 104px; height: 104px; }
  .tabs__list { width: 100%; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { padding: 10px 16px; font-size: 14px; }
  .journey__steps { grid-template-columns: 1fr; }
  .doc-rail { grid-auto-columns: 82%; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field + .field { margin-top: 20px; }
  .booking__steps li { font-size: 0; gap: 0; }
  .booking__steps li span { font-size: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--tall { grid-row: auto; }
  .gallery__item--wide { grid-column: auto; }
  .lightbox { padding: 60px 16px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .quotes__nav .icon-btn { width: 44px; height: 44px; }
  .cta-band__btns .btn { flex: 1 1 100%; }
  .to-top { bottom: 92px; right: 16px; }
  .mobile-cta {
    display: grid; grid-template-columns: auto 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
}


/* =========================================================
   MOTION LAYER — showcase carousel, review wall, split
   headings, image curtains, tilt, spotlight, ripple, floaters
   ========================================================= */

/* ---------- Care in motion: circular 3D gallery ----------
   Straight port of circular-gallery.tsx + its demo (Assets/carousel-component.txt):
   500vh wrapper, sticky full-screen panel, perspective 2000px, 300×400 cards at radius 600. */
.cgallery-section { position: relative; width: 100%; height: 500vh; background: var(--white); color: var(--navy); }
.cgallery__pin { position: sticky; top: 0; width: 100%; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.cgallery__head { position: absolute; top: 6rem; /* demo uses 4rem; +2rem clears this site's sticky header */ z-index: 10; margin-bottom: 2rem; padding: 0 16px; text-align: center; }
.cgallery__title { font-family: var(--font-head); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.cgallery__sub { color: var(--slate); }
.cgallery__stage { width: 100%; height: 100%; }
.cgallery { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; perspective: 2000px; }
.cgallery__ring { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.cgallery__card { position: absolute; width: 300px; height: 400px; left: 50%; top: 50%; margin-left: -150px; margin-top: -200px; transition: opacity .3s linear; }
.cgallery__inner { position: relative; width: 100%; height: 100%; border-radius: .5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.cgallery__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cgallery__cap { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1rem; background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent); color: #fff; }
.cgallery__cap h2 { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.cgallery__cap em { font-size: .875rem; line-height: 1.25rem; font-style: italic; opacity: .8; }
.cgallery__cap p { font-size: .75rem; line-height: 1rem; margin-top: .5rem; opacity: .7; }

/* ---------- Review wall ---------- */
.wall { display: grid; gap: 18px; margin-top: clamp(56px, 7vw, 88px); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall__row { overflow: hidden; }
.wall__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; padding: 6px 0; }
.wall__row--rev .wall__track { animation-direction: reverse; animation-duration: 70s; }
.wall:hover .wall__track { animation-play-state: paused; }
.wall-card { width: 320px; flex-shrink: 0; padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.wall-card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow); border-color: rgba(0, 156, 145, .35); }
.wall-card blockquote { margin: 10px 0 12px; font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--navy); }
.wall-card figcaption { font-size: 13.5px; }
.wall-card figcaption strong { color: var(--navy); }

/* ---------- Split headings (word rise) ---------- */
.js .h2.reveal.split { opacity: 1; transform: none; }
.split.is-in .w > span, .split.revealed .w > span { transform: none; transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }

/* ---------- Image curtains ---------- */
.js .img-reveal { overflow: hidden; }
.js .img-reveal::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(115deg, var(--navy), var(--teal) 70%, var(--teal-bright));
  transform-origin: right center; transition: transform 1.15s cubic-bezier(.76, 0, .24, 1) .1s;
}
.js .img-reveal.is-in::after { transform: scaleX(0); }
.js .img-reveal > img, .js .img-reveal > .map { transform: scale(1.22); transition: transform 1.8s var(--ease-out); }
.js .img-reveal.is-in > img, .js .img-reveal.is-in > .map { transform: scale(1); }
.about__media:hover .about__main.is-in img { transform: scale(1.04); transition-duration: 1.2s; }
.visit__map .map__pin, .visit__map .map__card { opacity: 0; transition: opacity .6s .9s; }
.visit__map.is-in .map__pin, .visit__map.is-in .map__card { opacity: 1; }
.no-js .visit__map .map__pin, .no-js .visit__map .map__card { opacity: 1; }

/* ---------- Card lift (works after reveal completes) ---------- */
.spec, .doc, .step { will-change: transform; }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 55%); mix-blend-mode: soft-light; }
.doc .glare { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .35), transparent 50%); mix-blend-mode: normal; }
.is-tilting .glare { opacity: 1; }

/* ---------- Spotlight ---------- */
.spotlight { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(17, 182, 165, .16), transparent 60%); }
.has-spot:hover > .spotlight { opacity: 1; }
.cta-band__inner .spotlight { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .14), transparent 60%); }

/* ---------- Ripple ---------- */
.ripple { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .7s var(--ease-out) forwards; }
.btn--outline .ripple, .btn--ghost .ripple, .btn--light .ripple { background: rgba(0, 156, 145, .25); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Hero floaters ---------- */
.floaters { position: absolute; inset: 0; }
.floater { position: absolute; width: 26px; height: 26px; color: var(--teal); opacity: .22; animation: floatIcon 11s ease-in-out infinite; }
.floater--1 { left: 4%; top: 18%; }
.floater--2 { left: 44%; top: 8%; width: 22px; height: 22px; color: var(--navy); opacity: .14; animation-duration: 13s; animation-delay: -4s; }
.floater--3 { left: 38%; bottom: 22%; width: 34px; height: 34px; animation-duration: 15s; animation-delay: -2s; }
.floater--4 { right: 3%; top: 12%; width: 18px; height: 18px; animation-delay: -6s; }
.floater--5 { right: 6%; bottom: 30%; color: var(--navy); opacity: .12; animation-duration: 14s; }
.floater--6 { left: 20%; bottom: 8%; width: 22px; height: 22px; opacity: .16; animation-delay: -8s; }
.floater--7 { left: 52%; top: 44%; width: 16px; height: 16px; opacity: .18; animation-duration: 9s; }
@keyframes floatIcon { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(14px, -22px) rotate(12deg); } 66% { transform: translate(-10px, -8px) rotate(-8deg); } }

@media (max-width: 720px) {
  .wall-card { width: 260px; }
  .floater--2, .floater--3, .floater--7 { display: none; }
}


/* =========================================================
   MULTIPAGE — page transitions, page banners, values,
   timeline, pricing, team grid, first-visit info
   ========================================================= */

/* Intro once per visit; cross-document fade between pages */
.intro-seen .intro { display: none; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
.header { view-transition-name: site-header; }
.topbar { view-transition-name: site-topbar; }
::view-transition-old(site-header), ::view-transition-new(site-header),
::view-transition-old(site-topbar), ::view-transition-new(site-topbar) { animation: none; }

/* ---------- Page banner ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--soft) 0%, var(--mist) 75%, var(--white) 100%); }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 22px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; margin-right: 4px; }
.crumbs a { color: var(--teal-ink); font-weight: 600; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.page-hero__title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.page-hero__title em { font-style: normal; color: var(--teal-ink); }
.page-hero__title.split .w > span { transform: translateY(105%); }
.page-hero__title.split.is-in .w > span { transform: none; }
.page-hero__lead { margin-top: 20px; }
.page-hero__lead, .page-hero__ctas, .page-hero .crumbs, .page-hero .eyebrow { animation: fadeUp .8s var(--ease-out) both; }
.page-hero .crumbs { animation-delay: .05s; }
.page-hero .eyebrow { animation-delay: .12s; }
.page-hero__lead { animation-delay: .45s; }
.page-hero__ctas { animation-delay: .6s; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
html:not(.intro-seen):not(.is-loaded) .page-hero__copy > * { animation-play-state: paused; }
.page-hero__media { position: relative; }
.page-hero__frame { position: relative; aspect-ratio: 4 / 3.6; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--soft); }
.page-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__chip { left: -36px; bottom: 28px; top: auto; }

/* Home: extra links */
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.section-head__side { max-width: 420px; display: grid; gap: 14px; justify-items: start; }

/* ---------- Values ---------- */
.values__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { position: relative; padding: 28px 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.value::after { content: ""; position: absolute; left: 50%; bottom: -60px; width: 160px; height: 90px; transform: translateX(-50%); border-radius: 50% 50% 0 0; border: 2px solid rgba(0, 156, 145, .0); transition: border-color .5s, bottom .6s var(--ease-out); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value:hover::after { border-color: rgba(0, 156, 145, .35); bottom: -44px; }
.value__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--soft); color: var(--teal-ink); transition: background .4s, color .4s, transform .6s var(--ease); }
.value__icon .ic { width: 28px; height: 28px; }
.value:hover .value__icon { background: var(--navy); color: var(--white); transform: rotateY(180deg); }
.value:hover .value__icon .ic { transform: rotateY(180deg); }
.value p { margin-top: 8px; font-size: 15px; line-height: 1.6; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 980px; margin: 0 auto; padding: 10px 0; display: grid; gap: 28px; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.timeline__line span { position: absolute; inset: 0; background: linear-gradient(var(--navy), var(--teal), var(--teal-bright)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.milestone { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.milestone__card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: box-shadow .5s, border-color .5s, transform .5s var(--ease); }
.milestone:nth-child(even) .milestone__card { grid-column: 1; margin-right: 44px; text-align: right; }
.milestone:nth-child(odd) .milestone__card { grid-column: 2; margin-left: 44px; }
.milestone__dot { position: absolute; left: 50%; top: 26px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--white); border: 3px solid var(--line); z-index: 1; transition: border-color .4s, background .4s, box-shadow .4s, transform .4s var(--ease); }
.milestone.is-lit .milestone__dot { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 6px rgba(17, 182, 165, .18); transform: scale(1.1); }
.milestone.is-lit .milestone__card { border-color: rgba(0, 156, 145, .3); box-shadow: var(--shadow); }
.milestone__card:hover { transform: translateY(-4px); }
.milestone__year { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.02em; color: var(--teal-ink); margin-bottom: 8px; }
.milestone__card p:last-child { margin-top: 6px; font-size: 15.5px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: center; max-width: 1080px; margin: 0 auto; }
.price { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px 28px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.price:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--teal-ink); margin-bottom: 10px; }
.price__icon .ic { width: 24px; height: 24px; }
.price__amount { font-family: var(--font-head); font-weight: 800; font-size: 48px; line-height: 1.1; letter-spacing: -.03em; color: var(--navy); margin: 8px 0 4px; }
.price__amount span { font-size: 24px; vertical-align: 16px; margin-right: 2px; }
.price__amount small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--slate); }
.price__list { display: grid; gap: 10px; margin: 14px 0 26px; font-size: 15.5px; }
.price__list li { display: flex; gap: 10px; align-items: flex-start; }
.price__list .ic { color: var(--teal-ink); margin-top: 3px; }
.price .btn { margin-top: auto; }
.price--featured { padding-block: 44px 36px; background: linear-gradient(160deg, var(--navy), var(--deep) 60%, #06615F); color: rgba(255, 255, 255, .8); border-color: transparent; box-shadow: var(--shadow-lg); overflow: hidden; }
.price--featured::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(17, 182, 165, .4), transparent 65%); pointer-events: none; }
.price--featured .h3, .price--featured .price__amount { color: var(--white); }
.price--featured .price__amount small { color: rgba(255, 255, 255, .7); }
.price--featured .price__icon { background: rgba(17, 182, 165, .2); color: var(--teal-light); }
.price--featured .price__list .ic { color: var(--teal-light); }
.price__badge { position: absolute; top: 18px; right: 18px; padding: 5px 12px; border-radius: 99px; background: var(--teal-light); color: var(--deep); font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .04em; }

/* ---------- Team grid + filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--navy); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip:hover { border-color: var(--teal-ink); transform: translateY(-2px); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 8px 18px -10px rgba(6, 59, 104, .7); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team__grid .doc__img { aspect-ratio: 4 / 4.3; }
.doc__quals { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 2px; }
.doc.is-filter-in { animation: filterIn .6s var(--ease-out) both; animation-delay: calc(var(--fi, 0) * 60ms); }
@keyframes filterIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- First visit ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--mist); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; }
.info:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.info__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--white); color: var(--teal-ink); box-shadow: var(--shadow-sm); margin-bottom: 6px; }
.info__icon .ic { width: 24px; height: 24px; }
.info p { font-size: 15.5px; }
.info .link-arrow { margin-top: auto; padding-top: 6px; font-size: 15px; }
.info__list { display: grid; gap: 8px; font-size: 15.5px; }
.info__list li { display: flex; gap: 10px; align-items: flex-start; }
.info__list .ic { color: var(--teal-ink); margin-top: 3px; }

/* Footer now has five columns */
.footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; }

@media (max-width: 1180px) {
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 560px; width: 100%; }
  .page-hero__chip { left: 12px; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-hero__frame { aspect-ratio: 4 / 3.4; border-radius: 140px 140px var(--radius) var(--radius); }
  .page-hero__ctas .btn { flex: 1 1 100%; }
  .values__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .value { padding: 22px 14px; }
  .value:last-child { grid-column: 1 / -1; }
  .timeline__line { left: 9px; }
  .milestone { grid-template-columns: 1fr; }
  .milestone__dot { left: 9px; }
  .milestone:nth-child(n) .milestone__card { grid-column: 1; margin: 0 0 0 36px; text-align: left; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .team__grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Reduced motion ---------- */
@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: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .w > span { transform: none !important; }
  .marquee__track { animation: none; }
  .intro { display: none; }
  .wall__track { animation: none; }
  .floater { display: none; }
  .js .img-reveal::after { display: none; }
  .cgallery-section { height: auto; }
  .cgallery__pin { position: relative; height: 100vh; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
