/* ════════════════════════════════════════════════════════════════
   MJ Shaw Medical - editorial-clinical design system
   Paper white · navy ink · single teal accent · Fraunces + Jakarta
   ════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Fraunces-fallback";
  src: local("Georgia");
  size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%;
}
@font-face {
  font-family: "Jakarta-fallback";
  src: local("Arial");
  size-adjust: 106%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%;
}

:root {
  /* ink & paper */
  --ink: #0B192C;
  --ink-2: #2A3B52;
  --ink-3: #55677E;
  --paper: #FAFAF7;
  --paper-2: #F2F4F0;
  --card: #FFFFFF;
  --hairline: rgba(11, 25, 44, 0.12);
  --hairline-soft: rgba(11, 25, 44, 0.07);

  /* brand */
  --navy: #003087;
  --teal: #007263;          /* AA-safe accent for text/borders (5.1:1 even on teal-wash) */
  --teal-bright: #00A896;   /* decorative accent */
  --teal-wash: #E4F2EE;
  --danger: #B3261E;
  --danger-wash: #FBEDEB;
  --amber-wash: #FFF6E3;

  /* type */
  --font-display: "Fraunces", "Fraunces-fallback", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Jakarta-fallback", "Segoe UI", system-ui, sans-serif;

  /* rhythm */
  --shell: 1180px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-md: 0 1px 2px rgba(11,25,44,.05), 0 8px 24px -12px rgba(11,25,44,.18);
  --shadow-lg: 0 2px 4px rgba(11,25,44,.05), 0 24px 56px -20px rgba(11,25,44,.28);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul[class], ol[class] { list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }
.section--ink :focus-visible, .foot :focus-visible, .ribbon :focus-visible { outline-color: var(--teal-bright); }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); text-decoration: none; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 0; color: #fff; }

/* ── Typography helpers ────────────────────────────── */
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.eyebrow--light { color: var(--teal-bright); }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 22ch;
}
.section__title em { font-style: italic; color: var(--teal); }
.section--ink .section__title em { color: var(--teal-bright); }
.section__lede { margin-top: 16px; max-width: 52ch; color: var(--ink-3); }
.section--ink .section__lede { color: rgba(255,255,255,.66); }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform .15s var(--ease-out), background .15s, color .15s, border-color .15s, box-shadow .15s;
  min-height: 44px;
  white-space: nowrap;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(11,25,44,.2), 0 6px 16px -8px rgba(11,25,44,.5); }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 16px; font-size: .86rem; }
.btn--ghost { border-color: var(--hairline); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { border-color: var(--hairline); color: inherit; background: transparent; }
.btn--outline:hover { border-color: currentColor; }
.btn__arrow { width: 15px; height: 15px; transition: transform .2s var(--ease-out); }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }
.link-quiet { color: var(--ink-3); font-size: .92rem; }
.link-quiet:hover { color: var(--teal); }

