/* Additive conversion polish — does not alter form JS or layout structure. */

body.conv-focus {
  --conv-pad-bottom: 0px;
}

/* Desktop: form higher into view, calmer hero */
@media (min-width: 761px) {
  body.conv-focus .hero {
    min-height: 0;
  }

  body.conv-focus .hero-content {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  body.conv-focus .hero .eyebrow {
    opacity: 0.92;
    margin-bottom: 12px;
  }

  body.conv-focus .hero-content > p {
    max-width: 520px;
    margin: 10px 0 16px;
  }

  body.conv-focus .checks {
    margin: 0 0 18px;
  }

  body.conv-focus .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  body.conv-focus .hero-buttons .primary {
    min-width: 190px;
  }

  body.conv-focus .quote-panel {
    margin-top: -56px;
    position: relative;
    z-index: 3;
  }

  /* Do not restyle form card border/shadow — .quote-panel owns that chrome */
  body.conv-focus .quote-panel .quote-wizard {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  body.conv-focus .conv-sticky {
    display: none !important;
  }
}

/* Mobile: faster path to form (sticky CTA bar removed — too intrusive) */
@media (max-width: 760px) {
  body.conv-focus .conv-sticky {
    display: none !important;
  }

  body.conv-focus .hero {
    min-height: clamp(300px, 58vh, 380px);
  }

  body.conv-focus .hero-content {
    padding: 22px 0 18px;
  }

  body.conv-focus .hero .eyebrow {
    display: none;
  }

  body.conv-focus .hero-content > p {
    margin: 8px 0 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  body.conv-focus .hero-buttons {
    width: min(100%, 280px);
    gap: 8px;
  }

  body.conv-focus .hero-buttons .primary {
    order: 1;
  }

  body.conv-focus .hero-buttons .hero-quote-down,
  body.conv-focus .hero-buttons a[href="#route"].primary {
    order: 0;
  }

  body.conv-focus .hero-buttons .secondary[data-company-phone-link],
  body.conv-focus .hero-buttons a[href^="tel:"] {
    order: 1;
  }

  body.conv-focus .quote-panel {
    margin-top: -6px;
    padding-top: 14px;
  }

  body.conv-focus .quote-panel .quote-wizard {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 16px;
  }
}

/* Prefer quote CTA as the visual primary in hero */
body.conv-focus .hero-buttons a.primary[href="#route"],
body.conv-focus .hero-buttons a.hero-quote-down.is-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border: 0;
  box-shadow: 0 10px 24px rgba(90, 46, 209, 0.28);
}

body.conv-focus .hero-buttons a.secondary[href^="tel:"],
body.conv-focus .hero-buttons a.secondary[data-company-phone-link] {
  background: rgba(9, 7, 30, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
