/* ==========================================================================
   V13 BUTTONS — site-wide button audit + fix (2026-11-08, buttons agent)
   Owner order 2026-11-07 ~23:48: every CTA, form button, menu button, FAQ
   toggle, filter/pill button must render correctly — size, padding,
   alignment, hover, focus, disabled, mobile tap target >= 44px.

   SCOPE: this file only. Loaded right after v13-nav.css on all 61 pages,
   so it wins ties over premium-2026-11-07.css, site-core-*.css, team
   files and ablentra-mobile-pro.css (all linked earlier). It never changes
   padding, copy or layout — it only guarantees the 44px floor, adds the
   hover/focus/disabled states that were missing, aligns button content,
   and (per the 2026-11-08 follow-up) sets fast 200ms transitions and an
   orange-family CTA hover. Palette: orange #FF5A1F / warm white /
   near-black / yellow #FFD800. Manrope (inherited). No V11 palette hexes.

   FOLLOW-UP 2026-11-08 — BUZZ TIMING RULE (observe-only, nothing copied):
   hover/focus transitions are FAST (~200-300ms), no slow fades — the Buzz
   rhythm (CTA hover pops, menu items flip, accordion rows fill instantly).
   §14 sets 0.2s on every button hover/focus/disabled state in this file.
   Two pre-existing slow spots fixed here: .proc-dot colour/dot .4s
   (final-2026-10-29.css) and the .btn fill-sweep .5s
   (site-core-a.css:1131-1134) both become .2s. §15 makes the CTA hover a
   clear orange-family state change (#E94A14, the site's --accent-hover).

   AUDIT FINDINGS (code-measured, line-height normal ~1.2 for buttons —
   matches Team 3's measured 35-41px explorer buttons, 2026-11-04):
   - UNDER 44px ON DESKTOP (mobile was already patched per-file, desktop
     was not): .filter-btn ~35px; widget pills .hvac-tab ~39px,
     .clean-opt ~39px, .fit-filter/.pest-choice/.auto-choice/
     .retail-route/.prof-lens ~37px, .plumb-node/.roof-hotspot/
     .law-intent/.salon-step ~43px; .radio-pill ~39px; .ind-chip ~37px;
     .anchor-nav a 40px (explicit min-height in site-core-a.css:1778);
     .v12-menu-all ~30px (no min-height at all).
   - NO HOVER RULE anywhere: all 12 widget pill classes + .proc-dot.
   - NO OWN FOCUS-VISIBLE RULE: .filter-btn, .proc-dot (the global
     :focus-visible rule in site-core-a.css:41 was the only backstop).
   - NO DISABLED RULE for .btn/.pq-btn/widget pills, although JS does
     disable submit buttons while sending (site-core-a.js:881).
   - 113 <button class="pq-faq-q"> on service pages had no type="button"
     (fixed in HTML, not here — none sat inside a <form>, verified).
   - ALREADY CORRECT, verified not changed: .btn ~48-55px, .pq-btn /
     .pq-btn-ghost ~52px, .pq-faq-q ~60px+, .v12-pill-cta /
     .v12-menu-toggle / .v12-menu-close / .v12-menu-call / .v12-menu-mail
     / menu list links 44px, .back-top 44px, .skip-link ~50px,
     .ix-card / .pq-tile large cards. The rules below restate their
     44px floor as a guarantee; they do not resize them.
   - G4 VERIFIED, NOT REDONE: the glitch-fix agent's page-local
     @media(max-width:767px) min-height:44px for .plumb-node /
     .retail-route is present in industries/plumbing/index.html:241 and
     industries/retail-local-shops/index.html:241. This file extends the
     same floor to every viewport and every widget class.
   ========================================================================== */

/* --------------------------------------------------------------------------
   §1 — UNIVERSAL 44px FLOOR. Every button / button-styled link, every
   viewport (desktop included — earlier patches were mobile-only). A
   min-height floor never shrinks a button that is already taller: it only
   raises the undersized ones. Padding, font and colour are untouched.
   -------------------------------------------------------------------------- */
