/* ==========================================================================
   Rapid Access Pediatrics — Design System
   Palette: medical teal (primary) + brand coral (accent, decorative only)
   All text/background pairs verified at >= 4.5:1 contrast.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Brand */
  --teal-900: #06343a;
  --teal-800: #0a4b53;
  --teal-700: #0e6b75;
  --teal-600: #12848f;
  --teal-500: #199ba6;
  --teal-200: #b9e2e6;
  --teal-100: #dcf0f1;
  --teal-50:  #f1f9fa;

  --coral-700: #b23a32;
  --coral-600: #e4645c;
  --coral-500: #f0857d;
  --coral-100: #fde8e6;
  --coral-50:  #fef5f4;

  /* Neutrals */
  --ink:      #0f262b;
  --ink-2:    #33565e;
  --muted:    #55757e;
  --line:     #e2edef;
  --line-2:   #eef5f6;
  --bg:       #ffffff;
  --bg-soft:  #f6fafb;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Elevation — teal-tinted so shadows never look muddy */
  --sh-1: 0 1px 2px rgba(6,52,58,.04), 0 4px 12px rgba(6,52,58,.05);
  --sh-2: 0 2px 4px rgba(6,52,58,.04), 0 14px 30px rgba(6,52,58,.08);
  --sh-3: 0 30px 70px rgba(6,52,58,.14);

  /* Layout */
  --container: 1140px;
  --gutter: clamp(20px, 5vw, 32px);
  --section-y: clamp(72px, 9vw, 118px);
  --header-h: 76px;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Component display rules (e.g. .callout{display:flex}) otherwise beat the
   UA stylesheet's [hidden] rule and leak hidden content onto the page. */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
  font-weight: 700;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.65rem); font-weight: 800; letter-spacing: -.033em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); letter-spacing: -.028em; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
h4 { font-size: 1rem; letter-spacing: -.01em; }

p { text-wrap: pretty; }

a { color: var(--teal-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }

ul, ol { padding-left: 1.15rem; }
li::marker { color: var(--teal-500); }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--teal-100); color: var(--teal-900); }

/* --- Layout primitives ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(52px, 6vw, 78px); }

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

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 200;
  background: var(--teal-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-xs);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* --- Section headers ------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--coral-500);
}

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p {
  margin-top: 18px;
  font-size: 1.075rem;
  color: var(--muted);
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.19rem); color: var(--ink-2); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, #0b5e68 0%, #0f7480 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(6,52,58,.18), 0 10px 24px rgba(14,107,117,.28);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(6,52,58,.2), 0 16px 34px rgba(14,107,117,.34);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: #fff;
  color: var(--teal-800);
  border-color: var(--line);
  box-shadow: var(--sh-1);
}
.btn--ghost:hover {
  color: var(--teal-900);
  border-color: var(--teal-200);
  background: var(--teal-50);
  transform: translateY(-2px);
}

.btn--quiet {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-200);
  padding-block: 13px;
}
.btn--quiet:hover { background: var(--teal-50); color: var(--teal-900); }

.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--teal-700);
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- Header --------------------------------------------------------------- */
.topbar {
  background: var(--teal-900);
  color: #cfe8ea;
  font-size: .855rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 8px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 15px; height: 15px; opacity: .8; flex: none; }
.topbar-group { display: flex; align-items: center; gap: 24px; }

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(6,52,58,.06);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(.98rem, 2.1vw, 1.15rem);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal-800);
  line-height: 1.1;
}
.brand-name em {
  font-style: normal;
  color: var(--coral-600);
}
.brand-tag {
  font-size: .74rem;
  color: var(--muted);
  letter-spacing: .01em;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--teal-50); color: var(--teal-800); }
