/* ============================================================
   Kurtis Private Investigator — "Nightwatch" system
   Dark cinematic noir. Midnight navy + amber-gold + cyan data.
   All motion is pure CSS/JS and respects prefers-reduced-motion.
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --surface: #101828;
  --surface-2: #141d31;
  --elevated: #18233b;
  --line: rgba(148, 168, 200, 0.14);
  --line-strong: rgba(148, 168, 200, 0.26);
  --text: #eef2fb;
  --muted: #9fb0cc;
  --faint: #6d7d99;
  --amber: #f6b73c;
  --amber-deep: #e0932a;
  --cyan: #38d6d0;
  --cyan-deep: #1f9c9c;
  --good: #4ade80;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --wrap: 1180px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 0 1px rgba(246, 183, 60, 0.16), 0 30px 70px -30px rgba(246, 183, 60, 0.28);
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.4em; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber);
}
.muted { color: var(--muted); }
.accent { color: var(--amber); }
.cyan { color: var(--cyan); }

/* Skip link (accessibility requirement) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--amber); color: #14110a; font-weight: 800;
  padding: 10px 16px; border-radius: 10px; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Focus visibility (accessibility requirement) */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--amber);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-deep) 100%);
  color: #17130a;
  box-shadow: 0 12px 30px -12px rgba(246, 183, 60, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(246, 183, 60, 0.75); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); background: rgba(246, 183, 60, 0.06); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 28px; font-size: 16px; }

/* Shine sweep on primary buttons */
.btn:not(.btn--ghost)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:not(.btn--ghost):hover::after { transform: translateX(120%); }

/* Live status pulse dot */
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  opacity: 0.7;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 24%, var(--cyan) 50%, var(--amber) 76%, transparent 100%);
  background-size: 220% 100%;
  animation: navLine 9s linear infinite;
}
.site-header.scrolled { background: rgba(7, 11, 20, 0.92); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 16px 0; transition: padding 0.3s var(--ease); }
.site-header.scrolled .header-inner { padding: 10px 0; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(246, 183, 60, 0.35));
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}
.brand:hover .brand__mark { transform: translateY(-2px) rotate(-2deg); filter: drop-shadow(0 8px 16px rgba(56, 214, 208, 0.32)); }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(100deg, #ffffff 15%, #f6d79a 42%, #9af1ec 62%, #ffffff 86%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: navNameGlow 10s ease-in-out infinite;
}
.brand__name span { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); position: relative; transition: color 0.2s var(--ease); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--amber); transition: width 0.25s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.nav a:hover { text-shadow: 0 0 18px rgba(56, 214, 208, 0.24); }

@keyframes navLine {
  to { background-position: -220% 0; }
}
@keyframes navNameGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--text); }
.header-phone svg { color: var(--amber); }

.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: 0.3s var(--ease); }

/* ---------- Nav dropdowns ---------- */
.nav .has-drop { position: relative; }
.nav .has-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav .drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); z-index: 20;
}
.nav .drop.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 360px; }
.nav .has-drop:hover .drop, .nav .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.nav .drop a { padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav .drop a::after { display: none; }
.nav .drop a:hover { background: rgba(148, 168, 200, 0.09); color: var(--amber); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 68px 0 88px; overflow: hidden; }
.hero--sub { padding: 52px 0 60px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-photo { position: absolute; inset: 0; background: #05080f center/cover no-repeat; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.97) 0%, rgba(7, 11, 20, 0.86) 46%, rgba(7, 11, 20, 0.52) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.4) 0%, rgba(7, 11, 20, 0.9) 100%);
}
.hero-bg .mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(246, 183, 60, 0.18), transparent 60%),
    radial-gradient(45% 45% at 85% 15%, rgba(56, 214, 208, 0.16), transparent 60%),
    radial-gradient(50% 60% at 70% 90%, rgba(56, 214, 208, 0.10), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, rgba(246, 183, 60, 0.10), transparent 60%);
  animation: meshDrift 18s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(3%, -3%, 0) scale(1.08); }
}
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148, 168, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 168, 200, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(75% 70% at 50% 30%, #000 40%, transparent 80%);
}
.hero-bg .scan {
  position: absolute; left: 0; right: 0; height: 180px;
  background: linear-gradient(180deg, transparent, rgba(56, 214, 208, 0.08), transparent);
  animation: scan 7s linear infinite;
}
@keyframes scan { 0% { top: -180px; } 100% { top: 100%; } }

