/* Mobile UX pilot — loaded only by the homepage and Managed IT page.
   Keep all original content, desktop styling, and the two fixed bottom CTAs. */
@media (max-width: 760px) {
  /* The permanent CALL NOW / FREE IT CHECK bar is outside these regions. */
  header .menu-cta,
  main .hero-btns,
  main .cta-btns,
  main a.btn,
  main .map-links,
  main .sticker,
  main .hero-alert,
  footer li:has(> a[href*="calendly.com"]) {
    display: none !important;
  }

  /* Remove empty CTA spacing while keeping the complete wording and imagery. */
  .hero,
  .phero {
    min-height: 0;
    padding-top: 68px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(35px, 6vw, 44px);
    line-height: 1.1;
    letter-spacing: -.45px;
    margin-bottom: 25px;
  }

  .phero h1 {
    font-size: clamp(32px, 5.8vw, 42px);
    line-height: 1.12;
    letter-spacing: -.45px;
    margin-bottom: 25px;
  }

  .hero .eyebrow,
  .phero .eyebrow {
    font-size: 11.5px;
    letter-spacing: 2px;
    line-height: 1.55;
    margin-bottom: 25px;
  }

  .hero-lead {
    max-width: 37rem;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-lead + .hero-lead {
    margin-top: 15px;
  }

  .hero-free {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 29px;
  }

  .hero-free li {
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .hero-free .ic {
    width: 18px;
    height: 18px;
  }

  .phero .hero-note {
    margin-top: 25px;
    line-height: 1.6;
  }

  .cta {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .cta p {
    margin-bottom: 0;
  }

  /* The homepage image/text band kept a desktop 410px minimum height after
     the inline buttons disappeared, leaving a large empty block on mobile. */
  .fss4 .fss4-in {
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .fss4 .fss4-row {
    margin-top: 12px;
  }

  .fss4 {
    padding-bottom: 40px;
  }

  /* Price cards should finish shortly after their details, not leave the
     margin formerly reserved for their hidden CTA buttons. */
  .p3 .ticks {
    margin-bottom: 10px;
  }

  .p3-not {
    margin-bottom: 0;
  }

  /* Other page templates use the same hidden inline CTAs. Do not leave their
     former bottom margins or oversized photo-banner padding behind. */
  .plan .ticks,
  .p2--one .ticks {
    margin-bottom: 12px;
  }

  .tease-note,
  .tease-free > p:not(.price):not(.plan-tag) {
    margin-bottom: 12px;
  }

  .bnr-in {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .mbar {
    z-index: 70;
  }
}

@media (max-width: 390px) {
  .hero,
  .phero {
    padding-top: 58px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .phero h1 {
    font-size: 32px;
  }
}
