/* ============================================================================
   ST. LOUIS FOUNDATION EXPERTS — STYLES
   ============================================================================ */

:root {
  /* Brand */
  --navy: #1A3A52;
  --navy-deep: #0F2434;
  --navy-soft: #28506E;
  --gold: #D4AF37;
  --gold-deep: #B8932A;
  --gold-soft: #E8C757;
  --offwhite: #F5F3F0;
  --paper: #FAF8F4;
  --ink: #15212B;
  --ink-soft: #4A5763;
  --rule: rgba(26, 58, 82, 0.12);
  --rule-strong: rgba(26, 58, 82, 0.22);

  /* Variant accent (overridden per variant) */
  --accent: var(--gold);
  --accent-deep: var(--gold-deep);
  --accent-soft: var(--gold-soft);
  --hero-tint: var(--navy);
  --hero-tint-deep: var(--navy-deep);

  /* Type */
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --nav-h: 76px;
  --max-w: 1400px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);

  --shadow-card: 0 1px 2px rgba(15,36,52,.06), 0 8px 28px rgba(15,36,52,.08);
  --shadow-elev: 0 4px 12px rgba(15,36,52,.10), 0 24px 60px rgba(15,36,52,.16);
}

/* Variant: Warranty Gold — gold-dominant, navy as secondary */
.variant-gold {
  --accent: var(--gold);
  --accent-deep: var(--gold-deep);
  --accent-soft: var(--gold-soft);
  --hero-tint: #2A2418;
  --hero-tint-deep: #0F0A04;
  --paper: #FAF7EF;
}

/* Variant: Settlement Red — deep red accent, calm */
.variant-red {
  --accent: #8B2828;
  --accent-deep: #6E1E1E;
  --accent-soft: #B23838;
  --hero-tint: #2C1414;
  --hero-tint-deep: #160808;
  --paper: #F7F2F0;
}

/* ============================================================================
   RESET
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.012em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--accent);
  color: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 6px 18px -6px rgba(212, 175, 55, .55);
}
.btn--gold:hover { background: var(--accent-deep); color: #fff; }
.variant-red .btn--gold { color: #fff; }
.variant-red .btn--gold:hover { background: var(--accent-deep); }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--xl { padding: 1.1rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============================================================================
   NAV
   ============================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
}
.nav__brand-mark {
  display: inline-flex;
  width: 36px; height: 36px;
  color: var(--accent);
}
.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__brand-line1 {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .005em;
}
.nav__brand-line2 {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.nav__links a {
  font-size: .88rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--accent); border-color: var(--accent); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .98rem;
  font-variant-numeric: tabular-nums;
}
.nav__phone svg { width: 16px; height: 16px; }
.nav__phone:hover { color: var(--accent-soft); }

.nav__cta { padding: .65rem 1.15rem; font-size: .88rem; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .25s;
}

/* ============================================================================
   LAYOUT: main 2-column grid (content + sticky form rail)
   ============================================================================ */
.layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 3rem;
  align-items: start;
}
.layout__content { min-width: 0; }

/* Sticky form rail */
.form-rail {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  padding-top: 2rem;
  align-self: start;
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  margin-top: 0;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--gutter) 4rem;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--hero-tint-deep);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,36,52,.55) 0%, rgba(15,36,52,.85) 60%, var(--hero-tint-deep) 100%),
    linear-gradient(110deg, var(--hero-tint) 0%, rgba(26,58,82,.4) 55%, transparent 100%);
}
.variant-gold .hero__overlay {
  background:
    linear-gradient(180deg, rgba(15,10,4,.5) 0%, rgba(15,10,4,.85) 65%, var(--hero-tint-deep) 100%),
    linear-gradient(110deg, var(--hero-tint) 0%, rgba(212,175,55,.18) 55%, transparent 100%);
}
.variant-red .hero__overlay {
  background:
    linear-gradient(180deg, rgba(22,8,8,.55) 0%, rgba(22,8,8,.85) 65%, var(--hero-tint-deep) 100%),
    linear-gradient(110deg, var(--hero-tint) 0%, rgba(139,40,40,.35) 55%, transparent 100%);
}

.hero__inner {
  max-width: 720px;
  position: relative;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.hero__eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.5rem;
}
.hero__cta-phone {
  font-variant-numeric: tabular-nums;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero__trust-item {
  display: flex;
  flex-direction: column;
}
.hero__trust-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.hero__trust-label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: .35rem;
}
.hero__trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.18);
}
.hero__scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,.4), transparent);
}

/* ============================================================================
   SECTION HEAD + EYEBROW (shared)
   ============================================================================ */
.section-head {
  max-width: 720px;
  margin: 0 0 3rem;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section-eyebrow small { letter-spacing: .04em; text-transform: none; font-weight: 400; color: var(--ink-soft); }
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--navy);
  max-width: 700px;
}

/* Spacing between major sections in the content column */
.layout__content > section {
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
}
.layout__content > section:first-child {
  border-top: 0;
  padding-top: 0;
}

