/* ==========================================================================
   SkyMed Hospital
   Palette taken directly from the logo: #004098 (blue) + #70A828 (green).
   Trust-first clinical layout. Always light: the site must look the same on a
   phone in dark mode as it does on a desktop, so no prefers-color-scheme block.
   ========================================================================== */

:root {
  /* brand */
  --blue-900:#00214F;
  --blue-800:#002C6B;
  --blue:#004098;
  --blue-600:#1257B0;
  --blue-300:#8FB4E4;
  --blue-100:#D8E6F8;
  --blue-50:#EFF5FD;
  --blue-text:#004098;      /* blue used as text/icon on light surfaces */

  --green:#70A828;          /* logo green, exact */
  --green-hover:#7FBB2D;
  --green-ink:#0E1620;      /* text on green: 6.34:1 (white would be 2.87:1) */
  --green-700:#4C7419;      /* green TEXT on light backgrounds: 5.50:1 */
  --green-300:#B4D881;
  --green-50:#F2F8E7;

  /* neutrals */
  --ink:#0E1620;
  --text:#47566B;
  --muted:#5C6A7D;          /* 5.51:1 on white */
  --line:#E1E8F0;
  --line-soft:#EDF2F7;
  --field-border:#8494A8;   /* 3.10:1 on white, per WCAG 1.4.11 */
  --surface:#FFFFFF;
  --surface-2:#F7FAFD;
  --bg:#FFFFFF;

  --danger:#C4362C;

  --nav-h:70px;
  --util-h:38px;

  --r-card:12px;
  --r-btn:8px;
  --r-input:8px;

  --shadow-sm:0 1px 2px rgba(14,22,32,.05), 0 1px 3px rgba(14,22,32,.06);
  --shadow-md:0 2px 6px rgba(0,64,152,.06), 0 12px 28px -12px rgba(0,64,152,.18);
  --shadow-lg:0 4px 12px rgba(0,64,152,.08), 0 24px 48px -20px rgba(0,64,152,.28);

  --font:'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  color-scheme: light;
}



