/* =====================================================================
   XpressGuards — High-Converting Landing Page
   Theme: navy-charcoal (lighter than PrimeGuards), authoritative.
   Brand: #1e56f8 (logo blue) / black / off-white #f6f6f1
   NOTE: token names kept from the PrimeGuards template (--red = brand
   accent) so every component re-themes from values alone.
   ===================================================================== */

/* ----------------------------- TOKENS ----------------------------- */
:root {
  /* Surfaces — navy charcoal, deliberately a step lighter than PrimeGuards */
  --bg:        #151a26;
  --bg-2:      #1b2130;
  --bg-3:      #222a3c;
  --bg-4:      #2b3448;
  --line:      #2d3547;
  --line-2:    #3d475f;

  /* Ink */
  --ink:       #f6f7f9;
  --muted:     #b9c0cd;
  --muted-2:   #8e95a5;

  /* Brand blue (token names unchanged from template) */
  --red:       #1e56f8;
  --red-hi:    #4270fa;
  --red-lo:    #1443d6;
  --red-lite:  #7d9cff;              /* text-safe blue on dark grounds */
  --red-dim:   rgba(30, 86, 248, 0.14);
  --red-glow:  rgba(30, 86, 248, 0.38);

  /* Teal = "talk to a human" (call CTAs), textured like the blue buttons */
  --call:      #10a99c;
  --call-hi:   #19c4b4;
  --call-lo:   #0b857b;
  --call-glow: rgba(16, 169, 156, 0.42);

  /* Off-white ground (light sections) + black */
  --paper:     #f8f5ee;
  --paper-2:   #fffdf8;
  --paper-line:#e9e4d7;
  --paper-ink: #0c0e13;
  --paper-soft:#4c525c;
  --black:     #0a0c11;

  /* Signature grain texture (layered over brand-blue surfaces + CTAs) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.14' intercept='0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Effects */
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow:    0 18px 50px -20px rgba(0,0,0,0.65);
  --shadow-red: 0 14px 34px -14px var(--red-glow);
  --ring:      0 0 0 3px rgba(30,86,248,0.45);

  /* Type */
  --font-display: "Chakra Petch", "Avenir Next Condensed", system-ui, sans-serif;
  --font-body:    "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);           /* ease-out-expo-ish */
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* Z-scale (semantic) */
  --z-header: 100;
  --z-float:  200;
  --z-mobilebar: 250;
  --z-modal-backdrop: 400;
  --z-modal: 410;
  --z-toast: 500;

  --wrap: 1200px;
}

/* ----------------------------- RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-toast);
  background: var(--red); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ----------------------------- BUTTONS ----------------------------- */
