/* ==================================================================
   Pro Gen Construction — landing funnel styles
   ================================================================== */

:root {
  --ink: #081a33;
  --navy: #0c2340;
  --navy-2: #143259;
  --graphite: #33445e;
  --smoke: #5f6f85;
  --stone: #e4e9f0;
  --stone-2: #d2dae5;
  --paper: #f4f6f9;
  --white: #ffffff;
  --red: #e02b2b;
  --red-2: #bf1f22;
  --red-soft: #fde8e8;
  --ok: #2f7a3f;
  --err: #b3261e;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --shadow: 0 20px 50px -20px rgba(8, 26, 51, .35);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.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;
}

/* ---------- typography ---------- */
.display, h1, h2, h3, .h-xl, .h-lg, .h-md {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
}
h1, .h-xl { font-size: clamp(44px, 7vw, 96px); }
h2, .h-lg { font-size: clamp(36px, 5vw, 64px); }
h3, .h-md { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--graphite); max-width: 60ch; }
.muted { color: var(--smoke); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--paper); }
.on-dark .lede, .on-dark .muted { color: rgba(244, 246, 249, .72); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--dark { background: var(--navy); color: var(--paper); }
.section--stone { background: var(--stone); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .section-head--split .lede { justify-self: end; }
}
.rule { height: 1px; background: var(--stone-2); border: 0; margin: 0; }
.section--dark .rule { background: rgba(244, 246, 249, .12); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-2); border-color: var(--red-2); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn--ghost, .section--dark .btn--ghost { color: var(--paper); border-color: rgba(244, 246, 249, .5); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 21px; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: 14px; color: var(--smoke); }
.on-dark .btn-note { color: rgba(244, 246, 249, .6); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: var(--paper);
  border-bottom: 1px solid rgba(244, 246, 249, .1);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px -16px rgba(8, 26, 51, .6); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.1; }
.header-phone small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 246, 249, .6); }
.header-phone strong { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--paper); letter-spacing: .01em; }
.header-phone:hover strong { color: var(--red); }
@media (max-width: 640px) {
  .brand img { height: 46px; }
  .header-actions .btn { display: none; }
  .header-phone small { display: none; }
  .header-phone strong { font-size: 22px; }
}

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; }
.hero__media { position: relative; min-height: 64vw; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__copy { padding: clamp(40px, 6vw, 88px) var(--gutter); display: grid; align-content: center; gap: 26px; position: relative; }
.hero__copy h1 { color: var(--paper); max-width: 12ch; }
.hero__copy h1 em { font-style: normal; color: var(--red); }
.hero__copy .lede { color: rgba(244, 246, 249, .78); max-width: 52ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; letter-spacing: .04em; color: rgba(244, 246, 249, .7); }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 16px; height: 16px; color: var(--red); }
.hero__tag {
  position: absolute; left: var(--gutter); bottom: 22px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244, 246, 249, .9); background: rgba(8, 26, 51, .55); padding: 8px 12px; backdrop-filter: none;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 46%) minmax(0, 54%); min-height: min(calc(100svh - var(--header-h)), 760px); }
  .hero__media { min-height: 0; order: 2; }
  .hero__copy { order: 1; padding-right: clamp(32px, 4vw, 64px); }
  .hero__copy::after {
    content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 1px; background: rgba(244, 246, 249, .12);
  }
}

