/* =========================================================
   Narayan Hospital — site stylesheet (HelioSync)
   Warm editorial system: cream canvas, white surfaces, tinted
   cards, pill controls, serif display type. Brand colours from the
   hospital letterhead are unchanged (crimson, maroon, teal, gold).
   ========================================================= */

:root {
  /* brand (letterhead) */
  --crimson: #B3263A;        /* primary action */
  --crimson-dark: #971E30;
  --maroon: #7D1F2C;
  --teal: #1B3F3B;           /* dark surfaces */
  --gold: #E0B93B;

  /* neutrals */
  --cream: #F8F3EB;          /* page canvas */
  --cream-2: #F1EADF;
  --white: #FFFFFF;
  --ink: #14302D;            /* text, headings */
  --muted: #5A605D;
  --line: rgba(20, 48, 45, .12);

  /* tints of the brand colours, used for tinted cards and portrait halos */
  --rose: #F3D5DA;
  --petal: #FBEBEE;
  --sand: #F5E5B8;
  --sage: #D3E3DE;
  --mist: #E6C0C6;           /* outline-button border */
  --whatsapp: #178C45;

  --serif: "DM Serif Display", "Source Serif 4", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-card: 16px;
  --r-panel: 32px;
  --r-pill: 1600px;

  --shadow-sm: rgba(75, 68, 57, .05) 0 4px 4px 0, rgba(75, 68, 57, .08) 0 32px 16px -16px;
  --shadow-md: rgba(99, 91, 79, .08) 0 8px 16px 0, rgba(99, 91, 79, .04) 0 32px 32px 0;
  --shadow-lg: rgba(75, 68, 57, .1) 0 12px 24px 0, rgba(75, 68, 57, .1) 0 48px 48px -24px;

  --gutter: 24px;
  --section: 112px;
}
@media (max-width: 767px) { :root { --gutter: 16px; --section: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.005em; }
h4, h5, h6 { font-family: var(--sans); font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rose); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-pill); font-weight: 500; }
.skip-link:focus { top: 12px; }

