/* Sohum Nursing Home — snhbsr.in · v2 navy/gold */
:root {
  --navy: #16263f;
  --navy-deep: #0d1829;
  --navy-mid: #1d3050;
  --gold: #c9a24b;
  --gold-bright: #e2ba62;
  --gold-soft: rgba(201, 162, 75, 0.14);
  --paper: #f6f7f9;
  --tint: #edf0f5;
  --ink: #17233a;
  --ink-soft: #5a6579;
  --red: #c0392b;
  --red-deep: #99271c;
  --wa: #1e9e50;
  --line: #e0e3ea;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(13, 24, 41, 0.10);
  --shadow-lift: 0 22px 48px rgba(13, 24, 41, 0.18);
  --font-head: "Montserrat", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0425rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.22; letter-spacing: -0.022em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; margin-top: 1.75rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 800;
  color: var(--gold); margin-bottom: 0.4rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--navy-deep); color: #fff; padding: 0.6rem 1rem; }
.skip:focus { left: 0; }

/* ---------- ECG components ---------- */
.ecg-mini, .ecg-loader, .ecg-404 { display: block; }
.ecg-mini path, .ecg-loader path, .ecg-404 path {
  fill: none; stroke: currentColor; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: ecg-draw 2s linear infinite;
}
@keyframes ecg-draw {
  0% { stroke-dashoffset: 100; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}
.ecg-mini { width: 52px; height: 17px; color: #ffc9c0; flex: none; }
.ecg-loader { width: 230px; height: 46px; color: var(--gold-bright); }
.ecg-404 { width: 280px; height: 56px; color: var(--red); margin-bottom: 0.75rem; }

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.055); }
  28% { transform: scale(0.975); }
  42% { transform: scale(1.04); }
  58% { transform: scale(1); }
}

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 400;
  background: radial-gradient(85% 85% at 50% 38%, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
body.loaded #loader { opacity: 0; visibility: hidden; }
html.no-loader #loader { display: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.loader-inner img { filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4)); animation: heartbeat 1.4s ease-in-out infinite; }
.loader-brand { color: #f4ead2; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 0.06em; }

/* ---------- Progress bar ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
#progress-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); border-radius: 0 3px 3px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.68rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--navy-deep); }
.btn-gold:hover { animation: heartbeat 0.95s ease-in-out infinite; box-shadow: 0 10px 28px rgba(201, 162, 75, 0.45); }
.btn-navy, .btn-solid { background: var(--navy); color: #fff; }
.btn-navy:hover, .btn-solid:hover { background: var(--navy-mid); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188544; }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); backdrop-filter: blur(8px); }
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-deep); animation: heartbeat 0.95s ease-in-out infinite; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.text-link { font-weight: 800; color: var(--gold); }
.text-link:hover { color: var(--navy); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(246, 247, 249, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-head.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(13, 24, 41, 0.08); }
.head-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none !important; color: var(--ink); }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); font-size: 1.08rem; letter-spacing: -0.01em; }
.brand-text small { color: var(--ink-soft); font-size: 0.76rem; letter-spacing: 0.04em; }
.site-nav { display: flex; gap: 1.35rem; margin-left: auto; }
.site-nav a { color: var(--ink-soft); font-weight: 700; font-size: 0.93rem; padding: 0.4rem 0; position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2.5px;
  background: var(--gold); border-radius: 2px; transition: right 0.25s ease;
}
.site-nav a:hover { color: var(--navy); text-decoration: none; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--navy); }
.head-actions { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }
.site-nav + .head-actions { margin-left: 0; }
.lang-switch {
  border: 1.5px solid var(--line); border-radius: 999px; padding: 0.35rem 0.95rem;
  font-weight: 800; font-size: 0.86rem; color: var(--navy); background: #fff;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.head-call { font-size: 0.9rem; min-height: 42px; padding: 0.4rem 1.1rem; }
.nav-toggle { display: none; }

/* ---------- Emergency strip (marquee + fixed 72 BPM ECG) ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.em-strip { position: relative; background: linear-gradient(90deg, var(--red-deep), #7c1f15 50%, var(--red-deep)); color: #fff; font-size: 0.93rem; overflow: hidden; }
.em-marquee { overflow: hidden; }
.em-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.em-strip:hover .em-track { animation-play-state: paused; }
.em-group { display: flex; align-items: center; white-space: nowrap; padding: 0.44rem 0; }
.em-group span { padding: 0 0.8rem 0 1.1rem; font-weight: 600; letter-spacing: 0.03em; }
.em-group a { color: #fff; font-weight: 800; letter-spacing: 0.04em; }
.em-group i { font-style: normal; color: #ffc9c0; font-size: 0.72rem; padding: 0 1.1rem 0 1.9rem; }
.em-center {
  position: absolute; left: 50%; top: 0; bottom: 0; transform: translateX(-50%);
  display: flex; align-items: center; padding: 0 3.2rem;
  background: linear-gradient(90deg, transparent, #7c1f15 30%, #7c1f15 70%, transparent);
  pointer-events: none;
}
.ecg-beat { width: 96px; height: 22px; }
.ecg-beat path {
  fill: none; stroke: #ffd7d0; stroke-width: 3.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: ecg-draw 0.8333s linear infinite; /* 72 BPM */
  filter: drop-shadow(0 0 5px rgba(255, 180, 170, 0.65));
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-deep); }
.hero-media { position: absolute; inset: -6% 0; will-change: transform; }
.hero-media picture, .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { object-fit: cover; animation: kenburns 16s ease-out forwards; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(198deg, rgba(13, 24, 41, 0.05) 25%, rgba(13, 24, 41, 0.88) 80%),
              linear-gradient(90deg, rgba(13, 24, 41, 0.62), rgba(13, 24, 41, 0.06) 55%);
}
.hero-inner { position: relative; color: #fff; width: 100%; max-width: 1160px; margin: 0 auto; padding: 7.5rem 1.25rem 5rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 800;
  color: var(--gold-bright); margin-bottom: 0.7rem;
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--gold-bright); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.1rem); max-width: 16ch; text-wrap: balance; }
.hero .lede { margin-top: 1.1rem; max-width: 44rem; font-size: clamp(1.02rem, 1.8vw, 1.22rem); color: rgba(255, 255, 255, 0.92); }
.hero-chips { display: flex; gap: 0.6rem; margin-top: 1.3rem; flex-wrap: wrap; }
.chip.chip-glass {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; backdrop-filter: blur(8px);
}
.hero-item { opacity: 0; transform: translateY(26px); animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero-item:nth-child(1) { animation-delay: 0.45s; }
.hero-item:nth-child(2) { animation-delay: 0.6s; }
.hero-item:nth-child(3) { animation-delay: 0.78s; }
.hero-item:nth-child(4) { animation-delay: 0.95s; }
.hero-item:nth-child(5) { animation-delay: 1.1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lift);
  margin-top: -3.4rem; position: relative; z-index: 5;
}
.stats-flat { margin-top: 0; box-shadow: var(--shadow); grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 2rem; }
.stat { background: #fff; padding: 1.5rem 1rem 1.3rem; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--navy); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }

/* ---------- Marquee keyframes (emergency strip) ---------- */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 3.75rem 0; }
.section-tint, .section-cream { background: linear-gradient(180deg, var(--tint), var(--paper)); }
.section-dark {
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(201, 162, 75, 0.13), transparent 60%),
    radial-gradient(50% 70% at 8% 90%, rgba(29, 48, 80, 0.9), transparent 70%),
    var(--navy-deep);
  color: #eef1f6;
}
.section-dark h2 { color: #fff; }
.section-gallery { padding-bottom: 3rem; }
.sub { color: var(--ink-soft); max-width: 48rem; margin-bottom: 1.75rem; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 2.5rem; align-items: center; }
.about-copy p + p { margin-top: 0.9rem; }
.about-copy p { color: var(--ink-soft); }
.about-copy h2 { color: var(--navy); margin-bottom: 0.9rem; }
.about-side {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  background:
    radial-gradient(90% 90% at 50% 0%, rgba(201, 162, 75, 0.16), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius); padding: 2.4rem 1.6rem; box-shadow: var(--shadow-lift);
}
.about-logo { width: 120px; height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35)); }
.about-fact { text-align: center; color: #efe3c6; }
.about-fact strong { display: block; font-family: var(--font-head); font-size: 2.6rem; color: var(--gold-bright); line-height: 1.1; }
.about-fact span { font-size: 0.9rem; opacity: 0.9; }

/* ---------- Speciality cards ---------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.6rem; }
.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease; }
@media (hover: hover) { .spec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); } }
.spec-media { aspect-ratio: 16 / 9; overflow: hidden; }
.spec-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.spec-card:hover .spec-media img { transform: scale(1.06); }
.spec-body { padding: 1.5rem 1.6rem 1.7rem; }
.spec-body h3 { font-size: 1.42rem; color: var(--navy); margin-bottom: 0.45rem; }
.spec-body > p { color: var(--ink-soft); margin-bottom: 0.7rem; }
.spec-doc { font-weight: 700; color: var(--ink) !important; font-size: 0.95rem; }
.spec-body .text-link { display: inline-block; margin-top: 0.5rem; }

/* ---------- Ayushman band ---------- */
.ayush-band {
  background:
    radial-gradient(70% 120% at 90% 0%, rgba(201, 162, 75, 0.22), transparent 55%),
    linear-gradient(120deg, var(--navy), var(--navy-deep));
  color: #fff; padding: 3.2rem 0;
}
.ayush-inner { display: flex; align-items: center; gap: 2rem; justify-content: space-between; flex-wrap: wrap; }
.ayush-inner h2 { color: #fff; max-width: 26ch; }
.ayush-inner p { color: rgba(255, 255, 255, 0.88); max-width: 46rem; }
.ayush-badge {
  display: inline-block; background: var(--gold-soft); border: 1px solid rgba(201, 162, 75, 0.6);
  color: var(--gold-bright); border-radius: 999px; padding: 0.18rem 0.85rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; margin-bottom: 0.7rem;
}

/* ---------- Doctors ---------- */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 780px; margin: 1.6rem auto 0; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.4rem; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
@media (hover: hover) { .doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } }
.doc-photo img { border-radius: 14px; margin-bottom: 1rem; }
.doc-card h3 { margin-bottom: 0.2rem; color: var(--navy); }
.doc-quals { color: var(--ink-soft); font-size: 0.9rem; }

.profiles { display: grid; gap: 3.5rem; }
.pcard { display: flex; align-items: flex-start; }
.pcard-body { margin-top: 2rem; }
.pcard-media {
  width: 440px; max-width: 100%; aspect-ratio: 1; flex: none;
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lift);
  background: var(--tint);
  position: relative; z-index: 3;
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body {
  background: #fff; border-radius: 24px; box-shadow: 0 25px 60px rgba(13, 24, 41, 0.18);
  padding: 2.3rem 2.4rem 2.3rem calc(84px + 2.2rem); margin-left: -84px; position: relative; z-index: 2;
  flex: 1; max-width: 46rem;
}
.pcard-rev { flex-direction: row-reverse; }
.pcard-rev .pcard-body { margin-left: 0; margin-right: -84px; padding: 2.3rem calc(84px + 2.2rem) 2.3rem 2.4rem; }
.pcard h2 { color: var(--navy); }
.pcard .kicker { color: var(--gold); margin-bottom: 0.35rem; }
.pcard .kicker::before { background: var(--gold); }
.pcard .doc-quals { margin-bottom: 0.9rem; }
.pcard-bio { color: var(--ink-soft); }
.pcard h3 { margin: 1.2rem 0 0.5rem; }
.pcard-actions { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pact {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease;
}
.pact svg { width: 20px; height: 20px; fill: currentColor; }
.pact:hover { transform: scale(1.08); background: var(--gold); color: var(--navy-deep); }
.pact-wa { background: var(--wa); }
.pact-wa:hover { background: #188544; color: #fff; }
.pcard-cta { margin-left: 0.4rem; }
.note-line { color: var(--ink-soft); font-size: 0.95rem; border-left: 3px solid var(--gold); padding-left: 0.85rem; margin-top: 1.1rem; }

/* ---------- Why (dark) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.8rem; }
.why-item {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 1.5rem; backdrop-filter: blur(4px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.why-item:hover { border-color: rgba(201, 162, 75, 0.55); background: rgba(201, 162, 75, 0.07); transform: translateY(-4px); }
.why-ic { display: inline-flex; margin-bottom: 0.8rem; }
.why-ic svg { width: 34px; height: 34px; fill: none; stroke: var(--gold-bright); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { color: #fff; margin-bottom: 0.3rem; font-size: 1.06rem; }
.why-item p { color: rgba(238, 241, 246, 0.75); font-size: 0.94rem; }

/* ---------- Gallery ---------- */
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.6rem; }
.g-cell { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.g-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.g-cell:hover img { transform: scale(1.07); }
.g-cell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(13, 24, 41, 0.85));
  color: #fff; font-size: 0.9rem; font-weight: 700;
}
.g-note { text-align: right; color: var(--ink-soft); font-size: 0.78rem; margin-top: 0.6rem; }

/* ---------- Lists & chips ---------- */
.tick-list li { padding-left: 1.75rem; position: relative; margin-bottom: 0.4rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 1em; height: 1em;
  border-radius: 50%; background: var(--gold-soft);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="%23c9a24b" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" d="M3.5 8.5l3 3 6-6.5"/></svg>');
  background-size: 66%; background-position: center; background-repeat: no-repeat;
}
.always { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.45rem 1.1rem; font-weight: 700; font-size: 0.93rem; }

/* ---------- Dept / infra ---------- */
.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.dept-card { padding: 0; overflow: hidden; }
.dept-media { aspect-ratio: 16 / 8; overflow: hidden; }
.dept-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dept-card:hover .dept-media img { transform: scale(1.05); }
.dept-body { padding: 1.5rem 1.6rem 1.7rem; }
.dept-body h2 { font-size: 1.45rem; color: var(--navy); }
.dept-body > p { color: var(--ink-soft); margin: 0.5rem 0 1rem; }
.infra-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.25rem; margin-top: 2rem; }
.pcpndt-inline { margin-top: 1.4rem; background: #fdf1ef; border: 1px solid #ecccc6; border-radius: 12px; padding: 0.9rem 1.2rem; font-size: 0.92rem; color: var(--red-deep); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.step { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--navy-deep);
  font-weight: 800; font-size: 1.15rem; margin-bottom: 0.9rem; font-family: var(--font-head);
}
.step h3 { margin-bottom: 0.3rem; color: var(--navy); }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 52rem; }
.faq-list { margin-top: 1.2rem; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; padding: 1.05rem 0.2rem;
  font-weight: 800; font-size: 1.02rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 22px; height: 22px; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--gold); border-radius: 2px; transition: transform 0.25s ease;
}
.faq-x::before { width: 14px; height: 2.5px; }
.faq-x::after { width: 2.5px; height: 14px; }
.faq[open] .faq-x::after { transform: rotate(90deg); }
.faq[open] .faq-x::before { transform: rotate(180deg); }
.faq p { color: var(--ink-soft); padding: 0 0.2rem 1.1rem; max-width: 60ch; }

