/* ==========================================================================
   Deccan Malti Neuro & Superspeciality Hospital — Design System
   Palette: #187E8A teal · #084C61 navy · #DC3A35 red · #FFC857 yellow · #323031 charcoal
   ========================================================================== */

:root {
  /* Brand */
  --teal: #187E8A;
  --teal-dark: #12626C;
  --teal-light: #E8F3F4;
  --navy: #084C61;
  --navy-deep: #053648;
  --red: #DC3A35;
  --yellow: #FFC857;
  --yellow-soft: #FFF4DC;
  --charcoal: #323031;

  /* Neutrals */
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-soft: #F4F7F8;
  --bg-tint: #EDF4F5;
  --border: #DCE7EA;
  --border-light: #E8F0F2;
  --text: #323031;
  --text-soft: #5A6568;
  --text-muted: #7A858A;

  /* Typography */
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Spacing (8pt) */
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 40px; --sp-6: 48px; --sp-8: 64px; --sp-10: 80px; --sp-12: 96px;

  /* Radius */
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 28px; --r-full: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(8, 76, 97, .07);
  --shadow-md: 0 8px 28px rgba(8, 76, 97, .10);
  --shadow-lg: 0 20px 50px rgba(8, 76, 97, .14);

  /* Layout */
  --container: 1280px;
  --header-h: 132px;

  /* Motion */
  --ease: cubic-bezier(.22, .68, .32, 1);
  --dur: .35s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.18; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 4.6vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 18px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--yellow); color: var(--navy); }

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 10px 18px;
  border-radius: var(--r-sm); transition: top .2s; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sp-12) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,.82); }
.section__head { max-width: 720px; margin-bottom: var(--sp-6); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--yellow); border-radius: 2px; }
.section--navy .eyebrow { color: var(--yellow); }
.section--navy .eyebrow::before { background: var(--teal); }
.lead { font-size: 18.5px; color: var(--text-soft); }
.section--navy .lead { color: rgba(255,255,255,.8); }
.grid { display: grid; gap: var(--sp-3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--r-full);
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background .25s, color .25s;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow, .btn:hover .icon:last-child { transform: translateX(4px); }
.btn--accent { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 20px rgba(255, 200, 87, .35); }
.btn--accent:hover { background: #FFD06E; color: var(--navy); box-shadow: 0 10px 26px rgba(255, 200, 87, .45); }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 6px 20px rgba(24, 126, 138, .3); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--outline { border: 2px solid var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { color: var(--navy); box-shadow: var(--shadow-md); }
.btn--ghost-light { border: 2px solid rgba(255,255,255,.5); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: var(--teal-light); color: var(--teal-dark);
  font-size: 13.5px; font-weight: 600; border: 1px solid rgba(24,126,138,.14);
}
.section--navy .chip { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.2); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 500; background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--border-light);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { background: rgba(255,255,255,.985); box-shadow: 0 8px 30px rgba(8,76,97,.12); }

/* Topbar */
.topbar { background: linear-gradient(100deg, var(--navy-deep), var(--navy)); color: rgba(255,255,255,.85); font-size: 12.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); }
.topbar__item:hover { color: var(--yellow); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__social { display: flex; gap: 12px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.2); }
.topbar__social a { color: rgba(255,255,255,.85); display: inline-flex; }
.topbar__social a:hover { color: var(--yellow); }

/* Main nav */
.mainnav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
.mainnav { border-bottom: 1px solid rgba(220,231,234,.72); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__logo { width: 54px; height: 54px; object-fit: contain; }
.brand { transition: transform .3s var(--ease); }
.brand:hover { transform: translateY(-1px); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--navy); }
.brand__text small { font-size: 10px; font-weight: 700; letter-spacing: .045em; color: var(--teal); text-transform: uppercase; max-width: 150px; }

.desktop-nav { flex: 1; }
.desktop-nav__list { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.desktop-nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 11px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text);
  position: relative;
}
.desktop-nav__link:hover { color: var(--teal); background: var(--teal-light); }
.desktop-nav__link:focus-visible { color: var(--teal-dark); background: var(--teal-light); outline-offset: 3px; }
.desktop-nav__link.is-active { color: var(--teal); }
.desktop-nav__link.is-active::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 3px; border-radius: 3px; background: var(--yellow);
}
.nav-caret { transition: transform .25s; }
.has-mega:hover .nav-caret, .has-mega.is-open .nav-caret { transform: rotate(180deg); }