*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -.018em; }
h1 { font-size: clamp(31px, 4.2vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.028em; }
h2 { font-size: clamp(24px, 2.7vw, 35px); letter-spacing: -.022em; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

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

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 940px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue); color: #fff; padding: 14px 22px; font-weight: 700; }
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.005em;
  padding: 13px 24px; border-radius: var(--r-btn); border: 1.5px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
  white-space: nowrap; text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn-green { background: var(--green); color: var(--green-ink); }
.btn-green:hover { background: var(--green-hover); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); }
.btn-outline { border-color: var(--field-border); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--blue-text); color: var(--blue-text); }
.btn-on-dark { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-on-dark:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-wa { background: #25D366; color: #0B2A14; }
.btn-wa:hover { background: #1FC15A; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------- utilities */

/* Content is visible by default. The fade only applies once JS confirms it can
   un-hide it again, so a script failure never leaves the page blank. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.section { padding: 74px 0; }
.section-tight { padding: 52px 0; }
.section-alt { background: var(--surface-2); }

.section-head { max-width: 680px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { font-size: 17px; color: var(--text); }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 38px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }

.link-more { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-text); font-weight: 700; font-size: 15.5px; }
.link-more:hover { gap: 11px; }
.link-more svg { width: 17px; height: 17px; transition: transform .18s ease; }

.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;
}
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ------------------------------------------------------------ utility bar */

.utilbar {
  background: var(--blue-900); color: rgba(255,255,255,.82);
  font-size: 13.5px; height: var(--util-h); display: flex; align-items: center;
}
.utilbar .wrap { display: flex; align-items: center; gap: 22px; }
.utilbar a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.utilbar a:hover { color: #fff; }
.utilbar svg { width: 15px; height: 15px; opacity: .85; }
.utilbar .emergency { color: #fff; font-weight: 700; }
.utilbar .emergency svg { color: var(--green-300); opacity: 1; }
.utilbar .spacer { margin-left: auto; }
.utilbar .util-links { display: flex; gap: 20px; }
@media (max-width: 900px) { .utilbar .util-links { display: none; } }
@media (max-width: 560px) { .utilbar { font-size: 12.5px; } .utilbar .wrap { padding: 0 18px; gap: 14px; } }

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 26px; height: var(--nav-h); }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-text { font-size: 21px; font-weight: 800; color: var(--blue); letter-spacing: -.03em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 9px 13px; border-radius: 6px; position: relative;
}
.nav a:hover { color: var(--blue-text); background: var(--blue-50); }
.nav a[aria-current="page"] { color: var(--blue-text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px;
  height: 3px; background: var(--green); border-radius: 3px 3px 0 0;
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; text-align: right; line-height: 1.25; }
.header-phone .lbl { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.header-phone .num { font-size: 17px; font-weight: 800; color: var(--blue-text); letter-spacing: -.02em; }
@media (min-width: 1080px) { .header-phone { display: block; } }

.burger {
  display: none; background: var(--surface); border: 1.5px solid var(--field-border);
  border-radius: var(--r-btn); padding: 9px 10px; line-height: 0;
}
.burger svg { width: 21px; height: 21px; stroke: var(--ink); }

.nav-book .lbl-short { display: none; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: block; }
  .site-header .wrap { gap: 14px; padding: 0 18px; }
  .brand img { height: 36px; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0,33,79,.5); opacity: 0; transition: opacity .22s ease; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--surface); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; padding: 18px 22px 24px;
}
.drawer.open { visibility: visible; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-top img { height: 36px; }
.drawer-close { background: none; border: none; padding: 6px; line-height: 0; color: var(--ink); }
.drawer-close svg { width: 24px; height: 24px; }
.drawer a.dlink {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16.5px; font-weight: 600; color: var(--ink);
  padding: 15px 2px; border-bottom: 1px solid var(--line-soft);
}
.drawer a.dlink svg { width: 17px; height: 17px; color: var(--muted); }
.drawer-foot { margin-top: 22px; display: grid; gap: 10px; }
.drawer-call {
  display: flex; align-items: center; gap: 12px; background: var(--blue-50);
  border-radius: var(--r-card); padding: 14px 16px; margin-top: 4px;
}
.drawer-call svg { width: 22px; height: 22px; color: var(--blue-text); flex-shrink: 0; }
.drawer-call .lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.drawer-call .num { font-size: 17px; font-weight: 800; color: var(--blue-text); }

/* ----------------------------------------------------------------- hero */
/* The brand banner is the hero, edge to edge, the way Narayana and Max do it.
   It already carries its own headline, so no text is layered over it. */

.hero { position: relative; background: var(--blue-900); }

.hero-banner { display: block; width: 100%; height: auto; }

/* Below 900px the banner's own type is too small to read, so a real
   text block takes over with the building held behind a scrim. */
.hero-compact { display: none; position: relative; overflow: hidden; }
.hero-compact .bg { position: absolute; inset: 0; }
.hero-compact .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; opacity: .38; }
.hero-compact .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,33,79,.86), rgba(0,33,79,.96)); }
.hero-compact .inner { position: relative; z-index: 2; padding: 40px 0 46px; }
.hero-compact .hero-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); margin-bottom: 12px; }
.hero-compact h1 { color: #fff; font-size: clamp(28px, 8vw, 40px); margin-bottom: 14px; }
.hero-compact h1 .accent { color: var(--green-300); }
.hero-compact p { color: rgba(255,255,255,.9); font-size: 16.5px; margin-bottom: 24px; }
.hero-compact .hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-compact .hero-cta .btn { flex: 1 1 auto; }

@media (max-width: 900px) {
  .hero-banner { display: none; }
  .hero-compact { display: block; }
}

/* strip of trust points sitting under the banner, mirrors the banner icons */
.assurance { background: var(--blue); }
.assurance .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 18px 28px; }
.assurance .a { display: flex; align-items: center; gap: 11px; color: #fff; font-size: 14.5px; font-weight: 600; }
.assurance .a svg { width: 21px; height: 21px; color: var(--green-300); flex-shrink: 0; }
@media (max-width: 860px) { .assurance .wrap { grid-template-columns: repeat(2, 1fr); gap: 14px 18px; } }
@media (max-width: 460px) { .assurance .a { font-size: 13.5px; } }

/* ------------------------------------------------------- booking strip */

.booking { position: relative; z-index: 3; margin-top: 26px; }
.booking-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--shadow-md);
  padding: 20px 22px; display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr auto; align-items: end;
}
.booking-card .fieldset { min-width: 0; }
.booking-card label {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--muted);
  margin-bottom: 6px;
}
.booking-card select {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--field-border);
  border-radius: var(--r-input); background: var(--surface); color: var(--ink);
  font-family: inherit; font-size: 15.5px; font-weight: 600;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6A7D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 17px;
  padding-right: 36px;
}
.booking-card select:hover { border-color: var(--blue-300); }
@media (max-width: 820px) {
  .booking { margin-top: 20px; }
  .booking-card { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- quick tiles */

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

.tile {
  display: flex; align-items: center; gap: 15px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 19px 20px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tile:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile .ic {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue-text);
}
.tile .ic svg { width: 23px; height: 23px; }
.tile.accent .ic { background: var(--green-50); color: var(--green-700); }
.tile b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 700; line-height: 1.3; }
.tile span { font-size: 13.5px; color: var(--muted); }

/* -------------------------------------------------------- speciality grid */

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .spec-grid { grid-template-columns: 1fr; } }