.container, .tf-container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section.tight { padding-top: 0; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-size: clamp(42px, 6vw, 76px); line-height: 1.02; }
.h-lg { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; }
.h-md { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.h-sm { font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.accent { color: var(--crimson); }
.serif-i { font-family: var(--serif); font-style: italic; }

/* ---------- badge (section label) ---------- */
.badge, .nh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--white); color: var(--ink);
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
  box-shadow: var(--shadow-sm);
}
.badge::before, .nh-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); flex: none; }
.badge.on-white, .tint .nh-eyebrow, .card .badge { background: var(--cream); box-shadow: none; }
.badge.on-dark { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.badge.on-dark::before { background: var(--gold); }

/* ---------- section header ---------- */
.sec-head, .nh-head { max-width: 820px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sec-head .lead, .nh-head .nh-lead { max-width: 640px; }
.sec-head.left { margin-left: 0; text-align: left; align-items: flex-start; }
.nh-head .nh-eyebrow { margin: 0; }
.nh-head .nh-h2 { margin: 0; }

/* ---------- buttons ---------- */
.btn, .nh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.nh-btn { white-space: normal; }
.btn:hover, .nh-btn:hover { transform: translateY(-2px); }
.btn i, .nh-btn i { font-size: 13px; }
.btn svg, .nh-btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-primary, .nh-btn.primary { background: var(--crimson); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover, .nh-btn.primary:hover { background: var(--crimson-dark); color: #fff; }
.btn-dark, .nh-btn.dark { background: var(--teal); color: #fff; }
.btn-dark:hover, .nh-btn.dark:hover { background: var(--ink); color: #fff; }
.btn-outline, .nh-btn.ghost { background: var(--white); border-color: var(--mist); color: var(--ink); }
.btn-outline:hover, .nh-btn.ghost:hover { border-color: var(--crimson); color: var(--crimson); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-wa, .nh-btn.wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover, .nh-btn.wa:hover { background: #127338; color: #fff; }
.btn-text { padding: 0; min-height: 0; font-weight: 500; color: var(--ink); gap: 8px; }
.btn-text:hover { color: var(--crimson); transform: none; }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: 14px; }
.btn-block, .nh-btn.block { width: 100%; }
.btn-row, .nh-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* round arrow button used on cards */
.arrow-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s, transform .25s;
}
.arrow-btn i { font-size: 13px; }
a:hover > .arrow-btn, a:hover .arrow-btn { background: var(--crimson); color: #fff; transform: rotate(-45deg); }

/* ---------- cards ---------- */
.card, .nh-card { background: var(--white); border-radius: var(--r-card); border: 0; box-shadow: 0 1px 0 rgba(75,68,57,.04); }
.card { padding: 32px; }
a.card, a.nh-card { transition: transform .25s, box-shadow .25s; }
a.card:hover, a.nh-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nh-pad { padding: 32px; }
@media (max-width: 575px) { .card, .nh-pad { padding: 24px; } }

.t-rose { background: var(--rose); }
.t-sand { background: var(--sand); }
.t-sage { background: var(--sage); }
.t-petal { background: var(--petal); }
.t-crimson { background: var(--crimson); color: #fff; }
.t-teal { background: var(--teal); color: #fff; }
.t-crimson h1, .t-crimson h2, .t-crimson h3, .t-crimson h4, .t-teal h1, .t-teal h2, .t-teal h3, .t-teal h4 { color: #fff; }

/* =========================================================
   Header — floating pill nav
   ========================================================= */
.topline { text-align: center; padding: 10px var(--gutter) 0; font-size: 13px; color: var(--muted); }
.topline a { color: var(--crimson); font-weight: 500; white-space: nowrap; }
.topline .pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(179,38,58,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(179,38,58,0); } 100% { box-shadow: 0 0 0 0 rgba(179,38,58,0); } }

.site-header { position: sticky; top: 10px; z-index: 1000; padding: 10px var(--gutter) 0; }
.nav-pill {
  max-width: 1248px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-radius: 100px; padding: 8px 8px 8px 22px; box-shadow: var(--shadow-md);
}
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-links > a, .nav-drop > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background-color .2s, color .2s; }
.nav-links > a:hover, .nav-drop > a:hover, .nav-drop:focus-within > a { background: var(--cream); }
.nav-links a[aria-current="page"] { background: var(--petal); color: var(--crimson); }
.nav-drop { position: relative; }
.nav-drop > a i { font-size: 9px; transform: rotate(90deg); transition: transform .2s; }
.nav-drop:hover > a i, .nav-drop:focus-within > a i { transform: rotate(-90deg); }
.drop-panel {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 6px); width: 560px;
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.drop-panel a:hover { background: var(--cream); color: var(--crimson); }
.drop-panel a i { width: 34px; height: 34px; border-radius: 50%; background: var(--petal); color: var(--crimson); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.drop-panel .all { grid-column: 1 / -1; justify-content: center; margin-top: 6px; background: var(--cream); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-call { display: inline-flex; flex-direction: column; line-height: 1.2; padding: 0 10px; font-size: 12px; color: var(--muted); }
.nav-call b { font-size: 15px; font-weight: 500; color: var(--ink); }
.nav-call:hover b { color: var(--crimson); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }

@media (max-width: 1279px) { .nav-call { display: none; } }
@media (max-width: 1199px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 575px) {
  .brand img { height: 40px; }
  .nav-pill { padding-left: 16px; gap: 8px; }
  .nav-actions .btn { display: none; }
}

/* mobile menu (native <dialog>) */
.mnav { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; padding: 0; background: var(--cream); color: var(--ink); box-shadow: var(--shadow-lg); }
.mnav::backdrop { background: rgba(20,48,45,.45); }
.mnav[open] { animation: slidein .28s ease-out; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.mnav-inner { display: grid; gap: 24px; padding: 20px 20px 40px; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; }
.mnav-top img { height: 44px; width: auto; }
.mnav-close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; box-shadow: var(--shadow-sm); }
.mnav-links { display: grid; background: #fff; border-radius: var(--r-card); padding: 8px; }
.mnav-links a { padding: 14px 16px; border-radius: 12px; font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.mnav-links a[aria-current="page"] { color: var(--crimson); background: var(--petal); }
.mnav h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mnav .depts { display: flex; flex-wrap: wrap; gap: 8px; }
.mnav .depts a { padding: 8px 14px; border-radius: var(--r-pill); background: #fff; font-size: 14px; font-weight: 500; }
.mnav .row-info { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.mnav .row-info i { color: var(--crimson); margin-top: 3px; }
.mnav .row-info a { color: var(--ink); font-weight: 500; }

/* =========================================================
   Heroes
   ========================================================= */
/* inner pages */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 64px; text-align: center; isolation: isolate; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.page-hero::before { width: 300px; height: 300px; left: -120px; top: 40px; background: var(--rose); }
.page-hero::after { width: 190px; height: 190px; right: -50px; bottom: -40px; background: var(--sand); }
.page-hero .container { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; max-width: 960px; }
.page-hero .lead { max-width: 640px; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; padding: 8px 18px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 500; color: var(--muted); }
.crumbs a:hover { color: var(--crimson); }
.crumbs .sep { opacity: .45; }
.crumbs [aria-current] { color: var(--ink); }
.page-hero .ring { position: absolute; z-index: -1; right: 12%; top: 26px; width: 64px; height: 64px; border-radius: 50%; border: 10px solid var(--sage); }
@media (max-width: 767px) {
  .page-hero { padding: 48px 0 44px; }
  .page-hero::before { width: 180px; height: 180px; left: -110px; }
  .page-hero::after { width: 120px; height: 120px; right: -60px; }
  .page-hero .ring { display: none; }
}

/* home hero: split layout over a full-width night photo of the hospital,
   glass info cards on the building side, quick-booking bar on the bottom edge */
.hero { position: relative; padding: 14px 0 72px; overflow: clip; }
.hero-panel {
  position: relative; isolation: isolate; display: flow-root; overflow: hidden;
  margin: 0 clamp(8px, 1.6vw, 24px); border-radius: var(--r-panel); color: #fff; background: var(--teal);
}
.hero-panel::before { content: ""; position: absolute; inset: -2%; z-index: -2;
  background: url("../image/page-title/silder-page-title-home-1.jpg?v=5") 78% 40% / cover no-repeat;
  animation: kenburns 24s ease-in-out infinite alternate; }
.hero-panel::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,48,45,.97) 0%, rgba(20,48,45,.94) 34%, rgba(20,48,45,.6) 54%, rgba(20,48,45,.12) 78%),
    linear-gradient(0deg, rgba(20,48,45,.85) 0%, rgba(20,48,45,0) 32%),
    radial-gradient(60% 80% at 0% 0%, rgba(179,38,58,.45), transparent 60%); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; min-height: min(680px, 78vh); padding-top: 72px; padding-bottom: 40px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; text-align: left; }
.hero-copy h1 { color: #fff; font-size: clamp(40px, 5vw, 72px); line-height: 1.03; max-width: 760px; text-shadow: 0 2px 30px rgba(0,0,0,.2); }
.hero-copy h1 em { display: block; font-style: italic; color: var(--gold); }
.hero-copy .lead { color: rgba(255,255,255,.84); max-width: 520px; }
.badge .live { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: livepulse 2s infinite; }
.badge.on-dark.has-live::before { display: none; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.btn-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.38); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: rgba(224,185,59,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23E0B93B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.hero-cards { position: relative; display: grid; gap: 14px; justify-items: end; align-self: end; padding-bottom: 20px; }
.glass { display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; border-radius: 20px; color: var(--ink);
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.6); text-align: left; line-height: 1.3;
  transition: transform .3s ease, background-color .3s; animation: bob 7s ease-in-out infinite; }
.glass:hover { transform: translateY(-4px); background: #fff; }
.glass b { display: block; font-weight: 500; font-size: 15.5px; }
.glass small { display: block; font-size: 13px; color: var(--muted); }
.gc-emergency { margin-right: 30px; }
.gc-docs { animation-delay: -2.4s; }
.gc-rating { margin-right: 70px; animation-delay: -4.6s; }
.pulse-dot { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--crimson); animation: pulse 2s infinite; }
.pulse-dot::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #fff; }
.gc-docs .stack-avatars { flex: none; }
.gc-docs .stack-avatars img { flex: none; width: 40px; height: 40px; border-width: 2px; margin-left: -12px; }
.gc-docs .stack-avatars img:first-child { margin-left: 0; }
.gc-score { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; }
.gc-rating .stars { font-size: 14px; color: var(--crimson); margin-bottom: 2px; }
@keyframes bob { 50% { translate: 0 -6px; } }

.quick-book { position: relative; display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 8px; align-items: stretch; margin-bottom: 28px; padding: 10px; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.qb-field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 18px; border-radius: 20px; transition: background-color .2s; }
.qb-field:not(.qb-info):hover, .qb-field:focus-within { background: var(--cream); }
.qb-field { position: relative; }
.qb-field + .qb-field::before { content: ""; position: absolute; left: -4px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.qb-field label, .qb-label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qb-field select { border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2314302D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right center / 16px no-repeat; padding: 2px 22px 2px 0; font-size: 15.5px; font-weight: 500; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer; width: 100%; text-overflow: ellipsis; }
.qb-field select:focus { outline: none; }
.qb-info a { font-weight: 500; color: #178C45; }
.qb-info a:hover { text-decoration: underline; }
.quick-book .btn { min-height: 60px; border-radius: 20px; padding: 0 30px; }

@media (max-width: 1099px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; gap: 28px; }
  .hero-cards { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 0; }
  .glass { animation: none; margin: 0 !important; padding: 10px 18px 10px 10px; }
  .hero-panel::after { background: linear-gradient(180deg, rgba(20,48,45,.9) 0%, rgba(20,48,45,.75) 55%, rgba(20,48,45,.92) 100%), radial-gradient(60% 50% at 0% 0%, rgba(179,38,58,.45), transparent 60%); }
  .quick-book { grid-template-columns: 1fr 1fr auto; }
  .qb-info { display: none; }
}
@media (max-width: 767px) {
  .hero { padding: 10px 0 56px; }
  .hero-grid { padding-top: 44px; padding-bottom: 28px; }
  .hero-copy { gap: 20px; }
  .hero-copy .btn-row { width: 100%; }
  .hero-copy .btn-row .btn { flex: 1 1 100%; }
  .hero-cards { flex-direction: column; align-items: stretch; }
  .gc-rating { display: none; }
  .gc-docs .stack-avatars img:nth-child(n+4) { display: none; }
  .quick-book { grid-template-columns: 1fr; border-radius: 24px; margin-bottom: 16px; }
  .qb-field { background: var(--cream); border-radius: 16px; }
  .qb-field + .qb-field::before { display: none; }
  .quick-book .btn { min-height: 54px; }
}

/* facts strip (logo-strip style, no cards) */
.facts { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { flex: 1 1 0; min-width: 140px; padding: 26px 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--ink); }
.facts b small { font-size: 22px; color: var(--crimson); }
.facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 767px) {
  .facts { margin-top: 48px; }
  .facts li { flex-basis: 50%; min-width: 0; padding: 20px 10px; }
  .facts li + li { border-left: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts li:last-child:nth-child(odd) { flex-basis: 100%; }
  .facts b { font-size: 32px; }
}

/* =========================================================
   Home sections
   ========================================================= */
/* feature cards - full-bleed photo with copy on a dark fade */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 32px; border-radius: var(--r-card); min-height: 400px; color: #fff; background: var(--teal); transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature .feat-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.feature:hover .feat-img { transform: scale(1.06); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,48,45,.05) 20%, rgba(20,48,45,.55) 55%, rgba(14,34,32,.92)); }
.feature.t-rose::before { background: linear-gradient(180deg, rgba(125,31,44,.05) 20%, rgba(125,31,44,.55) 55%, rgba(80,18,28,.93)); }
.feature .kicker { align-self: flex-start; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.feature h3 { font-size: 30px; line-height: 1.12; color: #fff; }
.feature p { margin: 0; color: rgba(255,255,255,.86); }
.feature .arrow-btn { position: absolute; right: 24px; top: 24px; }
@media (max-width: 991px) { .features { grid-template-columns: 1fr; } .feature { min-height: 340px; } }
@media (max-width: 575px) { .feature { padding: 24px; min-height: 320px; } .feature h3 { font-size: 26px; } }

/* about */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 56px; }
.about .copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.about h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 0; border-radius: 50%; background: var(--petal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23B3263A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; }
.on-dark .checks li::before, .checks.light li::before { background-color: rgba(255,255,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23E0B93B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.media { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; background: var(--cream-2); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; transition: transform .6s; }
.media:hover img { transform: scale(1.03); }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--crimson); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(255,255,255,.35), var(--shadow-lg); transition: transform .25s; }
.play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.media:hover .play { transform: translate(-50%, -50%) scale(1.07); }
.media .cap { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: var(--r-pill); background: #fff; font-size: 13px; font-weight: 500; }
@media (max-width: 991px) { .about { grid-template-columns: 1fr; gap: 36px; padding: 32px; } }
@media (max-width: 575px) { .about { padding: 24px; } }

/* department cards - photo on top, copy below */
.depts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dept { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.dept:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dept-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.dept-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.dept:hover .dept-media img { transform: scale(1.07); }
.dept-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,48,45,0) 55%, rgba(20,48,45,.35)); pointer-events: none; }
.dept .tag { position: absolute; z-index: 1; left: 14px; top: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.94); color: var(--crimson); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.dept-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.dept h3 { font-size: 23px; line-height: 1.2; }
.dept p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.dept .more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); transition: color .2s, gap .2s; }
.dept .more i { font-size: 12px; }
.dept:hover .more { color: var(--crimson); gap: 12px; }
@media (max-width: 1099px) { .depts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .depts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .dept-body { padding: 14px 14px 16px; gap: 6px; } .dept h3 { font-size: 18px; } .dept p { display: none; } .dept .tag { left: 8px; top: 8px; font-size: 10px; padding: 4px 9px; } .dept .more { font-size: 13px; } }

/* diagnostics */
.diag { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; }
.diag-intro { display: flex; flex-direction: column; gap: 22px; justify-content: space-between; padding: 40px; }
.diag-intro h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 20px 22px; border-radius: var(--r-card); background: rgba(255,255,255,.12); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1; color: var(--gold); margin-bottom: 8px; }
.stat span { font-size: 14px; line-height: 1.45; opacity: .85; }
.tests { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.test { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 24px; border-radius: var(--r-card); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.test:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.test .test-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.test h3, .test p { padding: 0 14px; }
.test h3 { font-size: 22px; line-height: 1.2; }
.test p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 991px) { .diag { grid-template-columns: 1fr; } .diag-intro { padding: 32px; } }
@media (max-width: 575px) { .tests { grid-template-columns: 1fr; } .diag-intro { padding: 24px; } }

/* doctor rail + doctor cards */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 28px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1099px) { .rail { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 767px) { .rail { grid-auto-columns: 72%; gap: 14px; } }
.rail-nav { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--mist); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s, border-color .2s; }
.rail-nav button:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.rail-nav button:disabled { opacity: .35; pointer-events: none; }
.rail-nav i { font-size: 14px; }

.doc, .nh-doc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 32px 22px 26px; background: #fff; border-radius: var(--r-card); height: 100%; transition: transform .25s, box-shadow .25s; }
.doc:hover, .nh-doc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doc img, .nh-doc img { width: 164px; max-width: 78%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 50%; box-shadow: 0 0 0 10px var(--c, var(--rose)); margin: 10px auto 26px; background: var(--cream); }
.rail > :nth-child(4n+2) img, .nh-docs > :nth-child(4n+2) img { --c: var(--sand); }
.rail > :nth-child(4n+3) img, .nh-docs > :nth-child(4n+3) img { --c: var(--sage); }
.rail > :nth-child(4n+4) img, .nh-docs > :nth-child(4n+4) img { --c: var(--petal); }
.doc h3, .nh-doc-name { font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--ink); }
.doc .dept-name, .nh-doc-dept { font-size: 14px; font-weight: 500; color: var(--crimson); }
.nh-doc-qual { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.doc .more, .nh-doc-link { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.doc:hover .more, .nh-doc:hover .nh-doc-link { color: var(--crimson); }
.nh-doc-body { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; width: 100%; }
@media (max-width: 575px) { .nh-doc { padding: 22px 12px 18px; } .nh-doc img { box-shadow: 0 0 0 6px var(--c, var(--rose)); margin: 6px auto 16px; } .nh-doc-name { font-size: 18px; } .nh-doc-link { padding-top: 10px; } }

/* why choose us (teal band) */
.band { border-radius: var(--r-panel); padding: 72px 64px; background: var(--teal); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.band::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; bottom: -180px; border-radius: 50%; border: 64px solid rgba(224,185,59,.12); }
.band h2 { color: #fff; }
.band .lead, .band p { color: rgba(255,255,255,.78); }
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-card); background: rgba(255,255,255,.07); transition: background-color .2s; }
.why-item:hover { background: rgba(255,255,255,.12); }
.why-item .n { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--gold); }
.why-item h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: #fff; }
.why-item p { font-size: 15px; margin: 0; }
.why-media { position: relative; }
.why-media img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 440px; margin: 0 auto; box-shadow: 0 0 0 14px rgba(224,185,59,.9); }
@media (max-width: 1099px) { .why { grid-template-columns: 1fr; } .why-media { display: none; } }
@media (max-width: 767px) { .band { padding: 44px 20px; border-radius: 24px; } .why-list { grid-template-columns: 1fr; } }

/* testimonials */
.reviews { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.rating { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: var(--r-card); grid-row: span 2; justify-content: space-between; }
.rating .score { font-family: var(--serif); font-size: 104px; line-height: .9; }
.rating .score small { font-size: 36px; opacity: .7; }
.stars { display: flex; gap: 4px; color: var(--gold); font-size: 17px; }
.t-crimson .stars { color: #FFD66B; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r-card); background: #fff; }
.review h3 { font-size: 24px; line-height: 1.2; }
.review blockquote { margin: 0; color: var(--muted); }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.review .who b { color: var(--ink); font-weight: 500; font-size: 15px; display: block; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--c, var(--sand)); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; color: var(--ink); flex: none; }
.review:nth-of-type(2) .av { --c: var(--sage); }
.review:nth-of-type(3) .av { --c: var(--rose); }
.review:nth-of-type(4) .av { --c: var(--petal); }
@media (max-width: 991px) { .reviews { grid-template-columns: 1fr 1fr; } .rating { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 575px) { .reviews { grid-template-columns: 1fr; } .rating .score { font-size: 80px; } }

/* appointment block */
.appt { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.appt-side { display: flex; flex-direction: column; gap: 24px; padding: 44px; border-radius: var(--r-card); color: #fff; background: linear-gradient(121deg, var(--maroon) 0%, var(--crimson) 45%, var(--teal) 110%); position: relative; overflow: hidden; isolation: isolate; }
.appt-side::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -80px; bottom: -90px; border-radius: 50%; background: rgba(255,255,255,.08); }
.appt-side > .badge, .rating .badge { align-self: flex-start; }
.appt-side h2 { color: #fff; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.appt-side p { color: rgba(255,255,255,.82); margin: 0; }
.appt-side .hotline { margin-top: auto; padding: 22px; border-radius: var(--r-card); background: rgba(255,255,255,.12); }
.appt-side .hotline > span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.appt-side .hotline > a { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.15; margin: 6px 0 14px; color: #fff; }
.appt-img { border-radius: var(--r-card); overflow: hidden; }
.appt-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.form-card { padding: 44px; }
.form-card h3 { font-size: 30px; line-height: 1.15; margin-bottom: 8px; }
.form-card .desc { color: var(--muted); margin-bottom: 28px; }
@media (max-width: 991px) { .appt { grid-template-columns: 1fr; } .appt-side, .form-card { padding: 32px; } }
@media (max-width: 575px) { .appt-side, .form-card { padding: 24px; } }

/* forms */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field { position: relative; display: block; }
.field > i { position: absolute; left: 20px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 20px 14px 48px; border-radius: 24px;
  border: 1.5px solid transparent; background: var(--cream); color: var(--ink); font-size: 15.5px; line-height: 1.4;
  transition: border-color .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2314302D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; cursor: pointer; }
.field textarea { min-height: 130px; border-radius: var(--r-card); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A8F8C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--crimson); background: #fff; }
.field label { display: block; font-size: 13px; font-weight: 500; margin: 0 0 6px 6px; color: var(--muted); }
.field label ~ i { top: 43px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.form-foot small { color: var(--muted); font-size: 13.5px; max-width: 320px; }
.form-status { font-weight: 500; }
@media (max-width: 575px) { .fields { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* articles */
.posts { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.post-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; border-radius: var(--r-card); overflow: hidden; color: #fff; padding: 36px; isolation: isolate; }
.post-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,48,45,0) 30%, rgba(20,48,45,.88)); }
.post-feature:hover img { transform: scale(1.04); }
.post-feature h3 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; max-width: 520px; margin-top: 14px; }
.post-list { display: grid; gap: 20px; }
.post-row { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; padding: 16px; background: #fff; border-radius: var(--r-card); transition: transform .25s, box-shadow .25s; }
.post-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-row img { width: 132px; height: 132px; object-fit: cover; border-radius: 12px; }
.post-row h3 { font-size: 21px; line-height: 1.22; margin: 8px 0 0; }
.post-row:hover h3 { color: var(--crimson); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.post-feature .meta { color: rgba(255,255,255,.8); }
.pill { display: inline-flex; padding: 5px 12px; border-radius: var(--r-pill); background: var(--petal); color: var(--crimson); font-size: 12.5px; font-weight: 500; }
.post-feature .pill { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 991px) { .posts { grid-template-columns: 1fr; } .post-feature { min-height: 400px; } }
@media (max-width: 575px) { .post-row { grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; } .post-row img { width: 96px; height: 96px; } .post-row h3 { font-size: 18px; } .post-feature { padding: 24px; } }

/* closing call-to-action */
.cta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 72px 64px; border-radius: var(--r-panel); color: #fff; background: linear-gradient(121deg, var(--maroon) 0%, var(--crimson) 42%, var(--teal) 100%); }
.cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
.cta .copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.cta .pic { justify-self: center; width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; padding: 14px; background: var(--gold); }
.cta .pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cta::after { content: ""; position: absolute; z-index: -1; width: 200px; height: 200px; left: -70px; bottom: -110px; border-radius: 50%; background: rgba(255,255,255,.07); }
@media (max-width: 991px) { .cta { grid-template-columns: 1fr; padding: 48px 32px; } .cta .pic { width: 220px; order: -1; justify-self: start; } }
@media (max-width: 575px) { .cta { padding: 40px 22px; border-radius: 24px; } .cta .pic { width: 150px; padding: 8px; } }

/* two-column split used on about/contact */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 991px) { .split, .split-3 { grid-template-columns: 1fr; } }
.info-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r-card); }
.info-card .ico { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; color: var(--crimson); font-size: 26px; margin-bottom: 8px; }
.info-card h3 { font-size: 26px; line-height: 1.2; }
.info-card p, .info-card li { color: var(--ink); opacity: .85; margin: 0; }
.info-card a { font-weight: 500; }
.info-card a:hover { color: var(--crimson); }
.stack-avatars { display: flex; }
.stack-avatars img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid var(--white); margin-left: -12px; }
.stack-avatars img:first-child { margin-left: 0; }
.map-card { display: flex; border-radius: var(--r-card); overflow: hidden; background: #fff; min-height: 420px; }
.map-card .map { flex: 1; min-height: 420px; }

/* =========================================================
   Inner-page components (nh-*) re-skinned
   ========================================================= */
.nh-section { padding: var(--section) 0; }
.main-content > .nh-section:first-child { padding-top: 24px; }
.nh-section.tint { background: var(--white); border-radius: var(--r-panel); margin: 0 clamp(8px, 1.6vw, 24px); }
.nh-section.tint .nh-amen > div[style] { background: var(--cream) !important; }
.nh-section.tint .nh-card, .nh-section.tint .nh-doc, .nh-section.tint .nh-info, .nh-section.tint .nh-tile, .nh-section.tint .nh-amen > div, .nh-section.tint .nh-step { background: var(--cream); }
@media (max-width: 767px) { .nh-section.tint { border-radius: 24px; margin: 0 8px; } }

.nh-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; color: var(--ink); margin: 16px 0 16px; }
.nh-h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--ink); margin-bottom: 16px; }
.nh-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); }
.nh-p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.nh-p a, .nh-lead a, .nh-article p a, .nh-faq a, .nh-note a { color: var(--crimson); font-weight: 500; }
h3[style*="font-size:19px"] { font-family: var(--serif); font-size: 26px !important; font-weight: 400 !important; }

.nh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--petal); color: var(--crimson); font-size: 13px; font-weight: 500; line-height: 1.3; }
.nh-chip.grey { background: var(--cream); color: var(--ink); }
.nh-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* doctor profile */
.nh-profile > *, .nh-layout > * { min-width: 0; }
.nh-profile { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
@media (max-width: 1199px) { .nh-profile { grid-template-columns: 330px 1fr; gap: 32px; } }
@media (max-width: 991px) { .nh-profile { grid-template-columns: 1fr; } }
.nh-profile-card { position: sticky; top: 110px; overflow: hidden; text-align: center; }
@media (max-width: 991px) { .nh-profile-card { position: static; } }
.nh-portrait { display: block; width: calc(100% - 96px); max-width: 280px; aspect-ratio: 1; object-fit: cover; object-position: center 20%; margin: 44px auto 12px; border-radius: 50%; box-shadow: 0 0 0 14px var(--rose); background: var(--cream); }
.nh-profile-card .nh-pad > * + * { margin-top: 14px; }
.nh-profile-card .nh-pad { display: flex; flex-direction: column; align-items: center; }
.nh-profile-card .nh-pad > .nh-btn, .nh-profile-card .nh-pad > .nh-btns, .nh-profile-card .nh-facts { width: 100%; }
.nh-name { font-family: var(--serif); font-size: 32px; line-height: 1.12; color: var(--ink); }
.nh-qual { font-size: 15px; color: var(--muted); line-height: 1.5; }
.nh-facts { display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.nh-fact { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.5; }
.nh-fact i { color: var(--crimson); font-size: 17px; margin-top: 2px; flex: none; }
.nh-fact b { color: var(--ink); font-weight: 500; }
.nh-fact a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mist); text-underline-offset: 3px; }

.nh-block + .nh-block { margin-top: 40px; }
.nh-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
@media (max-width: 575px) { .nh-list { grid-template-columns: 1fr; } }
.nh-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink); }
.nh-list li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--petal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23B3263A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; }

.nh-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 767px) { .nh-info-grid { grid-template-columns: 1fr; } }
.nh-info { padding: 26px; border-radius: var(--r-card); background: var(--white); }
.nh-info:nth-child(3n+1) { background: var(--petal); }
.nh-info:nth-child(3n+2) { background: var(--sand); }
.nh-info:nth-child(3n+3) { background: var(--sage); }
.nh-info i { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.7); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: var(--crimson); }
.nh-info h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 16px 0 6px; color: var(--ink); }
.nh-info p { font-size: 15px; line-height: 1.6; color: var(--ink); opacity: .82; margin: 0; }
.nh-info a { color: var(--crimson); font-weight: 500; }