.mainnav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.call-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal);
  transition: transform var(--dur) var(--ease), background .25s;
}
.call-chip:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: var(--r-sm); color: var(--navy); }
.menu-toggle:hover { background: var(--teal-light); color: var(--teal-dark); }

/* ---------- Mega menu ---------- */
.mega-wrap {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg); z-index: 490;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega-wrap.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega { display: none; padding: var(--sp-5) 0; }
.mega.is-active { display: block; }
.mega.is-active > .container > * { animation: megaItemIn .38s var(--ease) both; }
.mega.is-active > .container > *:nth-child(2) { animation-delay: .045s; }
.mega.is-active > .container > *:nth-child(3) { animation-delay: .09s; }
@keyframes megaItemIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.mega__grid { display: grid; grid-template-columns: 1.2fr .9fr 1.1fr; gap: var(--sp-6); }
.mega__grid--small { grid-template-columns: 1fr 1fr; max-width: 760px; }
.mega__heading {
  font-family: var(--font-head); font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 14px;
}
.mega__list { display: flex; flex-direction: column; gap: 2px; }
.mega__dept-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-sm);
  color: var(--text); font-weight: 600; font-size: 14.5px;
  transition: background .2s, color .2s;
}
.mega__dept-link .icon { color: var(--teal); }
.mega__dept-link:hover, .mega__dept-link.is-active { background: var(--teal-light); color: var(--teal-dark); }
.mega__dept-link span { display: flex; flex-direction: column; line-height: 1.3; }
.mega__dept-link small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.mega__quick { display: flex; flex-direction: column; gap: 8px; }
.mega__quick a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1px solid var(--border-light); border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px; color: var(--navy);
  transition: border-color .2s, transform .2s;
}
.mega__quick a:hover { border-color: var(--teal); transform: translateX(3px); }
.mega__quick .icon { color: var(--teal); }
.mega__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mega__chips .chip { font-size: 12.5px; padding: 6px 13px; }

.mega-preview {
  display: block; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
}
.mega-preview__imgwrap { aspect-ratio: 3 / 2; overflow: hidden; background: var(--teal-light); }
.mega-preview__imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s var(--ease); }
.mega-preview:hover img { transform: scale(1.04); }
.mega-preview__body { padding: 18px 20px 20px; }
.mega-preview__body strong { font-family: var(--font-head); font-size: 17px; color: var(--navy); display: block; margin-bottom: 6px; }
.mega-preview__body p { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; margin-bottom: 12px; }
.mega-preview__cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13.5px; color: var(--teal); }
.mega-preview.is-fading .mega-preview__imgwrap img,
.mega-preview.is-fading .mega-preview__body { opacity: 0; }
.mega-preview__imgwrap img, .mega-preview__body { transition: opacity .3s; }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 600; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop {
  position: absolute; inset: 0; background: rgba(5, 54, 72, .5);
  opacity: 0; transition: opacity .3s;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__panel { box-shadow: -20px 0 60px rgba(5,54,72,.18); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border-light);
}
.drawer__close { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-soft); color: var(--navy); }
.drawer__close:hover { background: var(--teal-light); color: var(--teal-dark); transform: rotate(4deg); }
.drawer__nav { padding: 12px 20px; flex: 1; }
.drawer__link {
  display: block; padding: 14px 4px; font-family: var(--font-head);
  font-weight: 700; font-size: 17px; color: var(--navy);
  border-bottom: 1px solid var(--border-light);
}
.drawer__link:hover, .drawer__link:focus-visible { color: var(--teal); padding-left: 10px; background: linear-gradient(90deg, var(--teal-light), transparent); }
.drawer__group { border-bottom: 1px solid var(--border-light); }
.drawer__group summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; font-family: var(--font-head); font-weight: 700;
  font-size: 17px; color: var(--navy); cursor: pointer; list-style: none;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .icon { transform: rotate(180deg); }
