/* ==========================================================================
   TEAM 3 (2026-11-04) — industry pages QA pass (15 industry pages + index).
   Page-scoped fixes only. This stylesheet is linked ONLY from the 16 pages
   owned by Team 3, so these selectors cannot affect services/ or other teams.
   Shared CSS files were NOT touched.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. IMAGE FRAMING — keep workers' faces inside the crop window.
   Verified by viewing the source files (2026-11-04):
   - ind-plumbing2.webp (563x751 portrait): plumber's face/helmet sits in the
     upper third; a centered 5/4 hero crop shaves the hard hat.
   - act-plumber.webp (563x1000 portrait): face sits right at the top edge of
     the centered 4/3 split-figure crop.
   - act-roofer.webp (667x1000 portrait): worker sits in the upper third; the
     centered 4/3 crop leaves him at the very top edge, half out of frame.
   Scoped via src attribute so each rule hits exactly one image on one page.
   -------------------------------------------------------------------------- */
.page-hero-visual img[src*="ind-plumbing2"]{object-position:50% 35%!important}
.split-fig img[src*="act-plumber.webp"]{object-position:50% 20%!important}
.split-fig img[src*="act-roofer.webp"]{object-position:50% 15%!important}

/* --------------------------------------------------------------------------
   2. MOBILE TAP TARGETS — interactive explorer buttons were 35–41px tall,
   below the 44px minimum. Raised on small screens only; desktop unchanged.
   -------------------------------------------------------------------------- */
@media (max-width:767px){
  .hvac-tab,
  .clean-opt,
  .fit-filter,
  .pest-choice,
  .auto-choice,
  .prof-lens,
  .law-intent,
  .salon-step,
  .roof-hotspot{
    min-height:44px!important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  /* re-cards are large cards already; keep text left-aligned and readable */
  .re-card{min-height:44px!important}
  /* button rows: comfortable wrap spacing so wrapped pills don't touch */
  .hvac-controls,
  .clean-opts,
  .fit-filters,
  .pest-choices,
  .auto-choices,
  .prof-lenses,
  .law-intents,
  .salon-steps{gap:.65rem!important}
}

/* --------------------------------------------------------------------------
   3. MOBILE SECTION RHYTHM — interactive demo blocks sit between full
   sections; tighten their internal margins on phones so they don't read as
   oversized voids, and keep result panels from hugging the viewport edge.
   -------------------------------------------------------------------------- */
@media (max-width:767px){
  .hvac-browser,
  .plumb-panels,
  .roof-panels,
  .pest-preview,
  .med-live,
  .land-preview,
  .floor-result,
  .build-result,
  .auto-result,
  .prof-panel,
  .fit-trial,
  .clean-static{margin-bottom:1rem!important}
  /* no-JS static fallback cards: stack breathing room */
  .clean-static{gap:.75rem!important}
}