.spec-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px 22px 22px; display: flex; flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  position: relative; overflow: hidden;
}
.spec-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.spec-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.spec-card:hover::before { transform: scaleX(1); }
.spec-card .ic {
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue-text);
  transition: background .18s ease, color .18s ease;
}
.spec-card:hover .ic { background: var(--blue); color: #fff; }
.spec-card .ic svg { width: 25px; height: 25px; }
.spec-card h3 { font-size: 17px; margin-bottom: 7px; }
.spec-card p { font-size: 14px; color: var(--muted); line-height: 1.6; flex-grow: 1; }
.spec-card .go { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--blue-text); display: inline-flex; align-items: center; gap: 6px; }
.spec-card .go svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------ stat band */

.statband { background: var(--blue); color: #fff; }
.statband .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 44px; padding-bottom: 44px; }
@media (max-width: 760px) { .statband .wrap { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }

.statband .stat { text-align: center; }
.statband .n { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.statband .n .suf { color: var(--green-300); }
.statband .l { font-size: 13.5px; color: rgba(255,255,255,.78); margin-top: 8px; font-weight: 600; }

/* ---------------------------------------------------------- doctor cards */
/* Horizontal: small portrait on the left, credentials on the right.
   Same shape Max Healthcare uses on its Find a Doctor listing. */

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 820px) { .doc-grid { grid-template-columns: 1fr; } }

.doc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px; display: flex; gap: 18px; align-items: flex-start;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.doc-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); }

.doc-photo {
  width: 104px; height: 118px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  background: var(--blue-50); display: grid; place-items: center;
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.doc-photo .initials { font-size: 30px; font-weight: 800; color: #5480B8; letter-spacing: -.02em; }
.doc-card:hover { transform: translateY(-2px); }

.doc-body { min-width: 0; flex: 1; }
.doc-body h3 { font-size: 17px; margin-bottom: 3px; }
.doc-body .spec { font-size: 13.5px; font-weight: 700; color: var(--green-700); margin-bottom: 7px; }
.doc-body .cred { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 9px; }
.doc-body .facts { display: grid; gap: 4px; margin-bottom: 13px; }
.doc-body .facts div { font-size: 13px; color: var(--ink); display: flex; gap: 7px; align-items: center; }
.doc-body .facts svg { width: 14px; height: 14px; color: var(--blue-text); flex-shrink: 0; }
.doc-body .acts { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.doc-body .acts .view { font-size: 13.5px; font-weight: 700; color: var(--blue-text); }
.doc-body .acts .view:hover { text-decoration: underline; }

@media (max-width: 400px) {
  .doc-card { flex-direction: column; }
  .doc-photo { width: 100%; height: 190px; }
}

/* ------------------------------------------------------------- stories */

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .story-grid { grid-template-columns: 1fr; } }

.story {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.story .stars { display: flex; gap: 2px; margin-bottom: 14px; color: var(--green-700); }
.story .stars svg { width: 17px; height: 17px; }
.story blockquote { font-size: 15.5px; color: var(--text); line-height: 1.72; flex-grow: 1; }
.story figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.story .av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 14.5px;
}
.story .nm { font-size: 15px; font-weight: 700; color: var(--ink); }
.story .ctx { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; gap: 16px; } }

.step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.step .num {
  width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 16px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text); }