/* doctor grids */
.nh-docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nh-docs.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1199px) { .nh-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .nh-docs, .nh-docs.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.nh-docs [hidden] { display: none !important; }
.nh-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 40px; max-width: 980px; }
.nh-filter button { border: 1.5px solid transparent; background: #fff; color: var(--ink); border-radius: var(--r-pill); padding: 10px 18px; font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.nh-filter button:hover { border-color: var(--mist); }
.nh-filter button[aria-pressed="true"] { background: var(--crimson); color: #fff; }

/* department cards (our-services) */
.nh-depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 991px) { .nh-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .nh-depts { grid-template-columns: 1fr; } }
.nh-dept { display: flex; flex-direction: column; overflow: hidden; height: 100%; padding: 10px; }
.nh-dept-img { position: relative; }
.nh-dept-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.nh-dept-icon { position: absolute; left: 18px; bottom: -28px; width: 60px; height: 60px; border-radius: 50%; background: var(--crimson); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 0 0 6px #fff; }
.nh-dept-body { padding: 44px 18px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nh-dept-name { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--ink); }
.nh-dept-lead { font-size: 15px; line-height: 1.6; color: var(--muted); }
.nh-dept-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.nh-dept-foot span { color: var(--muted); }
.nh-dept-foot b { color: var(--ink); font-weight: 500; }
.nh-dept:hover .nh-dept-foot b { color: var(--crimson); }

/* department page layout */
.nh-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
@media (max-width: 1199px) { .nh-layout { grid-template-columns: 1fr 310px; gap: 32px; } }
@media (max-width: 991px) { .nh-layout { grid-template-columns: 1fr; } }
.nh-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
@media (max-width: 991px) { .nh-aside { position: static; } }
.nh-menu a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-pill); color: var(--ink); font-weight: 500; font-size: 15px; transition: background-color .2s, color .2s; }
.nh-menu a:hover { background: var(--cream); color: var(--crimson); }
.nh-menu a[aria-current="page"] { background: var(--crimson); color: #fff; }
.nh-menu a i { font-size: 11px; opacity: .6; }
.nh-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); }