.drawer__group summary .icon { transition: transform .25s; }
.drawer__sub { padding: 4px 0 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.drawer__sub a { padding: 9px 12px; border-radius: var(--r-sm); color: var(--text-soft); font-weight: 500; font-size: 15px; }
.drawer__sub a:hover { background: var(--teal-light); color: var(--teal-dark); }
.drawer__sub .drawer__all { font-weight: 700; color: var(--teal); }
.drawer__cta { padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border-light); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: clamp(610px, calc(100vh - var(--header-h)), 760px); display: flex; align-items: center;
  overflow: hidden; color: var(--white); background: var(--navy-deep);
}
.hero__video, .hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 77% 48%, rgba(74, 197, 194, .22), transparent 31%),
    linear-gradient(100deg, rgba(5,54,72,.88) 0%, rgba(8,76,97,.68) 43%, rgba(24,126,138,.34) 100%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr); gap: clamp(28px, 5vw, 80px);
  align-items: center; padding: 54px 0 64px;
}
.hero__copy, .hero__lead, .hero__ctas { min-width: 0; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px;
}
.hero__eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--yellow); }
.hero h1 { color: var(--white); margin-bottom: 18px; font-size: clamp(42px, 5vw, 68px); letter-spacing: -.035em; line-height: 1.02; }
.hero h1 .accent { color: var(--yellow); }
.hero__lead { font-size: 17px; color: rgba(255,255,255,.88); max-width: 535px; margin-bottom: 28px; line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips .chip { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }

/* Neural orbit slider */
.orbit-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 500px; }
.orbit-ring {
  position: absolute; border: 1.5px dashed rgba(255,255,255,.25); border-radius: 50%;
  animation: orbitSpin 40s linear infinite;
}
.orbit-ring--1 { width: 92%; height: 92%; }
.orbit-ring--2 { width: 108%; height: 108%; animation-duration: 60s; animation-direction: reverse; border-color: rgba(255,200,87,.22); }
.orbit-ring .orbit-dot {
  position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
  background: var(--yellow); border-radius: 50%; box-shadow: 0 0 12px rgba(255,200,87,.8);
}
.orbit-ring--2 .orbit-dot { background: var(--teal); box-shadow: 0 0 12px rgba(24,126,138,.9); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.orbit-slider {
  position: relative; width: min(438px, 76%); aspect-ratio: 1 / 1.08;
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
  overflow: hidden; border: 3px solid rgba(24,126,138,.55);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  animation: blobMorph 14s ease-in-out infinite, breathe 6s ease-in-out infinite;
  background: var(--teal-light);
}
@keyframes blobMorph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; }
  33% { border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%; }
  66% { border-radius: 52% 48% 42% 58% / 45% 55% 45% 55%; }
}
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.orbit-slider .swiper, .orbit-slider .swiper-wrapper { height: 100%; }
.orbit-slider img { width: 100%; height: 100%; object-fit: cover; }
.orbit-slider__controls {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; z-index: 5;
}
.orbit-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: transform .25s, background .25s;
}
.orbit-btn:hover { background: var(--yellow); transform: translateY(-2px); }
.orbit-btn .icon { width: 16px; height: 16px; }
.orbit-dots { display: flex; gap: 6px; }
.orbit-dots .swiper-pagination-bullet {
  width: 8px; height: 8px; background: rgba(255,255,255,.55); opacity: 1; transition: all .3s;
}
.orbit-dots .swiper-pagination-bullet-active { background: var(--yellow); width: 22px; border-radius: 5px; }

.orbit-float-card {
  position: absolute; right: 1%; bottom: 5%; z-index: 6;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.orbit-float-card .icon { width: 34px; height: 34px; color: var(--teal); }
.orbit-float-card strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--navy); }
.orbit-float-card small { font-size: 12.5px; color: var(--text-soft); }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3;
}
.hero__scroll::after {
  content: ''; width: 1.5px; height: 34px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.5); opacity: .5; } }

/* Video controls */
.hero__video-toggle {
  position: absolute; bottom: 26px; right: 26px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: background .25s;
}
.hero__video-toggle:hover { background: rgba(255,255,255,.3); }
.hero__video-toggle .icon { width: 18px; height: 18px; }
.hero__video-toggle .icon-pause { display: none; }
.hero__video-toggle.is-playing .icon-pause { display: block; }
.hero__video-toggle.is-playing .icon-play { display: none; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; padding: var(--sp-10) 0 var(--sp-8);
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white); overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; left: -180px; bottom: -220px;
  width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 56px rgba(255,255,255,.025);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,87,.18), transparent 70%);
}
.page-hero h1 { color: var(--white); margin: 14px 0 16px; font-size: clamp(30px, 3.8vw, 48px); }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 680px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.page-hero__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-8); align-items: center; position: relative; z-index: 2; }
.page-hero .breadcrumbs { animation: pageHeroIn .65s var(--ease) both; }
.page-hero h1 { animation: pageHeroIn .7s .08s var(--ease) both; }
.page-hero .lead { animation: pageHeroIn .7s .16s var(--ease) both; }
.page-hero__ctas { animation: pageHeroIn .7s .24s var(--ease) both; }
@keyframes pageHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.breadcrumbs a { color: rgba(255,255,255,.85); font-weight: 600; }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs [aria-current] { color: var(--yellow); font-weight: 600; }