/* drifting particles */
.particles { position: absolute; inset: 0; }
.particles i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--amber); opacity: 0.5; animation: float 12s linear infinite;
}
.particles i:nth-child(even) { background: var(--cyan); }
@keyframes float {
  0% { transform: translateY(20px); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-120px); opacity: 0; }
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 62px); margin-top: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #c4d0e6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1[data-crm-field="businessName"],
.hero h1.grad,
.hero h1 .grad {
  background: linear-gradient(100deg, var(--amber), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 540px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(148, 168, 200, 0.08); border: 1px solid var(--line); color: var(--text);
}
.chip svg { color: var(--amber); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* reveal-on-load */
.rise { opacity: 0; transform: translateY(24px); animation: rise 0.9s var(--ease) forwards; }
.rise-2 { animation-delay: 0.12s; }
.rise-3 { animation-delay: 0.24s; }
.rise-4 { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Hero lead form (hard rule) ---------- */
.lead-card {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(20, 29, 49, 0.92), rgba(16, 24, 40, 0.92));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.lead-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(246, 183, 60, 0.5), transparent 40%, rgba(56, 214, 208, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.lead-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.lead-head h2 { font-size: 21px; margin: 0; }
.lead-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--good); }
.lead-card p.lead-note { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }

.steps-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-bar span { height: 4px; flex: 1; border-radius: 4px; background: rgba(148, 168, 200, 0.18); overflow: hidden; }
.steps-bar span.active { background: linear-gradient(90deg, var(--amber), var(--cyan)); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 6px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 14.5px;
  background: rgba(7, 11, 20, 0.6); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--text); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(246, 183, 60, 0.16);
}
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-select label {
  margin: 0; cursor: pointer; padding: 9px 13px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line-strong); color: var(--muted); transition: 0.2s var(--ease);
}
.chip-select input { position: absolute; opacity: 0; pointer-events: none; }
.chip-select input:checked + label { border-color: var(--amber); color: var(--amber); background: rgba(246, 183, 60, 0.1); }
.form-step { display: none; animation: rise 0.4s var(--ease); }
.form-step.active { display: block; }
.form-nav { display: flex; gap: 10px; margin-top: 6px; }
.form-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11.5px; color: var(--faint); }
.form-success { display: none; text-align: center; padding: 20px 6px; }
.form-success.show { display: block; animation: rise 0.5s var(--ease); }
.form-success .tick {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(74, 222, 128, 0.14); color: var(--good);
  display: grid; place-items: center;
}

/* ---------- Section shell ---------- */
.section { padding: 82px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head h2,
.section > .wrap > h2,
.split h2,
.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: #f7f9ff;
  background: linear-gradient(105deg, #ffffff 8%, #c8f8f5 42%, #f7cb76 67%, #ffffff 92%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: headingGlow 12s ease-in-out infinite;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.section-reveal {
  --section-x: -38px;
  opacity: 0;
  transform: translate3d(var(--section-x), 26px, 0);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.section-reveal:nth-of-type(even) { --section-x: 38px; }
.section-reveal.in { opacity: 1; transform: translate3d(0, 0, 0); }
@keyframes headingGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  text-align: center; padding: 26px 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800;
  background: linear-gradient(100deg, var(--amber), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* ---------- Feature / why cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(246, 183, 60, 0.18), rgba(56, 214, 208, 0.14));
  color: var(--amber); border: 1px solid var(--line);
}
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card--service h3 { display: flex; align-items: center; justify-content: space-between; }
.card--service .arrow { color: var(--faint); transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.card--service:hover .arrow { transform: translateX(4px); color: var(--amber); }

/* Photo service cards (editorial: image band on top) */
.card--photo { padding: 0; overflow: hidden; display: block; color: inherit; }
.card--photo .card-photo {
  height: 178px; background: #0a0f1c center/cover no-repeat; position: relative;
  transition: transform 0.4s var(--ease);
}
.card--photo .card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 20, 0.15) 0%, rgba(16, 24, 40, 0.75) 100%); }
.card--photo:hover .card-photo { transform: scale(1.05); }
.card--photo .card-body { padding: 20px 24px 26px; }
.card--photo h3 { margin-bottom: 8px; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--faint); margin-bottom: 14px; position: relative; z-index: 2; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--amber); }
.crumbs span { color: var(--faint); }