/* ── Ribbon ────────────────────────────────────────── */
.ribbon { background: var(--ink); color: rgba(255,255,255,.85); font-size: .82rem; }
.ribbon__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; min-height: 40px; flex-wrap: wrap; padding-block: 6px;
}
.ribbon__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #7ee0c2;
  box-shadow: 0 0 0 3px rgba(126,224,194,.22);
  animation: pulse 2.4s ease-in-out infinite;
}
.dot--closed { background: #f2b8b5; box-shadow: 0 0 0 3px rgba(242,184,181,.2); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(126,224,194,.08); } }
.ribbon__meta { display: inline-flex; align-items: center; gap: 14px; }
.ribbon__code strong { color: #fff; font-weight: 600; letter-spacing: .04em; }
.ribbon__sep { width: 1px; height: 14px; background: rgba(255,255,255,.25); }
.ribbon__tel { color: #fff; font-weight: 700; text-decoration: none; }
.ribbon__tel:hover { color: var(--teal-bright); }

/* ── Header ────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
  transition: box-shadow .25s;
}
.site-head.is-scrolled { box-shadow: 0 8px 24px -18px rgba(11,25,44,.35); }
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 44px; height: 44px; }
.brand__name {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 1.28rem; line-height: 1.1; letter-spacing: -.01em;
  white-space: nowrap;
}
.brand__name em { font-style: italic; color: var(--teal); }

.nav { display: flex; align-items: center; gap: 18px; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  display: inline-block; padding: 8px 11px; font-size: .88rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none; border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__link:hover { background: var(--paper-2); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav__cta-group { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }

/* ── Hero ──────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(56px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 85% 8%, rgba(0,168,150,.10), transparent 65%),
    radial-gradient(560px 400px at 8% 96%, rgba(0,48,135,.06), transparent 60%);
}
.hero__ecg { position: absolute; left: 0; right: 0; top: 46%; color: rgba(0,168,150,.16); pointer-events: none; }
.hero__ecg svg { width: 100%; height: 120px; }
.hero__grid {
  position: relative; display: grid; gap: clamp(40px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  line-height: 1.06; letter-spacing: -.02em; text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--teal); }
.hero__sub { margin-top: 22px; font-size: 1.08rem; color: var(--ink-3); max-width: 46ch; }
.hero__actions { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__facts {
  margin-top: 46px; display: flex; gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--hairline-soft); padding-top: 26px;
}
.hero__facts dt { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.01em; }
.hero__facts dd { font-size: .82rem; color: var(--ink-3); margin-top: 2px; max-width: 15ch; }

/* Quick-action glass panel */
.hero__panel {
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.85);
  outline: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 2.4vw, 30px);
}
.hero__panel-title {
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 600;
  padding-bottom: 14px; border-bottom: 1px solid var(--hairline-soft);
}
.qa > li + li { border-top: 1px solid var(--hairline-soft); }
.qa__item {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 16px 6px; text-align: left; text-decoration: none; color: var(--ink);
  border-radius: var(--r-sm);
  transition: background .15s, transform .18s var(--ease-out);
}
.qa__item:hover { background: rgba(0,168,150,.07); }
.qa__item:hover .qa__chevron { transform: translateX(4px); color: var(--teal); }
.qa__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-wash); color: var(--teal);
}
.qa__icon svg { width: 23px; height: 23px; }
.qa__name { display: block; font-weight: 700; font-size: .97rem; }
.qa__desc { display: block; font-size: .84rem; color: var(--ink-3); margin-top: 2px; }
.qa__chevron { margin-left: auto; color: var(--ink-3); transition: transform .18s var(--ease-out), color .15s; }
.qa__note {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline-soft);
  font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  text-align: center;
}

/* ── Urgent banner ─────────────────────────────────── */
.urgent {
  background: linear-gradient(120deg, var(--teal-wash), var(--paper-2) 78%);
  border-block: 1px solid rgba(0,114,99,.14);
}
.urgent__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) 1fr 1fr;
  gap: clamp(18px, 2.5vw, 36px); align-items: center;
  padding-block: clamp(28px, 3.5vw, 44px);
}
.urgent__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.01em; line-height: 1.2;
}
.urgent__sub { margin-top: 8px; font-size: .9rem; color: var(--ink-3); max-width: 30ch; }
.urgent-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid rgba(11,25,44,.08);
  border-left: 4px solid var(--ink);
  border-radius: var(--r-md); padding: 18px 20px;
  text-decoration: none; color: var(--ink);
  box-shadow:
    0 1px 2px rgba(11,25,44,.06),
    0 14px 28px -14px rgba(11,25,44,.2),
    0 32px 56px -28px rgba(11,25,44,.24);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.urgent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.urgent-card--danger { border-left-color: var(--danger); }
.urgent-card__badge {
  flex: none; display: grid; place-items: center; width: 52px; height: 40px;
  border-radius: 10px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 1.02rem; letter-spacing: .02em;
}
.urgent-card--danger .urgent-card__badge { background: var(--danger); }
.urgent-card__body strong { display: block; font-size: .95rem; }
.urgent-card__body span:last-child { display: block; font-size: .84rem; color: var(--ink-3); margin-top: 2px; }
.urgent-card__body em { font-style: normal; font-weight: 600; color: var(--teal); }

/* ── Sections ──────────────────────────────────────── */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); }