/* ==========================================================================
   Home sections
   ========================================================================== */

/* Section 2 — quick care gateway */
.quick-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-top: calc(var(--sp-8) * -1); position: relative; z-index: 10; }
.quick-card {
  background: var(--white); border-radius: var(--r-lg); padding: 26px 24px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quick-card__icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.quick-card:hover .quick-card__icon { background: var(--teal); color: var(--white); }
.quick-card__icon .icon { width: 26px; height: 26px; }
.quick-card strong { font-family: var(--font-head); font-size: 17.5px; color: var(--navy); }
.quick-card p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }
.quick-card__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--teal); margin-top: auto; }
.emergency-note {
  display: flex; align-items: flex-start; gap: 12px; margin-top: var(--sp-4);
  background: #FDF0EF; border: 1px solid rgba(220,58,53,.25); border-left: 4px solid var(--red);
  border-radius: var(--r-sm); padding: 14px 18px; font-size: 14px; color: #7a2c29;
}
.emergency-note .icon { color: var(--red); margin-top: 2px; }

/* Section 3 — about */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.about-media { position: relative; }
.about-media__img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media__img img { transition: transform .6s var(--ease); }
.about-media:hover .about-media__img img { transform: scale(1.03); }
.fact-card {
  position: absolute; right: -18px; bottom: 34px;
  background: var(--white); border-radius: var(--r-md); padding: 18px 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 14px;
}
.fact-card__num { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--teal); line-height: 1; }
.fact-card small { font-size: 12.5px; color: var(--text-soft); font-weight: 600; }
.timeline-badge {
  position: absolute; left: -14px; top: 26px;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  padding: 10px 18px; border-radius: var(--r-full); box-shadow: var(--shadow-md);
}

/* Section 4 — department explorer */
.dept-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--sp-5); }
.dept-filter button {
  padding: 10px 20px; border-radius: var(--r-full); font-weight: 600; font-size: 14px;
  background: var(--white); border: 1.5px solid var(--border); color: var(--text-soft);
  transition: all .25s;
}
.dept-filter button:hover { border-color: var(--teal); color: var(--teal); }
.dept-filter button.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.dept-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--border-light);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex; flex-direction: column;
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dept-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-light); position: relative; }
.dept-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dept-card:hover .dept-card__img img { transform: scale(1.05); }
.dept-card__icon {
  position: absolute; left: 22px; bottom: -24px;
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--white); color: var(--teal); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.dept-card:hover .dept-card__icon { transform: rotate(-6deg) scale(1.06); }
.dept-card__body { padding: 38px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dept-card__body h3 { font-size: 19px; }
.dept-card__body p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.dept-card__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--teal); margin-top: auto; padding-top: 8px; }
.dept-card__link .icon { transition: transform .25s; }
.dept-card:hover .dept-card__link .icon { transform: translateX(4px); }

/* Section 5 — neuro feature */
.neuro-feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.neuro-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.neuro-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin: var(--sp-4) 0; }
.neuro-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md); padding: 20px; backdrop-filter: blur(4px);
  transition: background .25s, transform var(--dur) var(--ease);
}
.neuro-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.neuro-card .icon { color: var(--yellow); width: 30px; height: 30px; margin-bottom: 10px; }
.neuro-card strong { display: block; font-family: var(--font-head); font-size: 16px; color: var(--white); margin-bottom: 6px; }
.neuro-card p { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.55; }
.symptom-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--sp-3) 0; }
.medical-note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; margin-top: var(--sp-3);
}
.medical-note .icon { flex-shrink: 0; margin-top: 2px; color: var(--yellow); }