/* ----------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 21px 2px; font-family: inherit; font-size: 16.5px; font-weight: 700;
  color: var(--ink); line-height: 1.45;
}
.faq-q:hover { color: var(--blue-text); }
.faq-q .chev {
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--blue-text);
  display: grid; place-items: center; flex-shrink: 0; transition: transform .22s ease, background .18s ease;
}
.faq-q .chev svg { width: 17px; height: 17px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 60px 22px 2px; font-size: 15.5px; color: var(--text); }

/* ------------------------------------------------------------- cta band */

.ctaband {
  background: linear-gradient(115deg, var(--blue-900), var(--blue) 78%);
  border-radius: var(--r-card); padding: 46px 44px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.ctaband h2 { color: #fff; max-width: 520px; margin-bottom: 8px; }
.ctaband p { color: rgba(255,255,255,.82); max-width: 520px; }
@media (max-width: 640px) { .ctaband { padding: 34px 26px; } .ctaband .btn { width: 100%; } }

/* ----------------------------------------------------------------- form */

.form-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; }
.panel-head { margin-bottom: 22px; }
.panel-head h3 { margin-bottom: 5px; }
.panel-head p { font-size: 14.5px; color: var(--muted); }

.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--field-border);
  border-radius: var(--r-input); background: var(--surface); color: var(--ink);
  font-family: inherit; font-size: 15.5px;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-300); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

.notice {
  border-radius: var(--r-btn); padding: 15px 17px; margin-bottom: 22px; font-size: 15px;
  border: 1px solid; display: flex; gap: 11px; align-items: flex-start;
}
.notice svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }
.notice.good { background: var(--green-50); border-color: var(--green-300); color: var(--green-700); }
.notice.bad  { background: #FCEEEC; border-color: #F0C4BF; color: var(--danger); }
.notice ul { margin: 5px 0 0 17px; list-style: disc; }
  :root:not([data-theme="light"]) .notice.good { color: var(--green-300); border-color: #2F4A17; }
}

/* doctor profile: awards list + membership chips */
.expertise-grid.one-col { grid-template-columns: 1fr; }
.expertise-grid.one-col li { max-width: 70ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue-text); border: 1px solid var(--blue-100); font-size: 14px; font-weight: 500; }

