/* =====================================================================
   SITEWIDE THEME (Nov 16 2026): concept blue palette + button system
   Loaded by EVERY page. Promoted from the homepage-only files
   home-blue.css (palette) and home-buttons.css (buttons). Those two stay
   on the homepage for its own sections and load after this file there,
   so the homepage renders exactly as before.
   On every other page this file is the LAST stylesheet, so it also wins
   over page-level inline <style> blocks (emc, repair) and the quote
   page's body-level quote.css / quote-form.css.
   ---------------------------------------------------------------------
   COLOR TOKENS (sampled from reference-concept.png)
     --blue        #001F51  main dark blue: header, hero, dark bands, cards
     --blue-deep   #001B3E  deeper: photo letterbox, sliders, overlays
     --blue-light  #062F66  lighter: cards on blue, gradients
     --blue-3      #0D3B7C  third tone
     --blue-foot   #00234C  footer
     --gold        #FDD300  accent (unchanged)   --logo-red #EC0000
   Old navy (#0E1A2B, #13233A, #1B2F4B, #14202F) and near-black backgrounds
   (#231F20, #1A1616, #08111E, #0A1422, #000) are mapped onto these.
   Kept on purpose: the LED screen mock-ups on /emc/ (.pscr, .sc) stay
   black because they show an LED face; the homepage service-area map
   legend (.k-served) matches the map image; photos are untouched.
   ---------------------------------------------------------------------
   BUTTON RULE (same as BUTTON-RULES.md)
   1. One shape: 8px radius, 48px tall, 0 22px padding, Poppins 600 16px,
      Title Case labels (text-transform:none, never all caps).
   2. GOLD (#FDD300, blue text) = quote actions ONLY (Get a Quote, Free
      Quote, Start My Free Quote, quote and price form submits).
   3. RED (#EC0000, white text) = every other action (Call, Send Message,
      Send Repair Request, See Examples, Explore Message Centers ...).
   4. Outline (.hb-line) = same shape and role color; on light: blue text
      (gold) or #B23A2F text (red); on blue: white text.
   Markup: class="hb hb-quote" | "hb hb-action" (+ "hb-line").
   Un-tagged legacy .btn elements (e.g. made by JS) fall back to the same
   shape: .btn-yel gold, .btn-red/.btn-dark red, .btn-ghost red outline.
   Not action buttons (own styles): menu toggle (8px), filter chips,
   form option chips, accordion toggles, slider/lightbox controls.
   ===================================================================== */
:root{
 --blue:#001F51;--blue-deep:#001B3E;--blue-light:#062F66;--blue-3:#0D3B7C;--blue-foot:#00234C;--gold:#FDD300;--logo-red:#EC0000;
 --navy:#001F51;--navy2:#062F66;--navy3:#0D3B7C;
 --btn-radius:8px;--btn-h:48px;--btn-pad-x:22px;
 --btn-font-family:Poppins,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;--btn-font-size:16px;--btn-font-weight:600;--btn-gap:8px;--btn-border:2px;
 --btn-quote-bg:#FDD300;--btn-quote-fg:#001F51;--btn-quote-bg-hover:#FFE14D;
 --btn-action-bg:#EC0000;--btn-action-fg:#FFFFFF;--btn-action-bg-hover:#C90000;
 --btn-action-line-fg-light:#B23A2F;--btn-on-dark-fg:#FFFFFF;
}