/* ── Consultation split ────────────────────────────── */
.consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.consult__copy p { color: var(--ink-2); max-width: 52ch; }
.consult__copy .btn { margin-top: 30px; }
.tick-list { margin-block: 26px; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 32px; color: var(--ink-2); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px;
  border-radius: 50%; background: var(--teal-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7-8' fill='none' stroke='%2300806F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.mini-steps { display: grid; gap: 0; counter-reset: step; }
.mini-steps li {
  display: flex; gap: 22px; padding: 26px 4px;
  border-top: 1px solid var(--hairline-soft);
}
.mini-steps li:last-child { border-bottom: 1px solid var(--hairline-soft); }
.mini-steps__n {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 2.4rem; line-height: 1; color: var(--teal); opacity: .85; flex: none;
  min-width: 62px;
}
.mini-steps strong { font-size: 1.02rem; }
.mini-steps p { color: var(--ink-3); font-size: .92rem; margin-top: 4px; max-width: 40ch; }

/* ── Doctors ───────────────────────────────────────── */
.docs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0; border-top: 1px solid rgba(255,255,255,.14);
}
.doc {
  display: flex; align-items: center; gap: 20px;
  padding: 26px clamp(4px, 1.5vw, 18px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .2s;
}
.doc:hover { background: rgba(255,255,255,.045); }
.docs .doc:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); padding-right: clamp(16px, 2.5vw, 36px); }
.docs .doc:nth-child(even) { padding-left: clamp(16px, 2.5vw, 36px); }
.doc__monogram {
  flex: none; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: .02em;
  color: var(--teal-bright); background: rgba(0,168,150,.12);
  border: 1px solid rgba(0,168,150,.35);
}
.doc__monogram--mgr { color: #f4cf87; background: rgba(244,207,135,.1); border-color: rgba(244,207,135,.4); }
.doc__body { min-width: 0; }
.doc__name { font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; letter-spacing: -.01em; }
.doc__role { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-bright); margin-top: 2px; font-weight: 600; }
.doc__meta { margin-top: 10px; display: grid; gap: 3px; font-size: .86rem; }
.doc__meta div { display: flex; gap: 8px; }
.doc__meta dt { color: rgba(255,255,255,.6); flex: none; min-width: 62px; }
.doc__meta dd { color: rgba(255,255,255,.82); }
.doc__cta { margin-left: auto; flex: none; color: #fff; border-color: rgba(255,255,255,.3); }
.doc__cta:hover { border-color: var(--teal-bright); color: var(--teal-bright); }

/* ── Services ──────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.svc {
  grid-column: span 2;
  background: var(--card); border: 1px solid var(--hairline-soft);
  border-radius: var(--r-md); padding: clamp(24px, 2.6vw, 34px);
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
  position: relative; overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), transparent 70%);
  opacity: 0; transition: opacity .25s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,168,150,.35); }
.svc:hover::after { opacity: 1; }
.svc-grid .svc:nth-last-child(-n+2) { grid-column: span 3; }
.svc--wide { grid-column: span 6; display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto auto; column-gap: 26px; align-items: start; }
.svc--wide .svc__icon { grid-row: 1 / 4; }
.svc__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-wash); color: var(--teal); margin-bottom: 18px;
}
.svc__icon svg { width: 27px; height: 27px; }
.svc__name { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.01em; }
.svc__desc { margin-top: 10px; color: var(--ink-3); font-size: .94rem; max-width: 58ch; }
.svc__tags { margin-top: 14px; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); font-weight: 600; }

/* ── Prescriptions ─────────────────────────────────── */
.rx { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.rx__copy > p { color: var(--ink-2); max-width: 54ch; }
.rx__copy .btn { margin-top: 30px; }
.rx__ways { margin-top: 28px; display: grid; gap: 14px; }
.rx__way {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--hairline-soft); border-radius: var(--r-md);
  padding: 16px 20px; box-shadow: var(--shadow-md);
}
.rx__way-n {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  background: var(--teal-wash); color: var(--teal);
}
.rx__way strong { font-size: .97rem; }
.rx__way p { font-size: .87rem; color: var(--ink-3); margin-top: 1px; }
.rx__aside {
  display: grid; gap: 0;
  border-left: 1px solid var(--hairline); padding-left: clamp(24px, 3vw, 44px);
}
.rx__stat { padding-block: 24px; }
.rx__stat + .rx__stat { border-top: 1px solid var(--hairline-soft); }
.rx__stat-n {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.02em; color: var(--teal);
}
.rx__stat span:last-child { font-size: .9rem; color: var(--ink-3); display: block; margin-top: 4px; max-width: 26ch; }

/* ── Tabs (detached pill bar + floating card) ──────── */
.tabs { background: transparent; }
.tabs__list {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 8px;
  border: 1px solid var(--hairline-soft); border-radius: 28px;
  background: var(--paper-2);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.tabs__tab {
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  color: var(--ink-3); transition: background .15s, color .15s; min-height: 44px;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs__panel {
  background: var(--card); border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  padding: clamp(36px, 4.5vw, 56px) clamp(28px, 3.5vw, 48px) clamp(32px, 4vw, 52px);
}
.tabs__panel h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin-bottom: 16px; letter-spacing: -.01em; }
.tabs__panel p { color: var(--ink-2); max-width: 68ch; }
.tabs__panel p + p { margin-top: 14px; }

/* FAQ accordion */
.faq { margin-top: 8px; }
.faq__item { border-top: 1px solid var(--hairline-soft); }
.faq__item:last-child { border-bottom: 1px solid var(--hairline-soft); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; text-align: left; padding: 18px 2px;
  font-weight: 600; font-size: 1.02rem; transition: color .15s;
}
.faq__q:hover { color: var(--teal); }
.faq__mark { position: relative; flex: none; width: 20px; height: 20px; }
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease-out);
}
.faq__mark::before { width: 14px; height: 2px; }
.faq__mark::after { width: 2px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__mark::after { transform: rotate(90deg); }
.faq__a { padding: 0 40px 20px 2px; }
.faq__a p { color: var(--ink-3); font-size: .95rem; max-width: 62ch; }

/* ── Contact ───────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.contact__address { font-style: normal; font-size: 1.05rem; line-height: 1.7; }
.contact__lines { margin-top: 24px; display: grid; gap: 10px; }
.contact__lines div { display: flex; gap: 12px; font-size: .95rem; }
.contact__lines dt { flex: none; min-width: 140px; color: var(--ink-3); }
.contact__lines dd a { font-weight: 600; }
.contact__hours-title { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-top: 40px; margin-bottom: 14px; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--hairline-soft); }
.hours thead th { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hours tbody th { font-weight: 500; }
.hours .is-today th, .hours .is-today td { background: var(--teal-wash); font-weight: 700; color: var(--teal); }
.hours .is-today th::after { content: " · today"; font-size: .78rem; font-weight: 600; opacity: .8; }
.contact__note { margin-top: 16px; font-size: .87rem; color: var(--ink-3); max-width: 46ch; }

.contact__right { display: grid; gap: 28px; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline-soft); box-shadow: var(--shadow-md); background: var(--paper-2); }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }
.map__link {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: .8rem; font-weight: 600; padding: 8px 14px; border-radius: 999px;
}
.map__link:hover { background: var(--navy); color: #fff; }

.enquiry {
  background: var(--card); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md);
}
.enquiry__title { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.enquiry__sub { font-size: .87rem; color: var(--ink-3); margin: 6px 0 22px; }
.enquiry .btn { margin-top: 6px; }
.enquiry__done { margin-top: 16px; background: var(--teal-wash); color: var(--teal); font-weight: 600; padding: 14px 18px; border-radius: var(--r-sm); font-size: .93rem; }

/* fields */
.field { margin-bottom: 18px; }
.field label, .field__label { display: block; font-weight: 600; font-size: .89rem; margin-bottom: 7px; }
.field__optional { font-weight: 400; color: var(--ink-3); }
.field input:not([type="file"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--hairline); border-radius: 10px;
  padding: 12px 14px; min-height: 46px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,114,99,.35);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { margin-top: 6px; font-size: .84rem; color: var(--danger); font-weight: 500; }
.field__helper { margin-top: 6px; font-size: .82rem; color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Footer ────────────────────────────────────────── */
.foot { background: var(--ink); color: rgba(255,255,255,.72); }
.foot a { color: rgba(255,255,255,.72); text-decoration: none; }
.foot a:hover { color: var(--teal-bright); }
.foot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(52px, 6vw, 80px) 40px;
}
.foot__logo { filter: brightness(0) invert(1); opacity: .9; }
.foot__name { font-family: var(--font-display); color: #fff; font-size: 1.3rem; font-weight: 500; margin-top: 14px; }
.foot__name em { font-style: italic; color: var(--teal-bright); }
.foot__addr { margin-top: 12px; font-size: .88rem; line-height: 1.8; }
.foot__col h3 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.foot__col ul { display: grid; gap: 9px; font-size: .9rem; }
.foot__oou { font-size: .9rem; line-height: 1.8; }
.foot__oou strong { color: #fff; }
.foot__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; font-size: .82rem;
  color: rgba(255,255,255,.6);
}

/* ── Modal ─────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(11,25,44,.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .25s var(--ease-out);
}
.modal__card {
  position: relative; width: min(680px, 100%); max-height: min(86dvh, 820px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3.5vw, 40px);
  animation: modalIn .35s var(--ease-out);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.modal__eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.modal__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -.015em; margin-top: 6px; }
.modal__close {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--hairline);
  transition: background .15s, border-color .15s;
}
.modal__close:hover { background: var(--paper-2); border-color: var(--ink); }
.modal__close svg { width: 17px; height: 17px; }

.modal__progress { display: flex; gap: 8px; margin: 26px 0 30px; }
.modal__progress li {
  flex: 1; text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-3); padding-top: 10px; position: relative;
}
.modal__progress li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 3px; background: var(--hairline-soft); transition: background .3s;
}
.modal__progress li.is-active { color: var(--teal); }
.modal__progress li.is-active::before, .modal__progress li.is-done::before { background: var(--teal-bright); }

.step { border: 0; }
.step__legend { font-weight: 700; font-size: 1.06rem; margin-bottom: 18px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-grid--rows { grid-template-columns: 1fr; }
.choice input { position: absolute; opacity: 0; }
.choice__card {
  display: block; padding: 16px 18px; border-radius: var(--r-md);
  border: 1.5px solid var(--hairline); background: #fff; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
  height: 100%;
}
.choice:hover .choice__card { border-color: var(--ink-3); }
.choice input:checked + .choice__card {
  border-color: var(--teal); background: var(--teal-wash);
  box-shadow: 0 0 0 1px var(--teal);
}
.choice input:focus-visible + .choice__card { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice__name { display: block; font-weight: 700; font-size: .96rem; }
.choice__hint { display: block; font-size: .83rem; color: var(--ink-3); margin-top: 3px; }
.step__error { margin-top: 14px; color: var(--danger); font-weight: 600; font-size: .9rem; }

.upload { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px dashed var(--hairline); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
.upload:hover { border-color: var(--teal); background: var(--teal-wash); }
.upload:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload svg { width: 24px; height: 24px; color: var(--teal); flex: none; }
.upload__text { font-size: .87rem; color: var(--ink-3); }
.upload__text strong { color: var(--ink); }
.upload__file { font-size: .85rem; font-weight: 600; color: var(--teal); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--teal); flex: none; }
.consent.is-invalid { color: var(--danger); }
.consent.is-invalid input { outline: 2px solid var(--danger); outline-offset: 2px; }

.modal__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--hairline-soft); flex-wrap: wrap;
}
.modal__safety { font-size: .84rem; color: var(--ink-3); }
.modal__safety a { color: var(--danger); text-decoration: none; }
.modal__nav { display: flex; gap: 10px; margin-left: auto; }

.done { text-align: center; padding-block: 12px; }
.done__badge {
  width: 64px; height: 64px; margin-inline: auto; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal-wash); color: var(--teal);
  animation: popIn .4s var(--ease-out);
}
@keyframes popIn { from { transform: scale(.5); opacity: 0; } }
.done__badge svg { width: 30px; height: 30px; }
.done__title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin-top: 18px; }
.done__ref { font-size: .9rem; color: var(--ink-3); margin: 6px 0 16px; }
.done__ref strong { color: var(--teal); font-size: 1rem; letter-spacing: .04em; }
.done p { max-width: 46ch; margin-inline: auto; color: var(--ink-2); }
.done__warn { margin-top: 16px; font-size: .87rem; color: var(--danger); font-weight: 500; }

/* ── Scroll reveal (staggered rise-in) ─────────────── */
/* hidden only when JS is confirmed running (html.js added by app.js) */
html.js .reveal { opacity: 0; }
html.js .reveal.is-visible {
  opacity: 1;
  animation: riseIn .7s var(--ease-out) backwards;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
html.no-observer .reveal, html.reduce-motion .reveal { opacity: 1; animation: none; }

/* ── Hero motion ───────────────────────────────────── */
.hero::before { animation: heroAmbient 9s ease-in-out infinite alternate; }
@keyframes heroAmbient { from { opacity: .7; } to { opacity: 1; } }
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  top: -160px; right: -120px; pointer-events: none;
  background: radial-gradient(circle, rgba(0,201,167,.13), transparent 65%);
  animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-90px, 70px) scale(1.15); }
}
.hero__ecg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation:
    ecgDraw 3.2s .5s var(--ease-out) forwards,
    ecgPulse 5s 4.2s ease-in-out infinite;
}
@keyframes ecgDraw { to { stroke-dashoffset: 0; } }
@keyframes ecgPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* headline: masked line rise */
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__line-inner { display: inline-block; transform: translateY(115%); animation: lineRise .9s var(--ease-out) forwards; }
.hero__line:nth-child(2) .hero__line-inner { animation-delay: .14s; }
@keyframes lineRise { to { transform: translateY(0); } }