/* WhatsApp hand-off panel (replaces the old appointment form everywhere) */
.wa-panel-top { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.wa-panel-ic {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: #25D366; color: #fff; display: grid; place-items: center;
}
.wa-panel-ic svg { width: 28px; height: 28px; }
.wa-panel-top h3 { margin-bottom: 6px; }
.wa-panel-top p { font-size: 15px; color: var(--text); }
.wa-points { display: grid; gap: 4px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.wa-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); padding: 4px 0; }
.wa-points svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* info list used in side panels */
.info-list { display: grid; }
.info-row { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.info-row:first-child { border-top: none; padding-top: 0; }
.info-row .k { font-size: 12.5px; font-weight: 700; color: var(--muted); width: 104px; flex-shrink: 0; padding-top: 2px; }
.info-row .v { color: var(--ink); flex: 1; }
.info-row .v a:hover { color: var(--blue-text); }

.map-frame { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-top: 20px; }
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------------------------------------------------------- page header */

.pagehead { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.pagehead h1 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.pagehead .lede { font-size: 17.5px; max-width: 680px; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--blue-text); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs .now { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------- doctor profile */

/* neutral placeholder until a portrait is uploaded from the admin panel */
.silhouette {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--blue-50), var(--blue-100));
}
.silhouette svg { width: 62%; height: 62%; fill: none; stroke: var(--blue-300); stroke-width: 3; stroke-linecap: round; }

/* hero band */
.doc-hero {
  background: linear-gradient(115deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--blue) 100%);
  color: #fff; padding: 26px 0 50px; position: relative; overflow: hidden;
}
.doc-hero::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(112,168,40,.22), transparent 62%);
  pointer-events: none;
}
.doc-hero .wrap { position: relative; z-index: 1; }
.crumbs.on-dark { color: rgba(255,255,255,.66); margin-bottom: 30px; }
.crumbs.on-dark a:hover { color: #fff; }
.crumbs.on-dark .now { color: #fff; }

.doc-hero-grid { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.doc-hero-photo {
  aspect-ratio: 300/340; border-radius: 16px; overflow: hidden;
  background: var(--blue-50); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55);
  border: 4px solid rgba(255,255,255,.12);
}
.doc-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.doc-hero-photo .silhouette { background: linear-gradient(180deg, #DCE8F8, #B9D0EE); }
.doc-hero-photo .silhouette svg { stroke: #6E93C7; }

.doc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-300); background: rgba(112,168,40,.16); border: 1px solid rgba(180,216,129,.35);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 16px;
}
a.doc-chip:hover { background: rgba(112,168,40,.28); color: #fff; }

.doc-hero-body h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 8px; }
.doc-hero-body .role { font-size: 19px; font-weight: 700; color: var(--green-300); margin-bottom: 4px; }
.doc-hero-body .quals { font-size: 16px; color: rgba(255,255,255,.78); margin-bottom: 24px; }

.doc-facts { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 30px; }
.doc-facts li {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  padding: 9px 14px; border-radius: 10px;
}
.doc-facts li svg { width: 17px; height: 17px; color: var(--green-300); flex-shrink: 0; }
.doc-facts li b { color: #fff; font-weight: 700; }

.doc-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .doc-hero { padding-bottom: 40px; }
  .doc-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .doc-hero-photo { width: min(260px, 70vw); aspect-ratio: 1/1.08; }
  .crumbs.on-dark { margin-bottom: 22px; }
}
@media (max-width: 560px) {
  .doc-hero-cta .btn { flex: 1 1 100%; }
}

/* sticky in-page links */
.doc-subnav {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px -14px rgba(0,33,79,.35);
}
.doc-subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.doc-subnav .wrap::-webkit-scrollbar { display: none; }
.doc-subnav a {
  display: inline-block; padding: 16px 14px 14px; font-size: 14.5px; font-weight: 700; color: var(--muted);
  border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px;
}
.doc-subnav a:hover { color: var(--blue-text); }
.doc-subnav a.on { color: var(--blue-text); border-color: var(--green); }
.doc-subnav a:last-child { margin-left: auto; color: var(--green-700); }

/* content columns */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
@media (max-width: 960px) { .profile { grid-template-columns: 1fr; gap: 30px; } }

.profile-main { display: grid; gap: 22px; }
.pblock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 34px 36px; scroll-margin-top: calc(var(--nav-h) + 70px);
}
.pblock h2 { font-size: 23px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 600px) { .pblock { padding: 24px 20px; } }

.prose p { margin-bottom: 14px; font-size: 16.5px; }
.prose p:last-child { margin-bottom: 0; }
.prose p.lede { font-size: 18px; color: var(--ink); font-weight: 500; }

.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
@media (max-width: 640px) { .expertise-grid { grid-template-columns: 1fr; } }
.expertise-grid li {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px;
  font-size: 15.5px; color: var(--ink); background: var(--surface-2); border-radius: 9px;
}
.expertise-grid svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

.timeline { display: grid; gap: 0; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--blue-100); }
.timeline li { position: relative; padding: 8px 0 8px 6px; font-size: 15.5px; color: var(--ink); }
.timeline li::before {
  content: ""; position: absolute; left: -24px; top: 15px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--blue);
}
.timeline li:first-child::before { background: var(--green); border-color: var(--green); }

/* sticky side card */
.profile-side { position: sticky; top: calc(var(--nav-h) + 74px); display: grid; gap: 16px; }
@media (max-width: 960px) { .profile-side { position: static; } }

.consult-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px; box-shadow: var(--shadow-md);
}
.consult-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.consult-head > :first-child, .consult-head img { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; object-fit: cover; object-position: center 20%; }
.consult-head .silhouette { width: 56px; height: 56px; border-radius: 50%; }
.consult-head h3 { font-size: 18px; line-height: 1.25; }
.consult-head p { font-size: 13.5px; color: var(--green-700); font-weight: 700; }
.consult-card .info-row { padding: 11px 0; }
.wa-line {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
  font-size: 14.5px; font-weight: 700; color: var(--green-700);
}
.wa-line svg { width: 18px; height: 18px; }
.wa-line:hover { text-decoration: underline; }
.consult-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.55; }