.btn {
  --btn-bg: var(--bg-4);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em;
  font-weight: 600; font-size: 0.98rem;
  padding: 13px 22px; border: 1px solid transparent; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--ink);
  transition: transform .3s var(--ease), background .25s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn-primary {
  background-color: var(--red);
  background-image: var(--grain), linear-gradient(180deg, var(--red-hi), var(--red-lo));
  color: #fff; box-shadow: var(--shadow-red);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.28) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 18px 42px -12px var(--red-glow); }

.btn-ghost {
  background: transparent; border-color: var(--line-2); color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(245,245,245,0.05); }

.btn-lg { padding: 17px 30px; font-size: 1.06rem; }
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* ----------------------------- HEADER (off-white ground, color logo) ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(251,248,241,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), padding .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--paper-line); background: rgba(253,251,246,0.96); }
.site-header .header-phone { color: var(--paper-ink); }
.site-header .phone-text small { color: var(--paper-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; transition: padding .3s var(--ease); }
.site-header.scrolled .header-inner { padding: 10px 0; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; }
.pg-shield { fill: #10141d; stroke: var(--red); stroke-width: 2; }
.pg-roof { fill: var(--red); }
.pg-check { fill: var(--ink); }
.pg-p { fill: var(--red); font: 700 13px var(--font-display); }
.pg-g { fill: var(--ink); font: 700 12px var(--font-display); }
.brand-word { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.02em; color: var(--ink); text-transform: uppercase; }
.brand-word b { font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.header-phone svg { color: var(--red); flex: none; }
.phone-text { display: flex; flex-direction: column; line-height: 1.1; }
.phone-text small { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.phone-text strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.01em; }

/* ----------------------------- HERO ----------------------------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(30,86,248,0.18), transparent 60%),
    radial-gradient(760px 480px at 6% 12%, rgba(61,71,95,0.5), transparent 62%),
    linear-gradient(180deg, #171d2b 0%, #12161f 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.14;
  mask-image: radial-gradient(circle at 60% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 60% 30%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 60px); align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 15px; margin-bottom: 22px;
  background: rgba(255,255,255,0.02);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--red-glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero-title {
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.02em;
  text-wrap: balance; margin-bottom: 18px;
}
.hero-title .accent { color: var(--red); }
.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 60ch; text-wrap: pretty; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 24px 0 26px; }
.hero-trust li {
  font-family: var(--font-display); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--ink); padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 8px;
  background: rgba(255,255,255,0.02); position: relative; padding-left: 26px;
}
.hero-trust li::before { content: "✓"; position: absolute; left: 11px; color: var(--red); font-weight: 700; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-microcopy { margin-top: 14px; font-size: 0.9rem; color: var(--muted-2); }

/* Hero form card */
.hero-form-card {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow); position: relative;
}
.hero-form-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1px;
  background: linear-gradient(160deg, var(--red-glow), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.hero-form-head h2 { font-size: 1.55rem; text-transform: uppercase; letter-spacing: 0.01em; }
.hero-form-head p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; margin-bottom: 18px; }

/* ----------------------------- FIELDS ----------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 12px 13px; font-family: inherit; font-size: 0.98rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: var(--ring); background: #10141d;
}
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23b8b8b8' d='M6 8 1.5 3.5 2.9 2 6 5.2 9.1 2l1.4 1.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 12px; padding-right: 34px;
}
.field.invalid input, .field.invalid select { border-color: var(--red-hi); box-shadow: 0 0 0 3px rgba(66,112,250,0.22); }
.form-legal { font-size: 0.82rem; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.quick-form .btn { margin-top: 4px; }

/* ----------------------------- TRUST BAR ----------------------------- */
.trust-bar { background: linear-gradient(180deg, #10141d, var(--bg)); border-block: 1px solid var(--line); }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.tb-item { padding: 26px 14px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.tb-item + .tb-item::before { content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: var(--line); }
.tb-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--red); letter-spacing: 0.01em; line-height: 1; }
.tb-label { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ----------------------------- SECTIONS ----------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.85rem); text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; max-width: 22ch; }
.problem .section-title, .why-head .section-title { max-width: 24ch; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 70ch; margin-top: 16px; text-wrap: pretty; }
.section-lead strong { color: var(--ink); }
.center-cta { text-align: center; margin-top: 46px; }

/* Reveal animation base (content visible by default; enhance) */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ----------------------------- IMMEDIATE PROOF ----------------------------- */
.proof-strip { background: var(--bg); }
.proof-grid { list-style: none; padding: 0; margin: 42px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.proof-grid li { background: linear-gradient(180deg, var(--bg-2), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.proof-grid li:hover { border-color: var(--line-2); transform: translateY(-3px); }
.proof-grid .pi { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--red-dim); color: var(--red); font-size: 1.15rem; margin-bottom: 14px; }
.proof-grid h3 { font-size: 1.16rem; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 7px; }
.proof-grid p { color: var(--muted); font-size: 0.96rem; }

/* ----------------------------- PROBLEM ----------------------------- */
.problem { background: linear-gradient(180deg, var(--bg), #10141d); }
.problem-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.problem-copy p { color: var(--muted); margin-top: 16px; max-width: 56ch; }
.problem-copy .btn { margin-top: 26px; }
.pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pain-list li {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px 16px 48px; position: relative; color: var(--ink); font-weight: 500;
}
.pain-list li::before {
  content: "!"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 6px; background: var(--red); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
}

/* ----------------------------- SERVICES ----------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 42px; }
.service-card {
  text-align: left; background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  color: var(--ink); display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--red);
  transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleY(1); }
.service-card:focus-visible { outline: none; box-shadow: var(--ring); }
.svc-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--red-dim); color: var(--red); font-size: 1.2rem; font-weight: 700; }
.service-card h3 { font-size: 1.12rem; text-transform: uppercase; letter-spacing: 0.01em; }
.service-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.svc-go { font-family: var(--font-display); text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.05em; color: var(--red); margin-top: 4px; transition: gap .25s; }
.service-card--cta { background: linear-gradient(160deg, var(--red), var(--red-lo)); border-color: transparent; }
.service-card--cta .svc-ico { background: rgba(255,255,255,0.18); color: #fff; }
.service-card--cta p { color: rgba(255,255,255,0.9); }
.service-card--cta .svc-go, .service-card--cta h3 { color: #fff; }

/* ----------------------------- HOW ----------------------------- */
.how { background: var(--bg); }
.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step-n { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--red); line-height: 1; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.14rem; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.94rem; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 34px; color: var(--line-2); font-size: 1.3rem; z-index: 1; }

/* ----------------------------- WHY ----------------------------- */
.why { background: linear-gradient(180deg, #10141d, var(--bg)); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.why-head { position: sticky; top: 110px; }
.why-head .btn { margin-top: 24px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-list li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.why-list li:hover { border-color: var(--red); transform: translateY(-3px); }
.why-list h3 { font-size: 1.08rem; text-transform: uppercase; margin-bottom: 7px; color: var(--ink); }
.why-list p { color: var(--muted); font-size: 0.92rem; }

/* ----------------------------- INDUSTRIES ----------------------------- */
.industries { background: var(--bg); }
.ind-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ind {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.98rem;
  padding: 15px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); color: var(--ink);
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease); cursor: default;
}
.ind:hover { border-color: var(--red); color: #fff; background: var(--red-dim); }

/* ----------------------------- TESTIMONIALS ----------------------------- */
.testimonials { background: linear-gradient(180deg, var(--bg), #10141d); }
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 42px; }
.test-card { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: #fbbc05; letter-spacing: 2px; font-size: 1.05rem; }
.test-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.test-card figcaption { color: var(--muted); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: auto; }
.test-card--cta { background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); align-items: flex-start; justify-content: center; gap: 18px; border-color: var(--line-2); }
.tc-cta-copy { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; line-height: 1.15; }
.disclaimer { color: var(--muted-2); font-size: 0.82rem; margin-top: 22px; max-width: 80ch; }

/* ----------------------------- MAP ----------------------------- */
.map-section { background: var(--bg); }
.map-shell { margin-top: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.service-map { width: 100%; height: 520px; background: #10141d; }
.map-legend { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--bg-2); flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.92rem; }
.lg-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-dim); }
.state-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.state-chips li { font-size: 0.86rem; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 7px 13px; background: var(--bg-2); }

/* Leaflet dark tuning + custom marker */
.leaflet-container { background: #10141d !important; font-family: var(--font-body) !important; }
.leaflet-popup-content-wrapper { background: var(--bg-3); color: var(--ink); border-radius: 12px; border: 1px solid var(--line-2); }
.leaflet-popup-tip { background: var(--bg-3); border: 1px solid var(--line-2); }
.leaflet-popup-content { margin: 14px 16px; }
.leaflet-popup-content b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; }
.leaflet-popup-content .pop-btn { display: inline-block; margin-top: 10px; background: var(--red); color: #fff; font-family: var(--font-display); text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.04em; padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.leaflet-bar a, .leaflet-control-zoom a { background: var(--bg-3) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-bar a:hover { background: var(--bg-4) !important; }
.pg-pin { filter: drop-shadow(0 3px 5px rgba(0,0,0,0.6)); }
.pg-pin span { display: block; width: 16px; height: 16px; background: var(--red); border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.pg-pin::after { content: ""; }

/* ----------------------------- QUOTE ----------------------------- */
.quote { background: linear-gradient(180deg, #10141d, var(--bg)); }
.quote-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.quote-copy p { color: var(--muted); margin-top: 16px; max-width: 46ch; }
.quote-assure { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 11px; }
.quote-assure li { position: relative; padding-left: 30px; color: var(--ink); }
.quote-assure li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.quote-callout {
  display: flex; flex-direction: column; gap: 3px; padding: 18px 22px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.quote-callout:hover { border-color: var(--red); transform: translateY(-2px); }
.quote-callout span { color: var(--muted); font-size: 0.9rem; }
.quote-callout strong { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; color: var(--ink); }
.full-form { background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }

/* ----------------------------- FAQ ----------------------------- */
.faq { background: var(--bg); }
.faq-wrap { max-width: 860px; }
.faq-list { margin-top: 38px; display: grid; gap: 12px; }
.faq-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease); }
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 54px 20px 22px; position: relative;
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.08rem; letter-spacing: 0.01em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red); font-family: var(--font-body); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { color: var(--muted); }

/* ----------------------------- FINAL CTA ----------------------------- */
.final-cta { background: linear-gradient(160deg, #1a2030, #10141d); position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 50% 120%, rgba(30,86,248,0.26), transparent 60%);
}
.final-inner { position: relative; text-align: center; max-width: 780px; margin-inline: auto; }
.final-inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; }
.final-inner > p { color: var(--muted); margin: 18px auto 0; max-width: 60ch; font-size: 1.08rem; }
.final-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.final-micro { color: var(--muted-2); font-size: 0.9rem; margin-top: 16px; }

/* ----------------------------- FOOTER ----------------------------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; padding: 42px 0 30px; }
.footer-brand .brand-word { font-size: 1.4rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.footer-contact a:hover { color: var(--red); }
.footer-legal { display: flex; flex-direction: column; gap: 6px; color: var(--muted-2); font-size: 0.86rem; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; }
.footer-copy { border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted-2); font-size: 0.84rem; }

/* ----------------------------- FLOATING FABS (bottom-right) ----------------------------- */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-float); display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  border: 1px solid transparent; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em;
  font-weight: 600; color: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.02); }
.fab-call { background: var(--bg-4); border-color: var(--line-2); }
.fab-call:hover { border-color: var(--ink); }
.fab-quote { background: linear-gradient(180deg, var(--red-hi), var(--red)); box-shadow: var(--shadow-red); animation: fabpop 3.6s var(--ease) infinite; }
@keyframes fabpop { 0%,100% { box-shadow: var(--shadow-red); } 50% { box-shadow: 0 16px 40px -8px var(--red-glow); } }
.fab-label { font-size: 0.92rem; }

/* ----------------------------- GOOGLE REVIEWS (bottom-left) ----------------------------- */
.greview {
  position: fixed; left: 22px; bottom: 22px; z-index: var(--z-float); width: 290px;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px 16px 14px;
  box-shadow: var(--shadow); transform: translateY(0); transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.greview.hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.greview-close { position: absolute; top: 8px; right: 10px; background: none; border: none; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.greview-close:hover { color: var(--ink); }
.greview-head { display: flex; align-items: center; gap: 11px; }
.g-logo { width: 34px; height: 34px; display: grid; place-items: center; background: #fff; border-radius: 8px; flex: none; }
.greview-head strong { font-size: 0.95rem; }
.greview-rating { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.greview-rating .stars { font-size: 0.9rem; letter-spacing: 1px; }
.greview-rating b { color: var(--ink); }
.greview-rating small { color: var(--muted); }
.greview-quote { color: var(--muted); font-size: 0.88rem; margin: 12px 0 10px; font-style: italic; min-height: 2.6em; transition: opacity .4s var(--ease); }
.greview-link { font-family: var(--font-display); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--red); }

/* ----------------------------- MOBILE BAR ----------------------------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar); display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,12,14,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mb-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; border-radius: 12px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; border: 1px solid var(--line-2); color: var(--ink); background: var(--bg-3); }
.mb-quote { background: linear-gradient(180deg, var(--red-hi), var(--red)); color: #fff; border-color: transparent; }

/* ----------------------------- MODALS ----------------------------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-overlay { position: fixed; inset: 0; z-index: var(--z-modal-backdrop); background: rgba(6,7,9,0.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.modal.open .modal-overlay { opacity: 1; }
.modal-panel {
  position: relative; z-index: var(--z-modal); width: min(680px, 100%); max-height: 92vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
  transform: translateY(24px) scale(0.98); opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.modal.open .modal-panel { transform: none; opacity: 1; }
.modal-close { position: absolute; top: 14px; right: 16px; background: var(--bg-4); border: 1px solid var(--line); color: var(--ink); width: 36px; height: 36px; border-radius: 9px; font-size: 1.3rem; line-height: 1; display: grid; place-items: center; transition: background .2s, transform .2s; }
.modal-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.modal-head { margin-bottom: 22px; }
.modal-head h2 { font-size: 1.7rem; text-transform: uppercase; }
.modal-head p { color: var(--muted); margin-top: 8px; }

/* Promo modal */
.promo-panel { text-align: center; max-width: 540px; }
.promo-flag { display: inline-block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--red); border: 1px solid var(--red); border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; }
.promo-panel h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); text-transform: uppercase; text-wrap: balance; }
.promo-panel > p { color: var(--muted); margin: 12px auto 24px; max-width: 44ch; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.promo-dismiss { display: block; margin: 18px auto 0; background: none; border: none; color: var(--muted-2); font-size: 0.86rem; text-decoration: underline; text-underline-offset: 3px; }
.promo-dismiss:hover { color: var(--muted); }

/* ----------------------------- TOAST ----------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 140%); z-index: var(--z-toast);
  background: #0e2b16; border: 1px solid #1f6b38; color: #d7f5e1; padding: 15px 22px; border-radius: 12px;
  font-weight: 600; box-shadow: var(--shadow); transition: transform .5s var(--ease); max-width: 90vw; text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ----------------------------- RESPONSIVE ----------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-form-card { order: 2; }
  .why-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-phone .phone-text small { display: none; }
  .header-phone { gap: 6px; }
  .header-cta { display: none; }
  .brand-word { font-size: 1.3rem; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .tb-item:nth-child(3)::before, .tb-item:nth-child(2)::before { content: none; }
  .tb-item:nth-child(odd)::before { content: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .service-map { height: 400px; }

  /* Floating stack: hide desktop FABs + review widget behind mobile bar */
  .fab-stack { display: none; }
  .greview { left: 12px; right: 12px; bottom: 78px; width: auto; }
  .mobile-bar { display: flex; }
  .final-cta, .footer-copy { padding-bottom: 90px; }
  .site-footer { padding-bottom: 70px; }
  .modal { padding: 12px; align-items: flex-end; }
  .modal-panel { padding: 24px 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* Body scroll lock when modal open */
body.modal-lock { overflow: hidden; }

/* =====================================================================
   V2 — real assets: announce bar, logos, video hero, light sections,
   photo backdrops, team/about section
   ===================================================================== */

/* ---------- Announce / nav banner (centered) ---------- */
.announce { background-color: var(--red); background-image: var(--grain), linear-gradient(90deg, var(--red-lo), var(--red) 55%, var(--red-lo)); border-bottom: 1px solid rgba(0,0,0,0.25); }
.announce-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 8px 0; transition: padding .3s var(--ease), font-size .3s var(--ease);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.09em;
  font-size: 0.82rem; font-weight: 500; color: #fff;
}
.announce-inner .live-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
.site-header.scrolled .announce-inner { padding: 4px 0; font-size: 0.72rem; }

/* ---------- Real logo images ---------- */
.brand-logo { height: 38px; width: auto; display: block; transition: height .3s var(--ease); }
.site-header.scrolled .brand-logo { height: 32px; }
.footer-logo { height: 42px; width: auto; }
.brand-callout { height: 34px; width: auto; margin-bottom: 18px; }
.team-logo { height: 54px; width: auto; }
.promo-mark { width: 64px; height: 64px; object-fit: contain; padding: 9px; background: #f5f5f5; border-radius: 15px; margin: 0 auto 12px; display: block; }

/* ---------- Video hero ---------- */
.hero { min-height: 90vh; display: flex; align-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  /* Scrim only where the copy sits (left); let the footage read on the right + edges */
  background:
    linear-gradient(90deg, rgba(8,9,11,0.80) 0%, rgba(8,9,11,0.55) 38%, rgba(8,9,11,0.20) 70%, rgba(8,9,11,0.10) 100%),
    linear-gradient(180deg, rgba(8,9,11,0.35) 0%, rgba(8,9,11,0) 30%, rgba(8,9,11,0.45) 100%);
}
.hero .hero-bg { z-index: 0; }
.hero-grid { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* ---------- Photo-backdrop sections ---------- */
.section--photo { position: relative; background: #10141d; isolation: isolate; }
.section--photo > .wrap { position: relative; z-index: 2; }
.bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bg-photo--right { object-position: right center; }
.bg-photo--left  { object-position: left center; }
.bg-photo--dim   { opacity: 0.55; }
.bg-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(11,12,14,0.82); }
.bg-overlay--right, .bg-overlay--left { background: linear-gradient(90deg, rgba(11,12,14,0.94) 42%, rgba(11,12,14,0.52) 100%); }
.bg-overlay--team  { background: linear-gradient(180deg, rgba(11,12,14,0.72) 0%, rgba(11,12,14,0.90) 100%); }
.bg-overlay--heavy { background: rgba(11,12,14,0.90); }
.bg-overlay--final { background: linear-gradient(180deg, rgba(11,12,14,0.80), rgba(11,12,14,0.92)); }

/* ---------- Team / About ---------- */
.team-about { text-align: center; }
.team-inner { max-width: 840px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.team-about .section-title { max-width: 20ch; }
.team-lead { color: var(--muted); max-width: 66ch; }
.team-values { list-style: none; padding: 0; margin: 10px 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; }
.team-values li { background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.team-values strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.08rem; color: #fff; letter-spacing: 0.01em; }
.team-values span { color: var(--muted); font-size: 0.86rem; }

/* =====================================================================
   LIGHT SECTION THEME  (var(--paper) base, dark ink) — alternating band
   ===================================================================== */
.section--light { background: var(--paper); color: var(--paper-ink); }
.section--light .section-title { color: var(--paper-ink); }
.section--light .section-lead { color: var(--paper-soft); }
.section--light .section-lead strong { color: var(--paper-ink); }

.section--light .proof-grid li { background: #fff; border-color: var(--paper-line); }
.section--light .proof-grid li:hover { border-color: #d9d9cf; }
.section--light .proof-grid h3 { color: var(--paper-ink); }
.section--light .proof-grid p { color: var(--paper-soft); }

.section--light .service-card { background: #fff; border-color: var(--paper-line); color: var(--paper-ink); }
.section--light .service-card h3 { color: var(--paper-ink); }
.section--light .service-card p { color: var(--paper-soft); }
.section--light .service-card:hover { box-shadow: 0 20px 44px -24px rgba(0,0,0,0.4); border-color: #d9d9cf; }
.section--light .service-card--cta { background: linear-gradient(160deg, var(--red), var(--red-lo)); border-color: transparent; }
.section--light .service-card--cta h3, .section--light .service-card--cta p, .section--light .service-card--cta .svc-go { color: #fff; }
.section--light .service-card--cta .svc-ico { background: rgba(255,255,255,0.18); color: #fff; }

.section--light .why-list li { background: #fff; border-color: var(--paper-line); }
.section--light .why-list li:hover { border-color: var(--red); }
.section--light .why-list h3 { color: var(--paper-ink); }
.section--light .why-list p { color: var(--paper-soft); }
.section--light .btn-ghost { border-color: #c9c9bf; color: var(--paper-ink); }
.section--light .btn-ghost:hover { border-color: var(--paper-ink); background: rgba(0,0,0,0.04); }

.section--light .ind { background: #fff; border-color: var(--paper-line); color: var(--paper-ink); }
.section--light .ind:hover { border-color: var(--red); color: var(--red); background: var(--red-dim); }

.section--light .map-shell { background: #fff; border-color: var(--paper-line); box-shadow: 0 20px 50px -28px rgba(0,0,0,0.35); }
.section--light .map-legend { background: #fff; border-top-color: var(--paper-line); }
.section--light .map-legend span { color: var(--paper-soft); }
.section--light .state-chips li { background: #fff; border-color: var(--paper-line); color: var(--paper-soft); }

.section--light .faq-item { background: #fff; border-color: var(--paper-line); }
.section--light .faq-item[open] { border-color: #d9d9cf; }
.section--light .faq-item summary { color: var(--paper-ink); }
.section--light .faq-body p { color: var(--paper-soft); }

/* ---------- Responsive tweaks for V2 ---------- */
@media (max-width: 1024px) {
  .team-values { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 720px) {
  .announce-inner { font-size: 0.62rem; letter-spacing: 0.05em; gap: 7px; }
  .site-header.scrolled .announce-inner { font-size: 0.58rem; }
  .brand-logo { height: 30px; }
  .site-header.scrolled .brand-logo { height: 28px; }
  .hero { min-height: 0; }
  .team-logo { height: 42px; }
  .bg-photo--right, .bg-photo--left { object-position: center; }
  .bg-overlay--right, .bg-overlay--left { background: rgba(11,12,14,0.88); }
  /* Full-width copy over video needs a more even scrim on small screens */
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8,9,11,0.78) 0%, rgba(8,9,11,0.55) 60%, rgba(8,9,11,0.42) 100%),
      linear-gradient(180deg, rgba(8,9,11,0.30) 0%, rgba(8,9,11,0) 35%, rgba(8,9,11,0.40) 100%);
  }
}

/* =====================================================================
   V3 — Google-style review widget (white) + named testimonials
   ===================================================================== */
.greview { background: #ffffff; border: 1px solid var(--paper-line); box-shadow: 0 18px 50px -18px rgba(0,0,0,0.5); }
.greview-close { color: #9aa0a6; }
.greview-close:hover { color: #202124; }
.greview-head strong { color: #202124; font-size: 0.95rem; }
.greview-rating b { color: #202124; }
.greview-rating small { color: #5f6368; }
.greview-rating .stars { color: #fbbc05; }

.greview-author { display: flex; align-items: center; gap: 9px; margin-top: 13px; }
.greview-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, var(--red-hi), var(--red)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  transition: opacity .4s var(--ease);
}
.greview-name { color: #202124; font-weight: 600; font-size: 0.9rem; transition: opacity .4s var(--ease); }
.greview-stars { font-size: 0.82rem; letter-spacing: 1px; margin-left: auto; }
.greview-quote { color: #3c4043; font-style: normal; }
.greview-link { color: var(--red); }

/* Named testimonial cards */
.test-head { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, var(--red-hi), var(--red)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.test-card figcaption { color: var(--ink); font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-size: 1.05rem; margin: 0; }
.test-src { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--muted); text-transform: none; letter-spacing: 0; }
.test-src .stars { font-size: 0.86rem; letter-spacing: 1px; }
.test-card blockquote { font-size: 1rem; }

/* =====================================================================
   V4 — compact review widget + minimize-to-pill + team gallery
   ===================================================================== */
/* Container is now just an anchor; the card holds the visual styling */
.greview {
  position: fixed; left: 20px; bottom: 20px; z-index: var(--z-float);
  background: transparent; border: 0; box-shadow: none; padding: 0; width: auto;
}
.greview-card {
  position: relative; width: 216px;
  background: #fff; border: 1px solid var(--paper-line); border-radius: 13px;
  padding: 12px 13px 11px; box-shadow: 0 16px 44px -18px rgba(0,0,0,0.55);
  transform-origin: bottom left; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.greview.min .greview-card { opacity: 0; transform: scale(0.8); pointer-events: none; position: absolute; }
.greview-card .g-logo { width: 26px; height: 26px; border-radius: 7px; }
.greview-head { gap: 9px; }
.greview-head strong { font-size: 0.82rem; }
.greview-rating { font-size: 0.76rem; gap: 5px; }
.greview-rating .stars { font-size: 0.78rem; }
.greview-close { top: 6px; right: 8px; font-size: 1.05rem; }
.greview-author { margin-top: 10px; gap: 7px; }
.greview-avatar { width: 26px; height: 26px; font-size: 0.8rem; }
.greview-name { font-size: 0.8rem; }
.greview-stars { font-size: 0.74rem; }
.greview-quote { font-size: 0.78rem; line-height: 1.45; margin: 9px 0 8px; min-height: 0; }
.greview-link { font-size: 0.72rem; }

/* Minimized pill */
.greview-pill { display: none; }
.greview.min .greview-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--paper-line); border-radius: 999px; padding: 9px 15px;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.5); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: greviewIn .3s var(--ease);
}
@keyframes greviewIn { from { opacity: 0; transform: translateY(8px) scale(0.9); } to { opacity: 1; transform: none; } }
.greview-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(0,0,0,0.55); }
.greview-pill .g-logo { width: 20px; height: 20px; background: transparent; }
.greview-pill-text { font-size: 0.82rem; color: #202124; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.greview-pill-text b { color: #202124; }
.greview-pill-text .stars { color: #fbbc05; font-size: 0.82rem; letter-spacing: 0; }

/* =====================================================================
   V5 — A2P 10DLC compliance: consent blocks, compliance footer, legal pages
   ===================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Consent checkboxes — unchecked, optional, legible (never grey-on-grey) */
.consent-block { border: 0; padding: 0; margin: 18px 0 6px; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.consent-row input[type="checkbox"] {
  margin-top: 3px; flex: none; width: 17px; height: 17px;
  accent-color: var(--red); cursor: pointer;
}
.consent-row label { font-size: 0.8rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent-row input[type="checkbox"]:focus-visible { outline: none; box-shadow: var(--ring); }
/* Consent text on light sections (main quote form sits on a dark card, but guard anyway) */
.section--light .consent-row label { color: var(--paper-soft); }

.form-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.section--light .form-legal a { color: var(--paper-ink); }

/* Compliance footer */
.footer-legal-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); font-size: 0.95rem; margin-top: 12px; }
.footer-dba { color: var(--muted-2); font-size: 0.82rem; margin-top: 4px; max-width: 40ch; }
.footer-address { color: var(--muted); font-size: 0.86rem; font-style: normal; margin-top: 8px; white-space: pre-line; }

/* ---------------- Legal pages (privacy.html / terms.html) ---------------- */
.legal-header { position: sticky; }
.legal-page { background: var(--paper); color: var(--paper-ink); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.legal-wrap { max-width: 820px; }
.legal-page h1 {
  font-family: var(--font-display); text-transform: uppercase; color: var(--paper-ink);
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; line-height: 1.05;
}
.legal-updated { color: #6b7078; font-size: 0.9rem; margin-top: 10px; }
.legal-page h2 {
  font-family: var(--font-display); text-transform: uppercase; color: var(--paper-ink);
  font-size: 1.25rem; letter-spacing: 0.01em; margin: 34px 0 10px;
  padding-top: 18px; border-top: 1px solid #e0e0e5;
}
.legal-page p { color: #3c4043; margin-bottom: 12px; max-width: 72ch; }
.legal-page strong { color: var(--paper-ink); }
.legal-page ul { color: #3c4043; margin: 0 0 12px; padding-left: 22px; max-width: 72ch; }
.legal-page li { margin-bottom: 7px; }
.legal-page a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--red-lo); }
.legal-contact {
  background: #fff; border: 1px solid #e0e0e5; border-left: 3px solid var(--red);
  border-radius: 10px; padding: 18px 20px; color: #3c4043; line-height: 1.75; margin: 6px 0 12px;
}
.legal-contact strong { color: var(--paper-ink); }
/* The verbatim carrier-required clause — must be visibly prominent for the A2P reviewer */
.legal-callout {
  background: #fff; border: 1px solid #d9d9df; border-radius: 10px;
  padding: 18px 20px; color: var(--paper-ink) !important; font-weight: 500; line-height: 1.6;
}
.legal-back { margin-top: 40px; padding-top: 22px; border-top: 1px solid #e0e0e5; font-weight: 600; }

/* =====================================================================
   V6 — 2-step hero form
   ===================================================================== */
.step-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.step-pip { height: 4px; flex: 1; border-radius: 999px; background: var(--line-2); transition: background .4s var(--ease); }
.step-pip.is-active { background: var(--red); }
.step-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; color: var(--muted); flex: none; margin-left: 4px; }

.form-step { display: none; }
.form-step.is-active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form-step.is-active { animation: none; } }

.step-actions { display: flex; gap: 10px; margin-top: 4px; }
.step-actions .btn-ghost { flex: none; }
.step-actions .btn-primary { flex: 1; }

/* Team gallery */
.team-gallery { margin-top: 36px; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.team-shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); height: 300px; background: #10141d; }
.team-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--ease); }
.team-shot:hover img { transform: scale(1.06); }
@media (max-width: 720px) {
  .team-gallery { grid-template-columns: 1fr; gap: 12px; }
  .team-shot { height: 240px; }
}

/* =====================================================================
   V7 — XpressGuards build: blue proof bands, clients wall, blog cards,
   video rail, leave-confirm popup, incomplete-form recovery, jiggle,
   shine sweep, review-widget dim, office pins  (Rapid Rooter playbook)
   ===================================================================== */

/* ---------- utilities ---------- */
.center { text-align: center; }
.center .section-title, .center .section-lead { margin-inline: auto; }
.eyebrow {
  display: block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem;
  color: var(--red); margin-bottom: 12px;
}
.section--light .eyebrow { color: var(--red); }

/* ---------- brand-blue grain band base ---------- */
.band-blue {
  position: relative;
  background-color: var(--red);
  background-image: var(--grain), linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.14));
  border-block: 1px solid rgba(0,0,0,0.22);
}

/* ---------- stats band (3457+ / 34 / 614 / 50) ---------- */
.stats-band { padding: clamp(30px, 4.5vw, 48px) 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.stat { position: relative; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: rgba(255,255,255,0.32); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1; color: #fff; letter-spacing: 0.01em; text-shadow: 0 2px 14px rgba(0,0,0,0.25); }
.stat-label { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #0b1433; }
@media (max-width: 720px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 18px 8px; }
  .stat:nth-child(3)::before { content: none; }
}

/* ---------- credentials badge strip (white icons on blue) ---------- */
.badges-strip { padding: clamp(22px, 3.4vw, 34px) 0; }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4.5vw, 64px); }
.badge { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 118px; }
.badge img { height: 38px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }
.badge span { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; color: #fff; }

/* ---------- 12,000+ professional guards band ---------- */
.guards-band { padding: clamp(48px, 7vw, 84px) 0; }
.gb-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; }
.gb-left { display: flex; align-items: center; gap: clamp(18px, 3vw, 30px); }
.gb-left img { height: clamp(86px, 11vw, 132px); width: auto; }
.gb-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.9rem, 6vw, 4.6rem); line-height: 0.95; color: #0b1433; display: block; }
.gb-label { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: 0.02em; color: #0b1433; }
.gb-copy p { color: #fff; font-weight: 600; font-size: 1.05rem; line-height: 1.75; max-width: 56ch; text-wrap: pretty; }
.gb-copy .btn { margin-top: 20px; }
@media (max-width: 900px) {
  .gb-grid { grid-template-columns: 1fr; text-align: center; }
  .gb-left { justify-content: center; }
  .gb-copy p { margin-inline: auto; }
}

/* black button (sits on blue bands) */
.btn-dark {
  background-color: var(--black);
  background-image: var(--grain), linear-gradient(180deg, #1c2130, #05070c);
  color: #fff; border-color: rgba(255,255,255,0.14);
  box-shadow: 0 16px 36px -16px rgba(0,0,0,0.6);
  position: relative; overflow: hidden;
}
.btn-dark:hover { border-color: rgba(255,255,255,0.34); }
.band-blue .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.band-blue .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---------- clients wall ---------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 13px; margin-top: 38px; }
.client-card {
  background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--radius-sm);
  display: grid; place-items: center; padding: 18px 16px; min-height: 92px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.client-card img { max-height: 50px; width: auto; max-width: 82%; object-fit: contain; filter: grayscale(1) contrast(1.02); opacity: 0.82; transition: opacity .3s var(--ease), filter .3s var(--ease); }
.client-card:hover { transform: translateY(-3px); border-color: #d9d9cf; box-shadow: 0 18px 40px -26px rgba(0,0,0,0.35); }
.client-card:hover img { filter: grayscale(0); opacity: 1; }
.client-note { margin-top: 20px; font-size: 0.86rem; color: var(--paper-soft); }

/* ---------- blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--paper-2);
  border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden;
  color: var(--paper-ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0,0,0,0.4); border-color: #d9d9cf; }
.blog-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--paper-soft); font-weight: 600; }
.blog-body h3 { font-size: 1.14rem; text-transform: uppercase; letter-spacing: 0.01em; margin: 9px 0 8px; line-height: 1.2; }
.blog-body p { color: var(--paper-soft); font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-more { font-family: var(--font-display); text-transform: uppercase; font-size: 0.84rem; letter-spacing: 0.05em; color: var(--red); margin-top: auto; padding-top: 14px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } .blog-media { aspect-ratio: 16 / 8; } }

/* ---------- real-footage video rail ---------- */
.wt { background: var(--bg); }
.wt-rail {
  display: flex; gap: 14px; margin-top: 38px; padding: 4px 4px 16px;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent;
}
.wt-rail::-webkit-scrollbar { height: 8px; }
.wt-rail::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 99px; }
.wt-rail::-webkit-scrollbar-track { background: transparent; }
.wt-item { flex: 0 0 min(62vw, 248px); margin: 0; scroll-snap-align: center; }
.wt-item video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000;
  border: 1px solid var(--line); border-radius: var(--radius);
  pointer-events: none;
}
.wt-item video::-webkit-media-controls { display: none !important; }
.wt-item figcaption { margin-top: 10px; font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
.wt-item figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; color: var(--ink); }

/* ---------- leave-confirm (Google reviews) popup ---------- */
.leave-panel { max-width: 470px; text-align: center; }
.leave-panel h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); text-transform: uppercase; text-wrap: balance; }
.leave-panel > p { color: var(--muted); margin: 12px auto 22px; max-width: 42ch; }
.leave-actions { display: grid; gap: 11px; }
.leave-note { margin-top: 14px; font-size: 0.82rem; color: var(--muted-2); }

/* ---------- incomplete-form recovery (red "finish request" state) ---------- */
.finish-tag { display: none; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; line-height: 1; opacity: 0.95; }
[data-book].incomplete {
  background-color: #cd3a34 !important;
  background-image: var(--grain), linear-gradient(180deg, #d84a40, #a82420) !important;
  color: #fff !important; border-color: transparent !important;
  box-shadow: 0 14px 34px -14px rgba(205,58,52,0.55) !important;
  flex-direction: column; gap: 3px;
}
[data-book].incomplete .finish-tag { display: block; }
[data-book].incomplete svg { display: none; }
.fab-quote.incomplete { animation: none; }

/* ---------- attention jiggles (long-period, reduced-motion-safe) ---------- */
.jig { display: inline-block; animation: xgJiggle15 15s ease-in-out infinite 4s; }
@keyframes xgJiggle15 {
  0%, 4%, 100% { transform: none; }
  0.7% { transform: translateX(-1.5px) rotate(-0.5deg); }
  1.4% { transform: translateX(1.5px) rotate(0.5deg); }
  2.1% { transform: translateX(-1px); } 2.8% { transform: translateX(1px); } 3.5% { transform: translateX(-0.5px); }
}
html.xg-jig-quote [data-book] .btn-cap { display: inline-block; animation: xgJiggle5 5s ease-in-out infinite 1s; }
@keyframes xgJiggle5 {
  0%, 12%, 100% { transform: none; }
  2% { transform: translateX(-1.5px) rotate(-0.5deg); } 4% { transform: translateX(1.5px) rotate(0.5deg); }
  6% { transform: translateX(-1px); } 8% { transform: translateX(1px); } 10% { transform: translateX(-0.5px); }
}
@media (prefers-reduced-motion: reduce) {
  .jig, html.xg-jig-quote [data-book] .btn-cap { animation: none !important; }
}

/* ---------- review widget: idle dim + hover restore ---------- */
.greview.dim:not(.min) .greview-card { opacity: 0.45; }
.greview .greview-card:hover, .greview .greview-card:focus-within { opacity: 1 !important; }

/* ---------- map: office pins + dark legend ---------- */
.xg-pin-office { filter: drop-shadow(0 3px 5px rgba(0,0,0,0.6)); }
.xg-pin-office span { display: block; width: 18px; height: 18px; background: var(--black); border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.lg-dot--office { width: 12px; height: 12px; border-radius: 50%; background: var(--black); border: 2px solid #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }

/* ---------- mobile sticky bar: revealed after scroll ---------- */
@media (max-width: 720px) {
  .mobile-bar { transform: translateY(110%); transition: transform .4s var(--ease); }
  .mobile-bar.show { transform: none; }
}

/* ---------- dark-ground text-contrast fixes for the blue accent ---------- */
.hero-trust li::before { color: var(--red-lite); }
.proof-grid .pi { color: var(--red-lite); }
.step-n { color: var(--red-lite); }
.tb-num { color: #fff; }
.tb-label { color: #0b1433; font-weight: 700; }
.footer-contact a:hover { color: var(--red-lite); }
.svc-ico { color: var(--red-lite); }
.section--light .svc-ico { color: var(--red); }
.section--light .proof-grid .pi { color: var(--red); }

/* floats hidden while any sheet is open */
body.modal-lock .fab-stack, body.modal-lock .mobile-bar, body.modal-lock .greview { display: none; }

/* footer license line */
.footer-licenses { display: inline-block; margin-top: 10px; font-size: 0.72rem; line-height: 1.9; color: var(--muted-2); max-width: 100%; }

/* mobile: reviews widget rides above the sticky bar, never over the hero CTA */
@media (max-width: 720px) {
  .greview { left: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* =====================================================================
   V8 — aggressive geometric type (Chakra Petch / Poppins), logo heartbeat,
   teal call buttons w/ grain, recurring shine sweep, cream ground
   ===================================================================== */

/* ---------- type retune (Chakra Petch runs wider than Oswald) ---------- */
h1, h2, h3 { letter-spacing: 0; }
.hero-title { font-size: clamp(2.05rem, 4.6vw, 3.85rem); line-height: 1.03; letter-spacing: -0.005em; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.45rem); line-height: 1.1; }
.final-inner h2 { font-size: clamp(1.75rem, 4.1vw, 2.85rem); }
.stat-num { font-size: clamp(1.9rem, 3.7vw, 2.95rem); }
.gb-num { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }
.gb-label { font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.btn { font-size: 0.9rem; letter-spacing: 0.045em; font-weight: 600; }
.btn-lg { font-size: 0.98rem; }
.btn-sm { font-size: 0.8rem; }
.announce-inner { font-size: 0.76rem; letter-spacing: 0.08em; }
.phone-text strong { font-size: 0.98rem; }
.hero-form-head h2 { font-size: 1.3rem; }
.modal-head h2 { font-size: 1.45rem; }
.promo-panel h2 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); }
.leave-panel h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.faq-item summary { font-size: 0.98rem; }
.hero-trust li { font-size: 0.74rem; letter-spacing: 0.04em; }
.proof-grid h3 { font-size: 1.05rem; }
.service-card h3 { font-size: 1.02rem; }
.why-list h3 { font-size: 1rem; }
.step h3 { font-size: 1.04rem; }
.blog-body h3 { font-size: 1.03rem; }
.tc-cta-copy { font-size: 1.15rem; }
.quote-callout strong { font-size: 1.2rem; }
.team-values strong { font-size: 0.98rem; }
.badge span { font-size: 0.8rem; }
.wt-item figcaption strong { font-size: 0.85rem; }
.svc-go, .blog-more, .greview-link { letter-spacing: 0.06em; }
@media (max-width: 720px) {
  .announce-inner { font-size: 0.58rem; letter-spacing: 0.04em; }
  .hero-title { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
}

/* ---------- nav logo heartbeat: gentle double-pulse (2s) every 5s ---------- */
.site-header .brand-logo {
  transform-origin: left center;
  animation: xgHeartbeat 5s ease-in-out infinite 2.5s;
  will-change: transform;
}
@keyframes xgHeartbeat {
  0%, 40%, 100% { transform: scale(1); }
  8%  { transform: scale(1.055); }
  17% { transform: scale(1); }
  27% { transform: scale(1.045); }
  36% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .site-header .brand-logo { animation: none; } }

/* ---------- teal CALL buttons (grain + vertical fade, same recipe as blue) ---------- */
.btn-call {
  background-color: var(--call);
  background-image: var(--grain), linear-gradient(180deg, var(--call-hi), var(--call-lo));
  color: #fff; border-color: transparent;
  text-shadow: 0 1px 2px rgba(0,0,0,0.22);
  box-shadow: 0 14px 34px -14px var(--call-glow);
  position: relative; overflow: hidden;
}
.btn-call:hover { box-shadow: 0 18px 42px -12px var(--call-glow); }
.btn-call:focus-visible { box-shadow: 0 0 0 3px rgba(16,169,156,0.5); }
.site-header .header-phone svg { color: var(--call); }
.fab-call {
  background-color: var(--call);
  background-image: var(--grain), linear-gradient(180deg, var(--call-hi), var(--call-lo));
  border-color: transparent; text-shadow: 0 1px 2px rgba(0,0,0,0.22);
  box-shadow: 0 14px 34px -14px var(--call-glow);
}
.fab-call:hover { border-color: transparent; }
.mb-call {
  background-color: var(--call);
  background-image: var(--grain), linear-gradient(180deg, var(--call-hi), var(--call-lo));
  color: #fff; border-color: transparent; text-shadow: 0 1px 2px rgba(0,0,0,0.22);
}
.quote-callout:hover { border-color: var(--call); }
.quote-callout:hover strong { color: #7ee8dd; }

/* ---------- recurring shine sweep on conversion buttons ---------- */
.fab, .mb-btn { position: relative; overflow: hidden; }
.btn-primary::before, .btn-dark::before, .btn-call::before,
.fab-quote::before, .fab-call::before, .mb-quote::before, .mb-call::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -45%; width: 34%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.36), transparent);
  transform: skewX(-18deg) translateX(0); opacity: 0; pointer-events: none; z-index: 1;
  animation: xgShineLoop 9s ease-in-out infinite;
}
.btn-call::before, .fab-call::before, .mb-call::before { animation-delay: 1.6s; }
.btn-dark::before { animation-delay: 2.8s; }
.fab-quote::before, .mb-quote::before { animation-delay: 0.6s; }
@keyframes xgShineLoop {
  0%   { transform: skewX(-18deg) translateX(0); opacity: 0; }
  1.5% { opacity: 1; }
  12%  { transform: skewX(-18deg) translateX(480%); opacity: 1; }
  13%  { transform: skewX(-18deg) translateX(480%); opacity: 0; }
  100% { transform: skewX(-18deg) translateX(480%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before, .btn-dark::before, .btn-call::before,
  .fab-quote::before, .fab-call::before, .mb-quote::before, .mb-call::before { animation: none; display: none; }
}

/* mobile: keep long CTA labels on one line with the wider display font */
@media (max-width: 720px) {
  .hero-cta-row .btn-lg, .final-cta-row .btn-lg { font-size: 0.84rem; padding: 15px 16px; width: 100%; }
  .promo-actions .btn-lg { font-size: 0.86rem; }
}

/* =====================================================================
   V9 — flip-ticker banner (one line at a time) + marquee video rail
   ===================================================================== */
.announce-inner { perspective: 340px; overflow: hidden; }
#announceMsg {
  display: inline-block; white-space: nowrap;
  transform-origin: 50% 100%; backface-visibility: hidden; will-change: transform, opacity;
}
@media (max-width: 720px) {
  .announce-inner { font-size: 0.52rem; letter-spacing: 0.03em; }
}
/* continuous marquee: snap off (it fights the per-frame drift) */
.wt-rail.marquee { scroll-snap-type: none; }
.wt-rail.marquee .wt-item { scroll-snap-align: none; }