/* ============================================================================
   WHY CHOOSE US
   ============================================================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.why__card {
  background: var(--navy);
  color: #fff;
  padding: 2.25rem 1.75rem 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-card);
}
.why__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.why__card--feature { background: var(--navy-deep); }
.variant-gold .why__card { background: #1F1810; }
.variant-gold .why__card--feature { background: var(--accent); color: var(--navy-deep); }
.variant-gold .why__card--feature::before { background: var(--navy-deep); }
.variant-gold .why__card--feature .why__copy { color: rgba(15,36,52,.85); }
.variant-gold .why__card--feature .why__icon { color: var(--navy-deep); }
.variant-red .why__card { background: #2A1818; }
.variant-red .why__card--feature { background: var(--accent); }

.why__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.why__icon svg { width: 100%; height: 100%; }
.why__stat {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: .75rem;
  font-weight: 500;
  font-feature-settings: 'lnum';
}
.why__head {
  font-size: 1.1rem;
  margin-bottom: .65rem;
  color: #fff;
  font-weight: 600;
}
.why__copy {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

/* ============================================================================
   SERVICES
   ============================================================================ */
.services__list {
  display: flex;
  flex-direction: column;
}
.service {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.2rem 0;
  position: relative;
  align-items: start;
}
.service__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rule);
}
.service__num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  padding-top: .2rem;
}
.service__title {
  font-size: 1.55rem;
  color: var(--navy);
  margin-bottom: .65rem;
}
.service__copy {
  font-size: .98rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 1rem;
}
.service__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--navy);
  border-bottom: 1px solid var(--accent);
  padding-bottom: .15rem;
  transition: gap .2s, color .2s;
}
.service__link:hover { gap: .65rem; color: var(--accent-deep); }

/* ============================================================================
   BEFORE / AFTER SLIDERS
   ============================================================================ */
.ba__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.ba-slider {
  margin: 0;
}
.ba-slider__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--navy-deep);
  user-select: none;
  cursor: ew-resize;
  box-shadow: var(--shadow-card);
}
.ba-slider__layer {
  position: absolute;
  inset: 0;
}
.ba-slider__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ba-slider__tag {
  position: absolute;
  top: .85rem;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .35rem .65rem;
  border-radius: 2px;
  background: rgba(15,36,52,.85);
  color: #fff;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-slider__tag--before { left: .85rem; }
.ba-slider__tag--after {
  right: .85rem;
  background: var(--accent);
  color: var(--navy-deep);
}
.variant-red .ba-slider__tag--after { color: #fff; }

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
.ba-slider__handle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.ba-slider__handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  pointer-events: auto;
  cursor: ew-resize;
  border: 2px solid var(--accent);
}
.ba-slider__handle-knob svg { width: 22px; height: 22px; }
.ba-slider__cap {
  margin-top: 1rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.ba-slider__cap strong { color: var(--navy); font-weight: 600; }

/* ============================================================================
   CASE STUDIES
   ============================================================================ */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.case:last-child { margin-bottom: 0; }
.case--reverse { direction: rtl; }
.case--reverse > * { direction: ltr; }

.case__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.case__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--navy-deep);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .4rem .75rem;
  border-radius: 2px;
}
.variant-red .case__badge { color: #fff; }

.case__title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.case__lede {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.case__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.case__metric {
  background: var(--offwhite);
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--rule-strong);
}
.case__metric--featured {
  background: var(--navy);
  color: #fff;
  border-left-color: var(--accent);
}
.case__metric-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 600;
}
.case__metric--featured .case__metric-num { color: var(--accent); }
.case__metric-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .35rem;
}
.case__metric--featured .case__metric-label { color: rgba(255,255,255,.65); }
.case__copy {
  font-size: .96rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

/* ============================================================================
   FAQ
   ============================================================================ */
.faq__list {
  border-top: 1px solid var(--rule);
}
.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  top: 50%; left: 50%;
  transition: transform .25s;
}
.faq__icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a {
  padding: 0 0 1.5rem 0;
  font-size: .98rem;
  color: var(--ink-soft);
  max-width: 760px;
}

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.quote {
  background: var(--navy);
  color: #fff;
  margin: 0;
  padding: 2rem 1.85rem 1.85rem;
  border-left: 3px solid var(--accent);
  position: relative;
  border-radius: 2px;
  box-shadow: var(--shadow-card);
}
.variant-gold .quote { background: #1F1810; }
.variant-red .quote { background: #2A1818; }
.quote__mark {
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: .8;
  margin-bottom: 1rem;
}
.quote blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  font-weight: 400;
  font-style: normal;
}
.quote blockquote em {
  color: var(--accent);
  font-style: italic;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.quote figcaption strong {
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}

/* ============================================================================
   FORM RAIL
   ============================================================================ */
.form-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  padding: 1.75rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-elev);
  border-radius: 2px;
}
.form-card__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.form-card__eyebrow {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: .6rem;
}
.form-card__title {
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .5rem;
}
.form-card__sub {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: flex; flex-direction: column; gap: .35rem; }
.form__row label {
  font-size: .78rem;
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
}
.form__row .req { color: var(--accent-deep); margin-left: 2px; }