.dept-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-card);
  transition: border-color .18s ease, transform .18s ease;
}
.dept-card:hover { border-color: var(--blue-300); transform: translateY(-2px); }
.dept-card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.dept-card .ic svg { width: 23px; height: 23px; }
.dept-card > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.dept-card .lbl { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dept-card b { color: var(--ink); font-size: 15.5px; }
.dept-card .tag { font-size: 13px; color: var(--muted); }
.dept-card > svg { width: 18px; height: 18px; color: var(--blue-text); flex-shrink: 0; }

.checklist { display: grid; gap: 2px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: 15.5px; color: var(--ink); }
.checklist svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 100px;
  background: var(--blue-50); color: var(--blue-text); border: 1px solid transparent;
}
a.chip:hover { border-color: var(--blue-300); }
a.chip.on { background: var(--blue); color: #fff; }

/* ---------------------------------------------------------- speciality */

.spec-hero-ic {
  width: 62px; height: 62px; border-radius: 14px; background: var(--blue); color: #fff;
  display: grid; place-items: center; margin-bottom: 20px;
}
.spec-hero-ic svg { width: 32px; height: 32px; }
.spec-figure { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); margin-bottom: 32px; }
.spec-figure img { width: 100%; max-height: 400px; object-fit: cover; }

.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } }
.aside-sticky { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 18px; }
@media (max-width: 900px) { .aside-sticky { position: static; } }

.mini-doc { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.mini-doc:first-of-type { border-top: none; }
.mini-doc .av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--blue-50); display: grid; place-items: center; flex-shrink: 0; }
.mini-doc .av img { width: 100%; height: 100%; object-fit: cover; }
.mini-doc .av span { font-weight: 800; color: #5480B8; font-size: 14px; }
.mini-doc .nm { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.mini-doc .cr { font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------- footer */

.site-footer { background: var(--blue-900); color: rgba(255,255,255,.72); padding: 58px 0 0; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 42px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-brand img { height: 52px; margin-bottom: 16px; }
.foot-tag { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); margin: -4px 0 12px; }
.foot-brand p { font-size: 14.5px; line-height: 1.7; max-width: 320px; }
.foot-grid h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; margin-bottom: 16px; }
.foot-grid li { padding: 5px 0; font-size: 14.5px; }
.foot-grid a:hover { color: #fff; }

.foot-contact li { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; }
.foot-contact svg { width: 17px; height: 17px; color: var(--green-300); flex-shrink: 0; margin-top: 4px; }
.foot-emergency {
  margin-top: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-btn); padding: 12px 14px;
}
.foot-emergency .lbl { display: block; font-size: 11.5px; color: var(--green-300); font-weight: 700; }
.foot-emergency .num { font-size: 18px; font-weight: 800; color: #fff; }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; transition: background .18s ease, border-color .18s ease;
}
.social a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.social svg { width: 17px; height: 17px; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px;
}

/* -------------------------------------------------------- floating call */

.floaters { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; gap: 10px; }
.floaters a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); transition: transform .18s ease;
}
.floaters a:hover { transform: translateY(-2px); }
.floaters svg { width: 25px; height: 25px; }
.f-wa { background: #25D366; color: #fff; }
.f-call { background: var(--blue); color: #fff; }
@media (min-width: 1080px) { .f-call { display: none; } }

/* --------------------------------------------------------------- empty */

.empty-state {
  border: 1px dashed var(--line); border-radius: var(--r-card); padding: 46px 26px;
  text-align: center; color: var(--muted); background: var(--surface-2);
}
.empty-state b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }

/* a 375px header cannot carry logo + full CTA + burger, so the CTA gets shorter */
@media (max-width: 560px) {
  .nav-book .lbl-long { display: none; }
  .nav-book .lbl-short { display: inline; }
  .nav-book { padding: 11px 16px; }
  .brand img { height: 32px; }
  .floaters { right: 12px; bottom: 12px; gap: 8px; }
  .floaters a { width: 46px; height: 46px; }
  .floaters svg { width: 22px; height: 22px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .section { padding: 52px 0; }
  .panel { padding: 22px; }
  .ctaband { text-align: left; }
}

@media print {
  .utilbar, .site-header, .floaters, .drawer, .ctaband, .booking { display: none !important; }
  body { background: #fff; }
}