.nh-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
@media (max-width: 575px) { .nh-steps { grid-template-columns: 1fr; } }
.nh-step { position: relative; padding: 26px 24px 24px 80px; border-radius: var(--r-card); background: var(--white); }
.nh-step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--petal); color: var(--crimson); font-family: var(--serif); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.nh-step h4 { font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.nh-step p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

.nh-faq details { border-radius: var(--r-card); background: #fff; transition: box-shadow .2s; }
.nh-faq details + details { margin-top: 10px; }
.nh-faq details[open] { box-shadow: var(--shadow-md); }
.nh-faq summary { list-style: none; cursor: pointer; padding: 22px 70px 22px 26px; font-weight: 500; font-size: 17px; color: var(--ink); position: relative; line-height: 1.45; }
.nh-faq summary::-webkit-details-marker { display: none; }
.nh-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background-color .2s, color .2s; }
.nh-faq details[open] summary::after { content: "\2212"; background: var(--crimson); color: #fff; }
.nh-faq details > div { padding: 0 26px 24px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.nh-section.tint .nh-faq details { background: var(--cream); }

.nh-emergency { padding: 30px; border-radius: var(--r-card); background: var(--teal); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.nh-emergency::after { content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; background: rgba(224,185,59,.14); }
.nh-emergency h4 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.nh-emergency p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.nh-emergency .num { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold); margin-bottom: 16px; }

/* facilities, insurance */
.nh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 991px) { .nh-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .nh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nh-tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 12px 16px; border-radius: var(--r-pill); background: #fff; font-weight: 500; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.nh-tile.feature { background: var(--crimson); color: #fff; }
.nh-amen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991px) { .nh-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nh-amen > div { padding: 26px; border-radius: var(--r-card); background: #fff; }
.nh-amen i { width: 52px; height: 52px; border-radius: 50%; background: var(--petal); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; color: var(--crimson); }
.nh-amen > div:nth-child(4n+2) i { background: var(--sand); }
.nh-amen > div:nth-child(4n+3) i { background: var(--sage); }
.nh-amen > div:nth-child(4n+4) i { background: var(--rose); }
.nh-amen h4 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 14px 0 4px; color: var(--ink); }
.nh-amen p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 575px) { .nh-amen > div { padding: 18px; } }

/* articles */
.nh-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 991px) { .nh-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .nh-posts { grid-template-columns: 1fr; } }
.nh-post { display: flex; flex-direction: column; overflow: hidden; height: 100%; padding: 10px; }
.nh-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.nh-post-body { padding: 20px 14px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nh-post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.nh-post-title { font-family: var(--serif); font-size: 24px; color: var(--ink); line-height: 1.2; }
.nh-post:hover .nh-post-title { color: var(--crimson); }
.nh-post-ex { font-size: 15px; color: var(--muted); line-height: 1.6; }
.nh-article { max-width: 760px; }
.nh-article h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; color: var(--ink); margin: 44px 0 14px; }
.nh-article p { font-size: 18px; line-height: 1.8; color: #3E4643; }
.nh-article ul, .nh-article ol { margin: 0 0 1em; }
.nh-note { padding: 22px 24px; background: var(--petal); border-radius: var(--r-card); font-size: 16px; line-height: 1.65; color: var(--ink); }
.nh-note b { color: var(--crimson); }

/* gallery */
.nh-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
@media (max-width: 991px) { .nh-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .nh-gallery { grid-template-columns: 1fr; } }
.nh-gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--r-card); background: var(--cream-2); }
.nh-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.nh-gallery a:hover img { transform: scale(1.04); }
.nh-gallery figure { margin: 0; }
.nh-gallery figcaption { position: absolute; left: 14px; bottom: 14px; right: auto; max-width: calc(100% - 28px); padding: 8px 14px; border-radius: var(--r-pill); color: var(--ink); background: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.nh-gallery .wide { grid-column: span 2; }
.nh-gallery .wide img { aspect-ratio: 8 / 3; }
@media (max-width: 575px) { .nh-gallery .wide { grid-column: auto; } .nh-gallery .wide img { aspect-ratio: 4 / 3; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding: 0 clamp(8px, 1.6vw, 24px) clamp(8px, 1.6vw, 24px); }
.main-content > :last-child.cta-wrap, .main-content > .nh-section:last-child { margin-bottom: 0; }
.footer-panel { background: var(--teal); color: rgba(255,255,255,.78); border-radius: var(--r-panel); padding: 72px 0 28px; position: relative; overflow: hidden; isolation: isolate; }
.footer-panel::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -200px; top: -240px; border-radius: 50%; border: 80px solid rgba(224,185,59,.08); }
.footer-news { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-news h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; color: #fff; }
.footer-news p { margin: 10px 0 0; }
.news-form { display: flex; gap: 8px; padding: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); }
.news-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 18px; font-size: 15px; }
.news-form input::placeholder { color: rgba(255,255,255,.6); }
.news-form input:focus { outline: none; }
.news-form .btn { min-height: 48px; }
.site-footer .form-status { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 40px; padding: 56px 0 48px; }
.footer-grid h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; margin-bottom: 22px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.contact-list i { color: var(--gold); margin-top: 4px; flex: none; }
.contact-list b { color: #fff; font-weight: 500; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 1099px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .footer-panel { padding: 48px 0 24px; border-radius: 24px; }
  .footer-news { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-grid > .contact-col { grid-column: 1 / -1; }
  .news-form { flex-direction: column; border-radius: 24px; }
  .news-form input { min-height: 48px; }
}

/* floating contact + mobile action bar */
.nh-fab { position: fixed; right: 20px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.nh-fab a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s; }
.nh-fab a:hover { transform: scale(1.06); color: #fff; }
.nh-fab .wa { background: var(--whatsapp); }
.nh-fab .call { background: var(--crimson); }
.nh-fab svg { width: 26px; height: 26px; fill: currentColor; }
.nh-mbar { display: none; }
@media (max-width: 767px) {
  .nh-fab { display: none; }
  .nh-mbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 900; background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); padding: 6px; }
  .nh-mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink); }
  .nh-mbar a svg { width: 19px; height: 19px; fill: currentColor; }
  .nh-mbar a.call { background: var(--crimson); color: #fff; }
  .nh-mbar a.wa { color: var(--whatsapp); }
  body { padding-bottom: 80px; }
}
@media print { .nh-fab, .nh-mbar, .site-header, .topline { display: none !important; } }