/* Section 6 — why choose bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.bento__item {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--r-lg);
  padding: var(--sp-4); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bento__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bento__item--wide { grid-column: span 2; }
.bento__item--navy { background: var(--navy); border-color: var(--navy); }
.bento__item--navy h3, .bento__item--navy strong { color: var(--white); }
.bento__item--navy p { color: rgba(255,255,255,.78); }
.bento__item--yellow { background: var(--yellow-soft); border-color: rgba(255,200,87,.5); }
.bento__icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.bento__item--navy .bento__icon { background: rgba(255,255,255,.12); color: var(--yellow); }
.bento__item strong, .bento__item h3 { font-family: var(--font-head); font-size: 18px; color: var(--navy); display: block; margin-bottom: 8px; }
.bento__item p { font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }
.counter { font-family: var(--font-head); font-size: clamp(36px, 4vw, 52px); font-weight: 800; color: var(--teal); line-height: 1; }
.counter-suffix { color: var(--yellow); }
.bento__item--navy .counter { color: var(--white); }

/* Section 7 — doctors slider */
.doctor-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-card__img { aspect-ratio: 4 / 3.4; overflow: hidden; background: linear-gradient(160deg, var(--teal-light), var(--bg-tint)); position: relative; }
.doctor-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.doctor-card:hover .doctor-card__img img { transform: scale(1.04); }
.doctor-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.doctor-card__spec { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.doctor-card__body h3 { font-size: 20px; }
.doctor-card__quals { font-size: 13.5px; color: var(--text-muted); }
.doctor-card__exp { font-size: 14px; color: var(--text-soft); }
.doctor-card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }

/* Section 8 — facilities gallery */
.facility-slide { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--teal-light); }
.facility-slide img { width: 100%; height: 100%; object-fit: cover; }
.facility-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 26px 20px; color: var(--white); font-size: 14.5px;
  background: linear-gradient(to top, rgba(5,54,72,.85), transparent);
}

/* Section 9 — care journey */
.journey { position: relative; }
.journey__line { position: absolute; top: 34px; left: 5%; right: 5%; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.journey__line-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--yellow)); transition: width 1.4s var(--ease); }
.journey__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); position: relative; }
.journey-step { text-align: center; padding: 0 6px; }
.journey-step__dot {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--teal); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); position: relative; z-index: 2;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.journey-step:hover .journey-step__dot { background: var(--teal); color: var(--white); transform: scale(1.08); }
.journey-step__dot .icon { width: 26px; height: 26px; }
.journey-step__num { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); }
.journey-step strong { font-family: var(--font-head); font-size: 16px; color: var(--navy); display: block; margin-bottom: 6px; }
.journey-step p { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; }
.bring-card { margin-top: var(--sp-6); background: var(--white); border: 1px solid var(--border-light); border-left: 4px solid var(--yellow); border-radius: var(--r-md); padding: var(--sp-4); }
.bring-card h3 { margin-bottom: 14px; }
.bring-card ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bring-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-soft); }
.bring-card li .icon { color: var(--teal); flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; }

/* Section 10 — insurance */
.insurance-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); counter-reset: ins; }
.insurance-step { background: var(--white); border-radius: var(--r-md); padding: var(--sp-3); border: 1px solid var(--border-light); position: relative; }
.insurance-step::before {
  counter-increment: ins; content: counter(ins, decimal-leading-zero);
  font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--teal-light);
  position: absolute; top: 14px; right: 18px; -webkit-text-stroke: 1.5px var(--teal); color: transparent;
}
.insurance-step strong { display: block; font-family: var(--font-head); font-size: 16.5px; color: var(--navy); margin-bottom: 8px; max-width: 80%; }
.insurance-step p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.partner-placeholder {
  border: 2px dashed var(--border); border-radius: var(--r-md);
  padding: var(--sp-5); text-align: center; color: var(--text-muted); font-size: 14px;
  background: var(--bg-soft);
}

