/* MJ Shah Super Speciality Hospital — site styles
   Tokens mirror Brand/brand_tokens.json. Mobile-first. */
:root {
  --ink: #14213D;
  --teal: #0B6E6E;
  --teal-dark: #08504F;
  --teal-tint: #E3F0EE;
  --saffron: #E39B2D;
  --saffron-tint: #FBEBD2;
  --stone: #E9E3D9;
  --bone: #FAF7F2;
  --slate: #4A5568;
  --line: #DDD5C8;
  --care-red: #B42318;
  --white: #FFFFFF;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --arch: 999px 999px 14px 14px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .06);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow {
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 8px; background: var(--saffron); border-radius: 8px 8px 2px 2px; }
.lede { font-size: 1.2rem; color: var(--slate); max-width: 62ch; }
.muted { color: var(--slate); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Utility bar + header */
.utility { background: var(--ink); color: #fff; font-size: .85rem; }
.utility .wrap { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 7px 0; flex-wrap: wrap; }
.utility a { color: #fff; text-decoration: none; }
.utility .emg { color: #fff; font-weight: 600; }
.utility .emg::before { content: "●"; color: #ff6b5b; margin-right: 6px; }
.utility nav { display: flex; gap: 18px; }
.site-header { background: rgba(250, 247, 242, .96); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand img { height: 46px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-dark); }
.header-cta { display: none; gap: 10px; align-items: center; }
.menu-btn { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bone); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-nav a { display: block; padding: 12px 16px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--stone); }
@media (min-width: 1040px) {
  .nav, .header-cta { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font: 600 1rem var(--sans); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #1F7A4D; color: #fff; }
.btn-wa:hover { background: #17603c; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

/* Sections */
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.bg-white { background: #fff; }
.bg-stone { background: var(--stone); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .muted, .bg-ink .lede { color: #cfd6e4; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { max-width: 60ch; margin: 0; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; color: var(--slate); list-style: none; padding: 0; margin: 0; }
.trust li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 6px; }
.arch-photo {
  border-radius: var(--arch); aspect-ratio: 4 / 5; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(227, 155, 45, .25), transparent 60%),
    linear-gradient(160deg, var(--teal) 0%, var(--ink) 100%);
  display: flex; align-items: flex-end; padding: 22px; color: #fff;
}
.arch-photo .ph { font-size: .82rem; opacity: .85; border: 1px dashed rgba(255,255,255,.5); border-radius: 10px; padding: 8px 12px; background: rgba(0,0,0,.15); }
.arch-photo.light { background: linear-gradient(160deg, var(--stone), var(--teal-tint)); color: var(--ink); }
.arch-photo.light .ph { border-color: rgba(20,33,61,.3); background: rgba(255,255,255,.5); }

/* Quick finder ("What brings you here?") */
.finder { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-top: -28px; position: relative; z-index: 2; }
.finder h2 { font-size: 1.25rem; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 9px 15px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-dark); text-decoration: none; font-weight: 500; font-size: .95rem; }
.chip:hover { background: var(--teal); color: #fff; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s;
}
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0; color: var(--slate); font-size: .96rem; }
.card .more { margin-top: auto; padding-top: 10px; color: var(--teal); font-weight: 600; font-size: .92rem; }
.card .ico { width: 44px; height: 44px; border-radius: 22px 22px 8px 8px; background: var(--teal-tint); display: grid; place-items: center; color: var(--teal); }
.card .ico svg { width: 24px; height: 24px; }

/* Doctor cards */
.doc { display: grid; gap: 14px; }
.doc .arch-photo { aspect-ratio: 1 / 1.1; }
.doc h3 { margin: 4px 0 0; }
.doc .quals { font-size: .9rem; color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 6px 0 0; }
.tags li { font-size: .8rem; background: var(--stone); padding: 4px 10px; border-radius: 999px; }

/* Stats */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font: 600 2.6rem/1 var(--serif); color: var(--saffron); }
.stat span { font-size: .92rem; color: #cfd6e4; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 1.6rem var(--serif); color: var(--saffron); display: block; margin-bottom: 6px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.steps p { font-size: .95rem; color: var(--slate); margin: 0; }

/* Breadcrumb + page head */
.page-head { padding: 36px 0 40px; background: linear-gradient(180deg, var(--stone), var(--bone)); }
.crumbs { font-size: .86rem; color: var(--slate); margin-bottom: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--slate); }

/* Article (health library) */
.article-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .article-grid { grid-template-columns: 240px 1fr 300px; align-items: start; } }
.toc { position: sticky; top: 96px; font-size: .92rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 14px; color: var(--slate); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--teal); border-left-color: var(--teal); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; scroll-margin-top: 100px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.callout { background: var(--saffron-tint); border-left: 4px solid var(--saffron); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6em 0; }
.callout.red { background: #FDECEA; border-left-color: var(--care-red); }
.review { font-size: .85rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 30px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; margin: 0; color: var(--slate); }

/* A–Z library */
.search { width: 100%; padding: 15px 18px; border: 1px solid var(--line); border-radius: 999px; font: 1rem var(--sans); background: #fff; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 26px; }
.az a, .az span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.az a { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.az span { color: var(--line); }
[hidden] { display: none !important; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: 1rem var(--sans); background: var(--bone); color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--slate); font-weight: 400; }
.check input { width: auto; margin-top: 4px; }
.form-note { font-size: .82rem; color: var(--slate); }
.err { color: var(--care-red); font-size: .85rem; }

/* CTA band */
.cta-band { background: var(--teal); color: #fff; border-radius: 28px; padding: 40px 28px; display: grid; gap: 20px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 48px 56px; } }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #d7ecea; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border: 36px solid rgba(255,255,255,.08); border-radius: 50%; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd6e4; padding: 56px 0 110px; font-size: .94rem; }
@media (min-width: 1040px) { .site-footer { padding-bottom: 40px; } }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h3 { font: 600 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.placeholder { background: rgba(227,155,45,.18); border: 1px dashed var(--saffron); border-radius: 6px; padding: 1px 6px; color: inherit; }

/* Sticky mobile action bar */
.action-bar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,33,61,.08); }
.action-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 11px; font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.action-bar a svg { width: 22px; height: 22px; }
.action-bar a.book { background: var(--teal); color: #fff; }
@media (min-width: 1040px) { .action-bar { display: none; } }

/* Cookie / consent notice */
.consent { position: fixed; left: 16px; right: 16px; bottom: 76px; z-index: 70; background: var(--ink); color: #fff; border-radius: 14px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .88rem; max-width: 560px; }
@media (min-width: 1040px) { .consent { bottom: 20px; } }
.consent p { margin: 0; flex: 1 1 260px; }

/* Misc */
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }
.list-check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.list-check li { padding-left: 28px; position: relative; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-radius: 8px 8px 2px 2px; background: var(--saffron); }
.map-ph { aspect-ratio: 16 / 10; border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--stone), var(--stone) 12px, #efe9df 12px, #efe9df 24px); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--slate); }
.notice { background: var(--teal-tint); border-radius: 12px; padding: 14px 18px; font-size: .92rem; }
.quote { font: italic 500 1.35rem/1.45 var(--serif); }
table.simple { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
table.simple th, table.simple td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple th { background: var(--stone); font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .utility, .site-header, .action-bar, .consent, .site-footer, .aside-card { display: none !important; } }

/* Mobile refinements */
@media (max-width: 899px) {
  .hero .arch-photo { aspect-ratio: auto; height: 300px; }
  .utility nav { display: none; }
}

/* Real photography inside the arch frame */
.arch-photo.has-img { padding: 0; background: var(--stone); }
.arch-photo.has-img picture, .arch-photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-photo.has-img img { object-fit: cover; object-position: 50% 22%; }