/* ---------- Testimonials (scrolling columns) ---------- */
.section-testi { background: linear-gradient(180deg, var(--paper), var(--tint)); overflow: hidden; }
.t-mask {
  display: flex; gap: 1.1rem; justify-content: center; align-items: flex-start;
  max-height: 620px; overflow: hidden; margin-top: 0.5rem;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.t-col { flex: 1; max-width: 360px; min-width: 0; }
.t-track { display: flex; flex-direction: column; animation: t-scroll var(--t-dur, 30s) linear infinite; }
.t-col:nth-child(1) .t-track { --t-dur: 30s; }
.t-col:nth-child(2) .t-track { --t-dur: 38s; }
.t-col:nth-child(3) .t-track { --t-dur: 34s; }
.t-mask:hover .t-track { animation-play-state: paused; }
@keyframes t-scroll { to { transform: translateY(-50%); } }
.t-set { display: flex; flex-direction: column; gap: 1.1rem; padding-bottom: 1.1rem; }
.t-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.5rem 1.5rem 1.4rem; box-shadow: var(--shadow); margin: 0;
}
.t-card blockquote { margin: 0; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.65; }
.t-card blockquote::before { content: "“"; display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 0.6; color: var(--gold); margin-bottom: 0.5rem; }
.t-card figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.1rem; }
.t-av {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff;
}
.av-0 { background: var(--navy); }
.av-1 { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--navy-deep); }
.av-2 { background: var(--wa); }
.t-card figcaption strong { display: block; line-height: 1.3; color: var(--ink); }
.t-card figcaption small { color: var(--ink-soft); }

