/* ============================================================
   Royal Artemis Hospital — Design Tokens (Official Brand)
   ============================================================ */

:root {
  /* Official brand palette */
  --brand:       #091B40;   /* PANTONE 2768 C — primary */
  --brand-2:     #16306C;   /* lighter variant for hover/secondary */
  --brand-soft:  #E4E7EE;   /* very light tint of primary */
  --brand-ink:   #FFFFFF;
  --mist:        #A69F95;   /* PANTONE 401 C — Mountain Mist */
  --bone:        #D0CBBC;   /* PANTONE 7527 C — antique */

  --ink:         #091B40;   /* using primary for body text — strong */
  --ink-2:       #475569;
  --ink-3:       #7E8693;
  --paper:       #FFFFFF;
  --surface:     #F6F4EE;   /* near-bone, slightly warmer */
  --surface-2:   #ECE7DA;
  --line:        #DCD7CB;
  --line-soft:   #ECE8DE;

  --accent:      #8C7754;   /* warm bronze, restrained */
  --emergency:   #B6322A;
  --success:     #2E8B57;

  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   22px;
  --radius-pill: 999px;

  --gap-section: clamp(72px, 9vw, 128px);
  --pad-x: clamp(20px, 4vw, 56px);
  --container: 1320px;

  --shadow-sm: 0 1px 2px rgba(9,27,64,.06), 0 1px 1px rgba(9,27,64,.05);
  --shadow-md: 0 8px 24px -10px rgba(9,27,64,.22), 0 2px 6px rgba(9,27,64,.06);
  --shadow-lg: 0 24px 60px -20px rgba(9,27,64,.32), 0 4px 12px rgba(9,27,64,.07);

  /* Logo wordmark is Josefin Sans Bold. Body/titles substitute Manrope for Noir Pro */
  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;
  --font-logo:    "Josefin Sans", system-ui, sans-serif;
}