/* ---------- header (blue, white-text logo) ---------- */
.hdr,.hdr.scrolled{background:rgba(0,31,81,.97);border-bottom:1px solid rgba(255,255,255,.12)}
.hdr .nav a:not(.q){color:#FFFFFF;opacity:.9}
.hdr .nav a:not(.q):hover{color:#FDD300;opacity:1}
.hdr .nav>a[aria-current=page]:not(.q),.hdr .nav>.nav-dd>a[aria-current=page]{color:#FDD300;opacity:1}
.hdr .nav .nav-dd-m a{color:#0E1A2B}
.hdr .nav .nav-dd-m a[aria-current=page]{color:#B23A2F}
.hdr .hdr-tel{color:#FFFFFF;border-color:rgba(255,255,255,.4)}
.hdr .hdr-tel:hover{background:#FDD300;border-color:#FDD300;color:#001F51}
.hdr .menu-btn{color:#FFFFFF;border-color:rgba(255,255,255,.4)}
.skip{background:#001F51}
/* header fit: 1024-1279 keeps the gold Get a Quote and moves the text links into the menu button,
   1024-1439 icon-only call button, 1440+ wider row so the number fits. */
.hdr .nav a.q.hb{margin-left:10px}
.hdr a.hdr-tel.hb{margin:0}
.hdr a.hdr-tel.hb>span{white-space:nowrap}
.menu-btn{border-radius:var(--btn-radius)!important;width:var(--btn-h)!important;height:var(--btn-h)!important}
@media (max-width:767px){
 .hdr a.hdr-tel.hb{width:var(--btn-h);padding:0!important}
 .hdr a.hdr-tel.hb>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
@media (min-width:1024px) and (max-width:1279px){.hdr .nav>a:not(.q),.hdr .nav>.nav-dd{display:none!important}.hdr .nav{margin-left:auto}.hdr .menu-btn{display:inline-flex!important;align-items:center;justify-content:center}}
@media (min-width:1024px) and (max-width:1439px){.hdr a.hdr-tel.hb{width:var(--btn-h)!important;padding:0!important}.hdr a.hdr-tel.hb>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}
@media (min-width:1440px){.hdr .wrap{max-width:1360px}}

/* ---------- button system ---------- */
:is(a,button,label).hb{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:var(--btn-gap)!important;
 min-height:var(--btn-h)!important;height:auto!important;padding:0 var(--btn-pad-x)!important;border-radius:var(--btn-radius)!important;
 border:var(--btn-border) solid transparent!important;box-shadow:none!important;
 font-family:var(--btn-font-family)!important;font-size:var(--btn-font-size)!important;font-weight:var(--btn-font-weight)!important;
 line-height:1.15!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;text-align:center!important;
 white-space:nowrap;opacity:1!important;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s,transform .15s}
:is(a,button,label).hb:active{transform:translateY(1px)}
:is(a,button,label).hb svg{width:18px;height:18px;flex:none}
button.hb:disabled{opacity:.7!important;cursor:wait}
:is(a,button,label).hb.hb-quote{background:var(--btn-quote-bg)!important;color:var(--btn-quote-fg)!important;border-color:var(--btn-quote-bg)!important}
:is(a,button,label).hb.hb-quote:hover,:is(a,button,label).hb.hb-quote:focus-visible{background:var(--btn-quote-bg-hover)!important;border-color:var(--btn-quote-bg-hover)!important;color:var(--btn-quote-fg)!important}
:is(a,button,label).hb.hb-action{background:var(--btn-action-bg)!important;color:var(--btn-action-fg)!important;border-color:var(--btn-action-bg)!important}
:is(a,button,label).hb.hb-action:hover,:is(a,button,label).hb.hb-action:focus-visible{background:var(--btn-action-bg-hover)!important;border-color:var(--btn-action-bg-hover)!important;color:var(--btn-action-fg)!important}
:is(a,button,label).hb.hb-line{background:transparent!important}
:is(a,button,label).hb.hb-quote.hb-line{border-color:var(--btn-quote-bg)!important;color:var(--btn-quote-fg)!important}
:is(a,button,label).hb.hb-action.hb-line{border-color:var(--btn-action-bg)!important;color:var(--btn-action-line-fg-light)!important}
:is(a,button,label).hb.hb-line:hover,:is(a,button,label).hb.hb-line:focus-visible{color:var(--btn-action-fg)!important}
:is(a,button,label).hb.hb-quote.hb-line:hover,:is(a,button,label).hb.hb-quote.hb-line:focus-visible{background:var(--btn-quote-bg)!important;color:var(--btn-quote-fg)!important}
:is(a,button,label).hb.hb-action.hb-line:hover,:is(a,button,label).hb.hb-action.hb-line:focus-visible{background:var(--btn-action-bg)!important}
/* outline buttons sitting on blue: white text */
:is(.cx-hero,.cx-band,.band-navy,.phero,.emc-hero,.emc-band,.lp-hero,.lp-form,.lp-final,.elx,.cmp,.rp-card,.wb,.cta-band,.chfaq.chx,.wx-card,.pp-price,.pp-points,.rq-points,.foot,.mnav-dark) :is(a,button).hb.hb-line{color:var(--btn-on-dark-fg)!important}
:is(.cx-hero,.band-navy,.phero,.emc-hero,.emc-band,.lp-hero,.lp-form,.lp-final,.elx,.cmp,.cta-band,.chfaq.chx,.wx-card,.pp-price) :is(a,button).hb.hb-quote.hb-line:hover{color:var(--btn-quote-fg)!important}
.dock :is(a,button).hb{width:100%;padding:0 12px!important}
.btns,.cx-btns{gap:12px!important}
@media (max-width:767px){.btns :is(a,button).hb,.cx-btns a.hb,.cx-band a.hb,.wb a.hb{width:100%}}
@media (max-width:359px){:is(a,button,label).hb{white-space:normal}}
/* legacy fallback for un-tagged .btn (JS-made buttons) */
.btn:not(.hb){border-radius:var(--btn-radius);min-height:var(--btn-h);padding:0 var(--btn-pad-x);font-family:var(--btn-font-family);font-weight:var(--btn-font-weight);font-size:var(--btn-font-size);text-transform:none;letter-spacing:0}
.btn-yel:not(.hb){background:var(--btn-quote-bg);color:var(--btn-quote-fg);border-color:var(--btn-quote-bg)}
.btn-red:not(.hb),.btn-dark:not(.hb),[role=alert] .btn-yel:not(.hb){background:var(--btn-action-bg);color:#fff;border-color:var(--btn-action-bg)}
.btn-ghost:not(.hb){background:transparent;border-color:var(--btn-action-bg);color:var(--btn-action-line-fg-light)}

/* ---------- dark backgrounds -> concept blue ---------- */
.foot{background:#00234C}
.band-navy,.band-navy>.sec{background:#001F51}
.wc-ic{background:#001F51}
html.wc-js .wc-grid li.key,.wc-grid li.key{background:#001F51!important;box-shadow:0 10px 30px rgba(0,31,81,.28)!important}
.wc-grid li:not(.key) .wc-ic{background:#001F51!important}
.wb{background:#001F51!important;box-shadow:0 14px 34px rgba(0,31,81,.22)!important}
.wc-warr.b{background:#001F51!important;border-color:#001F51!important}
.rp-card{background:linear-gradient(135deg,#001B3E 0%,#001F51 55%,#062F66 100%)!important}
.compare{background:#001B3E!important}
dialog.lb::backdrop{background:rgba(0,27,62,.94)!important}
.cta-band{background:#001F51!important}
.cta-band .quick a{background:#062F66}
.ccard .ic.y{background:#001F51;color:#fff}
.wx{background:linear-gradient(180deg,#F2EFEA 0,#F2EFEA 50%,#001F51 50%)}
.wx-card{background:linear-gradient(160deg,#062F66,#001F51 70%)}
.cmp-card{background:#062F66}
.chfaq.chx{background:#001F51;box-shadow:0 24px 60px rgba(0,31,81,.28)}
.elx{background:#001B3E}
.elx-shade{background:linear-gradient(0deg,rgba(0,27,62,.96) 0%,rgba(0,27,62,.72) 38%,rgba(0,27,62,.25) 70%,rgba(0,27,62,.35) 100%)}
@media (min-width:900px){.elx-shade{background:linear-gradient(90deg,rgba(0,27,62,.95) 0%,rgba(0,27,62,.86) 34%,rgba(0,27,62,.45) 58%,rgba(0,27,62,.12) 100%),linear-gradient(0deg,rgba(0,27,62,.6),transparent 30%)}}
.elx-slide figcaption{background:rgba(0,27,62,.55)}
.elx-chips li{background:rgba(0,27,62,.35)}
.eph .ph,figure>span.ph,.vh-stage-wrap,.vh-stage,.vh-stage figure,.try .tph,.vh-video{background:#001B3E}
.lp-photo,.lp-proof picture,.lp-proof img{background:#001B3E}
.hero-tag,.ptag,.pitchtag{background:rgba(0,31,81,.9)}
.gal .gcap{background:linear-gradient(to top,rgba(0,31,81,.82),rgba(0,31,81,0))}
.pcs.st .pc .chk{background:rgba(0,31,81,.7)}
.pcs.st .pc:has(input:checked) .chk{background:var(--yel)}
.qnav{background:rgba(0,31,81,.97)}
.preview-strip{background:#001B3E}
/* print calculator (print-calc.css) */
.pp-steps li.on{background:#001F51}
.pp-points,.pp-price{background:#001F51}
.pp-price{box-shadow:0 18px 40px rgba(0,31,81,.18)}
.pp-cat input:checked+span{background:#001F51;border-color:#001F51}
.pp-seg input:checked+span{background:#001F51}
.pp-steps li.done span{background:#001F51}
.pp-opt input{accent-color:#001F51}
.pp-opt:has(input:checked){border-color:#001F51;box-shadow:0 0 0 1px #001F51}
.pp-thumb:hover{border-color:#001F51}
.pp-thumb[aria-pressed=true]{border-color:#001F51;box-shadow:0 0 0 2px #001F51}
.pp-thumb[aria-pressed=true] span{background:#001F51}
/* repair page (inline styles) */
.rq-points{background:#001F51}
.rq-check input{accent-color:#001F51}
.rq-check:has(input:checked){border-color:#001F51;box-shadow:0 0 0 1px #001F51}

/* ---------- layout fixes found in the sitewide audit ---------- */
/* repair page: the form column was 350px wide in a 360px screen (13px sideways scroll, pre-existing) */
.rq-grid>*{min-width:0}
@media (max-width:767px){.rq-grid{grid-template-columns:minmax(0,1fr)!important}}
/* sticky mobile bar: two equal columns; long labels (the LED landing page's "Call (334) 792-0754") wrap instead of running off screen */
.dock{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.dock :is(a,button).hb{min-width:0;white-space:normal!important;line-height:1.15!important}
/* the button shape forces display:inline-flex; keep anything that is meant to be hidden hidden */
.hb[hidden]{display:none!important}
@media (min-width:980px){.pp-jump.hb{display:none!important}}
/* Projects page: filter chips wrap so every filter is visible at every width (no hidden sideways row) */
.filters[aria-label="Filter projects"]{flex-wrap:wrap;overflow-x:visible}
