/* ============================================================
   Christ the King Specialist Hospital — ckchealth.org
   Design system. Tokens at :root map 1:1 to future WP theme
   customizer settings; component classes are BEM-ish and
   content-section oriented for a clean Elementor port.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --green-950: #06231c;
  --green-900: #093328;
  --green-800: #0d4536;
  --green-700: #125a47;
  --green-600: #18735c;
  --green-500: #1f8e72;
  --green-100: #dcefe8;
  --green-50:  #ecf6f2;

  --gold-700: #8a6c24;
  --gold-600: #a8852f;
  --gold-500: #c9a24b;
  --gold-400: #dbbc70;
  --gold-100: #f4ead1;

  --red-700: #b23a24;
  --red-50:  #fcf0ec;

  --ink-900: #101d18;
  --ink-700: #2f4039;
  --ink-500: #5a6d66;
  --ink-300: #8fa09a;

  --paper: #faf8f3;
  --cream: #f1ede3;
  --white: #ffffff;
  --line: #e7e2d6;
  --line-strong: #d8d2c2;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: clamp(1.075rem, 0.98rem + 0.4vw, 1.25rem);
  --text-xl: clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem);
  --title-sm: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --title-md: clamp(1.55rem, 1.25rem + 1.3vw, 2.15rem);
  --title-lg: clamp(1.95rem, 1.45rem + 2.2vw, 3rem);
  --title-xl: clamp(2.35rem, 1.6rem + 3.4vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  --section-y: clamp(3.25rem, 2.4rem + 4vw, 6rem);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16, 29, 24, 0.06), 0 2px 8px rgba(16, 29, 24, 0.05);
  --shadow-md: 0 2px 6px rgba(16, 29, 24, 0.07), 0 14px 34px rgba(16, 29, 24, 0.1);
  --shadow-lg: 0 6px 18px rgba(9, 51, 40, 0.12), 0 28px 60px rgba(9, 51, 40, 0.16);

  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }

ul { padding-left: 1.15em; }

strong { color: var(--ink-900); }

::selection { background: var(--gold-400); color: var(--ink-900); }

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

[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  background: var(--green-900);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------- Layout primitives ---------- */
.container {
  width: min(100% - 2.5rem, 71.25rem);
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, 46rem); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--white); }
.section--cream { background: var(--cream); }
.section--deep {
  background:
    radial-gradient(52rem 30rem at 115% -10%, rgba(31, 142, 114, 0.28), transparent 60%),
    radial-gradient(40rem 26rem at -15% 110%, rgba(201, 162, 75, 0.14), transparent 55%),
    linear-gradient(160deg, var(--green-900), var(--green-950));
  color: rgba(255, 255, 255, 0.82);
}
.section--deep h2, .section--deep h3 { color: var(--white); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 64rem) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 42rem) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: var(--space-4); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 1.7rem; height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.eyebrow--light { color: var(--gold-400); }

.title-xl, .hero__title { font-size: var(--title-xl); font-weight: 600; }
.title-lg { font-size: var(--title-lg); font-weight: 600; }
.title-md { font-size: var(--title-md); font-weight: 600; }
.title-sm { font-size: var(--title-sm); font-weight: 600; }

.lede {
  max-width: 44rem;
  font-size: var(--text-lg);
  color: var(--ink-500);
}
.lede--light { color: rgba(255, 255, 255, 0.78); }

.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

.text-accent { color: var(--green-600); font-style: italic; font-weight: 500; }
.hero__title em,
.section--deep .text-accent { color: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.78rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18, 90, 71, 0.32);
}
.btn--primary:hover { color: var(--white); box-shadow: 0 14px 30px rgba(18, 90, 71, 0.42); }

.btn--outline {
  border-color: var(--green-700);
  color: var(--green-700);
  background: transparent;
}
.btn--outline:hover { background: var(--green-700); color: var(--white); }

.btn--light { background: var(--white); color: var(--green-800); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--green-800); box-shadow: var(--shadow-md); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn--emergency {
  background: linear-gradient(135deg, #c14428, var(--red-700));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(178, 58, 36, 0.32);
}
.btn--emergency:hover { color: var(--white); box-shadow: 0 14px 30px rgba(178, 58, 36, 0.42); }

.btn--lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: var(--text-sm); }

.actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
}
.text-link svg { transition: transform 0.2s var(--ease-out); }
.text-link:hover { color: var(--green-600); }
.text-link:hover svg { transform: translateX(4px); }
.section--deep .text-link { color: var(--gold-400); }
.section--deep .text-link:hover { color: var(--gold-100); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2) var(--space-5);
  padding-block: 0.55rem;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: inherit;
  text-decoration: none;
}
.topbar__item svg { color: var(--gold-400); flex: none; }
.topbar__item strong { color: var(--white); font-weight: 600; }
.topbar__item:hover { color: var(--white); }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #43d17c;
  box-shadow: 0 0 0 3px rgba(67, 209, 124, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(67, 209, 124, 0.35); }
  55% { box-shadow: 0 0 0 5px rgba(67, 209, 124, 0); }
}

/* ---------- Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand__mark { flex: none; filter: drop-shadow(0 2px 4px rgba(9, 51, 40, 0.18)); }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.15;
  color: var(--green-900);
}
.brand__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
  text-decoration: none;
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0.35rem; right: 0.35rem; bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.primary-nav__link:hover,
.primary-nav__link.is-active { color: var(--green-800); }
.primary-nav__link:hover::after,
.primary-nav__link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--green-900);
  transition: transform 0.28s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 61.9375rem) {
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .primary-nav {
    position: fixed;
    inset: calc(var(--header-h)) 0 auto 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4) 1.25rem var(--space-6);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s var(--ease-out), opacity 0.24s, visibility 0.24s;
  }
  .primary-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav__link {
    display: block;
    padding: 0.9rem 0.4rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav__link::after { display: none; }
  .primary-nav__item.is-active .primary-nav__link { color: var(--green-700); background: var(--green-50); border-radius: var(--radius-sm); }
  .primary-nav__cta { margin-top: var(--space-4); display: grid; gap: var(--space-3); }
}
@media (min-width: 62rem) {
  .primary-nav__cta { display: contents; }
}

body.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(46rem 30rem at 88% 8%, rgba(31, 142, 114, 0.16), transparent 60%),
    linear-gradient(175deg, var(--paper) 0%, var(--paper) 55%, var(--green-50) 100%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }

.hero__panel { position: relative; }
.panel-card {
  position: relative;
  background: linear-gradient(165deg, var(--green-800), var(--green-950));
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.panel-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.28), transparent 65%);
}
.panel-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.panel-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-6) 0 0;
}
.panel-stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.1;
}
.panel-stat__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 56rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 34rem; }
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(40rem 22rem at 110% -20%, rgba(31, 142, 114, 0.35), transparent 62%),
    radial-gradient(30rem 20rem at -10% 120%, rgba(201, 162, 75, 0.18), transparent 55%),
    linear-gradient(155deg, var(--green-800) 0%, var(--green-950) 100%);
  color: rgba(255, 255, 255, 0.85);
}
.page-hero .container { padding-block: clamp(3rem, 2.2rem + 4vw, 5.5rem); }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lede { color: rgba(255, 255, 255, 0.78); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb a { color: var(--gold-400); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, 0.65); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.svc-card { display: flex; flex-direction: column; gap: var(--space-3); height: 100%; }
.svc-card h3 { margin: 0; font-size: 1.22rem; }
.svc-card p { margin: 0; color: var(--ink-500); font-size: 0.96rem; }
.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: var(--space-2);
}
.svc-card .text-link { margin-top: var(--space-2); font-size: 0.95rem; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  border: 1px solid rgba(18, 90, 71, 0.14);
}
.section--deep .icon-tile,
.panel-card .icon-tile {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--gold-400);
}

.tag {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--green-50);
  border: 1px solid rgba(18, 90, 71, 0.16);
  color: var(--green-700);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink-700);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.chip svg { color: var(--green-600); }
.chip:hover { border-color: var(--green-600); color: var(--green-700); transform: translateY(-2px); }
.chip--on { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.chip--on svg { color: var(--gold-400); }
.chip--light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.88); }
.chip--light:hover { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }

/* ---------- Split media rows ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.split--rev > :first-child { order: 2; }
@media (max-width: 56rem) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

.media-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--green-700), var(--green-950));
}
.media-panel svg { width: 100%; height: auto; }

.checklist { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.checklist li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.85rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.18em;
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  background: var(--green-100) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23125a47" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/0.8rem no-repeat;
}
.section--deep .checklist li::before {
  background-color: rgba(255, 255, 255, 0.12);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23dbbc70" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>');
}

/* ---------- Steps / journey ---------- */
.journey { counter-reset: step; }
.journey-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem 1.4rem;
  height: 100%;
}
.journey-item__num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.journey-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.journey-item p { margin: 0; font-size: 0.94rem; color: var(--ink-500); }