/* Dark mode (Tweak) */
:root[data-theme="dark"] {
  --paper:    #0A1428;
  --surface:  #0E1B36;
  --surface-2:#15234A;
  --line:     #1E2D54;
  --line-soft:#16234B;
  --ink:      #ECEEF3;
  --ink-2:    #B7C0D4;
  --ink-3:    #7E8AA7;
  --brand:    #B9C5E3;
  --brand-2:  #DBE2F2;
  --brand-soft:#16234B;
  --bone:     #2A3865;
  --shadow-md: 0 8px 24px -10px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.eyebrow {
  font: 600 11.5px/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

.h-display {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -0.028em; font-weight: 700; }
.h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.h3 { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.lede { font-size: clamp(16.5px, 1.25vw, 19px); color: var(--ink-2); line-height: 1.55; text-wrap: pretty; max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font: 600 14.5px/1 var(--font-body);
  letter-spacing: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-2); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 15.5px; }

.icon { width: 18px; height: 18px; stroke-width: 1.75; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 28px; height: 28px; }

/* Sections */
section { padding-block: var(--gap-section); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .meta { max-width: 36rem; }
.section-head .meta .h2, .section-head .meta .h1 { margin-top: 14px; }
.section-head .meta .lede { margin-top: 14px; }
.section-head .actions { display: flex; gap: 12px; padding-bottom: 4px; }

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ========================================================
   Topbar + Header
   ======================================================== */
.topbar {
  background: var(--brand);
  color: rgba(255,255,255,.92);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; flex-wrap: nowrap; overflow: hidden; }
.topbar a, .topbar span { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.topbar-left { display: flex; align-items: center; gap: 24px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: #fff; }
.topbar .divider { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
.topbar .emerg { color: #FFD9D2; font-weight: 500; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
[data-theme="dark"] .header { background: rgba(10,20,40,.94); }

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 128px; gap: 24px; }
.brand-link { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 96px; width: auto; display: block; color: var(--brand); }
.brand-logo img, .brand-logo svg { height: 100%; width: auto; }
[data-theme="dark"] .brand-logo img { filter: invert(1) brightness(1.1); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font: 500 14.5px/1 var(--font-body);
  color: var(--ink);
  border-radius: 8px;
}
.nav a:hover { background: var(--surface); }
.nav a.active { color: var(--brand); }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--brand); border-radius: 2px; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px; background: var(--paper); position: relative; }
.lang-toggle button {
  border: 0; background: transparent;
  font: 600 11.5px/1 var(--font-body); letter-spacing: 0.1em;
  padding: 8px 12px; border-radius: var(--radius-pill);
  cursor: pointer; color: var(--ink-2);
}
.lang-toggle button.on { background: var(--brand); color: #fff; }
.lang-toggle button:disabled { color: var(--ink-3); cursor: not-allowed; opacity: .5; }
.lang-coming-soon {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--ink); color: #fff;
  font: 500 11.5px/1.3 var(--font-body);
  padding: 8px 12px; border-radius: 8px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .2s ease; z-index: 100;
}
.lang-coming-soon::before { content: ""; position: absolute; top: -4px; right: 16px; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }
.lang-toggle:hover .lang-coming-soon { opacity: 1; }

/* ========================================================
   HERO
   ======================================================== */
.hero { padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-text .eyebrow { margin-bottom: 28px; }
.hero-text h1 { margin-bottom: 24px; }
.hero-text .lede { margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta .stat .n { font: 700 32px/1 var(--font-display); color: var(--brand); letter-spacing: -0.03em; }
.hero-meta .stat .l { font: 500 12px/1.4 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; display: block; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 70% 10%, rgba(166,159,149,.25), transparent 60%),
    linear-gradient(160deg, #122E60 0%, #091B40 55%, #060F2A 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual .stag { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%); width: 56%; max-width: 360px; opacity: .14; color: #fff; }
.hero-visual .badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,.96);
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
}
.hero-visual .badge .ring { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.hero-visual .badge .t { font: 600 14px/1.2 var(--font-body); color: var(--ink); }
.hero-visual .badge .s { font: 400 13px/1.4 var(--font-body); color: var(--ink-2); margin-top: 3px; }

.hero-quote {
  position: absolute; top: 32px; right: -8px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
  max-width: 240px; box-shadow: var(--shadow-md);
  font: 500 13.5px/1.4 var(--font-body); color: var(--ink-2);
  display: flex; gap: 12px;
}
.hero-quote .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(46,139,87,.15); margin-top: 6px; flex-shrink: 0; }

/* ========================================================
   HERO — Editorial cinematic variant (.hero.hero-editorial)
   Full-bleed photo background with magazine-style chrome:
   vertical metadata rail, large faded stag watermark,
   editorial display headline with mixed weights.
   ======================================================== */
.hero.hero-editorial {
  padding: 0;
  min-height: clamp(640px, 88vh, 820px);
  position: relative;
  overflow: hidden;
  background: var(--brand);
}
.hero-editorial .ed-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-editorial .ed-defs {
  position: absolute; width: 0; height: 0;
  pointer-events: none;
}
.hero-editorial .ed-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 55% 50%;
  animation: edKenBurns 32s ease-in-out infinite alternate;
  transform-origin: 60% 50%;
  filter: url(#palmWind);
  will-change: filter, transform;
}
@keyframes edKenBurns {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.12); }
}
.hero-editorial .ed-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* Near-solid navy panel covering the left ~42%, with a soft falloff
       that lets the photo emerge as a defined boundary (not a hard cut). */
    linear-gradient(95deg,
      rgba(9,27,64,.96) 0%,
      rgba(9,27,64,.95) 38%,
      rgba(9,27,64,.72) 48%,
      rgba(9,27,64,.32) 58%,
      rgba(9,27,64,.18) 100%),
    /* Anchor for the seal so it pops over the sky */
    radial-gradient(45% 65% at 82% 50%, rgba(9,27,64,.42) 0%, rgba(9,27,64,0) 70%),
    /* Bottom blend into the credentials trust band */
    linear-gradient(180deg, transparent 60%, rgba(9,27,64,.85) 92%, rgba(9,27,64,1) 100%);
}
.hero-editorial .ed-seal {
  position: absolute;
  top: 50%; right: clamp(-80px, -3vw, -24px);
  transform: translateY(-50%);
  width: clamp(420px, 46vw, 680px);
  height: auto; aspect-ratio: 1/1;
  color: var(--accent);
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 28px rgba(214,198,154,.28));
  animation: sealBreath 9s ease-in-out infinite alternate;
}
@keyframes sealBreath {
  0%   { opacity: 0.40; filter: drop-shadow(0 0 22px rgba(214,198,154,.22)); }
  100% { opacity: 0.50; filter: drop-shadow(0 0 36px rgba(214,198,154,.36)); }
}
.hero-editorial .ed-rail {
  position: absolute; left: clamp(20px, 2.4vw, 40px);
  top: clamp(48px, 7vw, 80px); bottom: clamp(48px, 7vw, 80px);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
}
.hero-editorial .ed-rail .line { width: 1px; flex: 1; background: rgba(214,198,154,.45); }
.hero-editorial .ed-rail .vtext {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 600 11px/1 var(--font-body); letter-spacing: .42em;
  text-transform: uppercase; color: rgba(214,198,154,.85);
}
.hero-editorial .ed-rail .star { color: var(--accent); width: 12px; height: 12px; }

.hero-editorial .ed-content {
  position: relative; z-index: 3;
  padding: clamp(88px, 10vw, 130px) clamp(40px, 5vw, 72px) clamp(60px, 6vw, 80px) clamp(72px, 8vw, 110px);
  max-width: 760px;
  color: #fff;
}
.hero-editorial .ed-content .eyebrow {
  color: rgba(214,198,154,.92);
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-editorial .ed-content .eyebrow::after {
  content: ""; width: 40px; height: 1px; background: rgba(214,198,154,.5);
}
.hero-editorial .ed-content h1 {
  color: #fff;
  font-weight: 300; font-size: clamp(40px, 5.6vw, 80px);
  line-height: 0.98; letter-spacing: -0.035em;
  margin: 32px 0 28px;
  text-wrap: balance;
}
.hero-editorial .ed-content h1 .l1 { display: block; }
.hero-editorial .ed-content h1 .l2 { display: block; font-weight: 600; }
.hero-editorial .ed-content h1 .l3 {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  font-size: 0.5em;
  margin-top: 14px;
  letter-spacing: -0.02em;
  text-align: left;
}
.hero-editorial .ed-content .lede {
  color: rgba(255,255,255,.82); max-width: 52ch;
  margin-bottom: 44px; font-size: clamp(15.5px, 1.2vw, 18px);
}
.hero-editorial .ed-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-editorial .ed-cta .btn-primary {
  background: var(--accent); color: var(--brand);
  border-color: transparent;
}
.hero-editorial .ed-cta .btn-primary:hover { background: #9a8460; color: var(--brand); }
.hero-editorial .ed-cta .btn-link {
  color: #fff; text-decoration: none;
  font: 600 14.5px/1 var(--font-body);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.4);
  transition: color .2s ease, border-color .2s ease;
}
.hero-editorial .ed-cta .btn-link:hover { border-color: var(--accent); color: var(--accent); }
.hero-editorial .ed-cta .btn-link .icon { width: 16px; height: 16px; }

/* Stats — sit inside the content panel below CTAs, separated by a thin
   gold-tinted rule. Tighter gap so 4 stats fit cleanly in the panel. */
.hero-editorial .ed-stats {
  display: flex; gap: clamp(24px, 2.8vw, 44px);
  align-items: baseline; flex-wrap: wrap;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(214,198,154,.22);
  max-width: 600px;
}
.hero-editorial .ed-stats .stat .n {
  font: 300 clamp(26px, 2.8vw, 36px)/1 var(--font-display);
  color: var(--accent); letter-spacing: -0.035em;
}
.hero-editorial .ed-stats .stat .l {
  font: 500 10px/1.4 var(--font-body); letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  margin-top: 8px; display: block;
}

/* Editorial hero responsive */
@media (max-width: 900px) {
  .hero-editorial .ed-rail { display: none; }
  .hero-editorial .ed-seal { right: -28%; opacity: 0.28; width: clamp(360px, 80vw, 520px); }
  .hero-editorial .ed-content { padding: 88px 28px 56px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-editorial .ed-bg img { animation: none; filter: none; }
  .hero-editorial .ed-seal { animation: none; }
}

/* ========================================================
   HERO — Asymmetric variant (.hero.hero-asym)
   Solid navy panel (~42%) with diagonal cut into a tall
   photo (~58%). The diagonal seam is the brand signature.
   ======================================================== */
.hero.hero-asym {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--brand);
  min-height: clamp(620px, 82vh, 820px);
}
.hero-asym .ha-grid {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(0, 1.35fr);
  min-height: clamp(620px, 82vh, 820px);
  position: relative;
}

/* --- Navy panel (left) -------------------------------------------------- */
.hero-asym .ha-panel {
  background: var(--brand);
  color: #fff;
  position: relative;
  z-index: 2;
  /* Diagonal cut — extends panel ~90px into the photo */
  clip-path: polygon(0 0, calc(100% + 90px) 0, 100% 100%, 0 100%);
  margin-right: -70px;
  box-shadow: 0 0 40px rgba(0,0,0,.2);
}
.hero-asym .ha-panel-inner {
  padding: clamp(72px, 9vw, 110px) clamp(40px, 5vw, 80px) clamp(56px, 6vw, 80px) clamp(56px, 7vw, 96px);
  max-width: 640px;
  display: flex; flex-direction: column;
  justify-content: center; min-height: 100%;
}
.hero-asym .ha-panel .eyebrow {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-asym .ha-panel .eyebrow::after {
  content: ""; width: 36px; height: 1px; background: rgba(214,198,154,.5);
}
.hero-asym .ha-panel h1 {
  color: #fff;
  font-weight: 300;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 28px 0 24px;
  text-wrap: balance;
}
.hero-asym .ha-panel h1 .l1 { display: block; }
.hero-asym .ha-panel h1 .l2 { display: block; font-weight: 600; }
.hero-asym .ha-panel h1 .l3 {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  font-size: 0.72em;
  margin-top: 6px;
}
.hero-asym .ha-panel .lede {
  color: rgba(255,255,255,.82);
  max-width: 42ch;
  margin-bottom: 40px;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
}
.hero-asym .ha-cta {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-asym .ha-cta .btn-primary {
  background: var(--accent); color: var(--brand); border-color: transparent;
}
.hero-asym .ha-cta .btn-primary:hover { background: #9a8460; color: var(--brand); }
.hero-asym .ha-cta .btn-link {
  color: #fff; text-decoration: none;
  font: 600 14.5px/1 var(--font-body);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.4);
  transition: color .2s ease, border-color .2s ease;
}
.hero-asym .ha-cta .btn-link:hover { border-color: var(--accent); color: var(--accent); }
.hero-asym .ha-cta .btn-link .icon { width: 16px; height: 16px; }
.hero-asym .ha-stats {
  display: flex; gap: clamp(28px, 3.4vw, 48px); flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(214,198,154,.22);
}
.hero-asym .ha-stats .stat .n {
  font: 300 clamp(26px, 3vw, 38px)/1 var(--font-display);
  color: var(--accent); letter-spacing: -0.035em;
}
.hero-asym .ha-stats .stat .l {
  font: 500 10.5px/1.4 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 8px; display: block;
}

/* --- Photo (right) ------------------------------------------------------ */
.hero-asym .ha-photo {
  position: relative; overflow: hidden;
  background: #1a3055;
}
.hero-asym .ha-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  animation: haKenBurns 32s ease-in-out infinite alternate;
  transform-origin: 60% 50%;
}
@keyframes haKenBurns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}
.hero-asym .ha-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(9,27,64,.55) 0%, rgba(9,27,64,.18) 22%, rgba(9,27,64,0) 38%),
    linear-gradient(180deg, transparent 65%, rgba(9,27,64,.45) 100%);
  pointer-events: none;
}

