/* ==========================================================================
   BRAND COLORS — replace these four with the real values from your Lovable
   stylesheet. Everything else on the page derives from them.
   ========================================================================== */
:root {
  /* ACHBN brand palette (match production we-buy-homes) */
  --hero-navy: #0a3d73;
  --hero-accent: #6bb31a;
  --hero-accent-light: #b8e86a;
  --hero-blue: #0b5aa6;
  --hero-blue-600: #0a4e93;
  --hero-green: #6bb31a;
  --hero-green-600: #5aa214;
  /* aliases used by HBH-derived layout rules */
  --hero-orange: var(--hero-accent);
  --hero-red: var(--hero-blue);
  --hero-teal: var(--hero-blue);

  /* neutrals */
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
}

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

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

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

body {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: #fff;
  color: var(--slate-800);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- layout helpers ---------- */
.wrap {
  margin-inline: auto;
  padding-inline: 1rem;
  width: 100%;
}

.wrap-7xl {
  max-width: 80rem;
}

.wrap-6xl {
  max-width: 72rem;
}

.wrap-5xl {
  max-width: 64rem;
}

.wrap-4xl {
  max-width: 56rem;
}

/* ---------- shared CTA button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.025em;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.15s,
    filter 0.15s,
    box-shadow 0.15s;
}

.btn-red {
  background-image: linear-gradient(90deg, var(--hero-blue), var(--hero-green));
  color: #fff;
}

.btn-red:hover {
  background-image: linear-gradient(90deg, var(--hero-blue-600), var(--hero-green-600));
  filter: brightness(0.98);
}

.btn-orange {
  background: var(--hero-green);
  color: #fff;
}

.btn-orange:hover {
  background: var(--hero-green-600);
  filter: none;
}

.btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---------- header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.75rem;
}

.header-wordmark {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background-image: linear-gradient(90deg, var(--hero-blue), var(--hero-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header-call-label {
  margin: 0 0 0.25rem;
  color: var(--hero-navy);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.header-call-cta {
  width: auto;
  max-width: 100%;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.45);
}

.header-call-cta .icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.header-call-text {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.header-call-num {
  font-weight: 900;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--hero-navy) 60%, transparent) 0%,
    color-mix(in srgb, var(--hero-navy) 40%, transparent) 50%,
    color-mix(in srgb, var(--hero-navy) 70%, transparent) 100%
  );
}

.hero-inner {
  padding-block: 2.5rem;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero h1 .accent {
  color: var(--hero-accent-light);
}

.hero h1 br {
  display: none;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.hero-sub .accent {
  font-weight: 700;
  color: var(--hero-accent-light);
  text-decoration: underline;
  text-decoration-color: var(--hero-accent-light);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.hero-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: min(100%, 36rem);
  margin: 2rem auto 0;
  padding-inline: 1rem;
  box-sizing: border-box;
  text-align: left;
  font-size: 1.125rem;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 100%;
}

.hero-list li + li {
  margin-top: 0.75rem;
}

.hero-list .icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--hero-accent-light);
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-cta-label {
  font-style: italic;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-hero {
  padding: 1rem 1.5rem;
  font-size: 1.375rem;
  gap: 0.625rem;
  max-width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  outline: 4px solid color-mix(in srgb, var(--hero-green) 40%, transparent);
  outline-offset: 0;
}

.btn-hero .icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* mobile: two stacked lines. desktop: one line with the separator. */
.btn-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.btn-hero-sep {
  display: none;
}

.btn-hero-num {
  white-space: nowrap;
}

/* ---------- trust bar ---------- */
.trust {
  background: linear-gradient(90deg, var(--hero-blue), var(--hero-green));
  color: #fff;
}

.trust-inner {
  padding-block: 2rem;
  text-align: center;
}

.trust-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.trust-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.trust-badge.stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars-row {
  display: flex;
}

.stars-row .icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: #ffe566;
  color: #ffe566;
}

/* ---------- section shell ---------- */
.section {
  padding-block: 5rem;
}

.section-white {
  background: #fff;
}

.section-slate {
  background: var(--slate-50);
}

.section-navy {
  background: var(--hero-navy);
  color: #fff;
}

.section-teal {
  background: var(--hero-teal);
  color: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: 1.875rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--hero-navy);
}

.section-navy .section-head h2 {
  color: #fff;
}

.section-head h2 .accent {
  color: var(--hero-green);
}

.section-navy .section-head h2 .accent {
  color: var(--hero-accent-light);
}

.section-head .lede {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--slate-600);
}

.section-navy .section-head .lede {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  color: var(--hero-green);
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

.eyebrow + h2 {
  margin-top: 0.5rem;
}

.section-cta {
  margin-top: 3rem;
  text-align: center;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  gap: 2rem;
}

.step-card {
  position: relative;
  background: #fff;
  padding: 2rem;
  border: 2px solid var(--slate-100);
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}

.step-card:hover {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-color: color-mix(in srgb, var(--hero-teal) 40%, transparent);
}

.step-badge {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  background: var(--hero-green);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  padding: 0.25rem 1rem;
}

.step-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--hero-blue) 12%, transparent);
  color: var(--hero-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-icon .icon {
  width: 2.75rem;
  height: 2.75rem;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--hero-navy);
}