.nav a[aria-current="page"] { color: var(--teal-800); background: var(--teal-50); }
.nav a { white-space: nowrap; }
/* The in-nav CTA is for the mobile panel only; the header keeps its own copy. */
.nav > .btn { display: none; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--teal-800);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(52px, 7vw, 84px);
  padding-bottom: clamp(130px, 15vw, 190px);
  background:
    radial-gradient(1100px 520px at 82% -8%, var(--coral-50) 0%, rgba(254,245,244,0) 62%),
    radial-gradient(900px 620px at 8% 0%, var(--teal-100) 0%, rgba(220,240,241,0) 66%),
    linear-gradient(180deg, var(--teal-50) 0%, #ffffff 76%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--teal-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--teal-200) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: .16;
  -webkit-mask-image: radial-gradient(760px 460px at 24% 22%, #000 0%, transparent 72%);
  mask-image: radial-gradient(760px 460px at 24% 22%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 9px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--teal-200);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--teal-800);
  box-shadow: var(--sh-1);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #17a34a;
  box-shadow: 0 0 0 4px rgba(23,163,74,.16);
  flex: none;
  margin-left: 5px;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--teal-600), var(--teal-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.06rem, 1.7vw, 1.21rem);
  color: var(--ink-2);
  max-width: 33rem;
  margin-bottom: 34px;
}
.hero .btn-row { margin-bottom: 34px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-proof svg { width: 17px; height: 17px; color: var(--teal-600); flex: none; }
.hero-proof { list-style: none; padding-left: 0; }

/* Hero media */
.hero-media { position: relative; }
.hero-media__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  background: var(--teal-100);
  aspect-ratio: 525 / 350;
}
.hero-media__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(6,52,58,0) 45%, rgba(6,52,58,.28) 100%);
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 14px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  z-index: 2;
}
.hero-chip__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--teal-50);
  color: var(--teal-700);
  flex: none;
}
.hero-chip__icon svg { width: 20px; height: 20px; }
.hero-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.hero-chip span { font-size: .8rem; color: var(--muted); }

.hero-chip--tl { top: -22px; left: -26px; }
.hero-chip--br { bottom: -26px; right: -22px; }
.hero-chip--br .hero-chip__icon { background: var(--coral-50); color: var(--coral-700); }

/* --- Inner-page hero ------------------------------------------------------ */
.page-hero {
  position: relative;
  padding-block: clamp(44px, 5.5vw, 72px) clamp(44px, 5vw, 64px);
  background:
    radial-gradient(760px 400px at 88% 0%, var(--coral-50) 0%, rgba(254,245,244,0) 62%),
    linear-gradient(180deg, var(--teal-50) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero > .container { position: relative; z-index: 1; max-width: 900px; margin-inline: auto; }
.page-hero h1 {
  font-size: clamp(2.05rem, 4.4vw, 2.95rem);
  margin-bottom: 18px;
}
.page-hero p { font-size: clamp(1.03rem, 1.6vw, 1.15rem); color: var(--ink-2); max-width: 46rem; }
.page-hero .btn-row { margin-top: 30px; }

.breadcrumb {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--teal-700); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--teal-200); }

/* Narrow reading column for policy / FAQ pages */
.prose-col { max-width: 860px; margin-inline: auto; }

.jump-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.jump-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
  box-shadow: var(--sh-1);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.jump-links a:hover { border-color: var(--teal-200); transform: translateY(-2px); }

/* --- Essential info bar --------------------------------------------------- */
.infobar {
  position: relative;
  z-index: 3;
  margin-top: clamp(-150px, -13vw, -110px);
  padding-bottom: clamp(48px, 6vw, 78px);
}
.infobar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.infobar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.infobar-item {
  padding: clamp(24px, 2.6vw, 32px);
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.infobar-item:last-child { border-right: 0; }
.infobar-item__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.infobar-item__icon svg { width: 21px; height: 21px; }
.infobar-item h3 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}
.infobar-item p { font-size: .96rem; line-height: 1.55; }
.infobar-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.015em;
}
.infobar-item a { font-weight: 600; text-decoration: none; }
.infobar-item a:hover { text-decoration: underline; }
.infobar-note { font-size: .82rem; color: var(--muted); }

.infobar-item--urgent { background: var(--coral-50); }
.infobar-item--urgent .infobar-item__icon { background: #fff; color: var(--coral-700); }
.infobar-item--urgent h3 { color: var(--coral-700); }
.infobar-item--urgent strong { color: var(--coral-700); }
.infobar-item--urgent a { color: var(--coral-700); }

/* --- Cards ---------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 26px);
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.8vw, 34px);
  box-shadow: var(--sh-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--teal-200);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; color: var(--muted); }

.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--teal-50), var(--teal-100));
  color: var(--teal-700);
  margin-bottom: 20px;
}
.card-icon svg { width: 25px; height: 25px; }
.card-icon--coral {
  background: linear-gradient(145deg, var(--coral-50), var(--coral-100));
  color: var(--coral-700);
}

.card-note {
  display: inline-block;
  margin-top: 14px;
  font-size: .8rem;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-weight: 600;
}

/* --- Steps ---------------------------------------------------------------- */
.steps {
  --steps-gap: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--steps-gap);
  position: relative;
  list-style: none;
  padding-left: 0;
}
.step { position: relative; }
/* Dashed connector runs from each circle to the next one, never past the last. */
.step::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 68px;
  width: calc(100% + var(--steps-gap) - 82px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-200) 0 8px, transparent 8px 16px);
}
.step:last-child::after { display: none; }
.step__num {
  position: relative;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal-200);
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 0 0 8px var(--bg-soft);
}
.step h3 { margin-bottom: 9px; }
.step p { font-size: .97rem; color: var(--muted); }