/* motion */
.js-enabled .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-enabled .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-enabled .reveal { opacity: 1; transform: none; }
}

/* ---------- refinements ---------- */
/* content starts right under the page title */
.page-hero + .nh-section, .page-hero + section.section { padding-top: 8px; }
.page-hero { padding-bottom: 48px; }
/* doctor filter: one swipeable row on phones instead of a tall stack */
@media (max-width: 767px) {
  .nh-filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 28px; padding: 4px var(--gutter); scroll-snap-type: x proximity; }
  .nh-filter::-webkit-scrollbar { display: none; }
  .nh-filter button { flex: none; scroll-snap-align: start; }
  .page-hero { padding: 40px 0 32px; }
}
/* card titles never collide with their arrow button */
.feature h3 { padding-right: 8px; }
/* consistent tap feedback */
a, button { -webkit-tap-highlight-color: rgba(179,38,58,.12); }
/* doctor profile: name already shows in the page title and the card */
.nh-profile .nh-block:first-child > .nh-eyebrow + .nh-h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nh-profile .nh-block:first-child > .nh-eyebrow { margin-bottom: 18px; }
.nh-profile-card .nh-pad p { margin-bottom: 0; }
.nh-profile-card .nh-name + .nh-qual { margin-top: 6px; }

/* =========================================================
   Facilities - real photographs from Narayan Hospital
   ========================================================= */