/* Inline photo block for content sections */
.media-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.media-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-item { position: relative; padding: 26px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-item .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
  color: #17130a; background: linear-gradient(180deg, var(--amber), var(--amber-deep));
}
.step-item h3 { font-size: 17px; }
.step-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.split li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.split li svg { color: var(--good); flex: 0 0 auto; margin-top: 3px; }
.split li b { color: var(--text); }
.panel-visual {
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong); padding: 30px;
  background: radial-gradient(120% 120% at 20% 0%, rgba(246, 183, 60, 0.14), transparent 55%), var(--surface);
  position: relative; overflow: hidden; min-height: 320px;
}

/* radar */
.radar { position: relative; width: 220px; height: 220px; margin: 10px auto; }
.radar .ring { position: absolute; inset: 0; border: 1px solid rgba(56, 214, 208, 0.3); border-radius: 50%; }
.radar .ring:nth-child(2) { inset: 30px; }
.radar .ring:nth-child(3) { inset: 60px; }
.radar .ring:nth-child(4) { inset: 90px; }
.radar .sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 214, 208, 0.45), transparent 25%);
  animation: radar 4s linear infinite; mask: radial-gradient(circle, #000 60%, transparent 61%);
}
@keyframes radar { to { transform: rotate(360deg); } }
.radar .blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: blip 4s ease-in-out infinite; }
.radar .blip.b1 { top: 40px; left: 150px; animation-delay: 0.5s; }
.radar .blip.b2 { top: 130px; left: 60px; animation-delay: 1.6s; }
.radar .blip.b3 { top: 90px; left: 120px; animation-delay: 2.8s; }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(0.5); } 30% { opacity: 1; transform: scale(1); } }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area-tag {
  padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 9px; transition: 0.25s var(--ease);
}
.area-tag:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-3px); }
.area-tag svg { color: var(--cyan); flex: 0 0 auto; }

/* ---------- Multi-step intake (full) ---------- */
.intake { max-width: 760px; margin: 0 auto; }
.intake .lead-card { padding: 32px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; color: var(--text);
  font: inherit; font-weight: 700; font-size: 16.5px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .ico { flex: 0 0 auto; transition: transform 0.3s var(--ease); color: var(--amber); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 54px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(246, 183, 60, 0.2), transparent 60%), var(--surface-2);
  border: 1px solid var(--line-strong); }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 34px; }
.footer-grid > * { min-width: 0; }
.footer-grid h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.footer-grid a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; overflow-wrap: anywhere; transition: color 0.2s var(--ease); }
.footer-grid a:hover { color: var(--amber); }
.footer-about p { color: var(--muted); font-size: 14.5px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13px; }
.footer-bottom .lic { color: var(--muted); }

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(11, 17, 32, 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); gap: 10px; }
.mobile-bar .btn {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.15;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav, .header-phone { display: none; }
  .header-cta > .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; max-height: 76vh; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: var(--amber) var(--bg-2); }
  .nav.open::-webkit-scrollbar { width: 7px; }
  .nav.open::-webkit-scrollbar-track { background: var(--bg-2); }
  .nav.open::-webkit-scrollbar-thumb { background: linear-gradient(var(--amber), var(--cyan)); border-radius: 999px; }
  .nav.open > a, .nav.open .has-drop > a { padding: 12px 0; border-bottom: 1px solid var(--line); display: block; }
  .nav.open .has-drop { position: static; }
  .nav.open .drop, .nav.open .drop.cols {
    position: static; transform: none; opacity: 1; visibility: visible; display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px;
    min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 12px; border-bottom: 1px solid var(--line);
  }
  .nav.open > a { text-align: left; }
  .nav.open .drop a { display: block; padding: 8px 4px; white-space: normal; line-height: 1.35; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 66px; }
}
@media (max-width: 560px) {
  .stats, .grid-3, .steps, .areas-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-band, .intake .lead-card { padding: 26px 20px; }
  .section { padding: 60px 0; }
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .section-reveal,
  .section-reveal:nth-of-type(even) { --section-x: 0px; transform: translate3d(0, 22px, 0); }
  .section-reveal.in { transform: translate3d(0, 0, 0); }
  .brand__name b { font-size: 14px; }
  .header-inner { gap: 10px; padding: 12px 0; }
  .brand__mark { width: 36px; height: 36px; }
  .mobile-bar .btn { padding-inline: 10px; }
}

/* ---------- Reduced motion (accessibility requirement) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .rise, .reveal, .section-reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg .scan, .particles, .radar .sweep { display: none; }
}