/* Royal seal — small luxury watermark on the photo side */
.hero-asym .ha-seal {
  position: absolute;
  bottom: clamp(40px, 6vw, 72px);
  right: clamp(40px, 5vw, 72px);
  width: clamp(170px, 16vw, 240px);
  height: auto; aspect-ratio: 1/1;
  color: var(--accent);
  opacity: 0.85;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.4)) drop-shadow(0 0 16px rgba(214,198,154,.25));
  animation: haSealBreath 9s ease-in-out infinite alternate;
}
@keyframes haSealBreath {
  0%   { opacity: 0.78; filter: drop-shadow(0 6px 22px rgba(0,0,0,.4)) drop-shadow(0 0 12px rgba(214,198,154,.18)); }
  100% { opacity: 0.92; filter: drop-shadow(0 8px 28px rgba(0,0,0,.45)) drop-shadow(0 0 22px rgba(214,198,154,.35)); }
}

/* Vertical metadata rail in upper-right of photo */
.hero-asym .ha-rail {
  position: absolute;
  top: clamp(48px, 6vw, 80px);
  right: clamp(36px, 4vw, 56px);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; height: 200px;
}
.hero-asym .ha-rail .vtext {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero-asym .ha-rail .line {
  width: 1px; flex: 1;
  background: linear-gradient(180deg, rgba(214,198,154,.6), rgba(214,198,154,0));
}
.hero-asym .ha-rail .star {
  color: var(--accent); width: 12px; height: 12px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

/* Bottom-left plate */
.hero-asym .ha-plate {
  position: absolute;
  bottom: clamp(40px, 5vw, 64px);
  left: clamp(48px, 5vw, 80px);
  z-index: 3;
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 12px 18px;
  border-top: 1px solid rgba(214,198,154,.55);
  border-bottom: 1px solid rgba(214,198,154,.55);
  background: rgba(9,27,64,.32);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* Asym hero responsive */
@media (max-width: 960px) {
  .hero-asym .ha-grid {
    grid-template-columns: 1fr;
  }
  .hero-asym .ha-panel {
    clip-path: none; margin-right: 0;
    border-bottom: 1px solid rgba(214,198,154,.18);
  }
  .hero-asym .ha-panel-inner {
    padding: 64px 28px 56px; max-width: none;
  }
  .hero-asym .ha-photo { min-height: 420px; aspect-ratio: 4/3; }
  .hero-asym .ha-rail { display: none; }
  .hero-asym .ha-seal { width: 150px; bottom: 24px; right: 24px; }
  .hero-asym .ha-plate { bottom: 24px; left: 24px; font-size: 10px; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-asym .ha-photo img { animation: none; }
  .hero-asym .ha-seal { animation: none; }
}

/* When credentials follow the asym hero, blend the seam */
.hero-asym + .creds {
  border-top: 0;
  padding-top: 8px;
}
.hero-asym + .creds::before { display: none; }

/* Page hero (smaller — for inner pages) */
.page-hero {
  padding-block: clamp(72px, 8vw, 112px) clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
.page-hero h1 { margin-top: 18px; margin-bottom: 18px; }
.page-hero .lede { max-width: 50ch; }
.page-hero .breadcrumb { display: flex; gap: 8px; align-items: center; font: 500 13px/1 var(--font-body); color: var(--ink-3); }
.page-hero .breadcrumb a:hover { color: var(--brand); }
.page-hero .breadcrumb .sep { opacity: .5; }

/* ========================================================
   Quick actions
   ======================================================== */
.quick { background: var(--surface); padding-block: 80px 96px; }
.quick .container { max-width: var(--container); margin: 0 auto; padding-inline: var(--pad-x); }
.quick-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.quick-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 24px;
}
.quick-ornament .rule {
  display: block; width: 72px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}
.quick-ornament .glyph {
  width: 9px; height: 9px;
  color: var(--accent);
  display: block;
}
.quick-intro .eyebrow {
  color: var(--accent);
  margin-bottom: 14px; display: inline-block;
}
.quick-intro h2 {
  font-weight: 300;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin: 0;
  text-wrap: balance;
}
.quick-intro h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.quick-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.quick-tile {
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: background .2s ease;
  position: relative;
  text-align: left;
  text-decoration: none;
  color: inherit;
  border-top: 0; border-bottom: 0; border-left: 0;
}
.quick-tile:last-child { border-right: none; }
.quick-tile:hover { background: var(--brand-soft); }
.quick-tile .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.quick-tile .t { font: 600 17px/1.2 var(--font-body); color: var(--ink); }
.quick-tile .s { font: 400 13.5px/1.45 var(--font-body); color: var(--ink-2); }
.quick-tile .arrow { position: absolute; top: 28px; right: 24px; color: var(--ink-3); transition: transform .2s ease, color .2s ease; }
.quick-tile:hover .arrow { transform: translate(3px, -3px); color: var(--brand); }
.quick-tile.emerg .ic { background: rgba(182,50,42,.1); color: var(--emergency); }

/* When following the editorial hero, the quick-grid no longer needs to
   overlap into a tall empty hero base — the editorial hero ends with its
   own content. Sit cleanly below with a small lift onto the surface. */
/* (Legacy overlap rule removed — quick section padding now handled
   directly on .quick via .creds + .quick / .hero-editorial + .quick
   so margin-collapse doesn't leak the white body bg.) */

/* ========================================================
   Credentials strip
   ======================================================== */
/* ========================================================
   Credentials strip — Dark trust band
   When following the editorial hero (which it does on the home
   page), it reads as a continuous dark zone — same navy ground,
   no visible seam. Otherwise it can stand alone.
   ======================================================== */
.creds {
  background: var(--brand);
  border-top: 1px solid rgba(214,198,154,.18);
  border-bottom: 1px solid rgba(214,198,154,.18);
  padding-block: 48px;
  position: relative;
  color: #fff;
}
.creds::before, .creds::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(214,198,154,.5) 20%, rgba(214,198,154,.5) 80%, transparent 100%);
}
.creds::before { top: 12px; }
.creds::after  { bottom: 12px; }

/* When credentials follow the editorial hero, drop the seam and the
   top accent line so the two dark zones flow as one. */
.hero-editorial + .creds {
  border-top: 0;
  padding-top: 8px;
}
.hero-editorial + .creds::before { display: none; }

/* (Legacy overlap rules removed — quick section sits naturally below
   the dark zone with its own intro header providing the visual lift.) */
.creds-row {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 64px; align-items: center;
}
.creds-row .label {
  font: 600 11.5px/1.5 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 14px;
}
.creds-row .label::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(214,198,154,.5), rgba(214,198,154,0));
  max-width: 40px;
}
.creds-list {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; align-items: stretch;
}
.cred {
  display: flex; flex-direction: column; gap: 8px;
  padding: 4px 24px;
  border-left: 1px solid rgba(214,198,154,.18);
  position: relative;
}
.cred:first-child { border-left: 0; padding-left: 0; }
.cred .y {
  font: 500 14px/1.2 var(--font-display);
  color: var(--accent);
  letter-spacing: 0.02em;
}
.cred .n {
  font: 400 12.5px/1.45 var(--font-body);
  color: rgba(255,255,255,.7);
}
.cred .n small { display: inline; color: rgba(255,255,255,.55); font-weight: 400; font-size: inherit; margin: 0; letter-spacing: inherit; }
.cred .n small::before { content: ' · '; }

