/* Shri Amrithum Super Speciality Hospital: demo homepage styles */
/* fonts: self-hosted, OFL (Urbanist, Mukta, Kalam) */
@font-face{font-family:'Kalam';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/kalam-hi-400.woff2) format('woff2');unicode-range:U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A}
@font-face{font-family:'Kalam';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/kalam-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Mukta';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/mukta-hi-400.woff2) format('woff2');unicode-range:U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A}
@font-face{font-family:'Mukta';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/mukta-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Mukta';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/mukta-latin-600.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Mukta';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/mukta-hi-800.woff2) format('woff2');unicode-range:U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A}
@font-face{font-family:'Mukta';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/mukta-latin-800.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Urbanist';font-style:normal;font-weight:500 800;font-display:swap;src:url(fonts/urbanist-latin-500-800.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ---------- tokens ---------- */
:root {
  --navy: #0E3557; --navy-d: #0A2540; --night: #071B2E; --ink: #0B1F33;
  --text: #33475B; --muted: #5B6B7D; --line: #E2E8F0;
  --gold: #D9A42B; --gold-h: #E6B443; --gold-t: #916609; --gold-l: #F2C14E; --cream: #FBF6EA;
  --mist: #EEF3F8; --mist2: #F6F9FC; --wa: #1FAF54;
  --r: 20px; --sh: 0 18px 50px -18px rgba(10, 37, 64, .28); --sh-s: 0 8px 24px -12px rgba(10, 37, 64, .22);
  --head: 'Urbanist', 'Mukta', system-ui, sans-serif; --body: 'Mukta', system-ui, sans-serif;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16.5px/1.65 var(--body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.i { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gold { color: var(--gold-t); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 22px; border-radius: 12px; border: 0;
  font: 700 15.5px/1 var(--head); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-gold { background: var(--gold); color: var(--navy-d); box-shadow: 0 8px 20px -10px rgba(217, 164, 43, .9); }
.btn-gold:hover { background: var(--gold-h); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #154873; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--cream); }
.btn-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font: 600 15px/1 var(--head); }
.pill-glass { background: #fff; color: var(--navy); padding: 10px 18px; box-shadow: var(--sh-s); }
.pill-glass .star { color: var(--gold); }
.pill-line { color: var(--navy); padding: 10px 22px; box-shadow: inset 0 0 0 1.5px var(--navy); margin-bottom: 18px; }
.kicker { font: 400 27px/1.2 'Kalam', var(--body); color: var(--gold-t); margin-bottom: 4px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy-d); color: rgba(255, 255, 255, .85); font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.tb-em { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.tb-em b { color: var(--gold-l); font-weight: 600; }
.tb-em .i { color: var(--gold-l); }
.tb-side { display: inline-flex; align-items: center; gap: 7px; opacity: .8; }

.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hd.scrolled { box-shadow: 0 10px 30px -18px rgba(10, 37, 64, .35); }
.hd-in { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand img { height: 48px; width: auto; transform-origin: left center; transition: transform .3s; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font: 600 15.5px/1 var(--head); color: var(--ink); text-decoration: none; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav a:hover { color: var(--gold-t); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hd-act { display: flex; align-items: center; gap: 10px; }
.ico-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); color: var(--navy); text-decoration: none; transition: background-color .2s, color .2s; }
.ico-btn:hover { background: var(--navy); color: #fff; }
.ico-btn.wa { color: var(--wa); }
.ico-btn.wa:hover { background: var(--wa); color: #fff; }
.menu-btn { display: none; }

.sheet { position: fixed; z-index: 49; inset: 0; padding: 132px 24px 32px; background: #fff; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { padding: 16px 2px; border-bottom: 1px solid var(--line); font: 700 22px/1.2 var(--head); color: var(--ink); text-decoration: none; }
.sheet .btn { min-height: 54px; }
.sheet-call { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(600px, 86vh, 780px); padding: 84px 0 190px; display: flex; align-items: center; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 27, 46, .94) 0%, rgba(10, 37, 64, .82) 38%, rgba(14, 53, 87, .38) 72%, rgba(14, 53, 87, .18) 100%),
              linear-gradient(0deg, rgba(7, 27, 46, .55), transparent 40%); }
.hero-in > * { max-width: 700px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 800; line-height: 1.08; margin: 26px 0 22px; }
.h-gold { display: block; margin-top: .22em; font: 800 .74em/1.35 var(--body); color: var(--gold-l); letter-spacing: 0; }
.hero-p { font-size: 18.5px; color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- choose your care ---------- */
.care { position: relative; z-index: 3; margin-top: -120px; }
.care-panel { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 26px; box-shadow: var(--sh); }
.care-label { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); z-index: 2; padding: 13px 26px; border-radius: 999px; background: #fff;
  font: 700 17px/1 var(--head); color: var(--navy); box-shadow: var(--sh-s); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.care-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.care-card { display: flex; gap: 20px; align-items: flex-start; padding: 46px 30px 34px; }
.care-card + .care-card { border-left: 1px solid var(--line); }
.c1 { background: linear-gradient(140deg, #FBF3DD, #fff 70%); border-radius: 26px 0 0 26px; }
.c2 { background: linear-gradient(160deg, #EAF1F8, #fff 70%); }
.c3 { background: linear-gradient(200deg, #EEF3F8, #fff 70%); border-radius: 0 26px 26px 0; }
.care-ico { flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--navy); color: #fff; font-size: 30px; }
.c1 .care-ico { background: var(--gold); color: var(--navy-d); }
.care-card h3 { font-size: 21px; font-weight: 700; }
.tags { margin: 8px 0 18px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.tags i { display: inline-block; width: 1px; height: 12px; margin: 0 7px; background: #C3CFDB; vertical-align: -1px; }

/* ---------- about ---------- */
.about { padding: 110px 0; }
.about-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 68px; align-items: center; }
.about-fig { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--sh); }
.about-fig img { width: 100%; aspect-ratio: 900 / 945; object-fit: cover; }
.about-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 92px; }
.badge { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; align-content: center; width: 112px; height: 112px; border-radius: 50%;
  background: var(--navy-d); border: 3px solid var(--gold); box-shadow: 0 0 0 7px rgba(217, 164, 43, .28); text-align: center; color: #fff; }
.badge b { font: 800 28px/1 var(--head); }
.badge small { font-size: 12.5px; color: var(--gold-l); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.about h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); font-weight: 800; margin-bottom: 22px; }
.about-txt > p:not(.pill) { font-size: 17px; margin-bottom: 14px; }
.facts { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.facts li { display: grid; grid-template-columns: 46px 1fr; column-gap: 13px; align-items: center; }
.facts span { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); color: var(--navy); font-size: 21px; }
.facts li:nth-child(3) span { color: var(--gold); }
.facts b { font: 700 15.5px/1.25 var(--head); color: var(--ink); }
.facts small { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.link-call { display: inline-flex; align-items: center; gap: 9px; font: 700 16px/1 var(--head); color: var(--navy); text-decoration: none; }
.link-call:hover { color: var(--gold-t); }

/* ---------- section heads ---------- */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto; }
.sec-head h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; }
.sec-head > p:last-child { margin-top: 12px; color: var(--muted); font-size: 17px; }
.on-dark h2 { color: #fff; }
.on-dark .kicker { color: var(--gold-l); }
.on-dark > p:last-child { color: rgba(255, 255, 255, .78); }

/* ---------- doctors ---------- */
.docs { position: relative; padding: 110px 0 0; background: linear-gradient(#fff, var(--mist2)); }
.docs::before { content: ''; position: absolute; inset: 0 0 auto auto; width: 420px; height: 420px; pointer-events: none;
  background: radial-gradient(#C9D6E3 1.2px, transparent 1.6px) 0 0 / 22px 22px; -webkit-mask: radial-gradient(circle at 80% 20%, #000, transparent 70%); mask: radial-gradient(circle at 80% 20%, #000, transparent 70%); }
.finder { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 38px 0 8px; }
.search { position: relative; width: min(480px, 100%); display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid #C9D3DE; padding: 4px 2px; transition: border-color .2s; }
.search:focus-within { border-color: var(--navy); }
.search .i { color: var(--muted); font-size: 20px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: 400 17px/1.4 var(--body); color: var(--ink); padding: 10px 0; outline: 0; }
.search input::placeholder { color: #8695A5; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1080px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 600 14.5px/1 var(--head); color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.chip span { font: 600 12px/1 var(--body); padding: 4px 7px; border-radius: 999px; background: var(--mist); color: var(--muted); }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] span { background: rgba(255, 255, 255, .18); color: #fff; }
.doc-count { text-align: center; font-size: 14.5px; color: var(--muted); margin: 18px 0 22px; min-height: 1.6em; }
.doc-sub { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; font: 700 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-t); }
.doc-sub::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.doc-lead { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.doc-lead .doc { padding: 14px 14px 24px; background: var(--navy-d); border-color: transparent; }
.doc-lead .doc h3 { color: #fff; font-size: 22px; margin-top: 20px; }
.doc-lead .doc-meta { color: rgba(255, 255, 255, .8); font-size: 15px; }
.doc-lead .doc-meta .i { color: var(--gold-l); }
.doc-lead .doc-tag { background: var(--gold); color: var(--navy-d); }
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doc-grid.collapsed .doc.extra { display: none; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 20px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.doc:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.doc-pic { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: linear-gradient(165deg, #E6EEF6, #F7F9FC 70%); }
.doc-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s; }
.doc:hover .doc-pic img { transform: scale(1.04); }
.mono { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 46%; aspect-ratio: 1; height: auto; border-radius: 50%; background: #fff; color: var(--navy);
  font: 800 clamp(26px, 2.8vw, 38px)/1 var(--head); letter-spacing: .02em; box-shadow: 0 0 0 8px rgba(14, 53, 87, .05), 0 14px 30px -12px rgba(14, 53, 87, .3); }
.mono::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px dashed rgba(217, 164, 43, .55); }
.doc-tag { position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; background: var(--navy-d); color: var(--gold-l); font: 700 12px/1 var(--head); letter-spacing: .03em; }
.doc-go { position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--gold); color: var(--navy-d);
  font-size: 20px; box-shadow: 0 8px 18px -8px rgba(10, 37, 64, .5); transition: background-color .2s, color .2s, transform .2s; }
.doc-go:hover { background: var(--navy); color: #fff; transform: translateX(2px); }
.doc h3 { font-size: 18px; font-weight: 700; margin: 16px 6px 8px; }
.doc-meta { display: flex; align-items: flex-start; gap: 8px; margin: 0 6px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.doc-meta + .doc-meta { margin-top: 5px; }
.doc-meta .i { color: var(--gold-t); font-size: 16px; margin-top: 1px; }
.doc-empty { text-align: center; padding: 30px 0; color: var(--muted); }
.doc-more { display: flex; justify-content: center; margin-top: 34px; }
.doc-note { text-align: center; font-size: 14.5px; color: var(--muted); margin-top: 18px; }
.doc-note a, .doc-empty a { color: var(--navy); font-weight: 600; }

.stats { position: relative; z-index: 3; list-style: none; margin: 72px 0 -88px; padding: 30px 12px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 26px; box-shadow: var(--sh); }
.stats li { display: grid; grid-template-columns: 60px auto; column-gap: 16px; align-items: center; justify-content: center; padding: 4px 16px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats span { grid-row: span 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--cream); color: var(--gold-t); font-size: 26px; box-shadow: inset 0 0 0 1.5px #F0DFAF; }
.stats b { font: 800 34px/1 var(--head); color: var(--navy); }
.stats small { font-size: 14px; color: var(--muted); line-height: 1.3; }

/* ---------- medical units ---------- */
.units { position: relative; padding: 168px 0 104px; background: var(--mist2); isolation: isolate; }
.units-band { position: absolute; inset: 0 0 auto; height: 560px; z-index: -1; overflow: hidden; background: var(--navy-d); }
.units-band img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: grayscale(1); }
.units-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 37, 64, .55), var(--navy-d) 92%); }
.unit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.unit { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-s); transition: transform .3s, box-shadow .3s; }
.unit:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.unit-txt { position: relative; z-index: 2; flex: 1; padding: 30px 28px 46px; text-align: center; }
.unit-txt h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.unit-txt p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.unit-ico { position: absolute; left: 50%; bottom: -31px; transform: translateX(-50%); display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: #fff; color: var(--gold-t); font-size: 27px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .55), 0 10px 22px -10px rgba(10, 37, 64, .45); }
.unit-img { overflow: hidden; }
.unit-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s; }
.unit:hover .unit-img img { transform: scale(1.05); }
.unit-go { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy);
  font-size: 19px; text-decoration: none; box-shadow: var(--sh-s); transition: background-color .2s, color .2s; }
.unit-go:hover { background: var(--gold); color: var(--navy-d); }

/* ---------- departments ---------- */
.depts { padding: 10px 0 110px; background: var(--mist2); }
.dep-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; align-items: start; }
.dep-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 18px; }
.dep-col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.dep-col h3 .i { color: var(--gold-t); font-size: 21px; }
.dep-sub { margin-top: 22px; }
.dep-col ul { list-style: none; margin: 0; padding: 0; }
.dep-col li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink); text-decoration: none; transition: color .2s; }
.dep-col li:last-child a { border-bottom: 0; }
.dep-col li a::after { content: '→'; color: #A9B6C4; transition: color .2s, transform .2s; }
.dep-col li a:hover { color: var(--gold-t); }
.dep-col li a:hover::after { color: var(--gold-t); transform: translateX(3px); }
.dep-tests { background: var(--navy); border-color: var(--navy); color: #fff; padding-bottom: 26px; }
.dep-tests h3 { color: #fff; }
.dep-tests h3 .i { color: var(--gold-l); }
.test-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.test-tags span { padding: 7px 12px; border-radius: 999px; font-size: 14px; line-height: 1.2; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }

/* ---------- emergency band ---------- */
.emerg { background: linear-gradient(110deg, var(--navy-d), #134A78); color: rgba(255, 255, 255, .8); padding: 56px 0; }
.emerg-in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.emerg-ico { position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--gold); color: var(--navy-d); font-size: 32px; }
.emerg-ico::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(242, 193, 78, .5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.emerg h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
.emerg h2 a { color: var(--gold-l); text-decoration: none; white-space: nowrap; }
.emerg p { margin-top: 6px; font-size: 16.5px; }
.emerg-cta { display: flex; gap: 12px; }

/* ---------- footer ---------- */
.ft { background: var(--night); color: rgba(255, 255, 255, .72); padding: 80px 0 0; font-size: 15px; }
.ft-grid { display: grid; grid-template-columns: 1.25fr .75fr .85fr 1.3fr; gap: 48px; }
.ft-brand img { width: 210px; margin-bottom: 20px; }
.ft-hi { margin-top: 10px; opacity: .65; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: 19px; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--navy-d); }
.ft h3 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; position: relative; }
.ft h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); }
.ft-col { display: flex; flex-direction: column; align-items: flex-start; }
.ft-col a, .ft-col button { padding: 6px 0; border: 0; background: none; text-decoration: none; text-align: left; color: rgba(255, 255, 255, .72); transition: color .2s; }
.ft-col a:hover, .ft-col button:hover { color: var(--gold-l); }
.ft-visit img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }
.ft-line { display: flex; gap: 11px; margin-bottom: 12px; line-height: 1.5; }
.ft-line .i { color: var(--gold-l); font-size: 18px; margin-top: 2px; }
.ft-line a { display: inline-block; padding: 5px 0; color: #fff; text-decoration: none; }
.ft-line a:hover { color: var(--gold-l); }
.ft-visit .btn { margin-top: 6px; }
.ft-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 60px; padding-top: 24px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ---------- floating bits ---------- */
.side-book { position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%); writing-mode: vertical-rl; padding: 20px 12px; border: 0; border-radius: 12px 0 0 12px;
  background: var(--gold); color: var(--navy-d); font: 700 15px/1 var(--head); letter-spacing: .02em; box-shadow: var(--sh-s); transition: background-color .2s; }
.side-book:hover { background: var(--gold-h); }
.wa-float { position: fixed; right: 22px; bottom: 24px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; font-size: 30px;
  box-shadow: 0 12px 28px -10px rgba(31, 175, 84, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.mbar { display: none; }

/* ---------- booking dialog ---------- */
.book { width: min(660px, calc(100% - 32px)); max-height: 92vh; padding: 0; border: 0; border-radius: 26px; color: var(--text); box-shadow: 0 40px 90px -30px rgba(7, 27, 46, .6); }
.book::backdrop { background: rgba(7, 27, 46, .62); }
.book-form { position: relative; padding: 34px 38px 30px; }
.book-x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy); font-size: 19px; }
.book-x:hover { background: var(--navy); color: #fff; }
.book h2 { font-size: 30px; font-weight: 800; }
.book-sub { margin-top: 8px; color: var(--muted); font-size: 15.5px; padding-right: 30px; }
.book-em { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: #FDF1EE; color: #8A2A1C; font-size: 14.5px; line-height: 1.4; }
.book-em a { color: inherit; font-weight: 700; }
.book-doc { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 13px 16px; border-radius: 12px; background: var(--cream); font-weight: 600; color: var(--ink); }
.book-doc button { border: 0; background: none; color: var(--gold-t); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.opts { border: 0; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { width: 100%; margin-bottom: 10px; font: 700 12.5px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.opts > label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opts span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: var(--ink); transition: background-color .2s, color .2s; }
.opts input:hover + span { box-shadow: inset 0 0 0 1px var(--navy); }
.opts input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.opts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.other-field { width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { position: relative; margin-top: 14px; }
.field input { width: 100%; border: 0; border-bottom: 1.5px solid #C9D3DE; border-radius: 0; background: none; padding: 24px 0 8px; font: 400 16.5px/1.3 var(--body); color: var(--ink); outline: 0; transition: border-color .2s; }
.field input:focus { border-color: var(--navy); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field label { position: absolute; left: 0; top: 24px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .2s, color .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field label.up { transform: translateY(-20px) scale(.84); color: var(--navy); }
.field input[type="date"] { min-height: 58px; }
.book-err { margin-top: 14px; color: #B42318; font-size: 14.5px; }
.book-send { width: 100%; margin-top: 26px; }
.book-small { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.hero-in > * { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-in > :nth-child(2) { animation-delay: .08s; }
.hero-in > :nth-child(3) { animation-delay: .16s; }
.hero-in > :nth-child(4) { animation-delay: .24s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hd-act { margin-left: auto; }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .dep-cols { grid-template-columns: 1fr 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .care-panel { grid-template-columns: 1fr; }
  .care-card + .care-card { border-left: 0; border-top: 1px solid var(--line); }
  .c1 { border-radius: 26px 26px 0 0; padding-top: 48px; }
  .c3 { border-radius: 0 0 26px 26px; }
  .about-in { grid-template-columns: 1fr; gap: 44px; }
  .about-fig { max-width: 560px; }
  .unit-row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stats li:nth-child(3) { border-left: 0; }
  .emerg-in { grid-template-columns: auto 1fr; }
  .emerg-cta { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .side-book, .wa-float { display: none; }
  .mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(10, 37, 64, .4); }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-radius: 12px; background: var(--mist);
    font: 700 15px/1 var(--head); color: var(--navy); text-decoration: none; }
  .mbar a:nth-child(2) { color: #137A3B; }
  .mbar .mbar-book { background: var(--gold); color: var(--navy-d); }
  .mbar .i { font-size: 19px; }
  body { padding-bottom: 72px; }
  .hd-book, .ico-btn.wa { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  html { scroll-padding-top: 76px; }
  .topbar { font-size: 13px; }
  .topbar-in { justify-content: center; min-height: 34px; }
  .tb-side, .tb-long { display: none; }
  .hd-in { height: 66px; gap: 12px; }
  .brand img { height: 40px; }
  .hd.scrolled .brand img { transform: scale(.88); }
  .ico-btn { width: 42px; height: 42px; }
  .sheet { padding: 116px 16px 100px; }

  .hero { min-height: 0; padding: 40px 0 120px; align-items: flex-start; }
  .hero::after { background: linear-gradient(180deg, rgba(7, 27, 46, .7) 0%, rgba(10, 37, 64, .86) 45%, rgba(7, 27, 46, .95) 100%); }
  .hero-bg img { object-position: 60% 30%; }
  .hero h1 { font-size: 2.15rem; margin: 20px 0 16px; }
  .dk { display: none; }
  .h-gold { font-size: .8em; }
  .hero-p { font-size: 16.5px; }
  .hero-cta { margin-top: 26px; gap: 10px; }
  .hero-cta .btn { flex: 1 1 150px; padding: 0 16px; }
  .pill-glass { font-size: 14px; padding: 9px 15px; }

  .care { margin-top: -72px; }
  .care-panel { border-radius: 22px; }
  .care-label { font-size: 15.5px; padding: 11px 20px; }
  .care-card { padding: 24px 20px; gap: 16px; }
  .c1 { padding-top: 40px; border-radius: 22px 22px 0 0; }
  .c3 { border-radius: 0 0 22px 22px; }
  .care-ico { width: 52px; height: 52px; border-radius: 15px; font-size: 25px; }
  .care-card h3 { font-size: 19px; }
  .tags { margin: 6px 0 14px; font-size: 14px; }

  .about { padding: 72px 0; }
  .about-fig { border-radius: 22px; }
  .badge { width: 88px; height: 88px; top: 14px; right: 14px; }
  .badge b { font-size: 22px; }
  .badge small { font-size: 10.5px; }
  .about h2 { font-size: 1.95rem; }
  .about-txt > p:not(.pill) { font-size: 16px; }
  .facts { grid-template-columns: 1fr; gap: 14px; margin: 24px 0 28px; }
  .about-cta .btn { width: 100%; }

  .kicker { font-size: 23px; }
  .sec-head h2 { font-size: 1.95rem; }
  .sec-head > p:last-child { font-size: 16px; }
  .docs { padding-top: 72px; }
  .docs::before { width: 260px; height: 260px; }
  .finder { margin-top: 28px; gap: 16px; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: calc(100% + 32px); margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none;
    -webkit-mask: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .doc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* directors on a phone: one per row, photo beside the name */
  .doc-lead { grid-template-columns: 1fr; gap: 12px; margin-bottom: 34px; }
  /* empty first and last rows share the spare height, so the text sits level with the middle of the photo */
  .doc-lead .doc { display: grid; grid-template-columns: 38% 1fr; grid-template-rows: 1fr auto auto auto 1fr; column-gap: 8px; padding: 8px; }
  .doc-lead .doc-pic { grid-area: 1 / 1 / 6 / 2; }
  .doc-lead .doc h3 { grid-area: 2 / 2; font-size: 18px; margin: 0 4px 8px; }
  .doc-lead .doc-meta { grid-area: 3 / 2; font-size: 13.5px; }
  .doc-lead .doc-meta + .doc-meta { grid-area: 4 / 2; }
  .doc-lead .doc-tag { display: none; } /* it covers the face on a small photo; the "Our directors" label says it */
  .doc { padding: 8px 8px 14px; border-radius: 16px; }
  .doc-pic { border-radius: 11px; }
  .doc-go { width: 38px; height: 38px; left: 8px; bottom: 8px; font-size: 17px; }
  .doc-tag { top: 8px; left: 8px; font-size: 11px; padding: 5px 9px; }
  .doc h3 { font-size: 15.5px; margin: 12px 4px 6px; }
  .doc-meta { font-size: 12.5px; margin: 0 4px; gap: 6px; }
  .doc-meta .i { font-size: 14px; }
  .stats { margin: 52px 0 -70px; padding: 20px 8px; border-radius: 20px; }
  .stats li { grid-template-columns: 46px auto; column-gap: 10px; padding: 2px 8px; justify-content: start; }
  .stats span { width: 46px; height: 46px; font-size: 21px; }
  .stats b { font-size: 26px; }
  .stats small { font-size: 12.5px; }

  .units { padding: 128px 0 64px; }
  .units-band { height: 480px; }
  .unit-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    width: calc(100% + 32px); margin: 32px -16px 0; padding: 0 16px 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .unit-row::-webkit-scrollbar { display: none; }
  .unit { scroll-snap-align: start; }
  .unit:hover { transform: none; }
  .unit-txt { padding: 24px 20px 42px; }
  .unit-txt h3 { font-size: 19px; }
  .unit-txt p { font-size: 14.5px; }

  .depts { padding: 0 0 72px; }
  .dep-cols { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .dep-col { padding: 22px 20px 14px; }

  .emerg { padding: 44px 0; }
  .emerg-in { grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: left; }
  .emerg-ico { width: 60px; height: 60px; font-size: 26px; }
  .emerg-cta { flex-wrap: wrap; }
  .emerg-cta .btn { flex: 1 1 130px; padding: 0 18px; }

  .ft { padding-top: 60px; }
  .ft-grid { grid-template-columns: 1fr; gap: 36px; }
  .ft-col { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  .ft-col h3 { width: 100%; }
  .ft-base { flex-direction: column; margin-top: 40px; }

  .book { width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .book-form { padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); }
  .book h2 { font-size: 25px; }
  .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