.fac-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.fac { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--cream-2); cursor: zoom-in; }
.fac-grid .fac:first-child { grid-row: span 2; }
.fac img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.fac:hover img { transform: scale(1.05); }
.fac figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; color: #fff; background: linear-gradient(180deg, rgba(14,34,32,0), rgba(14,34,32,.88)); display: flex; flex-direction: column; gap: 4px; }
.fac figcaption b { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; }
.fac figcaption span { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.82); }
.fac .zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; }
.fac:hover .zoom, .fac:focus-visible .zoom { opacity: 1; transform: none; }
.fac .zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fac-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.fac-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); flex: none; }
@media (max-width: 991px) { .fac-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 260px; } }
@media (max-width: 575px) { .fac-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 12px; } .fac-grid .fac:first-child { grid-row: span 1; height: 380px; } .fac .zoom { opacity: 1; transform: none; } }

/* facility strip inside department pages */
.nh-fac { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nh-fac .fac { aspect-ratio: 4 / 5; }
.nh-fac .fac figcaption { padding: 40px 14px 14px; }
.nh-fac .fac figcaption b { font-size: 18px; }
.nh-fac .fac figcaption span { font-size: 12.5px; }
@media (max-width: 575px) { .nh-fac { grid-template-columns: 1fr 1fr; } .nh-fac .fac:first-child { grid-column: span 2; aspect-ratio: 16 / 10; } .nh-fac .fac figcaption span { display: none; } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,22,20,.88); }
.lightbox img { max-width: min(1100px, 94vw); max-height: 78vh; width: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lightbox p { margin: 14px auto 0; max-width: 700px; padding: 0 16px; text-align: center; color: rgba(255,255,255,.85); font-size: 15px; }
.lightbox p b { font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; color: #fff; }
.lightbox button { border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); line-height: 1; }
.lightbox .lb-close { position: fixed; right: 18px; top: 18px; width: 48px; height: 48px; font-size: 26px; }
.lightbox .lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 22px; }
.lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }
@media (max-width: 575px) { .lightbox .lb-nav { top: auto; bottom: 18px; transform: none; } }

/* real photo inside the dark diagnostics panel */
.diag-pic { position: relative; flex: 1; min-height: 200px; margin: 0; border-radius: 12px; overflow: hidden; }
.diag-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.diag-pic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.92); color: var(--ink); font-size: 12.5px; font-weight: 500; }
@media (max-width: 991px) { .diag-pic { min-height: 240px; } }