/* Section 11 — testimonials */
.testimonial-card {
  background: var(--white); border-radius: var(--r-lg); padding: var(--sp-5);
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial-card .icon { color: var(--yellow); width: 34px; height: 34px; }
.testimonial-card blockquote { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card footer strong { font-family: var(--font-head); font-size: 15px; color: var(--navy); display: block; }
.testimonial-card footer small { font-size: 12.5px; color: var(--text-muted); }

/* Section 12 — insights + CTA */
.insights-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-6); align-items: start; }
.article-card { display: flex; gap: 18px; background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-light); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card__img { width: 150px; flex-shrink: 0; overflow: hidden; background: var(--teal-light); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .article-card__img img { transform: scale(1.05); }
.article-card__body { padding: 18px 18px 18px 0; }
.article-card__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.article-card__body h3 { font-size: 17px; margin: 6px 0 8px; line-height: 1.35; }
.article-card__meta { font-size: 12.5px; color: var(--text-muted); }
.cta-panel {
  background: linear-gradient(160deg, var(--navy), var(--teal-dark));
  border-radius: var(--r-xl); padding: var(--sp-5); color: var(--white);
  position: sticky; top: calc(var(--header-h) + 20px);
  box-shadow: var(--shadow-lg);
}
.cta-panel h3 { color: var(--white); margin-bottom: 10px; }
.cta-panel p { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 20px; }
.cta-panel .btn { width: 100%; margin-bottom: 10px; }
.cta-panel__line { text-align: center; font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 8px; }
.closing-line { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--navy); text-align: center; margin-top: var(--sp-8); }
.closing-line em { color: var(--teal); font-style: normal; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--border-light); box-shadow: var(--shadow-md);
  padding: var(--sp-5);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-3); }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); }
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--white); font-size: 15px; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24,126,138,.12);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field .hint { font-size: 12.5px; color: var(--text-muted); }
.form-field .error-msg { font-size: 13px; color: var(--red); display: none; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--red); }
.form-field.has-error .error-msg { display: block; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-soft); }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { border-radius: var(--r-sm); padding: 14px 18px; font-size: 14.5px; margin-top: var(--sp-2); display: none; }
.form-status.is-success { display: block; background: #EBF7F0; border: 1px solid #BFE5CE; color: #1D6B3F; }
.form-status.is-error { display: block; background: #FDF0EF; border: 1px solid rgba(220,58,53,.3); color: #8C2B27; }
.form-status strong { display: block; margin-bottom: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); position: relative; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-6); padding: var(--sp-8) 0 var(--sp-6);
}
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__logo span { display: flex; flex-direction: column; line-height: 1.2; }
.footer__logo strong { font-family: var(--font-head); font-size: 18px; color: var(--white); }
.footer__logo small { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--yellow); }
.footer__desc { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer__contact a { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.8); font-size: 14px; }
.footer__contact a:hover { color: var(--yellow); }
.footer__contact .icon { color: var(--yellow); }
.footer__heading { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col ul a { color: rgba(255,255,255,.72); font-size: 14px; }
.footer__col ul a:hover { color: var(--yellow); }
.footer__all { color: var(--yellow) !important; font-weight: 600; }
.footer__newsletter-desc { font-size: 13.5px; margin-bottom: 12px; }
.footer__newsletter { display: flex; gap: 8px; }
.footer__newsletter input {
  flex: 1; padding: 12px 16px; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: var(--white); font-size: 14px;
}
.footer__newsletter input::placeholder { color: rgba(255,255,255,.45); }
.footer__newsletter input:focus { outline: none; border-color: var(--yellow); }
.footer__form-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.footer__form-msg.is-success { color: #7FE0A8; }
.footer__form-msg.is-error { color: #FF9D98; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8); transition: background .25s, transform .25s;
}
.footer__social a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.footer__social .icon { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: rgba(255,255,255,.55); flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: rgba(255,255,255,.6); font-size: 13px; }
.footer__legal a:hover { color: var(--yellow); }
.footer__credit { margin-left: auto; }
.footer__credit a { color: var(--yellow); font-weight: 700; }
.footer__credit a:hover { color: var(--white); }
.footer__accent-line { height: 4px; background: linear-gradient(90deg, var(--teal), var(--yellow), var(--teal)); }

/* ==========================================================================
   Floating elements
   ========================================================================== */
.float-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform var(--dur) var(--ease);
  animation: waPulse 2.6s ease-in-out infinite;
}
@keyframes waPulse { 0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); } 50% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); } }
.float-whatsapp:hover { transform: scale(1.1); color: var(--white); }
.float-whatsapp .icon { width: 28px; height: 28px; }

.back-to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .25s;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--teal); }
.back-to-top svg { width: 20px; height: 20px; }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
  display: none; background: var(--white);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(8,76,97,.12);
}
.mobile-bar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; font-size: 11.5px; font-weight: 700; color: var(--navy);
  font-family: var(--font-head);
}
.mobile-bar__item .icon { width: 21px; height: 21px; color: var(--teal); }
.mobile-bar__item--accent { background: var(--yellow); color: var(--navy); }
.mobile-bar__item--accent .icon { color: var(--navy); }

/* ==========================================================================
   Inner page content blocks
   ========================================================================== */