/* ========================================================
   Values — 3 pillars (CARE / TRUST / EXPERTISE)
   ======================================================== */
.values { background: var(--surface); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
}
.value {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.value:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.value:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-right: 0; }
.value .ic {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
}
.value .num {
  position: absolute; top: 32px; right: 36px;
  font: 700 80px/0.8 var(--font-display);
  color: var(--bone);
  opacity: .35;
  letter-spacing: -0.04em;
}
.value h3 {
  font: 700 22px/1.2 var(--font-display);
  color: var(--brand);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 12px;
}
.value p {
  font: 400 14.5px/1.6 var(--font-body);
  color: var(--ink-2);
  margin: 0;
}

/* ========================================================
   Departments grid
   ======================================================== */
.depts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dept {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 180px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  text-decoration: none;
  color: inherit;
}
.dept:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.dept:hover .dept-desc { color: rgba(255,255,255,.78); }
.dept:hover .dept-ic { background: rgba(255,255,255,.12); color: #fff; }
.dept:hover .dept-arrow { color: #fff; }
.dept-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--surface); color: var(--brand); display: grid; place-items: center; transition: background .2s, color .2s; }
.dept-name { font: 600 18px/1.2 var(--font-body); letter-spacing: -0.01em; margin-top: auto; }
.dept-desc { font: 400 13.5px/1.5 var(--font-body); color: var(--ink-2); }
.dept-arrow { position: absolute; top: 22px; right: 22px; color: var(--ink-3); }