/* glass panel: rise, then gentle float */
html.js .hero__panel.is-visible {
  opacity: 1;
  animation:
    riseIn .7s var(--ease-out) backwards,
    panelFloat 7s 1.4s ease-in-out infinite alternate;
  animation-delay: var(--reveal-delay, 0ms), 1.4s;
}
@keyframes panelFloat { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* quick-action rows: staggered slide-in once the panel lands */
html.js .hero__panel .qa > li { opacity: 0; }
.hero__panel.is-visible .qa > li { animation: qaIn .55s var(--ease-out) forwards; }
.hero__panel.is-visible .qa > li:nth-child(1) { animation-delay: .55s; }
.hero__panel.is-visible .qa > li:nth-child(2) { animation-delay: .67s; }
.hero__panel.is-visible .qa > li:nth-child(3) { animation-delay: .79s; }
.hero__panel.is-visible .qa > li:nth-child(4) { animation-delay: .91s; }
@keyframes qaIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
html.no-observer .hero__panel .qa > li, html.reduce-motion .hero__panel .qa > li { opacity: 1; animation: none; }

/* ── Card micro-motion ─────────────────────────────── */
.qa__icon, .svc__icon, .doc__monogram, .rx__way-n { transition: transform .25s var(--ease-out); }
.qa__item:hover .qa__icon { transform: scale(1.08) rotate(-4deg); }
.svc:hover .svc__icon { animation: iconWiggle .5s var(--ease-out); }
@keyframes iconWiggle {
  0% { transform: scale(1) rotate(0); }
  35% { transform: scale(1.12) rotate(-6deg); }
  70% { transform: scale(1.06) rotate(3deg); }
  100% { transform: scale(1.08) rotate(0); }
}
.svc:hover .svc__icon, .svc:focus-within .svc__icon { transform: scale(1.08); }
.doc { transition: background .2s, transform .25s var(--ease-out); }
.doc:hover { transform: translateX(6px); }
.doc:hover .doc__monogram { transform: scale(1.07); }
.rx__way { transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.rx__way:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.donut-card { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.donut-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(11,25,44,.06),
    0 16px 32px -12px rgba(11,25,44,.18),
    0 56px 100px -32px rgba(11,25,44,.34);
}
.enquiry, .tabs, .map { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.enquiry:hover, .map:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Donut chart card ──────────────────────────────── */
.numbers { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.numbers__copy > p { color: var(--ink-2); max-width: 46ch; }
.numbers__stats {
  margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 3vw, 44px);
}
.numbers__stat { border-top: 1px solid var(--hairline); padding: 18px 0 22px; }
.numbers__stat dt {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--teal);
}
.numbers__stat dd { margin-top: 6px; font-size: .88rem; color: var(--ink-3); max-width: 24ch; }
.numbers__copy .btn { margin-top: 10px; }
.numbers__disclaimer { margin-top: 18px; font-size: .78rem; color: var(--ink-3); }
.donut-card {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow:
    0 1px 2px rgba(11,25,44,.06),
    0 12px 24px -12px rgba(11,25,44,.16),
    0 44px 88px -32px rgba(11,25,44,.30);
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.donut-card__title {
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem;
  text-align: center; letter-spacing: -.01em; margin-bottom: 22px;
}
.donut { position: relative; width: 250px; height: 250px; margin-inline: auto; }
.donut svg { transform: rotate(-90deg); overflow: visible; }
.donut__seg { cursor: pointer; transition: filter .2s ease-out, transform .2s ease-out; transform-origin: center; }
.donut__seg.is-active { transform: scale(1.03); }
.donut__center {
  position: absolute; inset: 0; margin: auto; width: 170px; height: 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
}
.donut__center.is-swap { animation: centerSwap .22s var(--ease-out); }
@keyframes centerSwap { from { opacity: 0; transform: scale(.9); } }
.donut__label { font-size: .84rem; font-weight: 600; color: var(--ink-3); max-width: 150px; }
.donut__value { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1.1; letter-spacing: -.02em; }
.donut__pct { font-size: 1rem; font-weight: 600; color: var(--ink-3); min-height: 1.4em; }
.donut__legend { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hairline-soft); display: grid; gap: 4px; }
.donut__row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px; border-radius: 10px; cursor: pointer; width: 100%; text-align: left;
  transition: background .18s, transform .18s var(--ease-out);
  opacity: 0; transform: translateX(-18px);
}
.donut__row.is-in { opacity: 1; transform: none; transition: background .18s, opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.donut__row:hover, .donut__row.is-active { background: var(--paper-2); }
.donut__row-left { display: flex; align-items: center; gap: 11px; }
.donut__dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.donut__row-label { font-size: .9rem; font-weight: 600; }
.donut__row-value { font-size: .9rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ── Calendar with presets (light) ─────────────────── */
.cal { margin-top: 24px; }
.cal__title { font-weight: 700; font-size: 1.06rem; margin-bottom: 14px; }
.cal-card {
  background: #fff; border: 1.5px solid var(--hairline); border-radius: var(--r-md);
  padding: 18px;
  box-shadow: 0 1px 2px rgba(11,25,44,.05), 0 10px 24px -16px rgba(11,25,44,.2);
  max-width: 360px;
}
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__month { font-weight: 700; font-size: .95rem; }
.cal__nav {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  color: var(--ink-3); transition: background .15s, color .15s;
}
.cal__nav:hover { background: var(--paper-2); color: var(--ink); }
.cal__nav svg { width: 16px; height: 16px; }
.cal__nav[disabled] { opacity: .35; pointer-events: none; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__wd { text-align: center; font-size: .72rem; font-weight: 600; color: var(--ink-3); padding: 6px 0; text-transform: uppercase; letter-spacing: .04em; }
.cal__day {
  position: relative; min-height: 44px; border-radius: 10px;
  display: grid; place-items: center; font-size: .88rem; font-weight: 500;
  transition: background .15s, color .15s, transform .15s var(--ease-out);
}
.cal__day:not([disabled]):hover { background: var(--teal-wash); }
.cal__day:not([disabled]):active { transform: scale(.92); }
.cal__day[disabled] { color: rgba(11,25,44,.28); pointer-events: none; }
.cal__day.is-outside:not([disabled]) { color: var(--ink-3); }
.cal__day.is-outside[disabled] { color: rgba(11,25,44,.28); }
.cal__day.is-today::after {
  content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--teal);
}
.cal__day.is-selected { background: var(--ink); color: #fff; font-weight: 700; }
.cal__day.is-selected.is-today::after { background: #fff; }
.cal__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline-soft); }
.cal__preset {
  flex: 1 1 auto; padding: 12px 12px; border-radius: 9px; font-size: .8rem; font-weight: 600;
  border: 1.5px solid var(--hairline); color: var(--ink-2); white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s, transform .15s var(--ease-out);
}
.cal__preset:hover { border-color: var(--teal); color: var(--teal); }
.cal__preset:active { transform: scale(.95); }
.cal__preset.is-active { background: var(--teal-wash); border-color: var(--teal); color: var(--teal); }
.cal__picked { margin-top: 12px; font-size: .84rem; color: var(--ink-3); }
.cal__picked strong { color: var(--teal); }
.cal__cta { width: 100%; justify-content: center; margin-top: 14px; }

/* ── Booking section ───────────────────────────────── */
.book { position: relative; overflow: hidden; }
.book::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% 20%, rgba(0,168,150,.10), transparent 65%),
    radial-gradient(520px 380px at 4% 90%, rgba(0,48,135,.05), transparent 60%);
}
.book__ecg { position: absolute; left: 0; right: 0; bottom: 12%; color: rgba(0,168,150,.12); pointer-events: none; }
.book__ecg svg { width: 100%; height: 110px; }
.book__grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.book__lede { margin-top: 18px; color: var(--ink-2); max-width: 50ch; }
.book__note { margin-top: 26px; font-size: .92rem; color: var(--ink-3); }
.link-inline {
  color: var(--teal); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; padding: 0;
}
.link-inline:hover { color: var(--ink); }
.book__card {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
  max-width: 440px;
  width: 100%;
  justify-self: center;
  box-shadow:
    0 1px 2px rgba(11,25,44,.06),
    0 12px 24px -12px rgba(11,25,44,.16),
    0 44px 88px -32px rgba(11,25,44,.30);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.book__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(11,25,44,.06),
    0 16px 32px -12px rgba(11,25,44,.18),
    0 56px 100px -32px rgba(11,25,44,.34);
}
.book__card-title {
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem;
  letter-spacing: -.01em; text-align: center;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline-soft);
}
.cal-card--bare { border: 0; box-shadow: none; padding: 0; max-width: none; background: transparent; }

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