/* ---------- trust strip ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--stone-2); }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust__item { padding: 26px var(--gutter) 26px 0; display: grid; gap: 4px; border-right: 1px solid var(--stone-2); }
.trust__item:nth-child(2n) { border-right: 0; padding-left: var(--gutter); }
.trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--stone-2); }
.trust__num { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 48px); font-weight: 700; line-height: 1; color: var(--ink); }
.trust__num span { color: var(--red); }
.trust__label { font-size: 14px; letter-spacing: .04em; color: var(--smoke); }
@media (min-width: 900px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item { border-bottom: 0 !important; padding: 30px var(--gutter) 30px 0; }
  .trust__item:nth-child(2n) { border-right: 1px solid var(--stone-2); padding-left: 0; }
  .trust__item + .trust__item { padding-left: var(--gutter); }
  .trust__item:last-child { border-right: 0; }
}

/* ---------- sequence (before / during / after) ---------- */
.sequence { display: grid; gap: 22px; }
.sequence__item { position: relative; }
.sequence__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.sequence__step {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); padding: 8px 12px;
}
.sequence__cap { margin-top: 14px; display: grid; gap: 4px; }
.sequence__cap strong { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.sequence__cap span { font-size: 15px; color: var(--smoke); }
@media (min-width: 760px) { .sequence { grid-template-columns: repeat(3, 1fr); } }
.section--dark .sequence__cap strong { color: var(--paper); }
.section--dark .sequence__cap span { color: rgba(244, 246, 249, .65); }
.section--dark .sequence__step { background: var(--red); }

.checklist { display: grid; gap: 14px; margin-top: 36px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 16px; }
.checklist svg { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
@media (min-width: 760px) { .checklist { grid-template-columns: repeat(2, 1fr); gap: 16px 40px; } }

/* ---------- services ---------- */
.services { display: grid; gap: 1px; background: var(--stone-2); border: 1px solid var(--stone-2); }
.service { background: var(--paper); padding: clamp(28px, 3vw, 44px); display: grid; gap: 16px; align-content: start; position: relative; }
.service__num { font-family: var(--font-display); font-size: 15px; letter-spacing: .18em; color: var(--red); font-weight: 600; }
.service h3 { max-width: 14ch; }
.service p { color: var(--graphite); font-size: 16px; }
.service ul { display: grid; gap: 8px; font-size: 15px; color: var(--graphite); }
.service ul li { padding-left: 18px; position: relative; }
.service ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--red); }
.service .link { margin-top: auto; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; width: max-content;
}
.link:hover { color: var(--red); }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); } }

/* ---------- process ---------- */
.process { display: grid; gap: 28px; counter-reset: step; }
.process__item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; align-content: start; }
.process__num { font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1; color: var(--red); }
.process__item h3 { margin-bottom: 8px; color: var(--paper); }
.process__item p { color: rgba(244, 246, 249, .7); font-size: 16px; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .process__item { grid-template-columns: 1fr; gap: 12px; }
  .process__item h3 { padding-top: 14px; border-top: 1px solid rgba(244, 246, 249, .18); }
}
.split { display: grid; gap: 40px; align-items: center; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__media { order: 2; }
}

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gallery figure:first-child { grid-column: span 2; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  font-size: 13px; letter-spacing: .04em; color: var(--paper); background: rgba(8, 26, 51, .62);
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery figure:first-child img { aspect-ratio: auto; }
}

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 18px; }
.review { background: var(--white); border: 1px solid var(--stone-2); padding: 28px; display: grid; gap: 16px; align-content: start; }
.stars { display: inline-flex; gap: 3px; color: #e0a526; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--navy); }
.review footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--smoke); }
.review footer strong { color: var(--ink); font-weight: 600; }
.review footer span { display: inline-flex; align-items: center; gap: 6px; }
.review footer svg { width: 16px; height: 16px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.rating-summary { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--graphite); }
.rating-summary strong { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--ink); }

/* ---------- service area ---------- */
.area { display: grid; gap: 36px; }
.area__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--stone-2); }
.area__list li {
  padding: 16px 0; border-bottom: 1px solid var(--stone-2);
  font-family: var(--font-display); font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--ink);
  display: flex; align-items: baseline; gap: 10px;
}
.area__list li span { font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--smoke); }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--stone-2); }
.faq details { border-bottom: 1px solid var(--stone-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 24px); text-transform: uppercase; letter-spacing: .01em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 30px; font-weight: 400; color: var(--red); transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; max-width: 70ch; color: var(--graphite); font-size: 16px; }