/* ========================================================
   Doctors
   ======================================================== */
.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none; color: inherit;
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.doc-photo {
  aspect-ratio: 1/1;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.doc-photo .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font: 700 56px/1 var(--font-display);
  color: var(--brand);
  letter-spacing: -0.04em;
  background:
    radial-gradient(110% 70% at 50% 100%, rgba(9,27,64,.18), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.doc-photo .specialty {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.94);
  font: 600 10.5px/1 var(--font-body);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}
.doc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.doc-name { font: 600 17px/1.25 var(--font-body); letter-spacing: -0.005em; }
.doc-role { font: 400 13.5px/1.45 var(--font-body); color: var(--ink-2); }
.doc-meta { display: flex; gap: 14px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); font: 500 12.5px/1 var(--font-body); color: var(--ink-3); flex-wrap: wrap; }
.doc-meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ========================================================
   International patients block
   ======================================================== */
.intl {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.intl::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 100% 0%, rgba(166,159,149,.22), transparent 60%);
  pointer-events: none;
}
.intl h2 { color: #fff; }
.intl .lede { color: rgba(255,255,255,.78); max-width: 38ch; }
.intl .eyebrow { color: var(--bone); }
.intl .intl-list { display: flex; flex-direction: column; gap: 16px; position: relative; }
.intl .intl-item {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.intl .intl-item .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--bone); display: grid; place-items: center; }
.intl .intl-item .t { font: 600 15.5px/1.3 var(--font-body); }
.intl .intl-item .s { font: 400 13.5px/1.5 var(--font-body); color: rgba(255,255,255,.7); margin-top: 4px; }

