/* GMB Group — redesign layer.
   Loaded AFTER components.css. Adds the industrial-realism touches that a
   token swap alone can't express: the accent rule under headings, the dark
   steel stat band, recolored hero/footer, and tactile card elevation.
   base.css and components.css are untouched. */

/* ---- accent rule under headings (the Caterpillar-style structural cue) ---- */
.sec-head h2::after,
.hero h1::after,
.cta__inner h2::after,
.arm-card h3::after{
  content:"";
  display:block;
  width:54px;height:4px;
  background:var(--accent);
  border-radius:2px;
  margin-top:18px;
}
.hero h1::after{margin-top:22px}
.arm-card h3::after{width:40px;height:3px;margin-top:12px}

/* ---- mono eyebrow / kicker: tighter machined feel ---- */
.kicker,.hero__eyebrow{font-weight:700}

/* ---- hero: warm steel scrim instead of navy, warm light text ---- */
.hero{background:var(--ink)}
.hero__scrim{
  background:linear-gradient(90deg,
    rgba(20,23,27,.93) 6%,
    rgba(20,23,27,.70) 48%,
    rgba(20,23,27,.34) 100%);
}
.hero__eyebrow{color:#F0B48A}            /* warm tint, not blue */
.hero__lede{color:#D8DCE1}
.hero h1{letter-spacing:-.035em}

/* ---- credibility band: dark steel module (the DC's signature stat strip) ---- */
.cred{background:var(--ink);border-bottom:0}
.cred__grid{background:rgba(255,255,255,.08)}
.stat{
  background:#1E232A;
  position:relative;
}
.stat__num{color:#F2F5F8;font-family:var(--display);font-weight:800}
.stat__u{color:var(--bright)}
.stat__lbl{color:#A9B2BC;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase}

/* ---- tactile card elevation ---- */
.svc-card,.proj-card,.branch-card,.bcard,.arm-card,.cert-card,.sector{
  box-shadow:var(--shadow);
}
.svc-card:hover,.bcard:hover{box-shadow:var(--shadow-hover)}
/* recessed icon housing on service cards */
.svc-card__ic{
  background:var(--page);
  box-shadow:var(--press);
  color:var(--accent);
}

/* ---- buttons: navy primary, quiet ghost ---- */
/* The glow here was rgba(181,69,10,.28) - an orange cast on a navy button, on
   every primary button site-wide, and DESIGN.md rules orange out entirely.
   Removed rather than scoped: a palette the design system forbids is a defect
   wherever it renders, not only in the section that surfaced it. */
.btn--primary{
  background:#1B3E6F;
}
.btn--primary:hover{background:#14315A}
.btn--primary:active{background:#102848}
.btn--ondark{background:#1B3E6F;color:#fff}
.btn--ondark:hover{background:#14315A}

/* ---- verified badge: outline check sits cleaner than a glyph ---- */
.proj-card__badge{letter-spacing:.06em}

/* ---- dark CTA + ink blocks: warm steel, warm grey text ---- */
.block--ink,.footer{background:var(--ink)}
.block--ink{color:#C7CFD8}
.cta__inner p{color:#A9B2BC}

/* ---- footer: neutralize the blue-grey text to warm grey ---- */
.footer{color:#C7CFD8}
.footer a{color:#C7CFD8}
.footer .logo__sub{color:#9AA3AD}
.footer__col h4{color:var(--bright);font-family:var(--mono)}
.footer__col a,.footer__col p{color:#AEB6BF}
.footer__col a:hover,.footer a:hover{color:#fff}
.footer__brand p{color:#9AA3AD}
.footer__bottom{color:#7E8791;font-family:var(--mono)}
.footer__bottom a{color:#7E8791}

/* ---- misc navy → neutral cleanups for coherence ---- */
.gal-item__tag{background:rgba(25,29,35,.80)}
.lightbox::backdrop{background:rgba(16,18,22,.93)}
.skip-link{background:var(--accent)}

/* ---- branch "new" tag uses amber, HQ map pin amber (already wired) ---- */
.branch-card__tag--new{background:var(--amber);border-color:var(--amber)}

/* ====================================================================
   HOME PAGE — rebuilt to match the approved design (GMB Group Home).
   home.mjs emits inline-styled sections; these rules add the pulse
   keyframe, hover states, and responsive grid stacking that inline
   styles can't express. Content is visible by default (no JS gate).
   ==================================================================== */
@keyframes gmbpulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(30,122,76,.55)}50%{opacity:.65;box-shadow:0 0 0 5px rgba(30,122,76,0)}}

/* hover states */
.gmb-cta-accent{transition:transform .14s var(--ease),background .2s}
.gmb-cta-accent:hover{background:var(--accent-bright)}
.gmb-cta-accent:active{transform:translateY(2px)}
.gmb-cta-surface{transition:transform .14s var(--ease),box-shadow .2s}
.gmb-cta-surface:hover{box-shadow:var(--lift)}
.gmb-cta-surface:active{transform:translateY(2px)}
.gmb-hoverlift{transition:transform .25s var(--ease)}
.gmb-hoverlift:hover{transform:translateY(-4px)}
.gmb-dir{transition:color .2s}
.gmb-dir:hover{color:var(--accent)}
.gmb-ghostdark{transition:background .2s}
.gmb-ghostdark:hover{background:rgba(255,255,255,.13)}

/* responsive grids (desktop columns are inline; these stack on smaller screens) */
@media(max-width:900px){
  .gmb-grid-hero{grid-template-columns:1fr}
  .gmb-grid-cap{grid-template-columns:1fr}
  .gmb-grid-svc{grid-template-columns:1fr}
  .gmb-svc-lead{grid-column:auto;grid-template-columns:1fr}
  .gmb-grid-svc > article{grid-column:auto}
  .gmb-grid-branch{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .gmb-grid-arms{grid-template-columns:1fr}
  .gmb-grid-proj{grid-template-columns:1fr}
}
@media(max-width:720px){
  .gmb-grid-stat{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .gmb-grid-branch{grid-template-columns:1fr}
}
