/* ======================================================================
   MOBILE RESPONSIVE FIX V2
   Only affects phones/tablets up to 767px. Desktop layout is untouched.
   ====================================================================== */
@media (max-width: 767px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* ---------- Header ---------- */
  .site-header .header-inner {
    height: 96px !important;
    min-height: 96px !important;
    padding: 8px 14px !important;
    justify-content: center !important;
  }

  .site-header .brand {
    width: 100% !important;
    max-width: 290px !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .site-header .brand img {
    display: block !important;
    width: 235px !important;
    max-width: 82vw !important;
    height: 72px !important;
    max-height: 72px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  /* ---------- Hero ----------
     One image layer only. The image is absolutely positioned so it can
     never push the text down or appear as a second stacked image. */
  .hero-section,
  #heroSlider,
  #heroSlider .carousel-inner {
    width: 100% !important;
    height: 650px !important;
    min-height: 650px !important;
    overflow: hidden !important;
    background: #061426 !important;
  }

  #heroSlider .carousel-item.hero-slide {
    position: relative !important;
    width: 100% !important;
    height: 650px !important;
    min-height: 650px !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background-image: none !important;
    background-color: #061426 !important;
  }

  #heroSlider .hero-picture {
    position: static !important;
    display: contents !important;
  }

  #heroSlider .hero-bg-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: opacity .35s ease !important;
    pointer-events: none !important;
  }

  #heroSlider .hero-one .hero-bg-image {
    object-position: 50% center !important;
  }

  #heroSlider .hero-two .hero-bg-image {
    object-position: 51% center !important;
  }

  #heroSlider .hero-three .hero-bg-image {
    object-position: 50% center !important;
  }

  #heroSlider:hover .carousel-item.active .hero-bg-image,
  #heroSlider .carousel-item.active .hero-bg-image {
    transform: none !important;
  }

  #heroSlider .hero-slide::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    pointer-events: none !important;
    background:
      linear-gradient(180deg,
        rgba(3, 10, 19, .62) 0%,
        rgba(3, 10, 19, .66) 32%,
        rgba(3, 10, 19, .82) 72%,
        rgba(3, 10, 19, .92) 100%) !important;
  }

  #heroSlider .hero-slide::after {
    display: none !important;
    content: none !important;
  }

  #heroSlider .hero-content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 650px !important;
    min-height: 650px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #heroSlider .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 40px 22px 58px !important;
    color: #fff !important;
    text-align: left !important;
    filter: none !important;
    text-shadow: 0 2px 14px rgba(0,0,0,.28) !important;
  }

  #heroSlider .hero-kicker {
    display: flex !important;
    align-items: center !important;
    max-width: 320px !important;
    margin: 0 0 14px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    letter-spacing: .075em !important;
    font-weight: 700 !important;
  }

  #heroSlider .hero-kicker::before {
    width: 25px !important;
    min-width: 25px !important;
    height: 3px !important;
    margin-right: 2px !important;
  }

  #heroSlider .hero-copy h1,
  #heroSlider .hero-copy h2 {
    width: 100% !important;
    max-width: 355px !important;
    margin: 0 0 17px !important;
    font-size: 33px !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    font-weight: 700 !important;
    color: #fff !important;
  }

  #heroSlider .hero-copy p:not(.hero-kicker) {
    width: 100% !important;
    max-width: 355px !important;
    margin: 0 0 17px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #f1f5f9 !important;
  }

  #heroSlider .hero-trust-chips {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 275px !important;
    margin: 0 0 20px !important;
  }

  #heroSlider .hero-trust-chips span {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 37px !important;
    padding: 7px 11px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 999px !important;
    background: rgba(4,18,34,.62) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    color: #fff !important;
  }

  #heroSlider .hero-copy .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 280px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  #heroSlider .carousel-control-prev,
  #heroSlider .carousel-control-next {
    display: none !important;
  }

  #heroSlider .carousel-indicators {
    z-index: 4 !important;
    bottom: 16px !important;
    margin-bottom: 0 !important;
  }

  #heroSlider .carousel-indicators [data-bs-target] {
    width: 26px !important;
    height: 4px !important;
    border: 0 !important;
    border-radius: 999px !important;
  }

  /* The floating bottom bar was covering hero/footer copy on phones.
     Mobile already has clear Call Now actions, so remove this overlay. */
  .floating-call {
    display: none !important;
  }

  /* ---------- Footer ---------- */
  .site-footer {
    width: 100% !important;
    padding: 34px 0 0 !important;
    overflow: hidden !important;
    background: linear-gradient(180deg,#061a32 0%,#041429 100%) !important;
  }

  .site-footer .container-xl {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .site-footer .footer-main-grid-v4 {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 28px !important;
    padding-bottom: 30px !important;
    text-align: center !important;
  }

  .site-footer .footer-brand-area {
    order: 1 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 4px !important;
    text-align: center !important;
  }

  .site-footer .footer-brand-area .footer-logo,
  .site-footer .footer-brand-area h2,
  .site-footer .footer-brand-area > p {
    display: none !important;
  }

  .site-footer .footer-phone-inline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .site-footer .footer-phone-inline i {
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    border-radius: 50% !important;
    background: #ef233c !important;
    color: #fff !important;
    font-size: 18px !important;
  }

  .site-footer .footer-parts-area {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 16px !important;
    margin: 0 !important;
  }

  .site-footer .footer-parts-group {
    display: block !important;
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    padding: 17px 14px 14px !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.025) !important;
    text-align: center !important;
  }

  .site-footer .footer-parts-group h3 {
    display: block !important;
    width: 100% !important;
    margin: 0 0 9px !important;
    padding: 0 0 10px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .site-footer .footer-parts-group a,
  .site-footer .footer-parts-group a.pn-call {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 6px 8px !important;
    color: #cbd8e5 !important;
    background: transparent !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    transform: none !important;
  }

  .site-footer .footer-parts-group a::before,
  .site-footer .footer-parts-group a.pn-call::before {
    content: "›" !important;
    position: static !important;
    display: inline-block !important;
    margin-right: 7px !important;
    color: #ff586b !important;
    font-size: 16px !important;
    line-height: 1 !important;
    vertical-align: 0 !important;
  }

  .site-footer .footer-parts-group a:hover,
  .site-footer .footer-parts-group a:focus {
    color: #fff !important;
    transform: none !important;
  }

  .site-footer .footer-support-area-v4 {
    order: 3 !important;
    display: block !important;
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    padding: 25px 4px 0 !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    text-align: center !important;
  }

  .site-footer .footer-support-area-v4 .footer-eyebrow {
    display: block !important;
    margin: 0 0 8px !important;
    color: #ff6677 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    letter-spacing: .12em !important;
    text-align: center !important;
  }

  .site-footer .footer-support-area-v4 h3 {
    width: 100% !important;
    margin: 0 auto 11px !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .site-footer .footer-support-area-v4 > p {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 14px !important;
    color: #b8c6d4 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }

  /* Avoid showing the same phone number twice in the compact mobile footer. */
  .site-footer .footer-support-area-v4 .footer-support-phone {
    display: none !important;
  }

  .site-footer .footer-contact-meta,
  .site-footer .footer-support-area-v4 .footer-contact-meta {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    text-align: center !important;
  }

  .site-footer .footer-contact-meta p {
    width: 100% !important;
    margin: 0 !important;
    color: #b8c6d4 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }

  .site-footer .footer-contact-meta strong {
    color: #fff !important;
  }

  .site-footer .footer-trust-line {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 8px !important;
    width: 100% !important;
    padding: 17px 0 !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    color: #c8d4df !important;
    font-size: 11px !important;
    text-align: center !important;
  }

  .site-footer .footer-trust-line span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  .site-footer .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 18px 0 22px !important;
    color: #8fa2b4 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  .site-footer .footer-bottom > span,
  .site-footer .footer-bottom-note {
    width: 100% !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  #heroSlider .hero-copy {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #heroSlider .hero-copy h1,
  #heroSlider .hero-copy h2 {
    font-size: 31px !important;
  }

  #heroSlider .hero-copy p:not(.hero-kicker) {
    font-size: 14px !important;
  }

  .site-footer .footer-phone-inline {
    font-size: 18px !important;
  }

  .site-footer .footer-parts-group {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