/* ========================================================
   News
   ======================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--surface) 100%);
  position: relative;
}
.news-img .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper);
  font: 600 10.5px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand);
  padding: 7px 12px; border-radius: var(--radius-pill);
}
.news-img .stagmotif { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); opacity: .12; }
.news-img .stagmotif svg { width: 50%; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.news-meta { font: 600 11.5px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.news-title { font: 600 19px/1.3 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.news-excerpt { font: 400 14px/1.55 var(--font-body); color: var(--ink-2); }
.news-link { font: 600 13.5px/1 var(--font-body); color: var(--brand); margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ========================================================
   Testimonials
   ======================================================== */
.testimonials { background: var(--surface); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.testi .stars { display: inline-flex; gap: 2px; color: #D6A12A; }
.testi .quote {
  font: 500 17px/1.5 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.testi .who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font: 700 13px/1 var(--font-body); }
.testi .who .nm { font: 600 14px/1.2 var(--font-body); }
.testi .who .rl { font: 400 12.5px/1.2 var(--font-body); color: var(--ink-3); margin-top: 2px; }

/* ========================================================
   Contact + Map
   ======================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: stretch; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.contact-row:first-of-type { border-top: none; padding-top: 0; }
.contact-row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.contact-row .label { font: 600 11px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.contact-row .val { font: 500 16px/1.4 var(--font-body); color: var(--ink); }
.contact-row .val .alt { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; margin-top: 4px; }

.map { border-radius: var(--radius-lg); background: linear-gradient(120deg, #DDE7F0 0%, #E9EFE6 60%, #F2EDE0 100%); position: relative; overflow: hidden; min-height: 460px; }
.map .grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(9,27,64,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(9,27,64,.06) 1px, transparent 1px); background-size: 48px 48px; }
.map .road-1 { position: absolute; top: 20%; left: -10%; width: 130%; height: 10px; background: rgba(255,255,255,.85); transform: rotate(-4deg); }
.map .road-2 { position: absolute; bottom: 30%; left: -10%; width: 130%; height: 8px; background: rgba(255,255,255,.75); transform: rotate(2deg); }
.map .road-3 { position: absolute; top: -10%; right: 30%; width: 6px; height: 120%; background: rgba(255,255,255,.6); transform: rotate(8deg); }
.map .water { position: absolute; bottom: -10%; right: -10%; width: 60%; height: 50%; background: linear-gradient(160deg, #B7CFE5, #93B7D6); border-radius: 50% 30% 40% 60% / 60% 50% 40% 50%; opacity: .55; }
.map .pin { position: absolute; top: 42%; left: 46%; width: 44px; height: 44px; background: var(--brand); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 16px 24px -8px rgba(9,27,64,.5); }
.map .pin::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; background: #fff; border-radius: 50%; transform: translate(-50%,-50%); }
.map .pin-card {
  position: absolute; top: 42%; left: 46%;
  transform: translate(36px, -12px);
  background: var(--paper); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.map .pin-card .mk { width: 28px; height: 28px; color: var(--brand); }
.map .pin-card .nm { font: 600 14px/1.1 var(--font-body); }
.map .pin-card .ad { font: 400 12.5px/1.3 var(--font-body); color: var(--ink-2); margin-top: 2px; }

/* ========================================================
   Footer
   ======================================================== */
.footer { background: var(--brand); color: rgba(255,255,255,.78); padding-block: 72px 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font: 600 12.5px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .brand-block { color: rgba(255,255,255,.9); }
.footer .brand-block .footer-logo { height: 96px; display: block; filter: brightness(0) invert(1); }
.footer .brand-block .tag { font: 400 14px/1.55 var(--font-body); color: rgba(255,255,255,.65); margin-top: 18px; max-width: 32ch; }
.footer .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: rgba(255,255,255,.8); }
.footer .socials a:hover { background: rgba(255,255,255,.06); }
.footer-bot { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 13px; color: rgba(255,255,255,.55); }

/* ========================================================
   ABOUT page
   ======================================================== */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-story h2 { margin-bottom: 24px; }
.about-story p { font: 400 16px/1.7 var(--font-body); color: var(--ink-2); margin: 0 0 18px; }
.about-story p strong { color: var(--ink); font-weight: 600; }

.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--bone); }
.tl-item { position: relative; padding: 12px 0 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--brand); }
.tl-year { font: 700 13px/1 var(--font-body); letter-spacing: 0.06em; color: var(--brand); margin-bottom: 6px; }
.tl-title { font: 600 17px/1.3 var(--font-body); color: var(--ink); margin-bottom: 4px; }
.tl-desc { font: 400 14px/1.55 var(--font-body); color: var(--ink-2); }