.form__row input,
.form__row select {
  font-family: var(--sans);
  font-size: .95rem;
  padding: .75rem .85rem;
  border: 1px solid var(--rule-strong);
  background: #fff;
  border-radius: 2px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form__row input:focus,
.form__row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .18);
}
.variant-red .form__row input:focus,
.variant-red .form__row select:focus {
  box-shadow: 0 0 0 3px rgba(139, 40, 40, .18);
}

.form__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.25rem;
}

.form__submit { margin-top: .35rem; }
.form__fine {
  font-size: .76rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: .25rem;
}

.form-thanks {
  text-align: center;
  padding: 1rem .5rem 1.25rem;
  color: var(--navy);
}
.form-thanks__check {
  width: 64px;
  height: 64px;
  margin: 0 auto .9rem;
  color: var(--accent-deep);
}
.form-thanks h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .65rem;
}
.form-thanks p {
  font-size: .94rem;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}
.form-thanks__phone {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: .9rem;
}
.form-thanks__phone a {
  color: var(--accent-deep);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.rail-trust {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 0 .5rem;
}
.rail-trust__item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  color: var(--ink-soft);
}
.rail-trust__item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-deep);
  flex-shrink: 0;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  margin-top: 6rem;
}
.variant-gold .footer { background: #0F0A04; }
.variant-red .footer { background: #160808; }

.footer__cta {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 4rem var(--gutter);
  position: relative;
  overflow: hidden;
}
.variant-gold .footer__cta { background: var(--accent); color: var(--navy-deep); }
.variant-gold .footer__cta-title,
.variant-gold .footer__cta-sub { color: var(--navy-deep); }
.variant-gold .footer__cta .btn--gold { background: var(--navy-deep); color: var(--accent); }
.variant-gold .footer__cta .btn--gold:hover { background: var(--navy); }
.variant-gold .footer__cta .btn--outline-white { color: var(--navy-deep); border-color: rgba(15,36,52,.4); }
.variant-gold .footer__cta .btn--outline-white:hover { border-color: var(--navy-deep); background: rgba(15,36,52,.08); }

.variant-red .footer__cta { background: var(--accent); }

.footer__cta::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: .1;
  pointer-events: none;
}
.footer__cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.footer__cta-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: #fff;
  margin-bottom: .8rem;
}
.footer__cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
}
.footer__cta-actions {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
}
.footer__col h4 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__brand em { color: var(--accent); font-style: italic; }
.footer__brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  color: var(--accent);
}
.footer__addr {
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer__addr a { color: var(--accent); }
.footer__addr a:hover { color: var(--accent-soft); }

.certifications {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.certifications a {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  border-bottom: 1px dotted rgba(255,255,255,.25);
  padding-bottom: 2px;
}
.certifications a:hover { color: var(--accent); border-color: var(--accent); }

.footer__areas {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__links a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer__links a:hover { color: var(--accent); }

.footer__map {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #1A2D3E;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px;
}
.footer__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.footer__map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    radial-gradient(circle at 30% 70%, rgba(212,175,55,.06) 0%, transparent 50%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}
.footer__map-pin {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 28px;
  color: var(--accent);
  animation: pin-bob 2.4s ease-in-out infinite;
}
@keyframes pin-bob {
  0%, 100% { transform: translate(-50%, -100%); }
  50% { transform: translate(-50%, -110%); }
}
.footer__map-label {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  right: .75rem;
  background: rgba(15,36,52,.85);
  backdrop-filter: blur(6px);
  padding: .55rem .75rem;
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  display: flex;
  flex-direction: column;
}
.footer__map-label strong { color: var(--accent); font-size: .82rem; }

.footer__legal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer__legal a { color: rgba(255,255,255,.7); }
.footer__legal a:hover { color: var(--accent); }

/* ============================================================================
   MOBILE STICKY CTA (visible <768px only)
   ============================================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: rgba(15, 36, 52, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 55, .3);
  padding: .65rem;
  gap: .5rem;
  box-shadow: 0 -8px 28px rgba(15,36,52,.3);
}
.mobile-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .85rem;
  font-weight: 600;
  font-size: .92rem;
  border-radius: 2px;
}
.mobile-cta__btn--call { background: var(--accent); color: var(--navy-deep); }
.variant-red .mobile-cta__btn--call { color: #fff; }
.mobile-cta__btn--msg {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; }
  .nav__links { gap: 1.25rem; }
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .form-rail {
    position: static;
    padding-top: 0;
    margin: 0 calc(var(--gutter) * -1);
    padding: 3rem var(--gutter);
    background: var(--offwhite);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .why__grid { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 2rem; }
  .case--reverse { direction: ltr; }
  .ba__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__phone span { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero { min-height: 540px; padding: 3rem var(--gutter); }
  .hero__scroll-hint { display: none; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }

  .layout__content > section { padding: 3.5rem 0; }
  .section-head { margin-bottom: 2rem; }

  .service { grid-template-columns: 1fr; gap: .65rem; }
  .service__num { font-size: 1.5rem; }

  .case__metrics { grid-template-columns: 1fr 1fr; }

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

  .footer__cta-actions .btn { width: 100%; }
}