.step-card p {
  margin-top: 0.75rem;
  color: var(--slate-600);
  line-height: 1.625;
}

/* ---------- situation chips ---------- */
.chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}

.chip:hover {
  background: color-mix(in srgb, var(--hero-teal) 20%, transparent);
  border-color: var(--hero-teal);
}

.chip .icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--hero-accent-light);
}

.chip span {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ---------- reasons ---------- */
.reasons {
  display: grid;
  gap: 1.5rem;
}

.reason-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s;
}

.reason-card:hover {
  border-color: var(--hero-teal);
}

.reason-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--hero-blue) 10%, transparent);
  color: var(--hero-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.reason-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.reason-icon img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.reason-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  color: var(--hero-navy);
}

.reason-card p {
  margin-top: 0.5rem;
  color: var(--slate-600);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--hero-navy);
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-block: 2.5rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--hero-green);
}

.footer-phone {
  font-weight: 700;
  color: var(--hero-accent-light);
}

.footer-phone:hover {
  text-decoration: underline;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
  max-width: 72rem;
  margin-inline: auto;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 640px) {
  .header-inner {
    flex-direction: row;
  }

  /* Keep label + pill centered as a unit; header-inner still docks the block right. */
  .header-contact {
    align-items: center;
    text-align: center;
  }

  .header-call-label {
    margin-bottom: 0.28rem;
    font-size: 0.82rem;
  }

  .header-call-cta {
    gap: 0.5rem;
    padding: 0.68rem 1.35rem;
    font-size: 1.05rem;
  }

  .header-call-cta .icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .hero-inner {
    padding-block: 3.5rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero h1 br {
    display: block;
  }

  .hero-sub {
    font-size: 1.5rem;
  }

  .btn-hero {
    padding: 1.25rem 2.5rem;
    font-size: 1.5rem;
    gap: 0.75rem;
  }

  .btn-hero .icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .btn-hero-text {
    flex-direction: row;
    gap: 0.5rem;
  }

  .btn-hero-sep {
    display: inline;
  }

  .trust-title {
    font-size: 1.25rem;
  }

  .section-head h2 {
    font-size: 2.25rem;
  }

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

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .chips {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

/* ---------- ACHBN extras (logo lockup, optional secondary CTA, offer panel) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-lockup .brand-logo-img {
  width: auto !important;
  height: 2.5rem !important;
  max-width: min(9rem, 32vw);
  flex-shrink: 0;
}

.brand-lockup .brand-logo-svg,
.footer-brand .brand-logo-svg {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.brand-lockup .brand-name,
.header-wordmark {
  font-size: clamp(1.05rem, 4vw, 1.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background-image: linear-gradient(90deg, var(--hero-blue), var(--hero-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  filter: none;
}

.hero-secondary {
  margin-top: 0.25rem;
  padding: 0.95rem 1.4rem;
  font-size: clamp(0.88rem, 3.2vw, 1.02rem);
  line-height: 1.25;
}

.offer-panel {
  max-width: 36rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(20, 163, 163, 0.2);
}

.offer-panel h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hero-navy);
  text-align: center;
}

.offer-panel p {
  margin-top: 0.5rem;
  text-align: center;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.offer-panel .btn {
  width: 100%;
  margin-top: 1.25rem;
}

.offer-note {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.footer-inner {
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
}

.footer-brand .brand-logo-img {
  height: 2.5rem !important;
  width: auto !important;
  max-width: 10rem;
}

.footer-brand .brand-name-sm {
  font-size: 0.95rem;
  background-image: linear-gradient(90deg, #fff, var(--hero-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  font-weight: 900;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 640px) {
  .btn {
    width: auto;
  }

  .brand-lockup .brand-logo-img {
    height: 3rem !important;
    max-width: 12rem;
  }

  .brand-lockup .brand-logo-svg,
  .footer-brand .brand-logo-svg {
    width: 3rem;
    height: 3rem;
  }

  .hero-secondary {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }

  .hero-cta .btn {
    width: auto;
  }
}

/* ==========================================================================
   HERO FORM-FILL
   ========================================================================== */
.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;
}

.hero-form-wrap {
  margin: 1.5rem auto 0;
  max-width: 30rem;
  width: 100%;
  text-align: left;
}

.hero-form-divider {
  display: none;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.2rem 1.1rem 1.3rem;
  border-radius: 0.85rem;
  background: rgba(8, 28, 55, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.5);
}

.hero-form-headline {
  margin: 0;
  font-size: clamp(1.15rem, 3.4vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  text-wrap: balance;
}

.hero-form-intro {
  margin: -0.15rem 0 0.15rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  line-height: 1.4;
}

.hero-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .hero-form-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-form-row--location {
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
  }
}

.hero-form-field-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
}

.hero-form-field input,
.hero-form-field textarea,
.hero-form-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--slate-800);
  font-size: 1rem;
  line-height: 1.3;
  font-family: inherit;
}

