/* ------------------------------------------------------------------
   Rasi Hospital & Orthopedic Speciality Center
   Palette taken from the hospital logo: indigo #3e4095, sky #00aff0
------------------------------------------------------------------- */
:root {
  --indigo: #3e4095;
  --indigo-700: #2f3178;
  --indigo-900: #1f2152;
  --sky: #00aff0;
  --sky-600: #0096d1;
  --sky-100: #e2f5fd;
  --indigo-100: #e9e9f6;
  --ink: #1a1d3a;
  --body: #3d4160;
  --muted: #6b7088;
  --line: #e3e6f0;
  --bg: #f5f7fc;
  --white: #ffffff;
  --green: #25d366;
  --red: #d64545;
  --amber: #f0a83a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(31, 33, 82, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 33, 82, 0.14);
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --topbar-h: 38px;
  --header-h: 78px;
}

*, *::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: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--sky-600); }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2em; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -0.25em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-family: var(--font-head);
  font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .2s ease; line-height: 1.2;
  white-space: nowrap;
}
.btn--primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px rgba(62, 64, 149, .25); }
.btn--primary:hover { background: var(--indigo-700); color: #fff; transform: translateY(-1px); }
.btn--sky { background: var(--sky); color: #fff; box-shadow: 0 8px 20px rgba(0, 175, 240, .3); }
.btn--sky:hover { background: var(--sky-600); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--outline:hover { background: var(--indigo); color: #fff; }
.btn--white { background: #fff; color: var(--indigo); }
.btn--white:hover { background: var(--sky-100); color: var(--indigo); }
.btn--ghost { color: var(--indigo); background: var(--indigo-100); }
.btn--ghost:hover { background: #dcdcf1; color: var(--indigo-700); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--whatsapp:hover { background: #1fb558; color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .88rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-family: var(--font-head); }
.link .icon { transition: transform .2s; }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--indigo-900); color: #c9cbee; font-size: .82rem; height: var(--topbar-h); }
.topbar__in { display: flex; align-items: center; gap: 1.4rem; height: 100%; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; color: inherit; white-space: nowrap; }
.topbar__item .icon { color: var(--sky); }
.topbar__item:hover { color: #fff; }
.topbar__spacer { flex: 1; }
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(31, 33, 82, .07); }
.header__in { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand img { width: 50px; height: 50px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; color: var(--indigo); }
.brand__text small { font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a { padding: .55rem .85rem; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--body); font-family: var(--font-head); }
.nav a:hover { background: var(--bg); color: var(--indigo); }
.nav a.is-active { color: var(--indigo); background: var(--indigo-100); }
.header__cta { display: flex; align-items: center; gap: .6rem; }
.nav a.nav__cta, .nav a.nav__phone { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--indigo-100); color: var(--indigo); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
body.nav-open .nav-toggle .icon--open { display: none; }
body.nav-open .nav-toggle .icon--close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, var(--sky-100), transparent 60%), linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 4.5rem 0 4rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--sky); border-radius: 3px; }
.hero h1 span { color: var(--indigo); }
.hero__lead { font-size: 1.12rem; color: var(--body); max-width: 56ch; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink); box-shadow: 0 2px 8px rgba(31, 33, 82, .05); }
.chip .icon { color: var(--sky-600); }
.hero__media { position: relative; }
.hero__img { border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 14/11; object-fit: cover; width: 100%; }
.hero__badge { position: absolute; left: -18px; bottom: 28px; background: #fff; padding: .9rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem; }
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: var(--indigo); }
.hero__badge span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.hero__badge .icon { width: 42px; height: 42px; padding: 9px; background: var(--sky-100); color: var(--sky-600); border-radius: 12px; }
.hero__badge--top { left: auto; right: -14px; top: 26px; bottom: auto; }

/* ---------- Stats ---------- */
.stats { background: var(--indigo); color: #fff; }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.7rem 1.2rem; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; line-height: 1; margin-bottom: .35rem; }
.stat strong small { font-size: 1.3rem; color: var(--sky); }
.stat > span { display: block; font-size: .85rem; color: #c9cbee; font-weight: 500; line-height: 1.4; }
.stat strong span { font-size: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--bg { background: var(--bg); }
.section--indigo { background: linear-gradient(135deg, var(--indigo-900), var(--indigo)); color: #e4e5f7; }
.section--indigo h2, .section--indigo h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 2.6rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { font-size: 1.05rem; color: var(--muted); }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-head--row > div { max-width: 640px; }
.grid { display: grid; gap: 1.4rem; }
.grid > *, .contact-grid > *, .contact-layout > *, .split > *, .hero__in > *, .faq details, .faq summary,
.quick-actions__grid > *, .qa > div, .steps--row > *, .doc-mini-grid > *, .doc-mini > div, .doc-layout > *, .doc-hero > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.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: 1.6rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--sky-100); color: var(--sky-600); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }
.card--link .link { margin-top: 1rem; font-size: .9rem; }
.card--indigo { background: var(--indigo); border-color: transparent; color: #d9dbf4; }
.card--indigo h3 { color: #fff; }
.card--indigo p { color: #c9cbee; }
.card--indigo .card__icon { background: rgba(255, 255, 255, .12); color: var(--sky); }

/* ---------- Split (about teaser) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.split__collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split__collage img { aspect-ratio: 4/3; width: 100%; }
.split__collage img:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16/9; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .7rem; align-items: start; font-weight: 500; color: var(--ink); min-width: 0; }
.check-list li > span { min-width: 0; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; background: var(--sky-100); color: var(--sky-600); border-radius: 50%; margin-top: .15rem; }
.check-list--light li { color: #fff; }
.check-list--light .icon { background: rgba(255, 255, 255, .15); color: var(--sky); }

/* ---------- Doctors ---------- */
.doctor-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doctor-card__img { aspect-ratio: 8/9; object-fit: cover; width: 100%; }
.doctor-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.doctor-card__spec { color: var(--sky-600); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-head); margin-bottom: .3rem; }
.doctor-card h3 { margin-bottom: .15rem; }
.doctor-card__qual { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.doctor-card__actions { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.doctor-profile { display: grid; grid-template-columns: 360px 1fr; gap: 3rem; align-items: start; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.doctor-profile:first-of-type { border-top: 0; padding-top: 0; }
.doctor-profile__img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 8/9; object-fit: cover; position: sticky; top: calc(var(--header-h) + 20px); }
.doctor-profile h2 { margin-bottom: .2rem; }
.doctor-profile__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 1.4rem; }
.tag { display: inline-block; padding: .3rem .75rem; background: var(--indigo-100); color: var(--indigo); border-radius: 999px; font-size: .8rem; font-weight: 600; }
.tag--sky { background: var(--sky-100); color: var(--sky-600); }
.doctor-profile__focus { margin: 1.4rem 0; padding: 1.2rem 1.4rem; background: var(--bg); border-radius: var(--radius-sm); }
.doctor-profile__focus h4 { margin-bottom: .6rem; }
.doctor-profile__focus ul { margin: 0; columns: 2; gap: 2rem; font-size: .95rem; }
.doctor-profile__focus li { margin-bottom: .3rem; break-inside: avoid; }

/* ---------- Doctor profile pages ---------- */
.doc-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.doc-hero__img { width: 100%; max-width: 380px; aspect-ratio: 8/9; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); justify-self: end; border: 5px solid rgba(255, 255, 255, .18); }
.page-hero .doctor-card__spec { color: var(--sky); }
.page-hero .doctor-profile__meta { margin: 1rem 0 0; }
.tag--light { background: rgba(255, 255, 255, .14); color: #fff; }
.doc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.doc-layout aside { position: sticky; top: calc(var(--header-h) + 20px); }
.doc-layout h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.doc-layout h2:first-child { margin-top: 0; }
.doc-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; font-size: .93rem; }
.doc-facts li { display: flex; justify-content: space-between; gap: 1rem; }
.doc-facts span { color: var(--muted); }
.doc-facts strong { color: var(--ink); text-align: right; }
.doc-mini { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); color: inherit; }
.doc-mini:hover { color: var(--indigo); }
.doc-mini img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.doc-mini strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.doc-mini span { font-size: .82rem; color: var(--muted); }

/* ---------- Facilities strip ---------- */
.facility { display: flex; gap: 1rem; align-items: start; padding: 1.2rem 1.3rem; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.facility .icon { width: 42px; height: 42px; padding: 9px; background: var(--indigo-100); color: var(--indigo); border-radius: 12px; flex: 0 0 auto; }
.facility h4 { margin-bottom: .2rem; }
.facility p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; border: 0; padding: 0; background: var(--bg); aspect-ratio: 1; display: block; width: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption, .gallery__cap { position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .8rem; background: linear-gradient(transparent, rgba(26, 29, 58, .85)); color: #fff; font-size: .82rem; font-weight: 600; text-align: left; line-height: 1.3; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.tab { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-family: var(--font-head); color: var(--body); cursor: pointer; font-size: .92rem; }
.tab[aria-selected="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.tab-panel[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; background: rgba(15, 17, 40, .92); z-index: 500; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(96vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__cap { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; text-align: center; max-width: 90vw; font-size: .95rem; }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__close { top: 1rem; right: 1rem; transform: none; }

/* ---------- Case cards ---------- */
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; padding: 0; text-align: left; font: inherit; color: inherit; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card img { aspect-ratio: 1; object-fit: cover; width: 100%; background: #111; }
.case-card__body { padding: 1rem 1.2rem 1.2rem; }
.case-card__body strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: .2rem; font-size: .98rem; }
.case-card__body span { color: var(--muted); font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--indigo-900) 0%, var(--indigo) 55%, var(--sky-600) 140%); border-radius: 28px; padding: 3rem; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(0, 175, 240, .25); right: -120px; top: -160px; filter: blur(10px); }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #d9dbf4; margin: 0; font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-grid--wide { grid-template-columns: 1.4fr 1fr; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem; }
.info-card .icon { width: 44px; height: 44px; padding: 10px; background: var(--sky-100); color: var(--sky-600); border-radius: 12px; flex: 0 0 auto; }
.info-card h4 { margin-bottom: .25rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-card a { font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours strong { color: var(--ink); }
.hours .badge { font-size: .75rem; font-weight: 700; color: #0b7a3b; background: #dff7e8; padding: .15rem .55rem; border-radius: 999px; }

/* ---------- Contact page ---------- */
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: stretch; }
.contact-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem 1.8rem; box-shadow: var(--shadow); }
.contact-row { display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-row:last-child { border-bottom: 0; }
.contact-row > .icon { width: 48px; height: 48px; padding: 12px; background: var(--sky-100); color: var(--sky-600); border-radius: 14px; }
.contact-row h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.contact-row p { margin: 0; color: var(--body); }
.contact-row p + p { margin-top: .25rem; }
.contact-row a { font-weight: 600; }
.contact-row .big { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--indigo); display: block; line-height: 1.5; }
.contact-row .muted { color: var(--muted); font-size: .9rem; }
.contact-layout .map iframe { height: 100%; min-height: 100%; }
.faq { display: grid; gap: .6rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.1rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 0; font-weight: 600; font-family: var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--sky-600); transition: transform .2s; flex: 0 0 auto; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .95rem;
  color: var(--ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0, 175, 240, .15); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7088' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form-foot small { color: var(--muted); }
.alert { display: none; gap: .7rem; align-items: start; padding: .9rem 1rem; border-radius: 12px; font-size: .95rem; margin-bottom: 1.2rem; }
.alert.is-visible { display: flex; }
.alert--error { background: #fdeaea; color: #8a1f1f; }
.alert--success { background: #dff7e8; color: #0b5a2d; }
.alert .icon { margin-top: .1rem; }
.success-panel { text-align: center; padding: 2.5rem 1rem; }
.success-panel .icon { width: 68px; height: 68px; padding: 16px; background: #dff7e8; color: #0b7a3b; border-radius: 50%; margin: 0 auto 1rem; }
.success-panel h3 { font-size: 1.5rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li { display: flex; gap: 1rem; align-items: start; }
.steps li::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); flex: 0 0 auto; font-size: .9rem; }
.steps strong { display: block; color: var(--ink); }
.steps span { font-size: .92rem; color: var(--muted); }
.side-card { background: var(--bg); border-radius: var(--radius); padding: 1.6rem; }
.side-card + .side-card { margin-top: 1.2rem; }
.side-card h3 { font-size: 1.1rem; }
.side-card .btn { width: 100%; margin-top: .6rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--indigo-900), var(--indigo) 60%, #2f6fb8); color: #fff; padding: 3.8rem 0 3.4rem; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("/img/logo.png") no-repeat right -60px center / 420px; opacity: .06; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #d9dbf4; font-size: 1.1rem; max-width: 60ch; margin: 0; }
.crumbs { display: flex; gap: .5rem; font-size: .82rem; color: #b8bbe6; margin-bottom: 1rem; font-weight: 600; }
.crumbs a { color: #d9dbf4; }
.crumbs a:hover { color: #fff; }

/* ---------- Department rows ---------- */
.dept { display: grid; grid-template-columns: 72px 1fr; gap: 1.4rem; padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 110px; }
.dept__icon { width: 72px; height: 72px; border-radius: 18px; background: var(--sky-100); color: var(--sky-600); display: grid; place-items: center; }
.dept__icon .icon { width: 34px; height: 34px; }
.dept h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.dept__lead { color: var(--muted); }
.dept__list { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: .8rem 0 1.2rem; list-style: none; }
.dept__list li { background: var(--bg); border-radius: 999px; padding: .3rem .8rem; font-size: .84rem; font-weight: 500; color: var(--ink); }
.dept__doc { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.dept__doc a { font-weight: 600; }

/* ---------- Timeline / values ---------- */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--line); display: grid; gap: 1.8rem; }
.timeline li { list-style: none; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem - 7px); top: .4rem; width: 12px; height: 12px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px var(--sky-100); }
.timeline strong { font-family: var(--font-head); color: var(--indigo); font-size: 1.05rem; display: block; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value { padding: 1.8rem; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.value .icon { width: 40px; height: 40px; color: var(--sky); margin-bottom: 1rem; }
.value h3 { font-size: 1.1rem; }
.value p { margin: 0; color: #c9cbee; font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--indigo-900); color: #b8bbe6; padding: 4rem 0 0; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: #c9cbee; }
.footer a:hover { color: #fff; }
.footer .brand__text strong { color: #fff; }
.footer .brand__text small { color: #b8bbe6; }
.footer__blurb { margin: 1rem 0; font-size: .92rem; max-width: 36ch; }
.footer__contact li { display: flex; gap: .6rem; align-items: start; font-size: .93rem; }
.footer__contact .icon { color: var(--sky); margin-top: .2rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.footer__social a:hover { background: var(--sky); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.2rem 0; font-size: .82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Floating action buttons ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: .6rem; z-index: 90; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); transition: transform .2s; }
.fab a:hover { transform: scale(1.06); color: #fff; }
.fab a .icon { width: 28px; height: 28px; }
.fab__wa { background: var(--green); }
.fab__call { background: var(--indigo); display: none !important; }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
@media print { .reveal { opacity: 1; transform: none; } }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.notice { display: flex; gap: .8rem; align-items: start; padding: 1rem 1.2rem; background: #fff7e8; border: 1px solid #f7dfae; color: #7a4d00; border-radius: var(--radius-sm); font-size: .93rem; }
.notice .icon { color: var(--amber); flex: 0 0 auto; margin-top: .15rem; }
/* ---------- Language switch + Tamil typography ---------- */
.lang { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 700; padding: .42rem .75rem; border-radius: 999px; border: 1.5px solid var(--indigo-100); color: var(--indigo); font-family: var(--font-head); white-space: nowrap; background: #fff; }
.lang:hover { background: var(--indigo-100); color: var(--indigo-700); }
html[lang="ta"] { --font-head: "Noto Sans Tamil", "Plus Jakarta Sans", system-ui, sans-serif; --font-body: "Noto Sans Tamil", "Inter", system-ui, sans-serif; }
html[lang="ta"] body { line-height: 1.8; }
html[lang="ta"] main, html[lang="ta"] .footer { overflow-wrap: anywhere; }
.nav a { white-space: nowrap; }
.brand, .header__cta { flex: 0 0 auto; }
.nav a.nav__lang { display: none; }
.hours li > *, .contact-row > div, .case-card__body { min-width: 0; }
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3, html[lang="ta"] h4 { line-height: 1.35; letter-spacing: 0; }
html[lang="ta"] h1 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
html[lang="ta"] h2 { font-size: clamp(1.45rem, 2.7vw, 2.05rem); }
html[lang="ta"] h3 { font-size: 1.15rem; }
html[lang="ta"] .eyebrow, html[lang="ta"] .doctor-card__spec, html[lang="ta"] .footer h4, html[lang="ta"] .lang { text-transform: none; letter-spacing: .01em; }
html[lang="ta"] .btn { white-space: normal; text-align: center; }
.brand__text strong, .brand__text small { white-space: nowrap; }
html[lang="ta"] .brand__text strong { font-size: 1rem; }
html[lang="ta"] .brand__text small { font-size: .66rem; }
html[lang="ta"] .nav a { padding: .5rem .55rem; font-size: .84rem; }
html[lang="ta"] .header .btn, html[lang="ta"] .lang { white-space: nowrap; }
html[lang="ta"] .header__in { gap: 1rem; }
/* With the language switch in the header, the full nav only fits above 1100px: use the hamburger below that */
@media (max-width: 1100px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: #fff; padding: 1rem 16px 1.4rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(31, 33, 82, .12); display: none; margin: 0; }
  body.nav-open .nav { display: flex; }
  .nav a, html[lang="ta"] .nav a { padding: .8rem 1rem; font-size: 1rem; }
  .nav a.nav__cta { display: inline-flex; justify-content: center; margin-top: .6rem; background: var(--indigo); color: #fff; }
  .nav a.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 2px solid var(--indigo-100); color: var(--indigo); margin-top: .4rem; }
  .nav a.nav__lang { display: inline-flex; justify-content: center; border: 1.5px solid var(--line); margin-top: .4rem; }
  .nav-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 1300px) {
  html[lang="ta"] .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: #fff; padding: 1rem 16px 1.4rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(31, 33, 82, .12); display: none; margin: 0; }
  html[lang="ta"] body.nav-open .nav { display: flex; }
  html[lang="ta"] .nav a { padding: .8rem 1rem; font-size: 1rem; }
  html[lang="ta"] .nav a.nav__cta { display: inline-flex; justify-content: center; margin-top: .6rem; background: var(--indigo); color: #fff; }
  html[lang="ta"] .nav a.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 2px solid var(--indigo-100); color: var(--indigo); margin-top: .4rem; }
  html[lang="ta"] .nav a.nav__lang { display: inline-flex; justify-content: center; border: 1.5px solid var(--line); margin-top: .4rem; }
  html[lang="ta"] .nav-toggle { display: inline-flex; }
  html[lang="ta"] .header__cta .btn { display: none; }
  html[lang="ta"] .header__cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .header__cta .lang { display: none; }
  html[lang="ta"] .brand__text strong { white-space: normal; font-size: .95rem; line-height: 1.15; max-width: 150px; }
}
html[lang="ta"] .stat > span { font-size: .8rem; }
html[lang="ta"] .error-code { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }

/* ---------- Quick actions (home) ---------- */
.quick-actions { position: relative; z-index: 2; margin-top: -2.2rem; }
.quick-actions__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.qa { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.qa:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.qa .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; flex: 0 0 auto; color: #fff; }
.qa--call .icon { background: var(--indigo); }
.qa--wa .icon { background: var(--green); }
.qa--book .icon { background: var(--sky); }
.qa--map .icon { background: var(--indigo-900); }
.qa strong { display: block; font-family: var(--font-head); font-size: .98rem; line-height: 1.2; }
.qa span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; margin-top: .15rem; }

/* ---------- Steps row ---------- */
.steps--row { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.steps--row li { flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; gap: .9rem; }
.steps--row li::before { width: 40px; height: 40px; font-size: 1rem; }
.steps--row strong { font-size: 1.08rem; margin-bottom: .2rem; }

/* ---------- Emergency callout ---------- */
.emergency { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem; padding: 1.2rem 1.5rem; border-radius: var(--radius); background: linear-gradient(120deg, #fff4f4, #fff); border: 1px solid #f3c9c9; margin-bottom: 1.6rem; }
.emergency .icon { width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: #fde2e2; color: var(--red); }
.emergency strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.emergency span { color: var(--muted); font-size: .93rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(214, 69, 69, .25); }
.btn--red:hover { background: #b93a3a; color: #fff; transform: translateY(-1px); }

/* ---------- Consultant mini cards ---------- */
.doc-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.doc-mini--card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; background: #fff; transition: transform .2s, box-shadow .2s; }
.doc-mini--card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-mini--card .link { font-size: .82rem; margin-left: auto; }
.dept__docs { margin: .2rem 0 1.2rem; }
.dept__docs .doc-mini-grid { grid-template-columns: repeat(2, minmax(0, 300px)); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; left: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--indigo); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; z-index: 90; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top .icon { width: 22px; height: 22px; transform: rotate(180deg); }
@media (max-width: 860px) {
  .quick-actions { margin-top: 0; padding: 1.4rem 0 1.6rem; background: var(--bg); }
  .hero__in { padding-bottom: 1.6rem; }
  .quick-actions__grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .qa { padding: .85rem .9rem; gap: .7rem; }
  .qa .icon { width: 38px; height: 38px; padding: 9px; }
  .qa strong { font-size: .9rem; }
  .qa span { font-size: .74rem; }
  .steps--row { grid-template-columns: 1fr; }
  .emergency { grid-template-columns: auto 1fr; }
  .emergency .btn { grid-column: 1 / -1; }
  .doc-mini-grid, .dept__docs .doc-mini-grid { grid-template-columns: 1fr; }
  .to-top { left: 14px; bottom: 14px; }
}

/* ---------- 404 ---------- */
.error-hero { background: linear-gradient(135deg, var(--indigo-900), var(--indigo) 60%, #2f6fb8); color: #fff; padding: 4rem 0 4.5rem; position: relative; overflow: hidden; }
.error-hero::before { content: ""; position: absolute; inset: 0; background: url("/img/logo.png") no-repeat right -80px center / 460px; opacity: .06; }
.error-hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.error-hero h1 { color: #fff; margin-bottom: .6rem; }
.error-hero p { color: #d9dbf4; font-size: 1.1rem; max-width: 56ch; }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: .9; letter-spacing: -0.04em; color: rgba(255, 255, 255, .12); margin: 0 0 .4rem; }
.error-hero .eyebrow { color: var(--sky); }
.ecg { width: 100%; max-width: 520px; justify-self: end; display: block; }
.ecg path { fill: none; stroke: var(--sky); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ecg-draw 3.2s linear infinite; filter: drop-shadow(0 0 8px rgba(0, 175, 240, .8)); }
.ecg .ecg__grid { stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: none; animation: none; filter: none; }
@keyframes ecg-draw { 0% { stroke-dashoffset: 1600; } 70% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.ecg__beat { animation: ecg-pulse 1.2s ease-in-out infinite; transform-origin: center; }
@keyframes ecg-pulse { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } }
.rx-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 2rem; box-shadow: var(--shadow); }
.rx-card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.rx-card__head .rx { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--indigo); line-height: 1; }
.rx-card__head small { display: block; color: var(--muted); font-size: .85rem; }
.rx-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.rx-list a { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; transition: all .2s; }
.rx-list a:hover { border-color: var(--sky); background: var(--sky-100); color: var(--indigo); transform: translateY(-2px); }
.rx-list .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--indigo-100); color: var(--indigo); flex: 0 0 auto; }
.rx-list span small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) {
  .error-hero .container { grid-template-columns: 1fr; gap: 1.5rem; }
  .ecg { justify-self: start; max-width: 100%; }
  .rx-list { grid-template-columns: 1fr; }
}
.quote { font-size: 1.25rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.5; border-left: 4px solid var(--sky); padding-left: 1.2rem; margin: 1.6rem 0; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .doctor-profile { grid-template-columns: 280px 1fr; gap: 2rem; }
  .topbar__item--hide-md { display: none; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav { position: fixed; inset: calc(var(--header-h)) 0 auto 0; flex-direction: column; background: #fff; padding: 1rem 16px 1.4rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(31, 33, 82, .12); display: none; margin: 0; }
  body.nav-open .nav { display: flex; }
  .nav a { padding: .8rem 1rem; font-size: 1rem; }
  .nav a.nav__cta { display: inline-flex; justify-content: center; margin-top: .6rem; background: var(--indigo); color: #fff; }
  .nav a.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 2px solid var(--indigo-100); color: var(--indigo); margin-top: .4rem; }
  .header__cta { margin-left: auto; }
  .hero__badge--top { display: none; }
  /* Compact horizontal cards so long lists (12 departments, 8 facilities) stay short on phones */
  .grid--4 > .card { display: grid; grid-template-columns: 46px 1fr; gap: .9rem 1rem; padding: 1.05rem 1.1rem; align-items: start; }
  .grid--4 > .card .card__icon { width: 46px; height: 46px; border-radius: 12px; margin: 0; grid-row: 1 / span 2; }
  .grid--4 > .card .card__icon .icon { width: 22px; height: 22px; }
  .grid--4 > .card h3 { font-size: 1.05rem; margin: .1rem 0 0; }
  .grid--4 > .card p { font-size: .88rem; }
  .grid--4 > .card .link { grid-column: 2; margin-top: .2rem; }
  .section-head { margin-bottom: 1.8rem; }
  .stat strong { font-size: 1.9rem; margin-bottom: .25rem; }
  .stat { padding: 1.15rem .75rem; }
  .stat > span { font-size: .78rem; line-height: 1.35; }
  .qa { align-items: center; }
  .cta-band h2 { font-size: 1.6rem; }
  .header { top: 0; }
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .header__in { gap: 1rem; }
  .brand img { width: 42px; height: 42px; }
  .brand__text strong { font-size: 1.05rem; }
  .hero__in { grid-template-columns: 1fr; padding: 2.6rem 0 3rem; gap: 2rem; }
  .hero__badge { left: 10px; bottom: 14px; }
  .hero__badge--top { right: 10px; top: 14px; }
  .stats__in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid rgba(255, 255, 255, .12); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .section { padding: 3.4rem 0; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band { grid-template-columns: 1fr; padding: 2rem; border-radius: 20px; }
  .cta-band__actions { justify-content: flex-start; }
  .contact-grid, .contact-grid--wide, .contact-layout { grid-template-columns: 1fr; }
  .contact-layout .map { min-height: 320px; }
  .contact-panel { padding: .2rem 1.2rem; }
  .contact-row { grid-template-columns: 40px 1fr; gap: .9rem; padding: 1.1rem 0; }
  .contact-row > .icon { width: 40px; height: 40px; padding: 10px; }
  .page-hero__actions .btn { flex: 1 1 auto; }
  .doctor-profile { grid-template-columns: 1fr; }
  .doctor-profile__img { position: static; max-width: 360px; }
  .doc-hero { grid-template-columns: 1fr; gap: 1.6rem; }
  .doc-hero__img { max-width: 240px; justify-self: start; order: -1; aspect-ratio: 1; border-radius: 22px; }
  .doc-layout { grid-template-columns: 1fr; gap: 2rem; }
  .doc-layout aside { position: static; }
  .doctor-profile__focus ul { columns: 1; }
  .section-head--row { flex-direction: column; align-items: start; }
  .dept { grid-template-columns: 1fr; gap: 1rem; }
  .fab__call { display: grid !important; }
  .fab { bottom: 14px; right: 14px; }
}
@media (max-width: 560px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--4.grid--cases { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .grid--cases .case-card__body { padding: .7rem .8rem .9rem; }
  .grid--cases .case-card__body strong { font-size: .88rem; }
  .grid--cases .case-card__body span { font-size: .78rem; }
  .doctor-card__img { aspect-ratio: 4/3; }
  .hero__img { aspect-ratio: 4/3; border-radius: 20px; }
  .hero__lead { font-size: 1.02rem; }
  .split__collage img:nth-child(1) { aspect-ratio: 16/10; }
  .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: auto; aspect-ratio: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero__actions .btn { width: 100%; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: 1.15rem; }
  html[lang="ta"] .brand__text strong { font-size: 1.05rem; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .hero__badge { padding: .7rem .9rem; }
  .hero__badge strong { font-size: 1.3rem; }
  .page-hero { padding: 2.6rem 0 2.4rem; }
}
