/* Mobile-first conversion redesign for the ad landing pages (v2).
   Applies ONLY at phone widths (<=760px). Desktop/tablet untouched.
   Pairs with the LeadControl booking iframe (id lcf-leadform) — the iframe
   itself is never modified here; only its container is restyled/repositioned. */
@media (max-width:760px) {

  /* ---- Navy hero with real site imagery (mockup-style) ---- */
  body[data-service="interior-painting"] .campaign-content .hero,
  body[data-service="exterior-painting"] .campaign-content .hero {
    background-color:#042b4f;
    background-size:cover;
    background-position:center;
    padding:24px 0 0;
    color:#fff;
  }
  body[data-service="interior-painting"] .campaign-content .hero {
    background-image:linear-gradient(180deg,rgba(4,43,79,.95),rgba(4,43,79,.80)),url('/assets/contact-interior-hero.webp');
  }
  body[data-service="exterior-painting"] .campaign-content .hero {
    background-image:linear-gradient(180deg,rgba(4,43,79,.95),rgba(4,43,79,.80)),url('/assets/estimate/exterior-960.webp');
  }
  .campaign-content .hero .eyebrow { color:#ffbd45; }
  .campaign-content .intro h1 { color:#fff; font-size:38px; line-height:1.02; max-width:340px; }
  .campaign-content .intro h1 .mobile-copy { color:#fff; }
  .campaign-content .intro h1 .mobile-copy > span { color:#ff9d00; }
  .campaign-content .intro > p.description.mobile-copy { color:#eef6fa; font-size:16px; margin:12px 0 16px; }
  .campaign-content .hero-trust.mobile-copy { color:#fff; font-size:12px; gap:6px 14px; }
  .campaign-content .hero-trust.mobile-copy span { display:inline-flex; align-items:center; gap:7px; }
  /* Override the older 2-item cap (interior/exterior-estimate.css hid span 3+). */
  .campaign-content .hero-trust.mobile-copy span:nth-child(n+3) { display:inline-flex; }
  .campaign-content .hero-trust.mobile-copy span::before {
    content:'\2713';
    display:inline-grid; place-items:center;
    width:22px; height:22px; border-radius:50%;
    background:rgba(17,133,175,.7); color:#fff; font-size:12px; font-weight:800;
  }

  /* ---- Booking card immediately below the hero ---- */
  .campaign-content .booking-copy { display:none; }
  .campaign-content .booking-section { background:linear-gradient(#eff9fc,#dff1f8); padding:0 0 30px; }
  .campaign-content .booking-section .wrap { width:calc(100% - 28px); }
  .campaign-content .booking-grid { display:block; }
  .campaign-content .form-card {
    border:none; border-top:none;
    border-radius:20px;
    box-shadow:0 14px 34px rgba(25,75,98,.14);
    margin-top:16px;
    overflow:hidden;
  }
  .campaign-content .booking-status { padding:14px 16px 0; }

  /* ---- JC feedback 2026-10-06: breathing room between the orange hero CTA
     button and the white booking card below it. ---- */
  .campaign-content .hero-cta { margin-bottom:24px; }

  /* ---- JC feedback 2026-10-06: tighten the booking iframe on mobile.
     Base CSS renders .booking-frame at 640px but the form content is shorter,
     leaving dead white space under it. 520px matches the existing min-height
     floor in campaign-landing.css. The JS auto-resize (lcf-resize postMessage
     in campaign-booking.js) still overrides this via inline style whenever the
     app reports a height, so later booking steps can still grow. ---- */
  .campaign-content .booking-frame { height:520px; }
}