.btn,
a.btn,
button.btn,
.pq-btn,
a.pq-btn,
button.pq-btn,
.pq-btn-ghost,
a.pq-btn-ghost,
button.pq-btn-ghost,
input[type="submit"],
.v12-pill-cta,
.v12-menu-toggle,
.v12-menu-close,
.v12-menu-call,
.back-top,
.skip-link {
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   §2 — WIDGET / EXPLORER PILLS (industry pages). All 12 classes.
   Desktop heights were 37-43px; mobile was patched per-file before.
   Centred pills get inline-flex centring; the left-aligned option
   buttons keep text-align:left and centre vertically. .re-card is a
   large card button (already >>44px); only its floor is restated.
   -------------------------------------------------------------------------- */
.hvac-tab,
.clean-opt,
.fit-filter,
.pest-choice,
.auto-choice,
.retail-route,
.prof-lens {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.plumb-node,
.roof-hotspot,
.law-intent,
.salon-step {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-align: left;
}
.re-card {
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   §3 — WIDGET HOVER (was missing on all 12 classes) + ACTIVE-STATE GUARD.
   Hover changes border, lift and shadow only — never background or text
   colour — so it cannot fight the orange .is-active state (same
   specificity, later file would otherwise win over .is-active).
   -------------------------------------------------------------------------- */
.hvac-tab:hover,
.clean-opt:hover,
.fit-filter:hover,
.pest-choice:hover,
.auto-choice:hover,
.retail-route:hover,
.prof-lens:hover,
.plumb-node:hover,
.roof-hotspot:hover,
.law-intent:hover,
.salon-step:hover,
.re-card:hover {
  border-color: #FF5A1F;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(14, 14, 15, 0.25);
}
.re-card:hover {
  box-shadow: 0 0 0 2px #FF5A1F inset, 0 6px 16px -8px rgba(14, 14, 15, 0.25);
}

/* --------------------------------------------------------------------------
   §4 — WIDGET FOCUS-VISIBLE (unified restatement; per-class rules already
   exist in site-core-a.css — same values, this file only guarantees them
   site-wide) + DISABLED (was missing; JS disables submit buttons while
   sending, site-core-a.js:881).
   -------------------------------------------------------------------------- */
.hvac-tab:focus-visible,
.clean-opt:focus-visible,
.fit-filter:focus-visible,
.pest-choice:focus-visible,
.auto-choice:focus-visible,
.retail-route:focus-visible,
.prof-lens:focus-visible,
.plumb-node:focus-visible,
.roof-hotspot:focus-visible,
.law-intent:focus-visible,
.salon-step:focus-visible,
.re-card:focus-visible {
  outline: 3px solid #FF5A1F;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   §5 — BLOG FILTER PILLS. Desktop ~35px (no min-height); mobile already
   44px via motion-sites-2026-10-27.css / ablentra-mobile-pro.css.
   Hover already exists; focus-visible did not — added here.
   -------------------------------------------------------------------------- */
.filter-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.filter-btn:focus-visible {
  outline: 3px solid #FF5A1F;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   §6 — PROCESS DOTS (homepage, 5 steps). Size was already 44px
   (min-height + min-width in final-2026-10-29.css); hover and
   focus-visible were both missing — added. Hover only brightens the
   dot/label; it never reveals the hidden label (span stays hidden
   unless .is-on) and never changes layout.
   -------------------------------------------------------------------------- */
.proc-dot {
  min-height: 44px;
  min-width: 44px;
}
.proc-dot:hover {
  color: #FFFFFF;
}
.proc-dot:hover i {
  background: #FF5A1F;
  border-color: #FF5A1F;
}
.proc-dot:focus-visible {
  outline: 3px solid #FF5A1F;
  outline-offset: 3px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   §7 — STICKY ANCHOR-NAV PILLS (30 pages). Desktop min-height was
   40px (site-core-a.css:1778); mobile already 44px. Same selector,
   later file wins. Hover already exists; focus-visible added.
   -------------------------------------------------------------------------- */
.anchor-nav a {
  min-height: 44px;
}
.anchor-nav a:focus-visible {
  outline: 3px solid #FF5A1F;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   §8 — FORM RADIO PILLS (3-step forms, /contact/ + /free-audit/).
   ~39px, no min-height. Hover / :has(input:focus-visible) / :checked
   already exist in site-core-a.css; only the floor is added.
   -------------------------------------------------------------------------- */
.radio-pill {
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   §9 — INDUSTRY CHIPS (12 pages, 336 links). ~37px and display:inline,
   so a min-height alone would not apply. Inline-flex centring keeps the
   chip look; in their flex containers (.ind-chips) this changes nothing
   (flex items are blockified anyway). Hover + focus-visible already
   exist in main.css:1067-1068.
   -------------------------------------------------------------------------- */
.ind-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   §10 — FULL-SCREEN MENU "VIEW ALL" LINKS (61 pages x 2). ~30px,
   no min-height; the other menu links already carry 44px
   (v13-nav.css). Inline-flex keeps the orange underline. Hover
   already exists; focus-visible added (v13-nav.css also covers
   .v12-menu a:focus-visible).
   -------------------------------------------------------------------------- */
.v12-menu-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.v12-menu-all:focus-visible {
  outline: 2px solid #FF5A1F;
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   §11 — DISABLED / BUSY STATE (unified; previously only
   .contact-form/.audit-form button:disabled existed in
   stage6-conversion-2026-10-29.css). JS disables the submit button
   and swaps its label to "Sending…" while a form posts
   (site-core-a.js:881, main.js:868), so this state is reachable.
   -------------------------------------------------------------------------- */
.btn:disabled,
.pq-btn:disabled,
.pq-btn-ghost:disabled,
button:disabled,
input[type="submit"]:disabled,
.hvac-tab:disabled,
.clean-opt:disabled,
.fit-filter:disabled,
.pest-choice:disabled,
.auto-choice:disabled,
.retail-route:disabled,
.prof-lens:disabled,
.plumb-node:disabled,
.roof-hotspot:disabled,
.law-intent:disabled,
.salon-step:disabled,
.re-card:disabled,
.filter-btn:disabled,
.proc-dot:disabled,
.v12-menu-toggle:disabled,
.v12-menu-close:disabled,
a[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn:disabled:hover,
.pq-btn:disabled:hover,
.pq-btn-ghost:disabled:hover {
  transform: none;
}

/* --------------------------------------------------------------------------
   §12 — FOCUS-VISIBLE BACKSTOP for the remaining button classes that
   rely on the global :focus-visible rule today (site-core-a.css:41).
   Explicit per-class rules make the guarantee greppable.
   -------------------------------------------------------------------------- */
.btn:focus-visible,
.pq-btn:focus-visible,
.pq-btn-ghost:focus-visible,
input[type="submit"]:focus-visible,
.radio-pill:focus-visible,
.ind-chip:focus-visible,
.skip-link:focus-visible,
.back-top:focus-visible {
  outline: 3px solid #FF5A1F;
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   §14 — FAST TRANSITIONS (Buzz rhythm, follow-up 2026-11-08). Every button
   hover/focus/disabled state animates in 0.2s — no slow fades. One rule
   covers every button class in this file, so the timing is uniform
   site-wide. This also fixes the two pre-existing slow spots it
   overrides (same specificity, later file wins): .proc-dot colour/dot
   .4s (final-2026-10-29.css) and the .btn fill-sweep .5s
   (site-core-a.css:1131-1134, .btn::before). Classes whose existing
   transition is already .2s-.25s (.pq-btn, .filter-btn, .ind-chip,
   .radio-pill, .anchor-nav a, nav buttons) are restated here so the
   200ms guarantee is greppable in one place. Outline is deliberately
   NOT transitioned — focus rings must appear instantly.
   Mobile exception: site-core-b.css:74 locks .btn to
   "transform .25s, opacity .25s !important" under 767px, so a plain
   rule cannot add background/border transitions there; the @media
   block below re-declares the full set with !important (this file is
   later, so it wins) at the same fast 0.2s.
   -------------------------------------------------------------------------- */
.btn,
a.btn,
button.btn,
.pq-btn,
a.pq-btn,
button.pq-btn,
.pq-btn-ghost,
a.pq-btn-ghost,
button.pq-btn-ghost,
input[type="submit"],
.v12-pill-cta,
.v12-menu-toggle,
.v12-menu-close,
.v12-menu-call,
.v12-menu-all,
.back-top,
.skip-link,
.hvac-tab,
.clean-opt,
.fit-filter,
.pest-choice,
.auto-choice,
.retail-route,
.prof-lens,
.plumb-node,
.roof-hotspot,
.law-intent,
.salon-step,
.re-card,
.filter-btn,
.proc-dot,
.proc-dot i,
.pq-faq-q,
.anchor-nav a,
.radio-pill,
.ind-chip {
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.btn::before {
  transition: transform 0.2s ease;
}
@media (max-width: 767px) {
  .btn,
  a.btn,
  button.btn {
    transition: background-color 0.2s ease, border-color 0.2s ease,
      color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease,
      opacity 0.2s ease !important;
  }
}

/* --------------------------------------------------------------------------
   §15 — CTA HOVER: CLEAR ORANGE-FAMILY STATE CHANGE (follow-up
   2026-11-08). Primary CTAs pop from #FF5A1F to the darker orange
   #E94A14 (the site's --accent-hover) with a lift and an orange shadow.
   .btn-accent needs !important here: site-core-b.css:132 and
   live-align-2026-10-27.css:48 both set an ink (#0E0E0F) hover with
   !important ("live hover is orange -> black"). The parent's follow-up
   orders orange-family, so this file — later, same weight — wins it.
   Text stays the class default (near-black on .btn-accent, white on
   .pq-btn, matching premium-2026-11-07.css). .btn-dark / .pq-btn-ghost
   are deliberately NOT touched: their dark/ink hovers are their
   identity as secondary buttons, and both are already clear pops.
   .v12-pill-cta already hovers to #E94A14 (v13-nav.css:92) — restated
   here so the CTA rule is complete in one place. Note: signature
   redesign (loaded after this file) restates the orange hover shadow
   for .btn-accent/.v12-pill-cta — same orange family, no conflict.
   -------------------------------------------------------------------------- */
.btn-accent:hover {
  background: #E94A14 !important;
  border-color: #E94A14 !important;
  color: #0E0E0F !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 90, 31, 0.42);
}
.pq-btn:hover,
a.pq-btn:hover,
button.pq-btn:hover,
input[type="submit"]:hover,
.v12-pill-cta:hover {
  background: #E94A14;
  border-color: #E94A14;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 90, 31, 0.42);
}

/* --------------------------------------------------------------------------
   §16 — REDUCED MOTION (extended). The hover lift in §3 and the fast
   transitions in §14 are switched off for users who asked for no motion
   (matches the reduced-motion blocks in premium-2026-11-07.css /
   v13-nav.css). transition:none carries !important so it also beats the
   §14 mobile !important for .btn; it sits last in this file, so it
   wins. The .btn fill-sweep keeps its shape (only its transition is
   killed — an instant swap, never a stuck mid-sweep state).
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .btn,
  a.btn,
  button.btn,
  .pq-btn,
  a.pq-btn,
  button.pq-btn,
  .pq-btn-ghost,
  a.pq-btn-ghost,
  button.pq-btn-ghost,
  input[type="submit"],
  .v12-pill-cta,
  .v12-menu-toggle,
  .v12-menu-close,
  .v12-menu-call,
  .v12-menu-all,
  .back-top,
  .skip-link,
  .hvac-tab,
  .clean-opt,
  .fit-filter,
  .pest-choice,
  .auto-choice,
  .retail-route,
  .prof-lens,
  .plumb-node,
  .roof-hotspot,
  .law-intent,
  .salon-step,
  .re-card,
  .filter-btn,
  .proc-dot,
  .proc-dot i,
  .pq-faq-q,
  .anchor-nav a,
  .radio-pill,
  .ind-chip,
  .btn::before {
    transition: none !important;
  }
  .hvac-tab:hover,
  .clean-opt:hover,
  .fit-filter:hover,
  .pest-choice:hover,
  .auto-choice:hover,
  .retail-route:hover,
  .prof-lens:hover,
  .plumb-node:hover,
  .roof-hotspot:hover,
  .law-intent:hover,
  .salon-step:hover,
  .re-card:hover,
  .proc-dot:hover i {
    transform: none;
  }
}
