/* Dial 4 Duct — final mobile hero balance: bigger hero, visible inline form, CTA above fold. */
@media (max-width: 640px) {
  body.mobile-home-hero-final .hero-grid,
  body.service-location-page-final .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 16px !important;
  }

  body.mobile-home-hero-final .hero-copy > .hero-badges,
  body.service-location-page-final .hero-copy > .local-hero-trust {
    gap: 7px !important;
    margin-bottom: 12px !important;
  }

  body.mobile-home-hero-final .hero-badges .rating-pill,
  body.mobile-home-hero-final .hero-badges .green-pill,
  body.service-location-page-final .local-hero-trust .rating-pill,
  body.service-location-page-final .local-hero-trust .green-pill {
    min-height: 36px !important;
    padding: 7px 13px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    border-radius: 999px !important;
  }

  body.mobile-home-hero-final .hero-badges .g-mark,
  body.service-location-page-final .local-hero-trust .g-mark {
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
  }

  body.mobile-home-hero-final .hero-badges .stars,
  body.service-location-page-final .local-hero-trust .stars {
    font-size: 11.5px !important;
    letter-spacing: 1px !important;
  }

  body.mobile-home-hero-final .hero h1,
  body.service-location-page-final .hero h1 {
    font-size: clamp(36px, 11vw, 45px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.035em !important;
    margin: 0 0 10px !important;
  }

  body.mobile-home-hero-final .hero-location,
  body.service-location-page-final .hero-location {
    font-size: .57em !important;
    margin-top: 3px !important;
  }

  body.mobile-home-hero-final .hero-text,
  body.service-location-page-final .hero-text {
    font-size: 14.25px !important;
    line-height: 1.38 !important;
    margin: 0 0 13px !important;
  }

  body.mobile-home-hero-final .hero-actions .btn-primary,
  body.service-location-page-final .hero-actions .btn-primary {
    min-height: 46px !important;
    padding: 11px 18px !important;
    font-size: 14px !important;
  }

  /* Keep the original inline quote form visible on mobile. */
  body.mobile-home-hero-final .hero-form-card,
  body.service-location-page-final .hero-form-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
  }

  body.mobile-home-hero-final .hero-form-card h2,
  body.service-location-page-final .hero-form-card h2 {
    font-size: 30px !important;
    line-height: 1.08 !important;
    margin-bottom: 14px !important;
  }

  body.mobile-home-hero-final .hero-form-card .quote-form,
  body.service-location-page-final .hero-form-card .quote-form {
    gap: 10px !important;
  }

  body.mobile-home-hero-final .hero-form-card .quote-form label,
  body.service-location-page-final .hero-form-card .quote-form label {
    min-height: 54px !important;
  }

  /* Keep the decorative van out of the mobile fold so CTA + form start sooner. */
  body.mobile-home-hero-final .hero-van,
  body.service-location-page-final .hero-van {
    display: none !important;
  }
}

@media (max-width: 350px) {
  body.mobile-home-hero-final .hero h1,
  body.service-location-page-final .hero h1 {
    font-size: 35px !important;
  }
  body.mobile-home-hero-final .hero-text,
  body.service-location-page-final .hero-text {
    font-size: 14px !important;
    line-height: 1.36 !important;
  }
}
