/* =========================================================================
   BHAGIRATHI MEDICAL CENTRE AND HOSPITAL — Home (v2)
   Brand palette sampled from the official logo
   ========================================================================= */
@font-face {
  font-family: "Figtree";
  src: url("../vendor/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../vendor/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --bm-blue: #072696;
  --bm-blue-600: #0A31B8;
  --bm-blue-800: #051B6E;
  --bm-navy: #060F3F;
  --bm-red: #FC2C00;
  --bm-pink: #E3175B;
  --bm-green: #1DA84F;
  --bm-gray: #58595B;
  --wa: #25D366;

  --ink: #0B1442;
  --ink-2: #3B4268;
  --muted: #6B7192;
  --line: #E3E7F5;
  --tint: #EEF2FF;
  --tint-2: #F6F8FE;
  --white: #fff;

  --grad-brand: linear-gradient(135deg, #072696 0%, #1D45D6 55%, #3E64F2 100%);
  --grad-deep: linear-gradient(140deg, #060F3F 0%, #0A1F7A 55%, #072696 100%);
  --grad-accent: linear-gradient(135deg, #E3175B 0%, #FC2C00 100%);
  --grad-soft: radial-gradient(60% 80% at 85% 10%, rgba(62,100,242,.18) 0%, transparent 60%),
               radial-gradient(50% 70% at 10% 90%, rgba(227,23,91,.08) 0%, transparent 60%),
               linear-gradient(180deg, #F3F6FF 0%, #EDF1FF 100%);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(7,38,150,.06);
  --shadow: 0 18px 40px -18px rgba(7,38,150,.28);
  --shadow-lg: 0 40px 80px -30px rgba(7,38,150,.38);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --section-y: clamp(64px, 9vw, 120px);
  --fs-h2: clamp(1.8rem, 1.15rem + 2.4vw, 3.1rem);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
body {
  font-family: "Figtree", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-2); background: var(--white);
  font-size: 1rem; line-height: 1.65;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
h1,h2,h3,h4,h5 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
a { color: var(--bm-blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--bm-pink); }
img { max-width: 100%; display: block; }
button { font: inherit; }
::selection { background: var(--bm-blue); color: #fff; }
:focus-visible { outline: 3px solid rgba(227,23,91,.55); outline-offset: 3px; border-radius: 6px; }

.container-xl { max-width: 1240px; padding-left: clamp(16px, 4vw, 24px); padding-right: clamp(16px, 4vw, 24px); }
.section { padding: var(--section-y) 0; position: relative; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-title { font-size: var(--fs-h2); margin-bottom: 1rem; }
.section-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.text-white em, .section-title.text-white em { background: linear-gradient(90deg, #FF8FB1, #FF8A5C); -webkit-background-clip: text; background-clip: text; }
.lead-copy { font-size: 1.08rem; color: var(--ink-2); }
.copy { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .8rem .3rem .3rem; margin-bottom: 1.1rem;
  background: var(--tint); border: 1px solid #DCE3FF; border-radius: 99px;
  font-size: .78rem; font-weight: 600; color: var(--bm-blue);
}
.eyebrow > span { background: #fff; padding: .15rem .6rem; border-radius: 99px; box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 700; }
.eyebrow i { font-size: .8rem; }
.eyebrow--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.eyebrow--light > span { background: rgba(255,255,255,.95); }

/* ---------- Buttons ---------- */
.btn-bm {
  --btn-bg: var(--bm-blue); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .7rem .7rem .7rem 1.3rem; border-radius: 99px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .93rem; line-height: 1; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), color .3s;
  box-shadow: 0 10px 24px -10px rgba(7,38,150,.6);
}
.btn-bm::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-accent); transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn-bm:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(227,23,91,.6); }
.btn-bm:hover::before { transform: translateY(0); }
.btn-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--bm-blue); font-size: .85rem; transition: transform .45s var(--ease-out), color .3s; flex-shrink: 0; }
.btn-bm:hover .btn-ico { transform: rotate(45deg); color: var(--bm-pink); }
.btn-bm--lg { padding: .85rem .85rem .85rem 1.6rem; font-size: 1rem; }
.btn-bm--lg .btn-ico { width: 36px; height: 36px; }
.btn-bm--white { --btn-bg: #fff; --btn-fg: var(--bm-blue); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.btn-bm--white .btn-ico { background: var(--bm-blue); color: #fff; }
.btn-bm--outline { --btn-bg: transparent; --btn-fg: var(--bm-blue); box-shadow: none; border: 1.5px solid #CBD4F5; }
.btn-bm--outline .btn-ico { background: var(--bm-blue); color: #fff; }

.link-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .88rem; color: var(--bm-blue); }
.link-more i { width: 22px; height: 22px; border-radius: 50%; background: var(--bm-blue); color: #fff; display: grid; place-items: center; font-size: .65rem; transition: transform .35s var(--ease-out), background .3s; }
.link-more:hover i { transform: rotate(45deg); background: var(--bm-pink); }

/* ---------- Skeleton / media ---------- */
.media { position: relative; overflow: hidden; background: #E9EDFA; }
.media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease-out); }
.media.is-loaded img { opacity: 1; transform: scale(1); }
.skeleton::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.6) 50%, transparent 80%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite; transition: opacity .5s;
}
.media.is-loaded::after { opacity: 0; animation: none; }
.media.is-error { background: linear-gradient(135deg, #DDE5FF, #F6E3EC); }
.media.is-error::before { content: "\F4DA"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: rgba(7,38,150,.25); }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* ---------- Page loader ---------- */
.page-loader { position: fixed; inset: 0; z-index: 9999; background: #fff; display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s, clip-path .9s var(--ease-out); clip-path: inset(0 0 0 0); }
.page-loader.is-done { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); }
.loader-inner { text-align: center; padding: 0 24px; }
.loader-emblem { position: relative; width: 120px; height: 120px; margin: 0 auto 18px; display: grid; place-items: center; }
.loader-emblem img { width: 72px; height: 72px; animation: beat 1.3s var(--ease) infinite; }
.loader-ring { position: absolute; inset: 0; transform: rotate(-90deg); animation: spin 1.6s linear infinite; }
.loader-ring circle { fill: none; stroke: var(--bm-blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 90 260; }
.loader-name { font-weight: 800; color: var(--bm-blue); font-size: 1.35rem; letter-spacing: .08em; text-transform: uppercase; }
.loader-name span { display: block; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--bm-gray); font-size: .92rem; margin-top: 2px; }
.loader-bar { width: 200px; height: 3px; background: var(--tint); border-radius: 3px; margin: 18px auto 10px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--grad-accent); transition: width .3s var(--ease); }
.loader-ecg { width: 160px; height: 30px; margin: 0 auto; }
.loader-ecg polyline { fill: none; stroke: var(--bm-green); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: ecg 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(270deg); } }
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.1); } 30% { transform: scale(.98); } 45% { transform: scale(1.06); } }
@keyframes ecg { to { stroke-dashoffset: -300; } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1100; background: var(--grad-accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Topbar ---------- */
.topbar { background: var(--bm-navy); color: rgba(255,255,255,.8); font-size: .82rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar i { color: #8EA6FF; margin-right: .25rem; }
.topbar-emergency strong { color: #fff; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bm-red); margin-right: .5rem; box-shadow: 0 0 0 0 rgba(252,44,0,.7); animation: pulse 1.8s infinite; vertical-align: middle; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(252,44,0,0); } 100% { box-shadow: 0 0 0 0 rgba(252,44,0,0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; padding: 12px 0; background: linear-gradient(180deg, #fff 55%, rgba(255,255,255,0)); transition: transform .45s var(--ease-out), padding .35s var(--ease); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-scrolled { padding: 8px 0; background: transparent; }
.nav-pill {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(220,227,255,.95); border-radius: 99px;
  padding: 9px 9px 9px 22px; min-height: 68px;
  box-shadow: 0 10px 30px -18px rgba(7,38,150,.35); transition: box-shadow .35s;
}
.site-header.is-scrolled .nav-pill { box-shadow: 0 18px 44px -18px rgba(7,38,150,.45); }
.brand { flex: 0 0 auto; display: block; line-height: 0; }
.brand img { height: 44px; width: auto; max-width: none; aspect-ratio: 1539 / 269; object-fit: contain; }
.main-menu { list-style: none; margin: 0; padding: 0; gap: .15rem; align-items: center; }
.main-menu > li { position: relative; }
.main-menu > li.has-drop--mega { position: static; }
.main-menu > li > a { white-space: nowrap; display: flex; align-items: center; gap: .3rem; padding: .6rem .85rem; font-size: .93rem; font-weight: 600; color: var(--ink); border-radius: 99px; transition: background .25s, color .25s; }
.main-menu > li > a i { font-size: .62rem; transition: transform .35s var(--ease-out); }
.main-menu > li > a:hover, .main-menu > li.active > a, .main-menu > li.has-drop:hover > a { color: var(--bm-blue); background: var(--tint); }
.main-menu > li.has-drop:hover > a i { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.menu-toggle { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bm-blue); display: grid; place-content: center; gap: 4px; flex-shrink: 0; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: width .3s; }
.menu-toggle span:nth-child(2) { width: 12px; margin-left: auto; }
.menu-toggle:hover span:nth-child(2) { width: 18px; }

/* Dropdowns */
.drop {
  position: absolute; top: calc(100% + 12px); z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 70px -25px rgba(6,15,63,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: top center;
  transition: opacity .3s var(--ease), transform .45s var(--ease-out), visibility .3s;
}
.drop::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.drop--mega { left: 50%; width: min(820px, calc(100vw - 48px)); margin-left: calc(min(820px, calc(100vw - 48px)) / -2); display: grid; grid-template-columns: 1fr 250px; padding: 10px; gap: 10px; }
.dm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px; }
.dm-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 4px 10px 10px; margin-bottom: 4px; border-bottom: 1px dashed var(--line); }
.dm-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dm-all { font-size: .82rem; font-weight: 700; }
.dm-item, .dl-item { display: flex; align-items: center; gap: .8rem; padding: .65rem .7rem; border-radius: 14px; color: var(--ink); transition: background .25s, transform .3s var(--ease-out); }
.dm-item strong, .dl-item strong { display: block; font-size: .9rem; font-weight: 700; line-height: 1.25; }
.dm-item small, .dl-item small { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; line-height: 1.3; }
.dm-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--bm-blue); font-size: 1.05rem; flex-shrink: 0; transition: all .35s var(--ease-out); }
.dm-item:hover, .dl-item:hover { background: var(--tint-2); color: var(--ink); transform: translateX(3px); }
.dm-item:hover .dm-ico, .dl-item:hover .dm-ico { background: var(--grad-accent); color: #fff; transform: rotate(-8deg); }
.dm-promo { position: relative; overflow: hidden; border-radius: 16px; padding: 1.3rem; background: var(--grad-deep); color: rgba(255,255,255,.8); display: flex; flex-direction: column; }
.dm-promo::after { content: "\F4FA"; font-family: "bootstrap-icons"; position: absolute; right: -24px; bottom: -40px; font-size: 9rem; line-height: 1; color: rgba(255,255,255,.06); }
.dm-promo-badge { display: inline-flex; align-items: center; align-self: flex-start; padding: .25rem .7rem; border-radius: 99px; background: rgba(255,255,255,.12); color: #fff; font-size: .72rem; font-weight: 700; margin-bottom: .9rem; }
.dm-promo h4 { color: #fff; font-size: 1.15rem; margin-bottom: .4rem; }
.dm-promo p { font-size: .84rem; margin-bottom: 1rem; }
.dm-promo-call { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: 12px; background: #fff; color: var(--bm-blue); font-weight: 800; font-size: .92rem; margin-bottom: .7rem; position: relative; z-index: 1; }
.dm-promo-call i { color: var(--bm-red); }
.dm-promo-link { color: #fff; font-weight: 600; font-size: .85rem; margin-top: auto; position: relative; z-index: 1; }
.dm-promo-link:hover { color: #FF9DBA; }
.drop--list { left: 50%; width: 300px; margin-left: -150px; padding: 8px; }
.dl-item { position: relative; }
.dl-arrow { margin-left: auto; font-size: .85rem; color: var(--bm-pink); opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease-out); }
.dl-item:hover .dl-arrow { opacity: 1; transform: none; }

/* Mobile menu */
.mobile-menu { width: min(380px, 88vw) !important; border-left: 0; }
.mobile-menu .offcanvas-body { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--line); padding: 18px 20px; }
.mm-logo { height: 34px; width: auto; max-width: none; }
.mm-list { list-style: none; padding: 0; margin: 0; }
.mm-list > li { border-bottom: 1px solid var(--line); }
.mm-list > li > a, .mm-acc { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .95rem .2rem; font-weight: 600; color: var(--ink); background: none; border: 0; font-size: 1.02rem; text-align: left; }
.mm-acc i { transition: transform .3s; color: var(--bm-blue); }
.mm-acc[aria-expanded="true"] i { transform: rotate(45deg); }
.mm-sub { display: grid; gap: 2px; padding: 0 0 .8rem; }
.mm-sub a { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 12px; color: var(--ink-2); font-size: .94rem; font-weight: 500; }
.mm-sub a i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--bm-blue); }
.mm-sub a:hover { background: var(--tint-2); }
.mm-contact { margin-top: 1.5rem; display: grid; gap: .6rem; }
.mm-contact a { display: flex; gap: .8rem; align-items: center; padding: .75rem .9rem; border-radius: 14px; background: var(--tint-2); color: var(--ink); font-weight: 600; }
.mm-contact a > i { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--bm-blue); display: grid; place-items: center; flex-shrink: 0; }
.mm-contact small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }

/* ---------- Hero (video only) ---------- */
.hero { padding: 0 clamp(8px, 1.2vw, 16px); }
.hero-stage {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - 132px);
  min-height: 210px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bm-navy); isolation: isolate;
  box-shadow: 0 40px 80px -40px rgba(6,15,63,.6);
}
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); overflow: hidden; pointer-events: none; }
.hero-video.is-ready { opacity: 1; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; border: 0; width: 100%; height: 100%; transform: translate(-50%, -50%); }
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(6,15,63,.45) 0%, transparent 28%); }
.hero-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; z-index: 3; }
.play-ring { position: relative; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .4s var(--ease-out); }
.play-ring::before, .play-ring::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); animation: ripple 2.4s var(--ease) infinite; }
.play-ring::after { animation-delay: 1.2s; }
.hero-play:hover .play-ring { background: var(--bm-pink); transform: scale(1.06); }
@keyframes ripple { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero-controls { position: absolute; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 3; display: flex; gap: 8px; }
.hero-controls[hidden], .hero-play[hidden] { display: none; }
.hc-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(6,15,63,.35); color: #fff; font-size: 1.15rem; display: grid; place-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .3s var(--ease-out); }
.hc-btn:hover { background: var(--bm-pink); transform: scale(1.06); }
.scroll-cue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Quick access ---------- */
.quick { position: relative; z-index: 5; margin-top: -54px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 10px; background: rgba(255,255,255,.75); border: 1px solid #fff; border-radius: 26px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
.qa-card { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
a.qa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); border-color: #CBD4F5; }
.qa-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; background: var(--tint); color: var(--bm-blue); flex-shrink: 0; transition: transform .45s var(--ease-out); }
a.qa-card:hover .qa-ico { transform: rotate(-8deg) scale(1.06); }
.qa-text small { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; }
.qa-text strong { display: block; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.qa-arrow { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-2); color: var(--bm-blue); font-size: .85rem; transition: all .35s var(--ease-out); }
a.qa-card:hover .qa-arrow { background: var(--bm-blue); color: #fff; }
.qa-card--primary { background: var(--grad-brand); border-color: transparent; color: #fff; }
.qa-card--primary:hover { color: #fff !important; }
.qa-card--primary .qa-ico { background: rgba(255,255,255,.16); color: #fff; }
.qa-card--primary .qa-text small { color: rgba(255,255,255,.75); }
.qa-card--primary .qa-arrow { background: #fff; }
.qa-card--alert .qa-ico { background: #FFECE6; color: var(--bm-red); }
.qa-card--nabh img { width: 64px; height: auto; flex-shrink: 0; }
.qa-card--nabh .qa-text strong { color: var(--bm-green); }

/* ---------- About ---------- */
.about { padding-top: calc(var(--section-y) - 20px); }
.about-visual { position: relative; padding: 0 12% 14% 0; }
.av-main { border-radius: var(--radius-lg); aspect-ratio: 5/6; box-shadow: var(--shadow-lg); }
.av-sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.av-badge { position: absolute; left: -10px; bottom: 22%; display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 18px; padding: .8rem 1.1rem .8rem .8rem; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.av-badge-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-accent); color: #fff; display: grid; place-items: center; font-size: 1.25rem; }
.av-badge strong { display: block; font-size: 1.1rem; color: var(--ink); line-height: 1.1; }
.av-badge small { display: block; color: var(--muted); font-size: .78rem; }
.av-nabh { position: absolute; top: -16px; right: 6%; background: #fff; border-radius: 18px; padding: 10px 12px; box-shadow: var(--shadow); }
.av-nabh img { width: 70px; height: auto; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 2rem 0; }
.as-item { padding: 1.05rem .9rem; border-radius: 16px; background: var(--tint-2); border: 1px solid var(--line); transition: background .3s, transform .4s var(--ease-out); }
.as-item:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.as-num { font-family: "Figtree", sans-serif; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 800; color: var(--bm-blue); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; margin-bottom: .35rem; }
.as-num sup { font-size: .55em; top: -.55em; color: var(--bm-pink); margin: 0 .03em; }
.as-label { font-size: .84rem; color: var(--muted); line-height: 1.3; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.about-call { display: flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 800; }
.about-call > i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--bm-blue); font-size: 1.2rem; }
.about-call small { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { background: var(--bm-navy); overflow: hidden; padding: 1.05rem 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bm-navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bm-navy), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: .8rem; padding: 0 1.4rem; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(.88rem, .8rem + .4vw, 1.05rem); white-space: nowrap; }
.marquee-track i { color: #fff; background: var(--grad-accent); width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Departments ---------- */
.departments { background: var(--grad-soft); overflow: hidden; }
.dept-swiper, .doc-swiper { padding: 6px clamp(16px, 4vw, 24px) 14px; overflow: visible; }
@media (min-width: 1240px) { .dept-swiper, .doc-swiper { padding-left: calc((100vw - 1240px) / 2 + 24px); padding-right: calc((100vw - 1240px) / 2 + 24px); } }
.dept-card { height: auto; background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid #fff; transition: transform .5s var(--ease-out), box-shadow .5s; }
.dept-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.dc-media { aspect-ratio: 16/11; margin: 8px 8px 0; border-radius: 16px; }
.dc-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(6,15,63,.35)); opacity: 0; transition: opacity .5s; }
.dept-card:hover .dc-media::before { opacity: 1; }
.dept-card:hover .dc-media.is-loaded img { transform: scale(1.08); }
.dc-body { position: relative; padding: 2.1rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.dc-icon { position: absolute; top: -26px; left: 1.4rem; z-index: 2; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--bm-blue); display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 10px 24px -10px rgba(7,38,150,.45); transition: all .45s var(--ease-out); }
.dept-card:hover .dc-icon { background: var(--grad-accent); color: #fff; transform: rotate(-8deg) translateY(-3px); }
.dc-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.dc-body p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; flex: 1; }
.slider-bar { position: relative !important; left: auto !important; bottom: auto !important; width: 100% !important; height: 5px !important; background: rgba(7,38,150,.08) !important; border-radius: 6px; margin-top: 2rem; }
.slider-bar .swiper-scrollbar-drag { background: var(--grad-brand); border-radius: 6px; }
.slider-arrows { display: flex; gap: .6rem; }
.sa-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid #CBD4F5; background: #fff; color: var(--bm-blue); font-size: 1.1rem; display: grid; place-items: center; transition: all .3s var(--ease); }
.sa-btn:hover { background: var(--bm-blue); color: #fff; border-color: var(--bm-blue); }
.sa-btn.swiper-button-disabled { opacity: .4; pointer-events: none; }

/* ---------- Why ---------- */
.why-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.why-card { display: flex; gap: 1.1rem; padding: 1.8rem; background: var(--tint-2); border: 1px solid var(--line); border-radius: var(--radius); transition: background .4s, transform .5s var(--ease-out), box-shadow .4s; }
.why-card:hover { background: #fff; transform: translateY(-6px); box-shadow: var(--shadow); }
.wc-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--bm-blue); display: grid; place-items: center; font-size: 1.45rem; box-shadow: var(--shadow-sm); transition: all .4s; }
.why-card:hover .wc-icon { background: var(--bm-blue); color: #fff; }
.why-card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.why-card p { margin: 0; font-size: .93rem; color: var(--muted); }
.why-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px #fff, var(--shadow); display: grid; place-items: center; }
.why-center img { width: 62px; height: 62px; animation: spinSlow 18s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Numbers ---------- */
.numbers { position: relative; padding: clamp(64px, 8vw, 100px) 0; background: var(--bm-navy); overflow: hidden; }
.numbers-bg { position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(62,100,242,.55), transparent 60%), radial-gradient(40% 70% at 0% 100%, rgba(227,23,91,.35), transparent 60%), linear-gradient(135deg, #060F3F, #072696); }
.numbers-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num-item { padding: 1.5rem 1.2rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .4s, transform .5s var(--ease-out); }
.num-item:hover { background: rgba(255,255,255,.13); transform: translateY(-6px); }
.num-item > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font-size: 1.2rem; margin-bottom: 1rem; }
.num-val { color: #fff; font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: .25rem; font-variant-numeric: tabular-nums; }
.num-val sup { font-size: .55em; top: -.6em; color: #FF8FB1; }
.num-label { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ---------- Facilities (interactive showcase) ---------- */
.facilities { background: #fff; }
.fac-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: stretch; }
.fac-list { display: flex; flex-direction: column; gap: 8px; }
.fac-tab { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: .8rem .9rem; border-radius: 18px; border: 1px solid var(--line); background: var(--tint-2); color: var(--ink); position: relative; overflow: hidden; transition: background .35s, border-color .35s, transform .4s var(--ease-out), box-shadow .35s; }
.fac-tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad-brand); z-index: 0; transition: width .5s var(--ease-out); }
.fac-tab > * { position: relative; z-index: 1; }
.fac-tab:hover { border-color: #CBD4F5; transform: translateX(4px); }
.fac-tab.is-active { color: #fff; border-color: transparent; box-shadow: 0 16px 30px -16px rgba(7,38,150,.6); }
.fac-tab.is-active::before { width: 100%; }
.ft-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--bm-blue); font-size: 1.15rem; flex-shrink: 0; transition: all .35s; }
.fac-tab.is-active .ft-ico { background: rgba(255,255,255,.16); color: #fff; }
.ft-text strong { display: block; font-size: .98rem; font-weight: 700; }
.ft-text small { display: block; font-size: .78rem; color: var(--muted); transition: color .35s; }
.fac-tab.is-active .ft-text small { color: rgba(255,255,255,.75); }
.ft-arrow { margin-left: auto; opacity: .35; transition: all .35s var(--ease-out); }
.fac-tab.is-active .ft-arrow { opacity: 1; transform: translateX(3px); }
.fac-stage { position: relative; min-height: 560px; border-radius: var(--radius-lg); overflow: hidden; background: var(--bm-navy); box-shadow: var(--shadow-lg); }
.fac-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.fac-panel.is-active { opacity: 1; visibility: visible; }
.fp-media { position: absolute; inset: 0; background: #1a2560; }
.fp-media img { transform: scale(1.1); transition: opacity .7s var(--ease), transform 6s var(--ease-out); }
.fac-panel.is-active .fp-media.is-loaded img { transform: scale(1.02); }
.fp-media::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6,15,63,0) 35%, rgba(6,15,63,.88) 100%); }
.fp-media--art { display: grid; place-items: center; background: radial-gradient(60% 60% at 70% 30%, rgba(227,23,91,.45), transparent 70%), radial-gradient(60% 60% at 20% 80%, rgba(29,168,79,.35), transparent 70%), var(--grad-deep); }
.fp-media--art i { font-size: clamp(8rem, 18vw, 14rem); color: rgba(255,255,255,.12); animation: spinSlow 40s linear infinite; }
.fp-body { position: absolute; left: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 3; color: rgba(255,255,255,.85); max-width: 560px; transform: translateY(20px); opacity: 0; transition: transform .7s var(--ease-out) .15s, opacity .6s var(--ease) .15s; }
.fac-panel.is-active .fp-body { transform: none; opacity: 1; }
.fp-tag { display: inline-flex; align-items: center; padding: .3rem .8rem; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .03em; margin-bottom: .9rem; }
.fp-body h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-bottom: .6rem; }
.fp-body p { font-size: 1rem; margin-bottom: 1.1rem; }
.fp-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem; border-radius: 99px; background: #fff; color: var(--bm-blue); font-weight: 800; }
.fp-btn i { color: var(--bm-red); }
.fp-btn:hover { color: var(--bm-pink); }

/* ---------- Care journey ---------- */
.journey { background: var(--tint-2); overflow: hidden; }
.jr-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.jr-line { position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, #C8D1F2 0 8px, transparent 8px 14px); }
.jr-line span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--grad-accent); border-radius: 2px; transition: width .2s linear; }
.jr-step { position: relative; display: flex; flex-direction: column; align-items: center; }
.jr-dot { position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid #DCE3FF; display: grid; place-items: center; font-weight: 800; color: var(--bm-blue); margin-bottom: 22px; transition: all .5s var(--ease-out); box-shadow: 0 0 0 8px var(--tint-2); }
.jr-step.is-lit .jr-dot { background: var(--grad-accent); border-color: transparent; color: #fff; transform: scale(1.05); }
.jr-card { width: 100%; flex: 1; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s; }
.jr-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.jr-media { aspect-ratio: 4/3; margin: 8px 8px 0; border-radius: 16px; }
.jr-card:hover .jr-media.is-loaded img { transform: scale(1.07); }
.jr-body { position: relative; padding: 2rem 1.3rem 1.4rem; }
.jr-ico { position: absolute; top: -24px; right: 1.2rem; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-size: 1.2rem; box-shadow: 0 12px 24px -10px rgba(7,38,150,.6); z-index: 2; }
.jr-body h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.jr-body p { font-size: .9rem; color: var(--muted); margin: 0; }
.jr-body p a { font-weight: 700; white-space: nowrap; }

/* ---------- Doctors ---------- */
.doctors { overflow: hidden; }
.doc-card { height: auto; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s; }
.doc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.doc-photo { position: relative; aspect-ratio: 1/1.05; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; margin: 8px 8px 0; border-radius: 16px; }
.doc-photo::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); transition: transform .9s var(--ease-out); background: linear-gradient(var(--cross) 0 0) center / 32% 100% no-repeat, linear-gradient(var(--cross) 0 0) center / 100% 32% no-repeat; border-radius: 40px; filter: blur(.3px); }
.doc-card--m .doc-photo { --cross: rgba(7,38,150,.09); background: radial-gradient(80% 70% at 50% 30%, #E7EDFF, #F6F8FF 70%); }
.doc-card--f .doc-photo { --cross: rgba(227,23,91,.09); background: radial-gradient(80% 70% at 50% 30%, #FFE7EF, #FFF6F9 70%); }
.doc-card:hover .doc-photo::before { transform: translate(-50%, -50%) rotate(90deg); }
.doc-photo img { position: relative; width: 82%; height: auto; transition: transform .6s var(--ease-out); }
.doc-card:hover .doc-photo img { transform: translateY(-6px) scale(1.03); }
.doc-book { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; justify-content: center; align-items: center; gap: .4rem; padding: .65rem; border-radius: 12px; background: rgba(7,38,150,.92); color: #fff; font-weight: 700; font-size: .86rem; backdrop-filter: blur(6px); transform: translateY(130%); transition: transform .45s var(--ease-out), background .3s; }
.doc-card:hover .doc-book, .doc-book:focus { transform: none; color: #fff; }
.doc-book:hover { background: var(--bm-pink); color: #fff; }
.doc-info { padding: 1rem 1.1rem 1.25rem; }
.doc-spec { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--bm-blue); background: var(--tint); padding: .25rem .65rem; border-radius: 99px; margin-bottom: .55rem; }
.doc-card--f .doc-spec { color: var(--bm-pink); background: #FFEEF3; }
.doc-info h3 { font-size: 1.08rem; margin: 0; }

/* ---------- Testimonials (endless wall) ---------- */
.testimonials { background: var(--grad-soft); overflow: hidden; }
.testi-stats { display: flex; align-items: stretch; gap: 10px; justify-content: flex-end; }
.tst-item { flex: 1; max-width: 200px; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid #fff; box-shadow: var(--shadow-sm); }
.tst-item strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; color: var(--bm-blue); letter-spacing: -.03em; line-height: 1; margin-bottom: .3rem; font-variant-numeric: tabular-nums; }
.tst-item > span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.tst-link { flex: 0 0 64px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-size: 1.3rem; transition: transform .4s var(--ease-out), background .3s; }
.tst-link:hover { color: #fff; transform: translateY(-3px) rotate(-6deg); }
.testi-wall { position: relative; display: grid; gap: 20px; padding: 10px 0 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tw-row { overflow: hidden; padding: 8px 0 16px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tw-row.is-dragging { cursor: grabbing; }
.tw-row.is-dragging .tw-card { pointer-events: none; }
.tw-track { display: flex; width: max-content; will-change: transform; }
.tw-card {
  flex: 0 0 auto; width: clamp(290px, 30vw, 380px); margin-right: 20px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 1rem; text-align: left;
  padding: 1.5rem; border-radius: 22px; border: 1px solid #fff; background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(7,38,150,.3); color: var(--ink);
  transition: transform .5s var(--ease-out), box-shadow .5s, background .3s; cursor: pointer;
}
.tw-card img { -webkit-user-drag: none; }
.tw-card:hover, .tw-card:focus-visible { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow); }
.twc-top { display: flex; align-items: center; gap: .8rem; }
.twc-who strong { display: block; font-size: 1rem; line-height: 1.2; }
.twc-who small { display: block; font-size: .8rem; color: var(--muted); }
.twc-q { margin-left: auto; font-size: 2.4rem; line-height: 1; color: #E3E9FF; transition: color .3s, transform .5s var(--ease-out); }
.tw-card:hover .twc-q { color: var(--bm-pink); transform: rotate(-8deg) scale(1.1); }
.twc-text { font-size: .98rem; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.6em * 4); }
.twc-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); }
.twc-more { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 700; color: var(--bm-blue); opacity: .6; transition: opacity .3s, transform .4s var(--ease-out); }
.tw-card:hover .twc-more { opacity: 1; transform: translateX(3px); }
.tc-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 99px; background: var(--tint); color: var(--bm-blue); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.tc-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem; flex-shrink: 0; background: var(--grad-brand); }
.tc-av.g2 { background: var(--grad-accent); }
.tc-av.g3 { background: linear-gradient(135deg, #1DA84F, #0E8A3D); }
.tc-av.g4 { background: linear-gradient(135deg, #FC8A00, #FC2C00); }
.tc-av.g5 { background: linear-gradient(135deg, #7C3AED, #3E64F2); }
.tc-verified { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--bm-green); background: #E8F7EE; padding: .3rem .7rem; border-radius: 99px; }
.testi-foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; font-size: .85rem; color: var(--muted); }
.review-modal .modal-content { position: relative; border: 0; border-radius: 26px; padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-lg); overflow: hidden; }
.rm-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); z-index: 2; }
.rm-q { position: absolute; right: 70px; top: 6px; font-size: 7rem; line-height: 1; color: #EEF2FF; }
.review-modal .tc-tag { position: relative; align-self: flex-start; margin-bottom: 1.2rem; }
.review-modal blockquote { position: relative; font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); line-height: 1.55; color: var(--ink); font-weight: 500; margin: 0 0 1.6rem; }
.rm-person { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.rm-person strong { display: block; color: var(--ink); }
.rm-person small { display: block; color: var(--muted); font-size: .82rem; }
.rm-person .tc-verified { margin-left: auto; }

/* ---------- Blog ---------- */
.blog-card { height: 100%; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.bc-media { display: block; aspect-ratio: 16/10; margin: 8px 8px 0; border-radius: 16px; }
.blog-card:hover .bc-media.is-loaded img { transform: scale(1.06); }
.bc-cat { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: .3rem .7rem; border-radius: 99px; font-weight: 800; color: var(--bm-blue); text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; }
.bc-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.bc-meta { font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.bc-body h3 { font-size: 1.15rem; line-height: 1.32; margin-bottom: .6rem; }
.bc-body h3 a { color: var(--ink); background: linear-gradient(currentColor 0 0) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.bc-body h3 a:hover { color: var(--bm-blue); background-size: 100% 1.5px; }
.bc-body p { font-size: .9rem; color: var(--muted); flex: 1; }

/* ---------- Appointment ---------- */
.appt { padding: 0 0 var(--section-y); }
.appt-box { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; background: var(--grad-deep); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); padding: clamp(28px, 5vw, 64px); color: rgba(255,255,255,.8); }
.appt-glow { position: absolute; z-index: -1; border-radius: 50%; }
.appt-glow--a { width: 520px; height: 520px; right: -140px; top: -220px; background: radial-gradient(circle, rgba(227,23,91,.5), transparent 65%); }
.appt-glow--b { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(29,168,79,.4), transparent 65%); }
.appt-ecg { position: absolute; z-index: -1; left: 0; right: 0; top: 46%; width: 100%; height: 120px; }
.appt-ecg polyline { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ecgLong 5s linear infinite; }
@keyframes ecgLong { to { stroke-dashoffset: -1400; } }
.appt-left h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); margin-bottom: .9rem; max-width: 15ch; }
.appt-left h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; background: linear-gradient(90deg, #FF8FB1, #FF8A5C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.appt-left > p { max-width: 460px; margin-bottom: 1.6rem; }
.appt-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.8rem; }
.ac-item { display: flex; flex-direction: column; gap: .7rem; padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .3s, transform .4s var(--ease-out); }
.ac-item:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-4px); }
.ac-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.14); font-size: 1.15rem; }
.ac-ico--wa { background: var(--wa); }
.ac-ico--sos { background: var(--grad-accent); }
.ac-item small { display: block; font-size: .74rem; color: rgba(255,255,255,.65); }
.ac-item strong { display: block; font-size: .95rem; font-weight: 800; white-space: nowrap; }
.appt-right { position: relative; min-height: 420px; }
.appt-photo { position: absolute; inset: 0; border-radius: 24px; border: 6px solid rgba(255,255,255,.12); }
.appt-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .7rem; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); animation: floaty 6s ease-in-out infinite; }
.appt-float strong { display: block; font-size: .95rem; line-height: 1.2; }
.appt-float small { display: block; font-size: .76rem; color: var(--muted); }
.appt-float--top { top: 22px; left: -22px; }
.appt-float--bottom { bottom: 22px; right: -14px; animation-delay: -3s; }
.af-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--bm-blue); font-size: 1.2rem; }
.appt-float img { width: 52px; height: auto; }
.appt-float--bottom strong { color: var(--bm-green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bm-navy); color: rgba(255,255,255,.7); padding: clamp(56px, 7vw, 88px) 0 0; position: relative; overflow: hidden; font-size: .93rem; }
.site-footer::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(62,100,242,.25), transparent 65%); }
.f-pulse { position: absolute; top: 0; left: 0; right: 0; height: 60px; opacity: .5; }
.f-pulse svg { width: 100%; height: 100%; }
.f-pulse polyline { fill: none; stroke: var(--bm-pink); stroke-width: 1.5; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ecgFoot 6s linear infinite; }
@keyframes ecgFoot { to { stroke-dashoffset: -1600; } }
.site-footer .container-xl { position: relative; }
.f-logo { height: 48px; width: auto; max-width: none; margin-bottom: 1.2rem; }
.f-about { max-width: 360px; }
.f-nabh { display: inline-flex; align-items: center; gap: .8rem; padding: .7rem 1rem .7rem .7rem; background: #fff; border-radius: 16px; color: var(--ink-2); font-size: .85rem; line-height: 1.3; margin-top: .4rem; }
.f-nabh img { width: 64px; height: auto; }
.f-nabh strong { color: var(--bm-green); }
.f-nabh small { display: block; color: var(--muted); }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--grad-accent); }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.f-links a { color: rgba(255,255,255,.7); display: inline-flex; align-items: center; transition: color .3s; }
.f-links a i { display: inline-grid; place-items: center; width: 0; height: 22px; margin-right: 0; border-radius: 7px; overflow: hidden; opacity: 0; font-size: .72rem; color: #fff; background: var(--grad-accent); transform: scale(.3) rotate(-120deg); transition: width .4s var(--ease-out), margin .4s var(--ease-out), opacity .3s, transform .5s var(--ease-out); }
.f-links a:hover { color: #fff; }
.f-links a:hover i { width: 22px; margin-right: .55rem; opacity: 1; transform: none; }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.f-contact li { display: flex; gap: .8rem; }
.f-contact li > i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); color: #8EA6FF; display: grid; place-items: center; flex-shrink: 0; transition: all .3s; }
.f-contact li:hover > i { background: var(--grad-accent); color: #fff; }
.f-contact small { display: block; font-size: .74rem; color: rgba(255,255,255,.5); }
.f-contact a { color: #fff; font-weight: 600; }
.f-contact a:hover { color: #FF8BAE; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 96px 1.5rem 0; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.f-credit { display: inline-flex; align-items: center; gap: .8rem; padding: .45rem .5rem .45rem 1rem; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.65); transition: background .3s, border-color .3s; }
.f-credit:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.fc-label { font-size: .78rem; white-space: nowrap; }
.f-credit img { height: 40px; width: auto; max-width: none; }

/* ---------- 24×7 Ambulance side tab (right middle) ---------- */
.sos-tab {
  position: fixed; right: 0; top: 50%; z-index: 996;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: 1rem .55rem 1.1rem; border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #FF4A1C 0%, #D10F45 100%); color: #fff;
  box-shadow: -10px 16px 36px -14px rgba(209,15,69,.7);
  transform: translate(110%, -50%); transition: transform .6s var(--ease-out), padding .4s var(--ease-out);
}
.sos-tab.is-visible { transform: translate(0, -50%); }
.sos-tab:hover, .sos-tab:focus-visible { color: #fff; padding-right: .85rem; }
.st-beacon { position: relative; width: 22px; height: 10px; border-radius: 6px 6px 2px 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.st-beacon span { position: absolute; inset: 0; animation: beaconTab .7s steps(1) infinite; }
@keyframes beaconTab { 0% { background: #FF2D2D; box-shadow: 0 0 12px 4px rgba(255,45,45,.9); } 50% { background: #3B82F6; box-shadow: 0 0 12px 4px rgba(59,130,246,.9); } }
.st-ico { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--bm-red); font-size: 1.25rem; }
.st-ico::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: waPing 1.8s var(--ease) infinite; }
.st-ico i { animation: drive 1.2s ease-in-out infinite; }
.st-text { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.st-panel { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(12px, -50%); opacity: 0; visibility: hidden; padding: .9rem 1.1rem; border-radius: 16px; background: #fff; color: var(--ink); white-space: nowrap; box-shadow: 0 24px 50px -20px rgba(6,15,63,.5); border: 1px solid var(--line); transition: all .4s var(--ease-out); pointer-events: none; }
.st-panel::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; background: #fff; border-right: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.st-panel small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }
.st-panel strong { display: block; font-size: 1.15rem; color: var(--bm-red); font-weight: 800; letter-spacing: -.01em; }
.st-panel em { display: block; font-style: normal; font-size: .74rem; color: var(--bm-blue); font-weight: 700; margin-top: .15rem; }
.sos-tab:hover .st-panel, .sos-tab:focus-visible .st-panel { opacity: 1; visibility: visible; transform: translate(0, -50%); }

/* ---------- Care dock: WhatsApp + back to top (bottom right) ---------- */
.care-dock { position: fixed; right: 20px; bottom: 22px; z-index: 995; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transform: translateX(140%); transition: transform .6s var(--ease-out); }
.care-dock.is-visible { transform: none; }
.cd-btn { display: flex; align-items: center; gap: 10px; color: #fff; }
.cd-btn:hover { color: #fff; }
.cd-label { display: flex; flex-direction: column; justify-content: center; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; padding: 0; height: 46px; border-radius: 99px; font-weight: 700; font-size: .9rem; background: var(--wa); box-shadow: 0 14px 30px -14px rgba(6,15,63,.5); transition: max-width .5s var(--ease-out), opacity .35s, padding .5s var(--ease-out); }
.cd-btn:hover .cd-label, .cd-btn:focus-visible .cd-label { max-width: 220px; opacity: 1; padding: 0 1.1rem; }
.cd-ico { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--wa); flex-shrink: 0; box-shadow: 0 16px 30px -12px rgba(6,15,63,.55); transition: transform .4s var(--ease-out); }
.cd-ico::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waPing 2.4s var(--ease) infinite; }
.cd-btn:hover .cd-ico { transform: scale(1.06); }
@keyframes waPing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes drive { 0%,100% { transform: translateX(-1px); } 50% { transform: translateX(2px); } }
.to-top { position: relative; width: 58px; height: 0; margin-top: -12px; border-radius: 50%; border: 0; padding: 0; background: #fff; color: var(--bm-blue); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; overflow: hidden; pointer-events: none; transform: scale(.6); transition: height .45s var(--ease-out), margin .45s var(--ease-out), opacity .3s, transform .45s var(--ease-out), background .3s, color .3s; }
.to-top.is-visible { height: 58px; margin-top: 0; opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { position: absolute; inset: 0; width: 58px; height: 58px; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--bm-pink); stroke-width: 2.5; stroke-dasharray: 132; stroke-dashoffset: 132; stroke-linecap: round; }
.to-top i { font-size: 1.15rem; transition: transform .3s var(--ease-out); }
.to-top:hover { background: var(--bm-blue); color: #fff; }
.to-top:hover i { transform: translateY(-3px); }
.cd-bubble { position: relative; display: flex; gap: .7rem; align-items: flex-start; max-width: 270px; padding: .85rem 1rem; border-radius: 18px 18px 4px 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -20px rgba(6,15,63,.45); border: 1px solid var(--line); animation: bubbleIn .6s var(--ease-out); margin-right: 6px; }
.cd-bubble[hidden] { display: none; }
.cd-bubble strong { display: block; font-size: .88rem; }
.cd-bubble small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.cd-bubble-av { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; flex-shrink: 0; }
.cd-bubble-av img { width: 26px; height: 26px; }
.cd-bubble-x { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: .9rem; line-height: 1; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.95); } to { opacity: 1; transform: none; } }

/* ---------- Footer social ---------- */
.f-social { margin-top: 1.6rem; }
.fs-title { display: block; color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: .8rem; }
.fs-links { display: flex; flex-wrap: wrap; gap: 10px; }
.fs-links a { --brand: #3E64F2; position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.1rem; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); overflow: visible; transition: transform .4s var(--ease-out), background .3s, border-color .3s, box-shadow .3s; }
.fs-links a:hover { color: #fff; background: var(--brand); border-color: transparent; transform: translateY(-4px); box-shadow: 0 14px 24px -12px var(--brand); }
.fs-fb { --brand: #1877F2 !important; }
.fs-ig { --brand: #E1306C !important; }
.fs-yt { --brand: #FF0000 !important; }
.fs-in { --brand: #0A66C2 !important; }
.fs-x  { --brand: #111 !important; }
.fs-g  { --brand: #34A853 !important; }
.fs-links .fs-ig:hover { background: radial-gradient(circle at 30% 110%, #FDCB52 0%, #FD8D32 25%, #E1306C 55%, #833AB4 90%); }
.fs-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); padding: .25rem .55rem; border-radius: 8px; background: #fff; color: var(--ink); font-size: .72rem; font-weight: 700; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: all .3s var(--ease-out); }
.fs-links a:hover .fs-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Mobile quick bar */
.quickbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 990; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; padding: 6px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px -14px rgba(7,38,150,.45); transform: translateY(140%); transition: transform .5s var(--ease-out); }
.quickbar.is-visible { transform: none; }
.quickbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .45rem .3rem; border-radius: 14px; color: var(--ink); font-size: .72rem; font-weight: 700; }
.quickbar a i { font-size: 1.2rem; }
.quickbar .qb-sos i { color: var(--bm-red); animation: drive 1.2s ease-in-out infinite; }
.quickbar .qb-wa i { color: var(--wa); }
.quickbar .qb-main { background: var(--grad-brand); color: #fff; }

/* Video modal */
.video-modal .modal-content { background: #000; border: 0; border-radius: var(--radius); overflow: hidden; }
.modal-backdrop.show { opacity: .85; }
.vm-close { position: absolute; top: 10px; right: 10px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(40px); }
[data-reveal="right"] { transform: translateX(-40px); }
[data-reveal="zoom"] { transform: scale(.95); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (min-width: 1400px) {
  .container-xl { max-width: 1320px; }
  .dept-swiper, .doc-swiper { padding-left: calc((100vw - 1320px) / 2 + 24px); padding-right: calc((100vw - 1320px) / 2 + 24px); }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .main-menu > li > a { padding: .55rem .65rem; font-size: .9rem; }
  .brand img { height: 40px; }
}
@media (max-width: 1199.98px) {
  .nav-pill { padding: 8px 8px 8px 20px; min-height: 62px; }
  .brand img { height: 40px; }
  .hero-stage { max-height: none; }
  .fac-wrap { grid-template-columns: 300px 1fr; }
  .appt-channels { grid-template-columns: 1fr; }
  .ac-item { flex-direction: row; align-items: center; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .quick { margin-top: -36px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .about-visual { max-width: 560px; margin: 0 auto; }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .fac-wrap { grid-template-columns: 1fr; gap: 14px; }
  .fac-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 4vw, 24px)); padding-left: clamp(16px, 4vw, 24px); padding-right: clamp(16px, 4vw, 24px); }
  .fac-list::-webkit-scrollbar { display: none; }
  .fac-tab { flex: 0 0 auto; width: auto; scroll-snap-align: start; padding: .6rem .9rem .6rem .6rem; }
  .fac-tab:hover { transform: none; }
  .ft-text small, .ft-arrow { display: none; }
  .ft-ico { width: 38px; height: 38px; }
  .fac-stage { min-height: 460px; }
  .jr-track { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .jr-line { display: none; }
  .appt-box { grid-template-columns: 1fr; }
  .appt-right { min-height: 340px; margin: 0 14px; }
  .appt-channels { grid-template-columns: repeat(3, 1fr); }
  .ac-item { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-center { display: none; }
  .why-card { padding: 1.4rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .sos-tab { display: none; }
  .care-dock { right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); }
  .care-dock .cd-btn--wa, .care-dock .cd-bubble { display: none !important; }
  .to-top, .to-top.is-visible { width: 46px; }
  .to-top.is-visible { height: 46px; }
  .to-top svg { width: 46px; height: 46px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
  .site-footer { padding-bottom: 84px; }
  .appt-channels { grid-template-columns: 1fr; }
  .ac-item { flex-direction: row; align-items: center; }
  .f-bottom { flex-direction: column; text-align: center; padding-right: 0; }
}

@media (max-width: 575.98px) {
  .topbar { display: none; }
  .site-header { padding: 10px 0; }
  .nav-pill { padding: 7px 7px 7px 16px; min-height: 58px; }
  .brand img { height: 32px; }
  .menu-toggle { width: 44px; height: 44px; }
  .hero { padding: 0 8px; }
  .hero-stage { border-radius: 20px; }
  .hc-btn { width: 38px; height: 38px; font-size: 1rem; }
  .scroll-cue { display: none; }
  .quick { margin-top: 14px; }
  .quick-grid { gap: 8px; padding: 8px; border-radius: 22px; }
  .qa-card { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
  .qa-ico { width: 42px; height: 42px; font-size: 1.15rem; }
  .qa-arrow { position: absolute; top: .8rem; right: .8rem; width: 28px; height: 28px; }
  .qa-text strong { font-size: .92rem; }
  .qa-card--nabh img { width: 52px; }
  .about-visual { padding: 0 8% 16% 0; }
  .av-badge { left: 0; bottom: 6%; padding: .6rem .8rem .6rem .6rem; }
  .av-badge-ico { width: 38px; height: 38px; }
  .av-nabh img { width: 54px; }
  .about-actions .btn-bm { width: 100%; justify-content: space-between; }
  .num-grid { gap: 10px; }
  .num-item { padding: 1.1rem .9rem; }
  .fac-stage { min-height: 420px; border-radius: 22px; }
  .fp-body p { font-size: .92rem; }
  .jr-track { grid-template-columns: 1fr; gap: 18px; padding-left: 70px; }
  .jr-line { display: block; top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #C8D1F2 0 8px, transparent 8px 14px); }
  .jr-line span { width: 100% !important; height: var(--jr, 0%); }
  .jr-step { align-items: stretch; }
  .jr-dot { position: absolute; left: -70px; top: 0; margin: 0; }
  .sa-btn { width: 44px; height: 44px; }
  .appt-box { border-radius: 24px; }
  .appt-right { min-height: 280px; margin: 0 8px; }
  .appt-float--top { left: -12px; top: 14px; }
  .appt-float--bottom { right: -8px; bottom: 14px; }
  .appt .btn-bm { width: 100%; justify-content: space-between; }
}

@media (max-width: 380px) {
  .brand img { height: 28px; }
  .qa-text small { font-size: .7rem; }
  .ac-item strong { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* footer: Departments in two columns */
.f-links--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.6rem; align-items: start; }
@media (max-width: 420px) { .f-links--cols { grid-template-columns: 1fr; } }
/* footer on tablets: logo + contact side by side, departments full width below, bottom bar centred */
@media (min-width: 576px) and (max-width: 1199.98px) {
  .f-links--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1199.98px) {
  .site-footer .container-xl { padding-right: 60px; }   /* keep clear of the floating ambulance tab */
  .f-bottom { flex-direction: column; justify-content: center; text-align: center; padding-right: 0; }
}

/* centred copyright */
.f-bottom{justify-content:center;text-align:center}
/* floating social rail (tablet & desktop, left edge) */
.social-float{display:none}
@media (min-width:768px){
  .social-float{position:fixed;left:14px;top:50%;z-index:900;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 6px 8px;border-radius:30px;background:linear-gradient(180deg,#0b1b52 0%,#1a3fd0 100%);box-shadow:0 18px 40px -10px rgba(10,30,110,.55),inset 0 0 0 1px rgba(255,255,255,.14);transform:translateY(-50%);animation:sfIn .8s .6s cubic-bezier(.2,.9,.25,1.1) both}
  .social-float::before{content:"";position:absolute;inset:-5px;border-radius:34px;border:1px dashed rgba(35,71,214,.35);pointer-events:none}
  .social-float .sf-label{display:flex;flex-direction:column;align-items:center;gap:6px;color:#fff;margin-bottom:2px}
  .social-float .sf-label i{font-size:.95rem;color:#ff5d73;animation:sfBeat 1.6s ease-in-out infinite}
  .social-float .sf-label b{writing-mode:vertical-rl;transform:rotate(180deg);font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:rgba(255,255,255,.8)}
  .social-float .sf{position:relative;display:block;width:40px;height:40px;text-decoration:none;color:#fff;opacity:0;animation:sfPop .5s cubic-bezier(.2,1.3,.4,1) both}
  .social-float .sf:nth-of-type(1){animation-delay:.9s}.social-float .sf:nth-of-type(2){animation-delay:1s}.social-float .sf:nth-of-type(3){animation-delay:1.1s}.social-float .sf:nth-of-type(4){animation-delay:1.2s}.social-float .sf:nth-of-type(5){animation-delay:1.3s}.social-float .sf:nth-of-type(6){animation-delay:1.4s}
  .social-float .sf-ico{position:relative;z-index:2;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:1.05rem;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);transition:background .25s,transform .25s,box-shadow .25s}
  .social-float .sf-tip{position:absolute;left:0;top:0;z-index:1;height:40px;max-width:0;overflow:hidden;white-space:nowrap;padding:0;border-radius:99px;display:flex;align-items:center;font-size:.8rem;font-weight:700;letter-spacing:.01em;color:#fff;background:var(--sfbg,var(--sf,#2347d6));box-shadow:0 10px 24px -6px rgba(0,0,0,.4);opacity:0;transition:max-width .35s cubic-bezier(.2,.8,.2,1),padding .35s,opacity .2s}
  .social-float .sf:hover .sf-tip,.social-float .sf:focus-visible .sf-tip{max-width:190px;padding:0 16px 0 50px;opacity:1}
  .social-float .sf:hover .sf-ico,.social-float .sf:focus-visible .sf-ico{background:rgba(255,255,255,.22);transform:scale(1.06)}
  .social-float .sf:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:50%}
  .social-float .sf-facebook{--sf:#1877F2}.social-float .sf-instagram{--sf:#D6249F;--sfbg:linear-gradient(45deg,#F58529,#DD2A7B 55%,#8134AF)}.social-float .sf-youtube{--sf:#FF0000}
  .social-float .sf-linkedin{--sf:#0A66C2}.social-float .sf-x{--sf:#111}.social-float .sf-google{--sf:#4285F4}
}
@keyframes sfIn{from{opacity:0;transform:translate(-30px,-50%)}to{opacity:1;transform:translate(0,-50%)}}
@keyframes sfPop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
@keyframes sfBeat{0%,100%{transform:scale(1)}50%{transform:scale(1.25)}}
@media (prefers-reduced-motion:reduce){.social-float,.social-float .sf,.social-float .sf-label i{animation:none!important;opacity:1}}
@media print{.social-float{display:none!important}}
.site-footer .f-bottom{padding-right:0}
