/* ============================================================
   OnSite Emergency Tarping — brand design system (matches logo + sister site)
   Navy #13232f panels · brand blue #29a9e0 accents · fire-red #c4151c CALL CTAs.
   Blue = brand/trust, Red = urgent action (ties to the logo's fire).
   Type: Big Shoulders Display (condensed industrial) + IBM Plex Sans
   ============================================================ */

:root {
  --ink: #0b151d;          /* darkest — page dark / deepest panel */
  --navy: #13232f;         /* brand navy — header, panels */
  --navy-2: #0a141c;       /* darker panel step */
  --navy-light: #21414f;   /* lifted navy for gradients */
  --blue: #29a9e0;         /* vivid brand blue — decorative/accents on dark */
  --blue-hi: #4fbceb;
  --blue-cta: #0e7cb5;     /* blue fill w/ white text (AA) */
  --blue-ink: #0c6a9c;     /* blue text/links on light (AA) */
  --red: #e11e26;          /* fire/emergency red accent */
  --red-cta: #c4151c;      /* red fill w/ white text (AA) — CALL buttons */
  --red-hi: #a2121a;
  /* legacy names kept so existing rules resolve — repurposed to the blue system */
  --hazard: var(--blue);       /* accent on DARK (kickers, stat nums, icons) */
  --hazard-hi: var(--blue-hi);
  --orange: var(--blue-ink);   /* accent on LIGHT (step numbers) */
  --orange-deep: var(--blue-ink); /* links/accents on light */
  --paper: #f3f7fa;        /* cool light bg */
  --paper-2: #e6f3fb;      /* blue-tinted light */
  --line: #d5e0e6;
  --text: #1f2c34;
  --text-soft: #48575f;
  --text-inv: #e6f2fa;
  --text-inv-soft: #9fb4c0;
  --header-bg: var(--navy);
  --radius: 6px;
  --shadow: 0 12px 32px rgba(11, 21, 29, 0.18);
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.04;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; }

p + p { margin-top: 1em; }

