/* =========================================================================
   EP FAMILY LAW LANDING PAGES — stylesheet
   Visual system per synthesis §A ("final palette"): cool off-white calm
   ground, navy structure bands, teal (--calm) for links/borders/steps, and
   ONE exclusive golden-orange action colour (#F59E0B) reserved for
   tap-to-call buttons. Form submit is navy. Gold is never text, never a
   chip, never decoration, never on the deadline UI.
   Layout per synthesis §B1–B4. Mobile-first. One self-hosted display face.
   ========================================================================= */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-600.woff2") format("woff2");
}

:root {
  color-scheme: only light; /* never allow auto dark-mode inversion */

  /* ---- Grounds & surfaces ---- */
  --ground:        #F4F7F8;
  --ground-2:      #E9EFF2;
  --surface:       #FFFFFF;
  --rule:          #D8E0E5;  /* decorative hairlines ONLY — never input borders */

  /* ---- Ink ---- */
  --ink:           #172433;
  --ink-soft:      #44586B;

  /* ---- Dark bands ---- */
  --band:          #173A52;
  --band-dark:     #0F2A3E;
  --inverse:       #FFFFFF;

  /* ---- Primary CTA — EXCLUSIVE: tap-to-call actions only ---- */
  --cta:           #F59E0B;
  --cta-hover:     #D97706;
  --cta-text:      #172433;
  --cta-outline:   #835000;

  /* ---- Secondary action — form submit + "ask us to call" surfaces ---- */
  --action-2:      #173A52;
  --action-2-text: #FFFFFF;

  /* ---- Calm / structure ---- */
  --calm:          #256B70;
  --calm-tint:     #E4EFEF;

  /* ---- Deadline highlight trio (competence styling) ---- */
  --deadline-bg:     #E7F1EE;
  --deadline-accent: #256B70;
  --deadline-ink:    #123F44;

  /* ---- Proof gold (non-interactive star glyphs only) ---- */
  --gold-on-dark:  #F2B84B;
  --gold-on-light: #96690A;

  /* ---- Elevation ---- */
  --shadow: 0 2px 8px rgba(15, 42, 62, 0.12), 0 1px 2px rgba(15, 42, 62, 0.08);

  /* type scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.9vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1.6vw, 2.25rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.9vw, 2.875rem);

  /* spacing (4px system) */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --dock-h: 4.25rem;
  --measure: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
}
/* space for the dock is reserved only once the dock has entered (§B4.1) */
html.dock-on body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--calm); }
strong { font-weight: 700; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; margin: 0 0 var(--space-3); }
h1 { font-size: var(--text-2xl); letter-spacing: -0.015em; }
h2 { font-size: var(--text-xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-4); max-width: var(--measure); }
ul, ol { max-width: var(--measure); }

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

.wrap { max-width: 70rem; margin-inline: auto; padding-inline: var(--space-4); }
@media (min-width: 700px) { .wrap { padding-inline: var(--space-6); } }

.skip-link {
  position: absolute; left: var(--space-4); top: -3rem; z-index: 100;
  background: var(--ink); color: var(--inverse); padding: var(--space-2) var(--space-4);
  border-radius: var(--radius); font-size: var(--text-sm); font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }

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

