/* V30: reliable form landing position + accessible phone CTA in mobile hero. */
#quote-form {
  scroll-margin-top: 108px;
}
.mobile-call-cta:not(.mobile-call-native) {
  display: none !important;
}
@media (max-width: 767px) {
  #quote-form {
    scroll-margin-top: 88px;
  }
  /* Don't send visitors to the top of the entire lead section. They arrive at the form card. */
  .mobile-call-cta:not(.mobile-call-native) {
    display: inline-flex !important;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 52px;
    padding: 13px 19px;
    border-radius: 11px;
    background: #12283c;
    color: #fff !important;
    border: 1px solid #12283c;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    order: 9;
    box-shadow: 0 8px 18px rgba(16, 36, 56, .13);
    -webkit-tap-highlight-color: rgba(244,90,34,.15);
  }
  .mobile-call-cta:focus-visible {
    outline: 3px solid #ff9b73;
    outline-offset: 3px;
  }
  .mobile-call-cta:not(.mobile-call-native) svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    stroke: #ff9b73;
  }
  .mobile-call-cta:not(.mobile-call-native) .mobile-call-number {
    font-size: 12px;
    font-weight: 650;
    opacity: .8;
    letter-spacing: .015em;
  }
  .hero-actions > .mobile-call-cta:not(.mobile-call-native) {
    flex: 1 1 100%;
  }
  body.service-page .hero-links > .mobile-call-cta:not(.mobile-call-native) {
    grid-column: 1 / -1;
  }
  body.company-page .company-hero-actions > .mobile-call-cta:not(.mobile-call-native) {
    grid-column: 1 / -1;
  }
  .mobile-call-native {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    order: 0;
  }
  #quote-form:focus {
    outline: none;
  }
}
@media (max-width: 380px) {
  .mobile-call-cta:not(.mobile-call-native) {
    padding-inline: 12px;
    gap: 8px;
  }
  .mobile-call-cta:not(.mobile-call-native) .mobile-call-number {
    font-size: 11px;
  }
}