.ims-card {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: center;
}
.ims-card h2 { color: #fff; }
.ims-card .eyebrow { color: var(--bone); }
.ims-card .lede { color: rgba(255,255,255,.78); }
.ims-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ims-item { padding: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.ims-item .code { font: 700 14px/1.1 var(--font-display); color: var(--bone); letter-spacing: 0; }
.ims-item .name { font: 600 14.5px/1.35 var(--font-body); margin-top: 8px; }
.ims-item .desc { font: 400 12.5px/1.4 var(--font-body); color: rgba(255,255,255,.65); margin-top: 6px; }

.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leader {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  text-align: center;
  align-items: center;
}
.leader .av {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--brand);
  display: grid; place-items: center;
  font: 700 28px/1 var(--font-display);
  letter-spacing: -0.03em;
}
.leader .nm { font: 600 17px/1.25 var(--font-body); }
.leader .ttl { font: 500 13px/1.4 var(--font-body); color: var(--brand); letter-spacing: 0.04em; text-transform: uppercase; }
.leader .bio { font: 400 14px/1.55 var(--font-body); color: var(--ink-2); }

/* ========================================================
   DOCTORS list page
   ======================================================== */
.doc-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  margin-bottom: 32px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
}
.doc-search {
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-2);
}
.doc-search input {
  flex: 1; border: 0; background: transparent;
  font: 500 14.5px/1 var(--font-body); color: var(--ink);
  outline: none;
}
.doc-search input::placeholder { color: var(--ink-3); }
.doc-filter {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: 500 13.5px/1 var(--font-body); color: var(--ink);
  cursor: pointer;
}
.doc-filter:hover { border-color: var(--brand); }
.doc-filter.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.doc-filter select {
  appearance: none; border: 0; background: transparent;
  font: inherit; color: inherit; cursor: pointer;
  padding-right: 4px;
}
.doc-count { font: 500 13.5px/1 var(--font-body); color: var(--ink-3); padding: 0 8px; white-space: nowrap; }