/* ---------- header (48px, no route nav) ---------- */
.site-header { background: var(--ground); border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); min-height: 3rem; padding-block: var(--space-1);
}
.brand { display: flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; min-width: 0; }
.brand .mark { flex: 0 0 auto; color: var(--calm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); }
.brand-desc {
  font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700;
}
@media (max-width: 520px) {
  .brand-name { font-size: 0.8125rem; }
  .brand-name .pllc { display: none; }
  .brand-desc { font-size: 0.6rem; }
}
.header-right { display: flex; align-items: center; gap: var(--space-3); flex: 0 0 auto; }
.lang-toggle {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em;
  color: var(--calm); text-decoration: none;
  border-bottom: 2px solid var(--calm-tint); padding-bottom: 1px;
}
.lang-toggle:hover, .lang-toggle:focus-visible { border-bottom-color: var(--calm); }
/* header phone glyph — a call surface, but not a gold button (§B4) */
.header-call {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  color: var(--band); background: var(--calm-tint); text-decoration: none;
}
.header-call:hover, .header-call:focus-visible { background: var(--calm); color: var(--inverse); }
.header-call svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero { background: var(--ground); padding-block: var(--space-4) var(--space-5); }
.eyebrow {
  font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--calm); margin: 0 0 var(--space-2);
}
.hero h1 { font-size: var(--text-3xl); line-height: 1.14; margin-bottom: var(--space-2); max-width: 20ch; }
.hero-lede {
  font-size: var(--text-base); color: var(--ink-soft);
  margin: 0 0 var(--space-3); max-width: 34rem;
}
.proof-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem var(--space-2);
  font-size: var(--text-sm); font-weight: 700; color: var(--ink);
  margin: 0 0 var(--space-3); max-width: none;
}
.proof-row .star { color: var(--gold-on-light); font-size: 1rem; line-height: 1; }
.proof-row .sep { color: var(--rule); }
.proof-row a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.proof-row a:hover { border-bottom-color: var(--ink); }
.reassure { font-size: var(--text-sm); color: var(--ink-soft); margin: var(--space-3) 0 var(--space-2); }
.form-link { font-size: var(--text-sm); font-weight: 700; margin: 0 0 var(--space-3); }
.form-link a { color: var(--calm); text-decoration: none; border-bottom: 2px solid var(--calm-tint); }
.form-link a:hover, .form-link a:focus-visible { border-bottom-color: var(--calm); }

.chips {
  display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none;
  margin: 0; padding: 0; max-width: none;
}
.chips li {
  font-size: var(--text-xs); font-weight: 700; color: var(--ink);
  background: var(--calm-tint); border-radius: 999px; padding: 0.3rem 0.65rem;
}
.chips li::before { content: "✓"; color: var(--calm); margin-right: 0.35rem; font-weight: 800; }

/* ---------- the one call button (gold, exclusive) ---------- */
.btn-call {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  width: 100%; min-height: 3.5rem; /* 56px */
  background: var(--cta); color: var(--cta-text); text-decoration: none;
  border: 2px solid var(--cta-outline); border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-weight: 800; font-size: var(--text-lg); line-height: 1.15; text-align: center;
  transition: background 140ms ease, transform 120ms ease;
}
.btn-call:hover { background: var(--cta-hover); }
.btn-call:active { transform: scale(0.99); }
.btn-call:focus-visible { outline: 3px solid var(--band); outline-offset: 3px; }
.btn-call .icon { flex: 0 0 auto; width: 20px; height: 20px; }
.btn-call .sub { display: block; font-weight: 700; font-size: var(--text-xs); }
.hero .btn-call { margin-bottom: var(--space-2); }
@media (min-width: 700px) { .btn-call { max-width: 26rem; } }
.cta-block { margin-top: var(--space-6); }
.cta-block .cta-note { font-size: var(--text-sm); color: var(--ink-soft); margin: var(--space-2) 0 0; }

/* ---------- lead form card ---------- */
.hero-row .lead-card { margin-top: var(--space-5); }
.lead-card {
  background: var(--surface); border: 1px solid var(--rule);
  border-top: 4px solid var(--calm);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: var(--space-5); max-width: 34rem;
}
.lead-card h2 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.lead-card .form-note { font-size: var(--text-sm); color: var(--ink-soft); margin-bottom: var(--space-4); }
.lead-form { display: grid; gap: var(--space-3); }
.lead-form label { font-size: var(--text-sm); font-weight: 700; display: grid; gap: var(--space-1); }
.lead-form label .opt { font-weight: 500; color: var(--ink-soft); }
.lead-form input, .lead-form textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--calm); border-radius: var(--radius);
  padding: var(--space-3); background: var(--surface); width: 100%; min-height: 3rem;
}
.lead-form textarea { min-height: 4.75rem; resize: vertical; }
.lead-form input:focus-visible, .lead-form textarea:focus-visible { outline: 3px solid var(--band); outline-offset: 1px; }
.form-next { font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }
.btn-submit {
  font: inherit; font-weight: 800; font-size: var(--text-base);
  background: var(--action-2); color: var(--action-2-text); border: 0; border-radius: var(--radius);
  min-height: 3.25rem; padding: var(--space-3) var(--space-5); cursor: pointer;
  transition: background 140ms ease;
}
.btn-submit:hover, .btn-submit:focus-visible { background: var(--band-dark); }
.btn-submit.is-busy { opacity: 0.75; cursor: progress; }
.form-privacy { font-size: var(--text-xs); color: var(--ink-soft); margin: 0; }
.form-msg { border-radius: var(--radius); padding: var(--space-4); font-weight: 700; background: var(--calm-tint); color: var(--ink); }
.visually-hidden-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* desktop: hero + form card side by side (§B2) */
@media (min-width: 1024px) {
  .hero { padding-block: var(--space-10) var(--space-4); }
  .hero-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-12); align-items: start; }
  .hero-row .hero-copy { min-width: 0; }
  .hero-row .lead-card { margin: 0; }
}