/* ---------- final CTA ---------- */
.cta { background: var(--navy); color: var(--paper); border-top: 4px solid var(--red); }
.cta__inner { display: grid; gap: 28px; align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.cta h2 { color: var(--paper); max-width: 16ch; }
.cta .lede { color: rgba(244, 246, 249, .75); }
.cta .btn--dark { background: var(--red); color: var(--white); border-color: var(--red); }
.cta .btn--dark:hover { background: var(--red-2); border-color: var(--red-2); }
.cta .btn--ghost { color: var(--paper); border-color: rgba(244, 246, 249, .5); }
.cta .btn--ghost:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.2fr .8fr; } .cta__actions { justify-self: end; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(244, 246, 249, .7); font-size: 14px; border-top: 1px solid rgba(244, 246, 249, .12); }
.site-footer__inner { padding-top: 48px; padding-bottom: calc(48px + env(safe-area-inset-bottom)); display: grid; gap: 28px; }
.site-footer .brand img { height: 64px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(244, 246, 249, .12); }
@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
  .site-footer__meta { grid-column: 1 / -1; }
}
@media (max-width: 899px) { .site-footer__inner { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* ---------- mobile sticky bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 246, 249, .96); border-top: 1px solid var(--stone-2);
}
.sticky-bar .btn { min-height: 52px; font-size: 17px; padding: 0 16px; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==================================================================
   Quote form page
   ================================================================== */
.quote-page { background: var(--paper); min-height: 100svh; display: flex; flex-direction: column; }
.quote-page .site-header { border-bottom: 1px solid rgba(244, 246, 249, .1); }
.quote-main { flex: 1; display: grid; grid-template-columns: 1fr; }
.quote-side { display: none; position: relative; background: var(--navy); color: var(--paper); }
.quote-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.quote-side__inner { position: relative; padding: 56px 48px; display: grid; gap: 28px; align-content: end; min-height: 100%; }
.quote-side h2 { color: var(--paper); font-size: clamp(32px, 3vw, 44px); max-width: 14ch; }
.quote-side ul { display: grid; gap: 12px; font-size: 15px; color: rgba(244, 246, 249, .8); }
.quote-side li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.quote-side svg { width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.quote-side blockquote { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(244, 246, 249, .85); border-left: 2px solid var(--red); padding-left: 16px; }
.quote-side blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: rgba(244, 246, 249, .6); }
@media (min-width: 1000px) {
  .quote-main { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .quote-side { display: block; order: 1; }
  .quote-form-wrap { order: 2; }
}
.quote-form-wrap { padding: clamp(28px, 5vw, 64px) var(--gutter) 120px; display: grid; align-content: start; }
.quote-card { width: 100%; max-width: 620px; margin: 0 auto; display: grid; gap: 28px; }

.progress { display: grid; gap: 10px; }
.progress__meta { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); font-family: var(--font-display); font-weight: 600; }
.progress__track { height: 4px; background: var(--stone-2); position: relative; overflow: hidden; }
.progress__fill { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--red); transition: width .35s ease; }

.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { display: grid; gap: 22px; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step.is-active { animation: none; } }
.step__head { display: grid; gap: 10px; }
.step__head h1, .step__head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.step__head h1:focus, .step__head h2:focus { outline: none; }
.step__head p { color: var(--graphite); font-size: 16px; }

.choices { display: grid; gap: 12px; }
.choices--2 { grid-template-columns: repeat(2, 1fr); }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .choices--3 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
  display: grid; gap: 6px; padding: 20px 18px; min-height: 100%;
  background: var(--white); border: 2px solid var(--stone-2); border-radius: var(--radius);
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.choice__box strong { font-family: var(--font-display); font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; color: var(--ink); }
.choice__box span { font-size: 14px; color: var(--smoke); }
.choice:hover .choice__box { border-color: var(--graphite); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--red); outline-offset: 2px; }
.choice input:checked + .choice__box { border-color: var(--red); background: var(--red-soft); }
.choice--big .choice__box { padding: 26px 22px; }
.choice--pill .choice__box { padding: 12px 14px; text-align: center; }
.choice--pill .choice__box strong { font-size: 17px; }
.choice--check .choice__box { padding: 14px 16px; grid-template-columns: 22px 1fr; align-items: center; gap: 12px; }
.choice--check .choice__box::before {
  content: ""; width: 22px; height: 22px; border: 2px solid var(--stone-2); border-radius: 3px; background: var(--white);
}
.choice--check input:checked + .choice__box::before { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 4px var(--white); }
.choice--check .choice__box strong { font-family: var(--font-body); font-size: 16px; font-weight: 500; text-transform: none; letter-spacing: 0; }