/* ---------- Stats band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.05;
}
.stat__label { font-size: var(--text-sm); letter-spacing: 0.04em; }
@media (max-width: 56rem) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .stat-band { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }

/* ---------- Notice ---------- */
.notice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 90, 71, 0.2);
  background: var(--green-50);
}
.notice svg { flex: none; color: var(--green-700); margin-top: 0.1em; }
.notice p { margin: 0; font-size: 0.95rem; }
.notice--emergency {
  border-color: rgba(178, 58, 36, 0.3);
  background: var(--red-50);
}
.notice--emergency svg { color: var(--red-700); }
.notice--emergency strong { color: var(--red-700); }

/* ---------- Accordion (native details) ---------- */
.acc-list { display: grid; gap: var(--space-3); }
.acc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.acc[open] { border-color: var(--green-600); box-shadow: var(--shadow-sm); }
.acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-900);
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "";
  flex: none;
  width: 1.7rem; height: 1.7rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232f4039" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') center/0.95rem no-repeat;
  transition: transform 0.25s var(--ease-out);
}
.acc[open] summary::after { transform: rotate(180deg); }
.acc__a { padding: 0 1.3rem 1.25rem; color: var(--ink-500); max-width: 62ch; }
.acc__a p { margin: 0; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 0.85rem 1.1rem; text-align: left; vertical-align: top; }
.table thead th {
  background: var(--cream);
  color: var(--ink-900);
  font-weight: 700;
  white-space: nowrap;
}
.table tbody tr + tr { border-top: 1px solid var(--line); }
.table tbody th { font-weight: 600; color: var(--ink-900); white-space: nowrap; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink-900); }
.req { color: var(--red-700); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 8.5rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(31, 142, 114, 0.18);
}
.form-note { font-size: var(--text-sm); color: var(--ink-500); }
.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
}
.form-status.ok { display: block; background: var(--green-50); color: var(--green-700); border: 1px solid rgba(18, 90, 71, 0.25); }
.form-status.err { display: block; background: var(--red-50); color: var(--red-700); border: 1px solid rgba(178, 58, 36, 0.3); }
@media (max-width: 40rem) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact cards ---------- */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
}
.contact-card .icon-tile { margin-bottom: 0.35rem; }
.contact-card h3 { margin: 0; font-size: 1.08rem; }
.contact-card p { margin: 0; font-size: 0.95rem; color: var(--ink-500); }
.contact-card a { font-weight: 600; }

.map-frame {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(30rem 18rem at 108% 118%, rgba(201, 162, 75, 0.4), transparent 60%),
    linear-gradient(140deg, var(--green-800), var(--green-950));
  color: var(--white);
  padding: clamp(2rem, 1.4rem + 3vw, 3.6rem);
  box-shadow: var(--shadow-lg);
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.cta-band h2 { margin: 0 0 0.4rem; font-size: var(--title-md); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.78); max-width: 38rem; }

/* ---------- Audience cards (patients / HMO / corporate) ---------- */
.audience-card { display: flex; flex-direction: column; height: 100%; }
.audience-card h3 { margin: var(--space-3) 0 0.5rem; font-size: 1.3rem; }
.audience-card > p { color: var(--ink-500); }
.audience-card .checklist { font-size: 0.95rem; }
.audience-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- HMO strip ---------- */
.hmo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.hmo-pill {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px dashed var(--line-strong);
  color: var(--ink-500);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
@media (max-width: 56rem) { .hmo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(40rem 24rem at 110% -10%, rgba(31, 142, 114, 0.2), transparent 60%),
    linear-gradient(180deg, var(--green-950), #041b15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 3vw, 3.5rem);
  padding-block: clamp(3rem, 2.4rem + 3vw, 4.5rem) var(--space-7);
}
.footer-brand .brand__name { color: var(--white); }
.footer-brand p { margin-top: var(--space-4); max-width: 30rem; }
.footer-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 var(--space-4);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-list a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { flex: none; color: var(--gold-400); margin-top: 0.18em; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-sister {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45rem 0.9rem;
  margin-top: var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.footer-sister:hover { border-color: var(--gold-400); color: var(--white); }
.footer-sister svg { color: var(--gold-400); }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
  html:not(.no-io) [data-reveal]:not(.is-in) { will-change: opacity, transform; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Dark-section cards ---------- */
.card--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.card--dark h3 { color: var(--white); }
.card--dark:hover { border-color: rgba(255, 255, 255, 0.3); box-shadow: var(--shadow-md); }

/* ---------- Honeypot field (anti-spam; visually hidden but present) ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Misc ---------- */
.divider { border: 0; border-top: 1px solid var(--line); margin-block: var(--space-7); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.maxw-60 { max-width: 60ch; }
