/* Shree Satguru Hospital — site styles. Navy + teal, mobile first. */
:root {
  --navy-900: #081B35;
  --navy-800: #0F2A4F;
  --navy-700: #1A3E6E;
  --navy-100: #E3DCCB;
  --teal-700: #0A5E5D;
  --teal-600: #0D7473;
  --teal-100: #C9E9E7;
  --teal-50: #EEF6F3;
  --ink: #1F2933;
  --muted: #52606D;
  --mist: #F7F3EA;
  --red-50: #FEF2F2;
  --red-700: #B91C1C;
  --radius: 18px;
  --gold: #B8924A;
  --gold-soft: #E9D9B4;
  --shadow: 0 1px 2px rgba(11,37,69,.06), 0 8px 24px -12px rgba(11,37,69,.18);
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: #FFFEFB; padding-bottom: 68px;
}
img, svg, iframe { max-width: 100%; }
a { color: var(--teal-700); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.2; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section.alt { background: var(--mist); }
.section.tint { background: var(--teal-50); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin: 0 0 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 24px; border-radius: 999px; font: 700 1rem var(--font-body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s;
}
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-teal { background: var(--teal-600); color: #fff; }
.btn-teal:hover { background: var(--teal-700); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--teal-50); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--navy-900); color: #fff; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar .tag { color: var(--teal-100); display: none; }
header.site { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--navy-100); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font: 700 1.05rem var(--font-display); }
.logo-text { line-height: 1.15; }
.logo-text b { display: block; font: 700 1.1rem var(--font-display); color: var(--navy-900); }
.logo-text small { color: var(--teal-700); font-weight: 600; font-size: .75rem; letter-spacing: .04em; }
nav.main { display: none; align-items: center; gap: 4px; }
nav.main a { padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--navy-900); font-weight: 500; font-size: .98rem; }
nav.main a:hover { background: var(--teal-50); color: var(--teal-700); }
nav.main a[aria-current="page"] { background: var(--teal-50); color: var(--teal-700); font-weight: 700; }
nav.main .btn { margin-left: 8px; min-height: 44px; padding: 8px 20px; color: #fff; }
nav.main .btn:hover { background: var(--teal-700); color: #fff; }
.menu-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy-100); background: #fff; color: var(--navy-900); display: grid; place-items: center; cursor: pointer; }
.menu-btn .icon { width: 26px; height: 26px; }
.mobile-nav { display: none; background: #fff; border-top: 1px solid var(--navy-100); padding: 12px 20px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 14px; border-radius: 12px; text-decoration: none; color: var(--navy-900); font-weight: 500; font-size: 1.1rem; }
.mobile-nav a[aria-current="page"] { background: var(--teal-50); color: var(--teal-700); font-weight: 700; }
.mobile-nav .btn { margin-top: 12px; width: 100%; color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; padding: 64px 0 56px; }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -120px; border-radius: 50%; background: rgba(14,124,123,.35); filter: blur(60px); }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 14em; }
.hero .eyebrow { color: var(--teal-100); }
.hero p.lead { color: #D6E2F2; margin: 18px 0 28px; }
.facts { display: grid; gap: 12px; margin-top: 36px; }
.fact { background: rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; font-size: .95rem; }
.fact b { display: flex; align-items: center; gap: 8px; color: var(--teal-100); font-size: .9rem; margin-bottom: 2px; }

.page-head { background: var(--mist); border-bottom: 1px solid var(--navy-100); padding: 44px 0; }
.page-head h1 { margin-top: 8px; }
.page-head .lead { margin: 14px 0 0; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.card { background: #fff; border: 1px solid var(--navy-100); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.icon-chip { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 14px; }
.icon-chip .icon { width: 26px; height: 26px; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
.ticks li { display: flex; gap: 10px; padding: 5px 0; }
.ticks .icon { color: var(--teal-600); margin-top: 4px; }
.doctor { text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font: 700 2rem var(--font-display); margin: 0 auto 14px; }
.doctor .qual { color: var(--teal-700); font-weight: 700; font-size: .95rem; margin: 0; }
.doctor .spec { color: var(--muted); font-size: .95rem; margin: 2px 0 0; }
.doctor .btn { margin-top: 16px; min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.split { display: grid; gap: 32px; align-items: center; }
.note { background: #fff; border: 1px solid var(--navy-100); border-radius: 12px; padding: 14px 16px; font-size: .92rem; color: var(--muted); }
.alert { background: var(--red-50); border: 1px solid #FCA5A5; border-radius: 14px; padding: 16px 18px; color: #7F1D1D; }
.alert b { color: var(--red-700); }
.alert a { color: #7F1D1D; font-weight: 700; }
.hours { list-style: none; padding: 0; margin: 12px 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--navy-100); }
.hours li:last-child { border: 0; }
.map { border: 1px solid var(--navy-100); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 12px 0; }
.contact-list .icon { color: var(--teal-700); margin-top: 4px; width: 1.4em; height: 1.4em; }
.contact-list b { display: block; color: var(--navy-900); }

/* CTA band */
.cta { background: var(--navy-900); color: #fff; padding: 52px 0; }
.cta h2 { color: #fff; }
.cta p { color: #D6E2F2; margin: 8px 0 0; }
.cta .wrap { display: grid; gap: 24px; }

/* Form */
form.appt { display: grid; gap: 18px; }
.row2 { display: grid; gap: 18px; }
label.lbl { display: block; font-weight: 700; font-size: .92rem; color: var(--navy-900); margin-bottom: 6px; }
.field { width: 100%; padding: 13px 14px; font: inherit; border: 1px solid #B8C4D3; border-radius: 12px; background: #fff; color: var(--ink); min-height: 48px; }
.field:focus { border-color: var(--teal-600); }
textarea.field { min-height: 96px; resize: vertical; }
.hint { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.err { color: var(--red-700); font-size: .88rem; font-weight: 600; margin: 4px 0 0; min-height: 0; }
.field[aria-invalid="true"] { border-color: var(--red-700); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-size: .92rem; color: var(--navy-900); margin-bottom: 6px; padding: 0; }
.radios { display: flex; gap: 22px; flex-wrap: wrap; }
.radios label, .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--teal-600); margin-top: 3px; flex: none; }
.form-msg { border-radius: 12px; padding: 14px 16px; font-weight: 500; }
.form-msg.ok { background: var(--teal-50); border: 1px solid var(--teal-600); color: var(--navy-900); }
.form-msg.bad { background: var(--red-50); border: 1px solid #FCA5A5; color: #7F1D1D; }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer.site { background: var(--navy-900); color: #D6E2F2; padding: 52px 0 28px; font-size: .96rem; }
footer.site h2 { font-size: 1.05rem; color: #fff; margin-bottom: 12px; }
footer.site a { color: #D6E2F2; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { padding: 4px 0; }
footer.site address { font-style: normal; }
.foot-grid { display: grid; gap: 28px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 20px; font-size: .88rem; }
footer.site .logo-text b { color: #fff; }
footer.site .logo-text small { color: var(--teal-100); }
footer.site .logo-mark { background: #fff; color: var(--navy-900); }

/* Mobile action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; background: #fff; border-top: 1px solid var(--navy-100); box-shadow: 0 -4px 16px rgba(11,37,69,.1); }
.actionbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 4px; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--navy-900); }
.actionbar a.wa { color: var(--teal-700); }
.actionbar a.book { background: var(--navy-900); color: #fff; }
.actionbar .icon { width: 24px; height: 24px; }

@media (min-width: 640px) {
  .topbar .tag { display: inline; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .g2 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .actionbar { display: none; }
  nav.main { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .section { padding: 80px 0; }
  .hero { padding: 96px 0 80px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.wide-left { grid-template-columns: 1.4fr 1fr; }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
  .cta .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .map iframe { height: 420px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* ===== Premium layer ===== */
.eyebrow { color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); display: inline-block; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(184,146,74,.28), transparent 60%), linear-gradient(160deg, #081B35 0%, #0F2A4F 60%, #0A3A44 100%); padding: 84px 0 64px; }
.hero::before { background: rgba(184,146,74,.22); }
.hero h1 { font-weight: 700; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero p.lead { color: #DCE6F3; }
.hero .btn-light { box-shadow: 0 8px 24px -10px rgba(0,0,0,.5); }
.btn { letter-spacing: .01em; }
.btn-teal { background: linear-gradient(135deg, #0D7473, #0A5E5D); box-shadow: 0 8px 20px -10px rgba(10,94,93,.7); }
.btn-primary { background: linear-gradient(135deg, #0F2A4F, #081B35); box-shadow: 0 8px 20px -10px rgba(8,27,53,.7); }
.btn-gold { background: linear-gradient(135deg, #CDA75C, #A67F3A); color: #fff; box-shadow: 0 8px 20px -10px rgba(166,127,58,.8); }
.btn-gold:hover { filter: brightness(1.06); }
.topbar { background: #050F1E; }
.topbar .tag { color: var(--gold-soft); }
header.site { background: rgba(255,254,251,.94); border-bottom: 1px solid var(--gold-soft); }
.logo-mark { background: linear-gradient(135deg, #0F2A4F, #081B35); box-shadow: 0 0 0 2px var(--gold-soft); }
.fact { background: rgba(255,255,255,.08); border: 1px solid rgba(233,217,180,.25); backdrop-filter: blur(4px); }
.fact b { color: var(--gold-soft); }
.page-head { background: linear-gradient(180deg, #F7F3EA, #FFFEFB); border-bottom: 1px solid var(--gold-soft); }
.card { border: 1px solid var(--navy-100); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(8,27,53,.06), 0 18px 36px -16px rgba(8,27,53,.28); }
.icon-chip { background: linear-gradient(135deg, #F3E9D0, #FBF6E9); color: #8A6A2C; }
.avatar { background: linear-gradient(135deg, #F3E9D0, #FBF6E9); color: var(--navy-900); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold-soft); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctor .qual { color: var(--gold); }
.cta { background: linear-gradient(135deg, #081B35, #0F2A4F 70%, #0A3A44); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(184,146,74,.2); filter: blur(40px); }
.cta .wrap { position: relative; z-index: 1; }
.section.tint { background: linear-gradient(180deg, #EEF6F3, #F7F3EA); }
footer.site { background: #050F1E; }
.actionbar a.book { background: linear-gradient(135deg, #CDA75C, #A67F3A); }

/* trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--navy-100); }
.trust .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding-top: 0; padding-bottom: 0; }
.trust-item { padding: 20px 12px; text-align: center; border-right: 1px solid var(--navy-100); border-bottom: 1px solid var(--navy-100); }
.trust-item b { display: block; font: 700 1.7rem var(--font-display); color: var(--navy-900); }
.trust-item span { font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) { .trust .wrap { grid-template-columns: repeat(4, 1fr); } .trust-item { border-bottom: 0; } .trust-item:last-child { border-right: 0; } }

/* hero photo slot */
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-photo { display: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr .75fr; }
  .hero-photo { display: block; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; border: 1px solid rgba(233,217,180,.4);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); position: relative; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
}
.hero-photo .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--gold-soft); font: 600 1rem var(--font-display); }
.hero-photo .ph small { display: block; margin-top: 8px; font: 400 .85rem var(--font-body); color: #B8C6DA; }

/* steps */
.steps { display: grid; gap: 18px; counter-reset: s; }
.step { position: relative; padding: 24px 24px 24px 76px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 1.1rem var(--font-display); color: #fff; background: linear-gradient(135deg, #CDA75C, #A67F3A); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.quote { border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; font: 600 1.2rem/1.5 var(--font-display); color: var(--navy-900); }
.quote small { display: block; font: 400 .9rem var(--font-body); color: var(--muted); margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) { .card { will-change: transform; } }
.avatar { position: relative; }
.avatar img { position: absolute; inset: 0; z-index: 1; }