a { color: var(--orange-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--red-cta); color: #fff; padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- hazard stripe motif (signature) ---------- */
.stripe, .cta-banner::before, .mobile-bar::before {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--red) 0 14px,
    var(--ink) 14px 28px
  );
}
.stripe { height: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.btn:active { transform: translateY(1px); }

.btn-hazard { background: var(--red-cta); color: #fff; }
.btn-hazard:hover { background: var(--red-hi); color: #fff; }

.btn-dark { background: var(--ink); color: var(--text-inv); }
.btn-dark:hover { background: var(--navy); color: #fff; }

.btn-ghost-light { background: transparent; color: var(--text-inv); border-color: var(--text-inv-soft); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }

/* inverse-context variants (Rule 12 — specificity, no !important) */
.sidebar-card.dark .btn-hazard { background: var(--red-cta); color: #fff; }
.cta-banner .btn-hazard { background: var(--red-cta); color: #fff; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--ink); color: var(--text-inv-soft); font-size: 0.86rem; }
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.trust-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.trust-item svg { width: 15px; height: 15px; fill: var(--hazard); flex: none; }
a.trust-item { color: var(--text-inv); text-decoration: none; font-weight: 600; }
a.trust-item:hover { color: var(--hazard); }
.trust-call { font-weight: 700; }

/* ---------- header ---------- */
header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img { height: 56px; width: auto; }

.nav-desktop > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-desktop > ul > li { position: relative; }
.nav-desktop > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-inv);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 13px;
  border-radius: 4px;
}
.nav-desktop > ul > li > a:not(.nav-call):hover { color: var(--hazard); }
.nav-desktop .chev { width: 15px; height: 15px; fill: currentColor; }

.nav-cta { margin-left: 6px; }
.nav-call {
  background: var(--red-cta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 18px;
}
.nav-call svg { width: 16px; height: 16px; fill: currentColor; }
.nav-call:hover { background: var(--red-hi); color: #fff; }

/* dropdowns */
.has-sub .sub {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity 0.15s ease, translate 0.15s ease, visibility 0.15s;
  z-index: 210;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub { opacity: 1; visibility: visible; translate: 0 0; }
.sub a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
}
.sub a:hover { background: var(--paper); color: var(--orange-deep); }

/* burger */
#burger {
  display: none;
  width: 46px;
  height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  color: var(--text-inv);
}
#burger span {
  display: block;
  position: absolute;
  left: 10px;
  width: 26px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}
#burger span:nth-child(1) { top: 14px; }
#burger span:nth-child(2) { top: 22px; }
#burger span:nth-child(3) { top: 30px; }
#burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
#burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile nav (inside header — Rule 16) */
.nav-mobile { display: none; background: var(--navy-2); }
.nav-mobile ul { list-style: none; }
.nav-mobile.open { display: block; max-height: calc(100vh - 80px); overflow-y: auto; }
.nav-mobile > ul { padding: 8px 0 14px; }
.nav-mobile a {
  display: block;
  color: var(--text-inv);
  text-decoration: none;
  font-weight: 600;
  padding: 13px 22px;
  min-height: 44px;
}
.nav-mobile a:hover { color: var(--hazard); }
.m-row { display: flex; align-items: center; }
.m-row > a { flex: 1; }
.m-toggle {
  width: 52px;
  min-height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-inv);
}
.m-toggle svg { width: 22px; height: 22px; fill: currentColor; transition: transform 0.2s ease; }
.m-has-sub.expanded .m-toggle svg { transform: rotate(180deg); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; background: rgba(0, 0, 0, 0.25); }
.m-has-sub.expanded .m-sub { max-height: 420px; }
.m-sub a { padding-left: 38px; font-weight: 400; font-size: 0.95rem; }
.m-call a {
  margin: 10px 22px 0;
  background: var(--red-cta);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.m-call a:hover { background: var(--red-hi); color: #fff; }

/* ---------- home hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-inv);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 92px 22px 100px;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 23, 28, 0.94) 30%, rgba(23, 45, 54, 0.55) 75%, rgba(14, 23, 28, 0.35));
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hazard);
  margin-bottom: 18px;
}
.hero-kicker .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 30, 38, 0.55); }
  55% { box-shadow: 0 0 0 9px rgba(225, 30, 38, 0); }
}
.hero h1 { color: #fff; max-width: 780px; }
.hero .hero-sub {
  max-width: 620px;
  margin: 22px 0 30px;
  font-size: 1.15rem;
  color: var(--text-inv-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 0.92rem; color: var(--text-inv-soft); }
.hero-note a { color: var(--text-inv); }

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker, .hero h1, .hero .hero-sub, .hero-actions, .hero-note {
    animation: rise 0.55s ease both;
  }
  .hero h1 { animation-delay: 0.08s; }
  .hero .hero-sub { animation-delay: 0.16s; }
  .hero-actions { animation-delay: 0.24s; }
  .hero-note { animation-delay: 0.32s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- stats bar (Rule 14 — one row at every viewport) ---------- */
.stats-bar { background: var(--navy); color: var(--text-inv); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--hazard);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--text-inv-soft); margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-dark { background: var(--ink); color: var(--text-inv); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--text-inv-soft); }
.section-alt { background: var(--paper-2); }
.section-kicker {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 10px;
}
.section-dark .section-kicker { color: var(--hazard); }
.section-dark p a:not(.btn) { color: var(--hazard); }
.section-dark p a:not(.btn):hover { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--text-soft); }
.section-dark .section-head p { color: var(--text-inv-soft); }

/* ---------- service cards ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--hazard);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-card svg { width: 34px; height: 34px; fill: var(--navy); margin-bottom: 16px; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--text-soft); font-size: 0.97rem; flex: 1; }
.svc-link {
  margin-top: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--orange-deep);
  font-size: 0.95rem;
}
.svc-link::after { content: " \2192"; }
.svc-link:hover { color: var(--ink); }
.section-dark .svc-card { background: var(--navy-2); border-color: rgba(255, 255, 255, 0.08); }
.section-dark .svc-card h3 { color: #fff; }
.section-dark .svc-card p { color: var(--text-inv-soft); }
.section-dark .svc-card svg { fill: var(--hazard); }
.section-dark .svc-link { color: var(--hazard); }
.section-dark .svc-link:hover { color: #fff; }

/* ---------- two-col / split ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.two-col .col-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- feature list ---------- */
.feature-list { list-style: none; margin: 20px 0; }
.feature-list li {
  position: relative;
  padding: 7px 0 7px 34px;
}
.feature-list li svg {
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  fill: var(--orange-deep);
}
.section-dark .feature-list li svg { fill: var(--hazard); }

/* ---------- process steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--text-soft); }
.section-dark .step { background: var(--navy-2); border-color: rgba(255, 255, 255, 0.08); }
.section-dark .step p { color: var(--text-inv-soft); }

/* ---------- page hero (inner pages — Rule 2: no bg URL here) ---------- */
.page-hero {
  position: relative;
  color: var(--text-inv);
  padding: 88px 0 72px;
}
.page-hero h1 { color: #fff; max-width: 860px; }
.page-hero .page-hero-sub {
  max-width: 640px;
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--text-inv);
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  background: var(--navy-2);
  color: var(--text-inv-soft);
  font-size: 0.85rem;
  padding: 10px 0;
}
.breadcrumb a { color: var(--text-inv-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--hazard); }
.breadcrumb .sep { margin: 0 7px; color: var(--text-inv-soft); }

/* ---------- content + sidebar (Rule 13) ---------- */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 48px;
  padding: 64px 22px;   /* keep the side gutter — never 64px 0 */
  max-width: 1180px;
  margin: 0 auto;
}
.content-main h2 { margin: 38px 0 16px; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin: 26px 0 10px; }
.content-main p { color: var(--text); }
.content-main .lede { font-size: 1.12rem; color: var(--text-soft); }
.content-main img { border-radius: var(--radius); margin: 22px 0; }

.sidebar-cta { position: sticky; top: 90px; align-self: start; display: grid; gap: 18px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}
.sidebar-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.sidebar-card p { font-size: 0.93rem; color: var(--text-soft); margin-bottom: 16px; }
.sidebar-card .btn { width: 100%; padding: 13px 10px; font-size: 1.05rem; }
.sidebar-card.dark { background: var(--navy); border-color: var(--navy); }
.sidebar-card.dark h3 { color: #fff; }
.sidebar-card.dark p { color: var(--text-inv-soft); }
.sidebar-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--hazard);
  text-decoration: none;
  margin-bottom: 6px;
}
.sidebar-phone:hover { color: var(--hazard-hi); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 26px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  padding: 17px 20px;
  min-height: 44px;
}
.faq-q svg { width: 20px; height: 20px; fill: var(--orange-deep); flex: none; transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 20px 18px; color: var(--text-soft); font-size: 0.97rem; }
.section-dark .faq-item { background: var(--navy-2); border-color: rgba(255,255,255,0.08); }
.section-dark .faq-q { color: #fff; }
.section-dark .faq-q svg { fill: var(--hazard); }
.section-dark .faq-a p { color: var(--text-inv-soft); }

/* ---------- credibility band (reviews include) ---------- */
.cred-band { background: var(--paper-2); padding: 72px 0; border-top: 1px solid var(--line); }
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.cred-item svg { width: 30px; height: 30px; fill: var(--orange-deep); margin-bottom: 12px; }
.cred-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cred-item p { font-size: 0.92rem; color: var(--text-soft); }
.cred-cta { text-align: center; margin-top: 40px; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; background: var(--navy); color: var(--text-inv); }
.cta-banner::before { content: ""; display: block; height: 8px; }
.cta-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cta-kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hazard);
  margin-bottom: 8px;
}
.cta-title { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- forms ---------- */
.lead-form { display: grid; gap: 14px; }
.lead-form label { font-weight: 600; font-size: 0.92rem; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  min-height: 44px;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid var(--hazard);
  outline-offset: 1px;
  border-color: var(--navy);
}
.lead-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .hp { display: none; }
.lead-form button { border: 0; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--text-inv-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 44px;
}
.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--text-inv-soft); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--hazard); }
.footer-brand img { height: 62px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; }
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hazard);
  text-decoration: none;
}
.footer-phone:hover { color: var(--hazard-hi); }
.footer-hours { font-size: 0.88rem; }
.footer-social { margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}
.footer-social a:hover { border-color: var(--hazard); }
.footer-social svg { width: 19px; height: 19px; fill: var(--text-inv); }
.footer-social a:hover svg { fill: var(--hazard); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; font-size: 0.85rem; }
.footer-bottom a { color: var(--text-inv-soft); }
.footer-bottom a:hover { color: var(--hazard); }