/* ---------- slim deadline band (calm/teal competence styling) ---------- */
.deadline-band {
  background: var(--deadline-bg); color: var(--deadline-ink);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.deadline-band .wrap {
  border-left: 4px solid var(--deadline-accent);
  padding-block: var(--space-3);
}
.deadline-band p { margin: 0; font-size: var(--text-sm); font-weight: 700; max-width: 52rem; }
.deadline-band .fine { font-weight: 500; font-size: var(--text-xs); margin-top: 0.15rem; }

/* ---------- section frames ---------- */
section.band { padding-block: clamp(var(--space-8), 5vw, var(--space-12)); }
section.band.tint { background: var(--ground-2); border-block: 1px solid var(--rule); }
.band h2 { max-width: 34ch; }
.band .lede { color: var(--ink-soft); }
.section-label {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); margin: 0 0 var(--space-3);
}
.section-label::after { content: ""; height: 1px; flex: 1; background: var(--rule); }

/* ---------- situation triage cards (carry route switching) ---------- */
.triage-cards { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
@media (min-width: 760px) { .triage-cards { grid-template-columns: repeat(3, 1fr); } }
.triage-cards a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--calm);
  border-radius: var(--radius); padding: var(--space-4);
  text-decoration: none; color: var(--ink); font-weight: 700; min-height: 3.5rem;
  transition: box-shadow 140ms ease;
}
.triage-cards a:hover, .triage-cards a:focus-visible { box-shadow: var(--shadow); }
.triage-cards .go { color: var(--calm); font-weight: 800; flex: 0 0 auto; }

/* ---------- Google reviews panel ---------- */
.reviews-band { background: var(--ground-2); border-block: 1px solid var(--rule); padding-block: clamp(var(--space-8), 5vw, var(--space-12)); }
.g-aggregate {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem var(--space-2);
  font-size: var(--text-base); font-weight: 700; margin: 0 0 var(--space-2); max-width: none;
}
.g-aggregate .gm { flex: 0 0 auto; width: 20px; height: 20px; }
.g-aggregate .stars { color: var(--gold-on-light); letter-spacing: 0.08em; }
.g-aggregate a { color: var(--ink); }
.review-grid { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.rev-card {
  margin: 0; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: var(--space-4) var(--space-5);
}
.rev-stars { color: var(--gold-on-light); letter-spacing: 0.14em; font-size: var(--text-sm); margin: 0 0 var(--space-2); }
.rev-card blockquote {
  margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-lg); line-height: 1.34; color: var(--ink);
}
.rev-card figcaption { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft); }
.rev-foot { margin: var(--space-4) 0 0; font-size: var(--text-xs); color: var(--ink-soft); max-width: 52rem; }