/* ---------- Location / contact ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.25rem; align-items: center; }
.loc-addr { margin: 0.8rem 0; font-weight: 700; color: var(--navy); line-height: 1.6; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; filter: saturate(0.9); }
.map-tall iframe { height: 440px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.contact-grid h2 { font-size: 1.28rem; color: var(--navy); }
.contact-grid p { color: var(--ink-soft); }
.big-tel a { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700; color: var(--navy); }
.hr-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.hr-row:last-of-type { border-bottom: 0; }
.hr-row strong { color: var(--navy); white-space: nowrap; }

/* ---------- Page hero / prose ---------- */
.page-hero {
  background:
    radial-gradient(70% 120% at 90% 0%, rgba(201, 162, 75, 0.16), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff; padding: 4rem 0 3rem;
}
.page-hero h1 { font-size: clamp(2rem, 4.8vw, 3.1rem); color: #fff; max-width: 22ch; }
.page-hero .lede { margin-top: 0.9rem; max-width: 54rem; color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; }
.prose { max-width: 46rem; }
.prose section { margin-bottom: 1.9rem; }
.prose h2 { font-size: 1.32rem; color: var(--navy); }
.prose p { color: var(--ink-soft); }
.nf-ecg { display: flex; justify-content: flex-start; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(55% 90% at 12% 10%, rgba(201, 162, 75, 0.18), transparent 60%),
    linear-gradient(120deg, var(--navy-mid), var(--navy-deep));
  color: #fff; padding: 3.4rem 0;
}
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2.5rem; }
.cta-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta-copy p { color: rgba(255, 255, 255, 0.88); max-width: 44rem; margin-top: 0.5rem; }
.cta-photo img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy-deep); color: #b9c2d4; padding: 3.25rem 0 5.5rem; font-size: 0.95rem; border-top: 3px solid var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.25rem; margin-bottom: 2.25rem; }
.foot-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 0.7rem; }
.foot-brand { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.foot-addr { line-height: 1.6; }
.foot-tel a { color: var(--gold-bright); font-weight: 800; font-size: 1.2rem; }
.foot-wa { color: #7fd3a0; }
.site-foot a { color: #b9c2d4; }
.site-foot a:hover { color: var(--gold-bright); }
.foot-title { font-weight: 800; color: #fff; margin-bottom: 0.75rem; letter-spacing: 0.04em; }
.foot-links { display: flex; flex-direction: column; gap: 0.45rem; }
.foot-hours li { margin-bottom: 0.45rem; }
.pcpndt { border: 1px solid rgba(185, 194, 212, 0.3); border-left: 3px solid var(--gold); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.4rem; font-size: 0.87rem; line-height: 1.65; }
.pcpndt p + p { margin-top: 0.5rem; }
.foot-fine { font-size: 0.8rem; opacity: 0.7; margin-top: 0.5rem; }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 110;
  display: none; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(13, 24, 41, 0.16);
  padding-bottom: env(safe-area-inset-bottom);
}
.sb { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.55rem 0 0.5rem; font-size: 0.78rem; font-weight: 800; text-decoration: none !important; }
.sb svg { width: 22px; height: 22px; fill: currentColor; }
.sb-call { color: var(--red-deep); }
.sb-call:active { animation: heartbeat 0.9s ease-in-out; }
.sb-wa { color: var(--wa); }
.sb-dir { color: var(--navy); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .hero-item { opacity: 1; transform: none; transition: none; animation: none; }
  .hero-bg, .loader-inner img, .ticker-track { animation: none; }
  .ecg-mini path, .ecg-loader path, .ecg-404 path, .ecg-beat path { animation: none; stroke-dashoffset: 0; }
  .em-track { animation: none; }
  .t-track { animation: none; }
  .t-dup { display: none; }
  .t-mask { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .btn, .card, .spec-card { transition: none; }
  .btn-gold:hover, .btn-call:hover { animation: none; }
  #loader { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 34px rgba(13, 24, 41, 0.14); padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.open a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav.open a:last-child { border-bottom: 0; }
  .site-nav.open a::after { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 11px;
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle span { height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .head-call { display: none; }
  .about-grid, .infra-grid, .loc-grid, .cta-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-side { max-width: 380px; }
  .why-grid, .steps { grid-template-columns: 1fr 1fr; }
  .g-grid { grid-template-columns: 1fr 1fr; }
  .t-col:nth-child(3) { display: none; }
  .pcard, .pcard-rev { flex-direction: column; align-items: center; text-align: center; }
  .pcard-media { width: 100%; max-width: 440px; }
  .pcard-body, .pcard-rev .pcard-body { margin: -64px 0 0; padding: 1.8rem 1.4rem; width: calc(100% - 2rem); }
  .pcard .kicker, .pcard .kicker::before { justify-content: center; margin-left: auto; margin-right: auto; }
  .pcard .tick-list { text-align: left; max-width: 26rem; margin: 0 auto; }
  .pcard-actions { justify-content: center; }
  .cta-photo { max-width: 460px; }
}
@media (max-width: 700px) {
  body { padding-bottom: 68px; }
  .sticky-bar { display: grid; }
  .section { padding: 2.75rem 0; }
  .hero { min-height: 92vh; }
  .hero-inner { padding-bottom: 4.25rem; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -2.6rem; }
  .spec-grid, .dept-grid, .contact-grid, .why-grid, .steps { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .doc-card { padding: 0.9rem; }
  .brand-text small { display: none; }
  .ayush-inner { flex-direction: column; align-items: flex-start; }
  .map-frame iframe { height: 280px; }
  .map-tall iframe { height: 340px; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-foot { padding-bottom: 6.5rem; }
  .g-grid { gap: 0.7rem; }
  .g-cell { aspect-ratio: 4 / 4.4; }
  .t-col:nth-child(2) { display: none; }
  .t-col { max-width: none; }
  .t-mask { max-height: 520px; }
}