/* ---------- mobile sticky bar / desktop corner widget (Rules 10 + 24) ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 190;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mobile-bar svg { width: 17px; height: 17px; fill: currentColor; }
.mobile-bar-quote { background: var(--navy); color: var(--text-inv); }
.mobile-bar-quote:hover { background: var(--navy-2); color: #fff; }
.mobile-bar-call { background: var(--red-cta); color: #fff; }
.mobile-bar-call:hover { background: var(--red-hi); color: #fff; }

@media (min-width: 901px) {
  .mobile-bar {
    left: auto;
    right: 26px;
    bottom: 26px;
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding-bottom: 0;
  }
  .mobile-bar::before { display: none; }
  footer { padding-bottom: 0; }
}
@media (max-width: 900px) {
  footer { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }  /* Rule 24: clearance on same-color footer */
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav-desktop > ul { gap: 0; }
  .nav-desktop > ul > li > a { padding: 10px 9px; font-size: 0.92rem; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  #burger { display: block; }
  .nav-mobile { display: none; }
  .nav-mobile.open { display: block; }
  /* Rule 25 — reset desktop dropdown transform in EVERY state */
  .has-sub .sub,
  .has-sub:hover .sub,
  .has-sub:focus-within .sub { transform: none; }

  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .content-wrap { grid-template-columns: 1fr; gap: 34px; }
  .sidebar-cta { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .trust-strip { display: none; }   /* Rule 11 */
  .logo img { height: 48px; }
  .section { padding: 56px 0; }
  .hero-inner { padding: 64px 22px 72px; }
  /* Rule 14 — stats stay one row, fonts shrink */
  .stats-inner { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .stat-num { font-size: 1.35rem; }
  .stat-label { font-size: 0.68rem; }
}

@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .lead-form .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; text-align: center; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