/* ---------- attorney band ---------- */
.atty-band { background: var(--band); color: var(--inverse); padding-block: clamp(var(--space-10), 5vw, var(--space-12)); }
.atty-band .section-label { color: rgba(255, 255, 255, 0.75); }
.atty-band .section-label::after { background: rgba(255, 255, 255, 0.25); }
.atty-band h2, .atty-band h3 { color: var(--inverse); }
.atty-band .lede { color: rgba(255, 255, 255, 0.88); }
.atty-grid { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
@media (min-width: 880px) { .atty-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
.atty-card { display: grid; gap: var(--space-4); align-content: start; }
@media (min-width: 560px) { .atty-card { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--space-5); } }
.atty-photo { margin: 0; position: relative; align-self: start; line-height: 0; }
.atty-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%;
  border-radius: var(--radius); background: var(--band-dark);
}
.atty-photo figcaption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(15, 42, 62, 0.92), rgba(15, 42, 62, 0));
  color: var(--inverse); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: var(--space-6) var(--space-3) var(--space-2);
  border-radius: 0 0 var(--radius) var(--radius); line-height: 1.3;
}
.atty-body h3 { margin-bottom: 0.15rem; }
.atty-role { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-on-dark); margin: 0 0 var(--space-3); }
.atty-body ul { list-style: none; margin: 0; padding: 0; }
.atty-body li {
  font-size: var(--text-sm); color: rgba(255, 255, 255, 0.9);
  padding-block: var(--space-2); border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.atty-body li b { color: var(--inverse); font-weight: 700; }
.cred-row {
  list-style: none; display: grid; gap: var(--space-3) var(--space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--space-6) 0 0; padding: 0; max-width: none;
}
@media (min-width: 880px) { .cred-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cred-row li {
  font-size: var(--text-sm); font-weight: 700; color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: var(--space-2);
}
.cred-row li span { display: block; font-weight: 500; font-size: var(--text-xs); color: rgba(255, 255, 255, 0.7); }
.atty-fine { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.72); max-width: 52rem; margin: var(--space-5) 0 0; }

/* ---------- what happens next: 3 steps ---------- */
.steps { list-style: none; counter-reset: step; margin: var(--space-5) 0 0; padding: 0; max-width: 52rem; }
.steps li {
  counter-increment: step; display: grid; gap: 0 var(--space-4);
  grid-template-columns: 2.5rem minmax(0, 1fr);
  background: var(--calm-tint); border-radius: var(--radius);
  padding: var(--space-4); margin-bottom: var(--space-3);
}
.steps li::before {
  content: counter(step); grid-row: span 2;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl);
  line-height: 0.95; color: var(--calm);
}
.steps h3 { margin: 0 0 var(--space-1); font-size: var(--text-base); }
.steps p { margin: 0; font-size: var(--text-sm); color: var(--ink-soft); }
.steps-note { margin: var(--space-4) 0 0; font-size: var(--text-sm); font-weight: 700; }

/* ---------- fee transparency ---------- */
.fee {
  background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--calm);
  border-radius: var(--radius); padding: var(--space-5);
  margin-top: var(--space-5); max-width: 40rem;
}
.fee h3 { margin-bottom: var(--space-2); font-size: var(--text-base); }
.fee ul { margin: 0; padding-left: 1.15rem; font-size: var(--text-sm); color: var(--ink-soft); }
.fee li { margin-bottom: var(--space-2); }
.fee li:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--space-5); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  font-weight: 700; cursor: pointer; font-size: var(--text-base);
  padding-block: var(--space-4); list-style: none; display: flex; gap: var(--space-3);
  align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--calm); font-weight: 800; flex: 0 0 auto; }
.faq details[open] summary::before { content: "–"; }
.faq details p { margin: 0 0 var(--space-4); font-size: var(--text-sm); color: var(--ink-soft); }

/* ---------- close band ---------- */
.close-band { background: var(--band-dark); color: var(--inverse); padding-block: var(--space-10); text-align: center; }
.close-band h2 { color: var(--inverse); margin-inline: auto; }
.close-band .btn-call { max-width: 26rem; margin: var(--space-5) auto var(--space-3); }
.close-band p { color: rgba(255, 255, 255, 0.88); margin-inline: auto; font-size: var(--text-sm); }
.close-band .close-trust { font-weight: 700; color: var(--inverse); max-width: 44rem; }
.close-band .close-trust .star { color: var(--gold-on-dark); }
.close-band .form-link a { color: var(--inverse); border-bottom-color: rgba(255, 255, 255, 0.45); }
.close-band .close-fine { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.72); max-width: 44rem; }