/* --- Photo feature cards -------------------------------------------------- */
.photo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.photo-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--teal-100);
}
.photo-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.photo-card:hover .photo-card__img img { transform: scale(1.045); }
.photo-card__body { padding: clamp(22px, 2.4vw, 30px); flex: 1; }
.photo-card__body h3 { margin-bottom: 9px; }
.photo-card__body p { font-size: .97rem; color: var(--muted); }

/* --- Forms hub ------------------------------------------------------------ */
.form-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.form-list { display: grid; gap: 14px; }

.form-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  box-shadow: var(--sh-1);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.form-item:hover {
  transform: translateX(4px);
  border-color: var(--teal-200);
  box-shadow: var(--sh-2);
}
.form-item__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--teal-50);
  color: var(--teal-700);
  flex: none;
}
.form-item__icon svg { width: 22px; height: 22px; }
.form-item__text { flex: 1; min-width: 0; }
.form-item__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.012em;
}
.form-item__text span { font-size: .9rem; color: var(--muted); }
.form-item__go {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  flex: none;
  transition: background-color .24s var(--ease), color .24s var(--ease);
}
.form-item__go svg { width: 16px; height: 16px; }
.form-item:hover .form-item__go { background: var(--teal-700); color: #fff; }

.form-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--coral-100);
  color: var(--coral-700);
  flex: none;
}

.checklist-card {
  background: var(--teal-900);
  color: #cfe6e8;
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 38px);
  box-shadow: var(--sh-2);
}
.checklist-card h3 { color: #fff; margin-bottom: 8px; }
.checklist-card > p { font-size: .93rem; color: #9dc4c8; margin-bottom: 22px; }
.checklist { list-style: none; padding-left: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 12px;
  font-size: .96rem;
  line-height: 1.5;
}
.checklist svg {
  width: 20px; height: 20px;
  color: var(--teal-500);
  flex: none;
  margin-top: 2px;
}
.checklist strong { color: #fff; font-weight: 600; }
.checklist-card hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 24px 0;
}
.checklist-card .fineprint { font-size: .86rem; color: #9dc4c8; }
.checklist-card a { color: #fff; }

/* --- Team ----------------------------------------------------------------- */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.8vw, 32px);
  box-shadow: var(--sh-1);
  text-align: center;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--teal-200); }
.team-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--teal-100), var(--teal-200));
  color: var(--teal-800);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.team-card h3 { margin-bottom: 4px; }
.team-role {
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
}
.team-card p { font-size: .94rem; color: var(--muted); }
.team-tags {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-top: 18px;
}
.team-tags li {
  font-size: .8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* --- Accordion (native details/summary) ----------------------------------- */
.accordion { display: grid; gap: 12px; }

.acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.acc[open] { border-color: var(--teal-200); box-shadow: var(--sh-2); }

.acc > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px clamp(20px, 2.4vw, 28px);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--ink);
  transition: background-color .2s var(--ease);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: var(--teal-50); }
/* Only the label grows — must not match .acc__chev, or the circle stretches. */
.acc > summary > span:not(.acc__chev) { flex: 1; }

.acc__chev {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  flex: none;
  transition: transform .3s var(--ease), background-color .24s var(--ease), color .24s var(--ease);
}
.acc__chev svg { width: 16px; height: 16px; }
.acc[open] .acc__chev {
  transform: rotate(180deg);
  background: var(--teal-700);
  color: #fff;
}

.acc__body {
  padding: 0 clamp(20px, 2.4vw, 28px) 24px;
  color: var(--ink-2);
  font-size: .98rem;
}
.acc__body > * + * { margin-top: 10px; }
.acc__body ul { display: grid; gap: 8px; }
.acc__body p:first-child { padding-top: 2px; }

/* --- Callout -------------------------------------------------------------- */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--r);
  background: var(--coral-50);
  border: 1px solid var(--coral-100);
  font-size: .95rem;
  color: var(--ink-2);
}
.callout svg { width: 21px; height: 21px; color: var(--coral-700); flex: none; margin-top: 2px; }
.callout strong { color: var(--coral-700); font-family: var(--font-display); }
.callout a { color: var(--coral-700); }

