/* Dial 4 Duct — mobile hero typography TWO STEPS LARGER.
   Applies only to homepage + service/location landing pages. Inline quote form remains visible. */
@media (max-width: 640px) {
  body.mobile-home-hero-final .hero-grid,
  body.service-location-page-final .hero-grid {
    padding-top: 9px !important;
    padding-bottom: 12px !important;
    gap: 0 !important;
  }

  body.mobile-home-hero-final .hero-copy > .hero-badges,
  body.service-location-page-final .hero-copy > .local-hero-trust {
    gap: 5px !important;
    margin-bottom: 8px !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: 42px !important;
    padding: 9px 16px !important;
    font-size: 16px !important;
    line-height: 1.06 !important;
  }

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

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

  body.mobile-home-hero-final .hero h1,
  body.service-location-page-final .hero h1 {
    font-size: clamp(46px, 14.3vw, 57px) !important;
    line-height: .97 !important;
    letter-spacing: -.042em !important;
    margin: 0 0 6px !important;
  }

  body.mobile-home-hero-final .hero-location,
  body.service-location-page-final .hero-location {
    font-size: .61em !important;
    line-height: 1 !important;
    margin-top: 2px !important;
  }

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

  body.mobile-home-hero-final .hero-actions,
  body.service-location-page-final .hero-actions {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 7px !important;
  }

  body.mobile-home-hero-final .hero-actions .btn-primary,
  body.service-location-page-final .hero-actions .btn-primary {
    min-height: 50px !important;
    padding: 12px 21px !important;
    font-size: 16px !important;
  }

  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;
    margin-top: 10px !important;
  }
}

@media (max-width: 350px) {
  body.mobile-home-hero-final .hero h1,
  body.service-location-page-final .hero h1 {
    font-size: 45px !important;
  }
  body.mobile-home-hero-final .hero-text,
  body.service-location-page-final .hero-text {
    font-size: 16.5px !important;
    line-height: 1.27 !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 {
    font-size: 15px !important;
  }
}

/* Final mobile override: keep the secondary Call Us Now hero CTA visible. */
@media (max-width: 640px) {
  body.mobile-home-hero-final .hero-actions .hero-call-static,
  body.service-location-page-final .hero-actions .hero-call-static {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    line-height: 1 !important;
    width: auto !important;
    margin: 0 !important;
  }

  body.mobile-home-hero-final .hero-actions,
  body.service-location-page-final .hero-actions {
    gap: 8px !important;
  }
}

@media (max-width: 350px) {
  body.mobile-home-hero-final .hero-actions .hero-call-static,
  body.service-location-page-final .hero-actions .hero-call-static {
    font-size: 14px !important;
    padding-inline: 14px !important;
  }
}