/* ---------- press strip (demoted, pre-footer, half height) ---------- */
.press-strip { background: var(--ground); padding-block: var(--space-6); border-top: 1px solid var(--rule); }
.press-strip .cov-label { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 var(--space-3); }
.press-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
/* source logo files are light/cream; grayscale + invert renders them as ink marks */
.press-row img { height: 18px; width: auto; opacity: 0.7; filter: grayscale(1) invert(1) contrast(1.15); }
.press-row img[alt="CBS"], .press-row img[alt="USA Today"] { height: 13px; }
.press-row img[alt="NBC"], .press-row img[alt="CNN"] { height: 15px; }
.press-row img[alt="FOX"] { height: 16px; }
.press-row img[alt="Associated Press"] { height: 20px; }
.press-row img[alt="Univision"] { height: 21px; }
.press-row img[alt="ABC"] { height: 19px; }
.cov-note { margin: var(--space-3) 0 0; font-size: var(--text-xs); color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--band-dark); color: rgba(255, 255, 255, 0.85); padding-block: var(--space-8); font-size: var(--text-sm); }
.site-footer a { color: var(--inverse); }
.site-footer .firm { color: var(--inverse); font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); margin-bottom: var(--space-2); }
.site-footer .disclaimer { margin-top: var(--space-5); font-size: var(--text-xs); color: rgba(255, 255, 255, 0.66); max-width: 52rem; line-height: 1.55; }
.site-footer .disclaimer p { margin-bottom: var(--space-2); max-width: none; }
.site-footer .main-site a { text-decoration: underline; text-underline-offset: 3px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-4); padding: 0; list-style: none; max-width: none; }
.footer-nav a { font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.footer-exit { margin-bottom: var(--space-3); }
.footer-exit a { font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.footer-exit small { display: block; color: rgba(255, 255, 255, 0.6); font-size: var(--text-xs); }

/* ---------- sticky dock (≤1024px, deferred entrance, 72/28) ---------- */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: 72% 28%;
  background: var(--band-dark);
  box-shadow: 0 -4px 18px rgba(15, 42, 62, 0.28);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(115%);
  transition: transform 220ms ease;
}
@media (max-width: 1024px) { .dock { display: grid; } }
.dock.is-in { transform: none; }
.dock.is-hidden { transform: translateY(115%); }
.dock a, .dock button {
  font: inherit; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 3.5rem; text-decoration: none; font-weight: 800; text-align: center;
  line-height: 1.15; padding: var(--space-2);
}
.dock-call { background: var(--cta); color: var(--cta-text); border-top: 2px solid var(--cta-outline) !important; font-size: var(--text-base); }
.dock-call:hover { background: var(--cta-hover); }
.dock-call .icon { flex: 0 0 auto; width: 18px; height: 18px; }
.dock-form { background: var(--action-2); color: var(--action-2-text); font-size: var(--text-xs); font-weight: 800; }
.dock-form:hover { background: var(--band); }

/* discreet quick-exit control (desktop only; on phones it lives in the footer
   so it can never cover a form control or the dock) */
.quick-exit {
  position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 61;
  display: none; align-items: center; gap: 0.35rem;
  background: var(--surface); color: var(--ink-soft);
  border: 1px solid var(--rule); border-radius: 999px;
  padding: 0.35rem 0.7rem; font-size: 0.72rem; font-weight: 700;
  text-decoration: none; box-shadow: var(--shadow);
}
.quick-exit:hover, .quick-exit:focus-visible { color: var(--ink); }
@media (min-width: 1025px) { .quick-exit { display: inline-flex; } }

[data-cfg="phone"] { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* 12. Small-phone fold compression (≤430px) — protects the form-card peek */
@media (max-width: 430px) {
  .hero { padding-block: var(--space-3) var(--space-4); }
  .hero .eyebrow { font-size: 0.68rem; }
  .proof-row { font-size: 0.86rem; gap: 0.1rem var(--space-2); }
  .chips li { font-size: 0.7rem; padding: 0.25rem 0.55rem; }
  .reassure { margin: var(--space-2) 0 var(--space-2); }
  .hero-row .lead-card { margin-top: var(--space-4); }
  section.band, .reviews-band { padding-block: var(--space-8); }
  .lead-card { padding: var(--space-4); }
  .atty-photo img { aspect-ratio: 1 / 1; }
}