.prose { max-width: 780px; }
.prose h2 { margin: var(--sp-5) 0 var(--sp-3); }
.prose h3 { margin: var(--sp-4) 0 var(--sp-2); }
.prose p, .prose li { color: var(--text-soft); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1.2em; }
.prose ul li { list-style: disc; margin-bottom: 7px; }
.prose ol li { list-style: decimal; margin-bottom: 7px; }
.prose img { border-radius: var(--r-md); margin: var(--sp-3) 0; }

.condition-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--r-md); padding: var(--sp-3); }
.condition-card h4 { color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.condition-card h4 .icon { color: var(--teal); width: 20px; height: 20px; }
.condition-card p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.condition-card .warning { display: flex; gap: 8px; margin-top: 10px; font-size: 12.5px; color: #8C5A00; background: var(--yellow-soft); border-radius: 8px; padding: 8px 12px; }
.condition-card .warning .icon { width: 15px; height: 15px; color: #C98A00; flex-shrink: 0; margin-top: 1px; }

.urgent-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: #FDF0EF; border: 1px solid rgba(220,58,53,.3); border-left: 5px solid var(--red);
  border-radius: var(--r-md); padding: var(--sp-3); margin: var(--sp-4) 0;
}
.urgent-note .icon { color: var(--red); width: 26px; height: 26px; flex-shrink: 0; }
.urgent-note strong { color: var(--red); display: block; margin-bottom: 4px; font-family: var(--font-head); }
.urgent-note p { font-size: 14px; color: #6E3B38; margin: 0; }

.faq-item { border: 1px solid var(--border-light); border-radius: var(--r-md); background: var(--white); overflow: hidden; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex-shrink: 0; color: var(--teal); transition: transform .3s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item__body { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-soft); line-height: 1.7; }

.content-disclaimer {
  margin-top: var(--sp-6); padding: var(--sp-3);
  background: var(--bg-soft); border-radius: var(--r-md);
  font-size: 13px; color: var(--text-muted); border: 1px solid var(--border-light);
  display: flex; gap: 12px; align-items: flex-start;
}
.content-disclaimer .icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.cta-strip {
  background: linear-gradient(120deg, var(--teal) 0%, var(--navy) 100%);
  border-radius: var(--r-xl); padding: var(--sp-6); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap;
}
.cta-strip h3 { color: var(--white); margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,.8); max-width: 520px; }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.gallery-grid figure { border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--teal-light); }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font-size: 13px; color: var(--white); background: linear-gradient(to top, rgba(5,54,72,.8), transparent); }

/* Doctor profile */
.doctor-hero { display: grid; grid-template-columns: 340px 1fr; gap: var(--sp-6); align-items: start; }
.doctor-hero__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--teal-light); }
.cred-list { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--sp-3) 0; }
.cred-list .chip { background: var(--white); border-color: var(--border); color: var(--navy); }

/* Filter/search bar */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--sp-5); }
.filter-bar input, .filter-bar select {
  padding: 13px 18px; border: 1.5px solid var(--border); border-radius: var(--r-full);
  font-size: 15px; background: var(--white); min-width: 200px;
}
.filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24,126,138,.12); }

/* Map embed */
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ==========================================================================
   Animations (reveal on scroll)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.quick-card, .dept-card, .doctor-card, .article-card, .testimonial-card,