/* ════════════ Responsive ════════════ */
@media (max-width: 1300px) {
  /* collapse nav into hamburger menu */
  .nav-toggle {
    display: grid; place-items: center; gap: 5px; width: 46px; height: 46px;
    border: 1px solid var(--hairline); border-radius: 12px;
  }
  .nav-toggle__bar { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out); display: block; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--paper); border-bottom: 1px solid var(--hairline-soft);
    padding: 18px clamp(20px, 4vw, 40px) 26px;
    box-shadow: 0 24px 40px -24px rgba(11,25,44,.35);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { display: grid; gap: 2px; }
  .nav__link { display: block; padding: 12px 10px; font-size: 1rem; }
  .nav__cta-group { flex-direction: column; align-items: stretch; margin-top: 10px; }
  .nav__cta-group .btn { justify-content: center; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__ecg { top: 30%; }
  .consult, .rx, .contact, .numbers, .book__grid { grid-template-columns: 1fr; }
  .book__card { justify-self: stretch; }
  .rx__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--hairline); grid-template-columns: repeat(3, 1fr); display: grid; gap: 0 24px; }
  .rx__stat + .rx__stat { border-top: 0; }
  .docs { grid-template-columns: 1fr; }
  .docs .doc:nth-child(odd) { border-right: 0; padding-right: 4px; }
  .docs .doc:nth-child(even) { padding-left: 4px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc, .svc--wide, .svc-grid .svc:nth-last-child(-n+2) { grid-column: span 2; }
  .svc--wide { grid-template-columns: 1fr; }
  .svc--wide .svc__icon { grid-row: auto; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ribbon__row { justify-content: center; text-align: center; }
  .ribbon__meta { display: none; }
  .hero__facts { flex-wrap: wrap; gap: 20px 32px; }
  .field-row { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .rx__aside { grid-template-columns: 1fr; }
  .rx__stat + .rx__stat { border-top: 1px solid var(--hairline-soft); }
  .foot__grid { grid-template-columns: 1fr; }
  .urgent__row { flex-direction: column; align-items: flex-start; }
  .doc { flex-wrap: wrap; }
  .doc__cta { margin-left: 82px; }
  .modal { padding: 0; align-items: end; }
  .modal__card { max-height: 94dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; width: 100%; }
}