.fields { display: grid; gap: 16px; }
.fields--2 { grid-template-columns: 1fr 1fr; }
.fields--3 { grid-template-columns: 1.4fr .6fr 1fr; }
@media (max-width: 560px) { .fields--2 { grid-template-columns: 1fr; } .fields--3 { grid-template-columns: 1fr 1fr; } .fields--3 .field:first-child { grid-column: 1 / -1; } }
.field input[readonly] { background: var(--stone); color: var(--smoke); cursor: default; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--navy); }
.field label small { font-weight: 400; color: var(--smoke); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 2px solid var(--stone-2); border-radius: var(--radius);
  transition: border-color .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.has-error input, .field.has-error select { border-color: var(--err); }
.field__error { display: none; font-size: 13px; color: var(--err); }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 13px; color: var(--red-2); display: none; }
.field.has-hint .field__hint { display: block; }
.group-error { display: none; font-size: 14px; color: var(--err); }
.group-error.is-visible { display: block; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13px; color: var(--smoke); line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--red); }

.step__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 6px; }
.btn-back {
  background: none; border: 0; padding: 12px 0; color: var(--smoke);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-back:hover { color: var(--ink); }
.btn-back svg { width: 16px; height: 16px; }
.step__actions .btn { min-width: 220px; }
@media (max-width: 560px) { .step__actions .btn { width: 100%; } .step__actions { flex-direction: column-reverse; align-items: stretch; } .btn-back { justify-content: center; } }
.btn.is-loading { pointer-events: none; opacity: .7; }

.form-error {
  display: none; padding: 16px 18px; border: 2px solid var(--err); border-radius: var(--radius); background: #fdecec; color: var(--err); font-size: 15px;
}
.form-error.is-visible { display: block; }
.form-error a { color: var(--err); font-weight: 700; }

.form-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--smoke); }
.form-foot span { display: inline-flex; align-items: center; gap: 6px; }
.form-foot svg { width: 14px; height: 14px; color: var(--red); }

.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

/* ==================================================================
   Thank-you page
   ================================================================== */
.thanks { display: grid; grid-template-columns: 1fr; }
.thanks__media { position: relative; min-height: 34vw; background: var(--navy); }
.thanks__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thanks__copy { padding: clamp(40px, 6vw, 96px) var(--gutter); display: grid; align-content: center; gap: 30px; max-width: 720px; }
.thanks__check { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: grid; place-items: center; color: var(--white); }
.thanks__check svg { width: 32px; height: 32px; }
.next-steps { display: grid; gap: 18px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; counter-increment: ns; }
.next-steps li::before {
  content: counter(ns, decimal-leading-zero); font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--red); line-height: 1;
}
.next-steps strong { display: block; font-family: var(--font-display); font-size: 21px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); margin-bottom: 4px; }
.next-steps p { color: var(--graphite); font-size: 16px; }
.emergency { border-left: 3px solid var(--red); padding: 6px 0 6px 20px; display: grid; gap: 6px; }
.emergency strong { font-family: var(--font-display); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.emergency a { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--ink); text-decoration: none; }
.emergency a:hover { color: var(--red); }
@media (min-width: 900px) {
  .thanks { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); min-height: min(calc(100svh - var(--header-h)), 820px); }
  .thanks__media { min-height: 0; }
}