.callout--info { background: var(--teal-50); border-color: var(--teal-100); }
.callout--info svg { color: var(--teal-700); }
.callout--info strong { color: var(--teal-800); }
.callout--info a { color: var(--teal-800); }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5.5vw, 68px);
  overflow: hidden;
  color: #cfe6e8;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%; right: -8%;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,133,125,.26) 0%, transparent 68%);
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -55%; left: -5%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,155,166,.34) 0%, transparent 68%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { font-size: 1.07rem; max-width: 46rem; margin-bottom: 32px; }
.cta-band .btn--ghost { background: #fff; border-color: transparent; }
.cta-band .btn--quiet { color: #fff; border-color: rgba(255,255,255,.36); }
.cta-band .btn--quiet:hover { background: rgba(255,255,255,.12); color: #fff; }
.cta-band .eyebrow { color: var(--teal-200); }

/* --- Contact / map -------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.detail-list { list-style: none; padding-left: 0; display: grid; gap: 22px; }
.detail-item { display: flex; gap: 16px; }
.detail-item__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--teal-50);
  color: var(--teal-700);
  flex: none;
}
.detail-item__icon svg { width: 21px; height: 21px; }
.detail-item h3 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail-item p { font-size: 1rem; line-height: 1.55; }
.detail-item a { font-weight: 600; text-decoration: none; }
.detail-item a:hover { text-decoration: underline; }

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  background: var(--bg-soft);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Form control --------------------------------------------------------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--sh-2);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: .89rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.field .req { color: var(--coral-600); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #8ea8ae; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(25,155,166,.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: .84rem; color: var(--muted); margin-top: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Footer --------------------------------------------------------------- */
.footer {
  background: var(--teal-900);
  color: #9dc4c8;
  padding-top: clamp(56px, 6vw, 80px);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 4.5vw, 56px);
}
.footer h3 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer ul { list-style: none; padding-left: 0; display: grid; gap: 11px; }
.footer a { color: #cfe6e8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #fff; margin-bottom: 6px; }
.footer-brand .brand-name em { color: var(--coral-500); }
.footer-brand p { font-size: .94rem; color: #9dc4c8; max-width: 30ch; margin-bottom: 22px; }

.footer-emergency {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: rgba(240,133,125,.13);
  border: 1px solid rgba(240,133,125,.28);
  font-size: .88rem;
  line-height: 1.5;
  color: #f7d3d0;
}
.footer-emergency svg { width: 18px; height: 18px; color: var(--coral-500); flex: none; margin-top: 2px; }
.footer-emergency strong { color: #fff; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: .87rem;
}
.footer-bottom p { color: #7fadb2; }

/* --- Mobile sticky action bar --------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  gap: 10px;
}
.mobile-cta .btn { flex: 1; padding-inline: 14px; }

/* --- Scroll reveal -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 560px; }
  .hero-chip--tl { left: -12px; top: -16px; }
  .hero-chip--br { right: -12px; bottom: -18px; }
  .infobar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infobar-item:nth-child(2) { border-right: 0; }
  .infobar-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-hub { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header .container { min-height: 68px; }
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; order: 3; }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(6,52,58,.1);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 16px; border-radius: var(--r-sm); font-size: 1rem; }
  .nav > .btn { display: inline-flex; margin-top: 12px; }

  .header-cta .btn { display: none; }
  .header-cta .nav-toggle { display: inline-flex; }

  /* The hours item is a sibling of .topbar-group, not a child of it. */
  .topbar .topbar-item--hide-sm { display: none; }

  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step::after { display: none; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 0 20px; }
  .step__num { grid-row: span 3; margin-bottom: 0; box-shadow: none; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-tag { display: none; }
  .topbar { font-size: .8rem; }
  .topbar .container { justify-content: center; }
  .topbar-group { gap: 16px; }
  .topbar-item--email { display: none; }

  .hero { padding-bottom: clamp(120px, 26vw, 150px); }
  .hero-chip--tl { display: none; }
  .hero-chip--br { right: 8px; bottom: -20px; padding: 11px 16px 11px 11px; }
  .hero .btn-row .btn { width: 100%; }

  .infobar-grid { grid-template-columns: 1fr; }
  .infobar-item { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .infobar-item:last-child { border-bottom: 0; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: flex-start; }
  .cta-band .btn-row .btn { width: 100%; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .topbar, .header, .mobile-cta, .cta-band, .map-frame { display: none !important; }
  body { padding-bottom: 0; }
  .card, .acc { box-shadow: none; }
  .acc__body { display: block !important; }
}

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