/* ========================================================
   BOOK appointment page
   ======================================================== */
.book-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px;
  align-items: start;
}
.book-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 48px);
}
.book-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.book-form .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: 0.04em;
  color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.form-field label .req { color: var(--emergency); font-weight: 700; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--paper);
  font: 400 14.5px/1.4 var(--font-body);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(9,27,64,.1);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field .hint { font: 400 12.5px/1.35 var(--font-body); color: var(--ink-3); }

.toggle-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.toggle {
  width: 44px; height: 26px; border-radius: 999px;
  background: var(--line); position: relative;
  cursor: pointer; transition: background .2s ease;
  flex-shrink: 0;
}
.toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
.toggle.on { background: var(--brand); }
.toggle.on::after { transform: translateX(18px); }
.toggle-row .t { font: 600 14px/1.3 var(--font-body); }
.toggle-row .s { font: 400 13px/1.4 var(--font-body); color: var(--ink-2); margin-top: 2px; }

.time-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.time-pill {
  flex: 1 1 0;
  min-width: 90px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font: 500 13.5px/1.2 var(--font-body);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: all .15s ease;
}
.time-pill .label { display: block; font-weight: 600; }
.time-pill .range { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; font-weight: 400; }
.time-pill:hover { border-color: var(--brand); }
.time-pill.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.time-pill.on .range { color: rgba(255,255,255,.7); }

.book-aside {
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 110px;
}
.aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.aside-card h3 { font: 600 16px/1.3 var(--font-body); margin-bottom: 14px; }
.aside-card p, .aside-card li { font: 400 14px/1.55 var(--font-body); color: var(--ink-2); }
.aside-card ul { padding-left: 18px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.aside-card.brand { background: var(--brand); color: #fff; border: none; }
.aside-card.brand h3 { color: #fff; }
.aside-card.brand p { color: rgba(255,255,255,.8); }
.aside-card.brand .num { font: 700 28px/1 var(--font-display); color: #fff; letter-spacing: -0.025em; margin-top: 4px; }

.book-success {
  text-align: center;
  padding: clamp(40px, 5vw, 64px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.book-success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; margin: 0 auto 28px; }
.book-success h2 { margin-bottom: 14px; }
.book-success .lede { margin: 0 auto 24px; }

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { aspect-ratio: 16/9; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-tile { border-right: 1px solid var(--line); }
  .quick-tile:nth-child(2n) { border-right: none; }
  .quick-tile:nth-child(1), .quick-tile:nth-child(2) { border-bottom: 1px solid var(--line); }
  .depts-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .testi-grid { grid-template-columns: 1fr; }
  .intl, .ims-card { grid-template-columns: 1fr; }
  .contact-grid, .about-story, .book-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .creds-row { grid-template-columns: 1fr; gap: 24px; }
  .creds-list { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .value:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .value:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); border-bottom: 0; }
  .leadership-grid { grid-template-columns: 1fr; }
  .ims-list { grid-template-columns: 1fr; }
  .nav { display: none; }
  .topbar-left .hide-sm { display: none; }
  .page-hero .container { grid-template-columns: 1fr; gap: 24px; }
  .book-form .form-grid { grid-template-columns: 1fr; }
  .book-aside { position: static; }
  .doc-toolbar { grid-template-columns: 1fr; }
  @media (max-width: 980px) {
    .cred:nth-child(3n+1) { border-left: none; padding-left: 4px; }
  }
}

@media (max-width: 640px) {
  .depts-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-tile { border-right: none !important; border-bottom: 1px solid var(--line); }
  .quick-tile:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .creds-list { grid-template-columns: repeat(2, 1fr); }
  .cred:nth-child(2n+1) { border-left: none; padding-left: 4px; }
}

/* Density variants */
:root[data-density="compact"] { --gap-section: clamp(48px, 6vw, 80px); }
:root[data-density="airy"]    { --gap-section: clamp(96px, 12vw, 160px); }