.insurance-step, .condition-card, .faq-item, .bento__item, .form-card,
.partner-placeholder, .cta-panel, .cta-strip {
  will-change: transform;
}
.quick-card:hover, .dept-card:hover, .doctor-card:hover, .article-card:hover,
.testimonial-card:hover, .insurance-step:hover, .condition-card:hover,
.faq-item:hover, .bento__item:hover, .form-card:hover, .partner-placeholder:hover {
  border-color: rgba(24,126,138,.28);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .page-hero .breadcrumbs, .page-hero h1, .page-hero .lead, .page-hero__ctas { animation: none; }
  .orbit-ring, .orbit-slider, .orbit-float-card, .hero__scroll::after, .float-whatsapp { animation: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .mega-wrap { display: none !important; }
  .quick-cards { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide { grid-column: span 2; }
  .journey__steps { grid-template-columns: repeat(3, 1fr); row-gap: var(--sp-5); }
  .journey__line { display: none; }
  .insurance-steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .insights-split { grid-template-columns: 1fr; }
  .cta-panel { position: static; }
  .neuro-feature__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-4); padding: 64px 0 86px; }
  .hero__copy { max-width: 720px; }
  .hero h1 { font-size: clamp(42px, 7vw, 62px); }
  .orbit-stage { min-height: 390px; }
  .orbit-slider { width: min(390px, 64%); }
  .page-hero__grid { grid-template-columns: 1fr; }
  .doctor-hero { grid-template-columns: 1fr; max-width: 560px; }
  .bring-card ul { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .mainnav__inner { gap: 10px; }
  .brand__text small { max-width: 132px; font-size: 9.5px; }
  .desktop-nav__list { gap: 0; }
  .desktop-nav__link { padding-left: 8px; padding-right: 8px; font-size: 13px; }
  .mainnav__actions { gap: 7px; }
  .mainnav__actions .btn--sm { padding-left: 14px; padding-right: 14px; font-size: 13px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 64px; }
  .section { padding: var(--sp-8) 0; }
  .container { padding: 0 18px; }
  .topbar__text { display: none; }
  .topbar__right { gap: 8px; min-width: 0; }
  .topbar__right .topbar__item { gap: 4px; font-size: 11px; white-space: nowrap; }
  .topbar__social { display: none; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: 16px; }
  .brand__logo { width: 42px; height: 42px; }
  .mainnav__inner { min-height: 68px; gap: 8px; }
  .mainnav__actions { gap: 6px; }
  .call-chip { width: 40px; height: 40px; }
  .menu-toggle { width: 42px; height: 42px; }
  .mainnav__actions .btn { display: none; }
  .quick-cards { grid-template-columns: 1fr; margin-top: 0; }
  .dept-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: span 1; }
  .journey__steps { grid-template-columns: 1fr; }
  .journey-step { display: flex; text-align: left; gap: 16px; align-items: flex-start; }
  .journey-step__dot { margin: 0; width: 56px; height: 56px; flex-shrink: 0; }
  .insurance-steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-bar { display: flex; }
  .float-whatsapp { bottom: 78px; right: 16px; width: 50px; height: 50px; }
  .back-to-top { bottom: 144px; right: 18px; }
  .fact-card { right: 10px; bottom: 14px; padding: 12px 16px; }
  .timeline-badge { left: 8px; }
  .article-card { flex-direction: column; }
  .article-card__img { width: 100%; aspect-ratio: 16/9; }
  .article-card__body { padding: 0 18px 18px; }
  .cta-strip { padding: var(--sp-4); }
  .neuro-cards { grid-template-columns: 1fr; }
  .bring-card ul { grid-template-columns: 1fr; }
  .hero__inner {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 44px 18px 76px;
  }
  .hero__copy { width: 100%; max-width: none; }
  .hero__eyebrow {
    display: flex;
    max-width: 100%;
    font-size: 11px;
    letter-spacing: .1em;
    line-height: 1.45;
    flex-wrap: wrap;
  }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero__lead {
    width: 100%;
    max-width: none;
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .hero__ctas {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__ctas .btn { width: 100%; max-width: 100%; white-space: normal; min-height: 52px; }
  .hero__chips { display: none; }
  .orbit-stage { width: 100%; max-width: 100%; min-height: 320px; margin-top: -8px; }
  .orbit-slider { width: min(320px, 72%); }
  .orbit-ring--1 { width: 86%; height: 86%; }
  .orbit-ring--2 { width: 102%; height: 102%; }
  .orbit-float-card { right: 0; bottom: 1%; padding: 11px 14px; max-width: 236px; }
  .orbit-float-card strong { font-size: 14px; }
  .orbit-float-card small { font-size: 11px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
  .footer__credit { margin-left: 0; }
  .footer__legal { flex-wrap: wrap; gap: 8px 16px; }
}

@media (max-width: 380px) {
  .container { padding: 0 15px; }
  .brand__text strong { font-size: 15px; }
  .brand__logo { width: 38px; height: 38px; }
  .call-chip { display: none; }
  .hero h1 { font-size: 37px; }
  .orbit-slider { width: min(285px, 76%); }
}

/* ==========================================================================
   Print — patient information pages
   ========================================================================== */
@media print {
  .site-header, .site-footer, .mobile-bar, .float-whatsapp, .back-to-top,
  .drawer, .mega-wrap, .cta-strip, .hero__video-toggle, .breadcrumbs { display: none !important; }
  body { font-size: 12pt; color: #000; padding-bottom: 0; }
  .section { padding: 20px 0; }
  a { color: #000; text-decoration: underline; }
  .page-hero { background: none; color: #000; padding: 10px 0; }
  .page-hero h1 { color: #000; }
}