.hero-form-field textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.hero-form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--slate-600) 50%),
    linear-gradient(135deg, var(--slate-600) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) calc(50% - 0.15rem), calc(100% - 0.75rem) calc(50% - 0.15rem);
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.hero-form-field input::placeholder,
.hero-form-field textarea::placeholder {
  color: var(--slate-500);
}

.hero-form-field input:focus,
.hero-form-field textarea:focus,
.hero-form-field select:focus {
  outline: 2px solid var(--hero-accent-light);
  outline-offset: 1px;
  border-color: transparent;
}

.hero-form-field.is-invalid input,
.hero-form-field.is-invalid textarea,
.hero-form-field.is-invalid select {
  border-color: #ef4444;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

/* Google Places Autocomplete dropdown above hero overlays */
.pac-container {
  z-index: 10000 !important;
  border-radius: 0.5rem;
  margin-top: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-family: inherit;
}

.hero-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.35;
  cursor: pointer;
}

.hero-form-checkbox input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--hero-accent);
}

.hero-form-tcpa {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  line-height: 1.35;
  cursor: pointer;
}

.hero-form-tcpa input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.08rem;
  flex-shrink: 0;
  accent-color: var(--hero-accent);
}

.hero-form-tcpa.is-invalid {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.12) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.hero-form-timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.45rem;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
}

.hero-form-timeline legend {
  padding: 0;
  margin: 0 0 0.15rem;
  width: 100%;
  flex: 0 0 100%;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.hero-form-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.hero-form-radio input {
  width: 0.9rem;
  height: 0.9rem;
  margin: 0;
  accent-color: var(--hero-accent);
}

.hero-form-radio:has(input:checked) {
  background: color-mix(in srgb, var(--hero-green) 42%, transparent);
  border-color: var(--hero-accent-light);
}

.hero-form-timeline.is-invalid {
  border-radius: 0.85rem;
  outline: 2px solid rgba(239, 68, 68, 0.75);
  outline-offset: 0.25rem;
}

.hero-form-actions {
  margin-top: 0.2rem;
}

.hero-form-submit {
  width: 100%;
  min-width: 0;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  outline: 3px solid color-mix(in srgb, var(--hero-green) 38%, transparent);
  outline-offset: 0;
}

.hero-form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hero-form.is-submitting-long .hero-form-submit {
  opacity: 0.92;
}

.hero-form-loading-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 0.18rem solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 999px;
  animation: hero-form-spin 0.8s linear infinite;
}

.hero-form-status {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.hero-form-status.is-success {
  color: var(--hero-accent-light);
}

.hero-form-status.is-error {
  color: #fecaca;
}

@keyframes hero-form-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-form-thank-you {
  width: 100%;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 1rem;
  background: rgba(8, 28, 55, 0.92);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 58px -28px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-thank-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.1rem;
  border: 0.28rem solid #ffc533;
  border-radius: 999px;
  color: #ffc533;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.hero-form-thank-you h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-form-thank-you p {
  max-width: 34rem;
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  line-height: 1.55;
}

.hero-thank-call {
  width: min(100%, 32rem);
  margin-top: 1.45rem;
  flex-wrap: nowrap;
  gap: clamp(0.35rem, 1.5vw, 0.65rem);
  background: linear-gradient(90deg, var(--hero-blue), var(--hero-green));
  color: #fff;
  font-size: clamp(0.95rem, 3.6vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.hero-thank-call:hover {
  background: linear-gradient(90deg, var(--hero-blue-600), var(--hero-green-600));
  filter: none;
}

.hero-thank-call .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.hero-thank-call-sep {
  opacity: 0.85;
  flex-shrink: 0;
}

.hero-thank-call span {
  white-space: nowrap;
}

.hero-thank-call .js-phone-label {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 479px) {
  .header-call-label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }

  .header-call-cta {
    gap: 0.35rem;
    padding: 0.48rem 0.85rem;
    font-size: 0.82rem;
  }

  .header-call-cta .icon {
    width: 1.05rem;
    height: 1.05rem;
  }

  .hero-form {
    padding: 1.05rem 0.9rem 1.15rem;
  }

  .hero-form-radio {
    font-size: 0.84rem;
    padding: 0.38rem 0.65rem;
  }

  .hero-form-tcpa {
    font-size: 0.68rem;
  }

  .hero-form-submit {
    font-size: 1.15rem;
  }

  .hero-thank-call {
    padding-inline: 0.75rem;
    font-size: clamp(0.82rem, 4.2vw, 0.95rem);
    letter-spacing: 0.01em;
  }

  .hero-thank-call .icon {
    width: 1.1rem;
    height: 1.1rem;
  }
}
