/* =========================================================================
 * Fixman — variant 3 "Glass Shatter"
 * styles.css
 * ========================================================================= */

:root {
  --red: #E51919;
  --red-soft: #FF3838;
  --red-deep: #B30000;
  --blue: #097BAA;
  --blue-deep: #003388;
  --blue-soft: #33A8D9;
  --green: #067963;
  --orange: #FFA500;
  --lime: #BFFF00;
  --ice: #C5E8F2;
  --ink: #0A0C0F;
  --ink-2: #1A1D24;
  --ink-3: #2A2F3A;
  --graphite: #333333;
  --steel: #69727D;
  --smoke: #F5F7FA;
  --paper: #FFFFFF;
  --line: #DDDDDD;
  --line-soft: #EDEDED;

  --fs-display: clamp(3rem, 9vw, 8rem);
  --fs-h1: clamp(2.25rem, 5vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 3rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 1.6rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 192px;

  --r-0: 0;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 200ms;
  --t-base: 400ms;
  --t-slow: 700ms;

  --header-h: 70px;
  --util-h: 36px;

  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-card-l: 0 14px 40px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Archivo Black', system-ui, sans-serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  color: var(--ink);
}
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 700; }

p { margin: 0 0 var(--s-4); }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
em { font-style: normal; color: var(--red); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-tiny);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 var(--s-4);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--steel);
  max-width: 60ch;
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

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

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background var(--t-fast) var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 40px rgba(229, 25, 25, 0.55),
              0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(229, 25, 25, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* =========================================================================
   Utility bar
   ========================================================================= */
.util {
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--fs-small);
}
.util-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--util-h);
  padding: 0 var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.util-icbc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.util-icbc img {
  height: 22px; width: auto;
  filter: brightness(1.1);
}
.util-phones { display: flex; gap: var(--s-6); }
.util-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--t-fast);
}
.util-phone span { color: var(--red); margin-right: 6px; }
.util-phone:hover { color: #fff; }

/* =========================================================================
   Header
   ========================================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--s-5);
  background: rgba(10, 12, 15, 0.65);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.header.scrolled {
  background: rgba(10, 12, 15, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.brand img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(229, 25, 25, 0.25));
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a {
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--t-fast);
  position: relative;
}
.nav a:hover { color: #fff; }
.nav a:not(.nav-cta):hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--red);
}
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 0 30px rgba(229, 25, 25, 0.4);
  transition: box-shadow var(--t-base), transform var(--t-fast);
}
.nav-cta:hover {
  box-shadow: 0 0 50px rgba(229, 25, 25, 0.7);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: calc(var(--util-h) + 70px) 0 0;
  background: rgba(10, 12, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 49;
  flex-direction: column;
  padding: var(--s-7) var(--s-6);
  gap: var(--s-4);
  font-size: 1.2rem;
  font-weight: 600;
}
.mobile-nav a {
  color: #fff;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-cta {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 16px;
  border-radius: var(--r-pill);
  margin-top: var(--s-4);
  box-shadow: 0 0 40px rgba(229, 25, 25, 0.5);
}
.mobile-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  border-bottom: none !important;
  color: rgba(255, 255, 255, 0.6) !important;
}
body.nav-open { overflow: hidden; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity 600ms ease;
}
.hero-fallback img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05) saturate(1.1);
  will-change: transform;
}
.hero-fallback-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(229, 25, 25, 0.18), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(9, 123, 170, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(10, 12, 15, 0.6) 0%, rgba(10, 12, 15, 0.95) 100%);
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 800ms ease;
}
.hero-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.shards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.shards span {
  position: absolute;
  width: var(--s, 6px);
  height: var(--s, 6px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.4);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
  animation: shardFloat 9s ease-in-out infinite;
  opacity: 0.7;
  filter: drop-shadow(0 0 6px rgba(229, 25, 25, 0.4));
  will-change: transform;
}
.shards span:nth-child(3n) { background: linear-gradient(135deg, rgba(229, 25, 25, 0.9), rgba(229, 25, 25, 0.3)); }
.shards span:nth-child(3n+1) { background: linear-gradient(135deg, rgba(9, 123, 170, 0.9), rgba(9, 123, 170, 0.3)); }
@keyframes shardFloat {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.6; }
  100% { transform: translate(40px, -120px) rotate(180deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--util-h) + 80px) var(--s-5) var(--s-9);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-5);
}
.hero-title {
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line-2 em {
  display: inline-block;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-soft) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin: 0;
}
.hero-cta {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}
.hero-meta {
  margin-top: var(--s-7);
  display: flex;
  gap: var(--s-7);
  flex-wrap: wrap;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item strong {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-meta-item strong span { color: var(--red); margin-left: 2px; }
.hero-meta-item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================================
   Trust strip
   ========================================================================= */
.trust {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 5;
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--s-6) var(--s-5);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-3) 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: var(--s-4);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: #fff;
  letter-spacing: -0.02em;
}
.trust-item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================================
   Sections — base
   ========================================================================= */
section { position: relative; }

.section-head {
  max-width: 800px;
  margin: 0 auto var(--s-8);
  text-align: left;
  padding: 0 var(--s-5);
}
.section-head h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
}
.section-head h2 em {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

/* =========================================================================
   Services grid
   ========================================================================= */
.services {
  background: var(--ink);
  color: #fff;
  padding: var(--s-10) 0 var(--s-9);
}
.services .section-head h2 { color: #fff; }
.services .lede { color: rgba(255, 255, 255, 0.6); }
.services .eyebrow { color: rgba(255, 255, 255, 0.55); }
.services .eyebrow .dot { background: var(--red); }

.grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.card {
  position: relative;
  display: block;
  min-height: 260px;
  background: var(--ink-2);
  color: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base);
  will-change: transform;
  transform-style: preserve-3d;
  isolation: isolate;
}
.card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity var(--t-base), transform var(--t-slow) var(--ease-out);
  z-index: 0;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 15, 0.2), rgba(10, 12, 15, 0.92));
  z-index: 1;
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.card-num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
  z-index: 3;
}
.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 0 20px rgba(229, 25, 25, 0.5);
}
.card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card-body h3 {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.card-body p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.card:hover .card-bg { opacity: 1; transform: scale(1); }
.card:hover::after { opacity: 1; }
.card:hover .card-body p { color: rgba(255, 255, 255, 0.85); }
.card-featured {
  border-color: rgba(229, 25, 25, 0.4);
  box-shadow: 0 0 40px rgba(229, 25, 25, 0.15) inset;
}

/* =========================================================================
   Free chip
   ========================================================================= */
.free-chip {
  background: var(--paper);
  padding: var(--s-10) 0;
  position: relative;
  overflow: hidden;
}
.free-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(229, 25, 25, 0.08), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(9, 123, 170, 0.08), transparent 50%);
  pointer-events: none;
}
.free-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
}
.free-copy h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.92;
}
.free-flicker {
  display: inline-block;
  color: var(--red);
  animation: flicker 3.5s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(229, 25, 25, 0.4);
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  48% { opacity: 1; }
  49% { opacity: 0.4; }
  50% { opacity: 1; }
  51% { opacity: 0.6; }
  52% { opacity: 1; }
}
.free-visual {
  position: relative;
  height: 360px;
  display: grid;
  place-items: center;
}
.chip-target {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(229, 25, 25, 0.25));
}
.chip-shards {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.chip-shards .shard {
  position: absolute;
  width: var(--s, 8px);
  height: var(--s, 8px);
  top: 50%;
  left: 50%;
  margin-top: calc(var(--s) / -2);
  margin-left: calc(var(--s) / -2);
  transform: translate(0, 0) rotate(0deg);
  animation: shardOrbit var(--d, 5s) ease-in-out infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes shardOrbit {
  0%   { transform: translate(0, 0) rotate(0deg) scale(0); opacity: 0; }
  15%  { transform: translate(calc(var(--x) * 0.5), calc(var(--y) * 0.5)) rotate(calc(var(--r) * 0.3)) scale(1); opacity: 1; }
  60%  { opacity: 1; }
  100% { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.4); opacity: 0; }
}

/* =========================================================================
   Process
   ========================================================================= */
.process {
  background: var(--ink);
  color: #fff;
  padding: var(--s-10) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.process .section-head h2 { color: #fff; }
.process .lede { color: rgba(255, 255, 255, 0.6); }
.process-stage {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-7);
  align-items: stretch;
}
.process-canvas-wrap {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  min-height: 460px;
  overflow: hidden;
}
.process-canvas-wrap canvas { width: 100% !important; height: 100% !important; }
.process-fallback {
  background: linear-gradient(135deg, rgba(229, 25, 25, 0.08), rgba(9, 123, 170, 0.08)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.02) 12px, rgba(255,255,255,0.02) 24px);
}
.process-caption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
}
.step {
  position: relative;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--red);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: border-color var(--t-base), background var(--t-base), transform var(--t-base);
}
.step:hover {
  border-left-color: var(--blue);
  background: #16191F;
  transform: translateX(4px);
}
.step-num {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: var(--s-2);
}
.step h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* =========================================================================
   ADAS
   ========================================================================= */
.adas {
  background: var(--paper);
  padding: var(--s-10) 0;
  position: relative;
}
.adas-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.adas-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
  box-shadow: var(--shadow-card-l);
}
.adas-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.95);
}
.adas-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
.adas-copy h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.adas-copy p { font-size: 1.04rem; color: var(--ink-2); line-height: 1.65; }
.adas-copy em { color: var(--red); }
.adas-list {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2) var(--s-4);
}
.adas-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
  align-items: center;
}
.adas-list .mono { color: var(--red); }

/* =========================================================================
   Service area
   ========================================================================= */
.areas {
  background: linear-gradient(180deg, var(--paper) 0%, var(--smoke) 100%);
  padding: var(--s-10) 0;
}
.area-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.area-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base),
              border-color var(--t-base);
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-l);
  border-color: transparent;
}
.area-card:hover::before { transform: scaleX(1); }
.area-card-mid {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.area-card-mid h3, .area-card-mid .area-phone { color: #fff; }
.area-card-mid ul li { color: rgba(255, 255, 255, 0.65); }
.area-mono {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: var(--s-4);
  display: block;
}
.area-card-mid .area-mono { color: var(--blue-soft); }
.area-card h3 {
  font-size: 2.2rem;
  margin-bottom: var(--s-3);
  letter-spacing: -0.02em;
}
.area-phone {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.area-card ul {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  border-top: 1px solid currentColor;
  padding-top: var(--s-4);
  border-color: var(--line-soft);
}
.area-card-mid ul { border-color: rgba(255, 255, 255, 0.12); }
.area-card ul li {
  font-size: 0.9rem;
  color: var(--steel);
  padding: 6px 0;
}
.area-cta {
  display: inline-block;
  font-weight: 700;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.area-card-mid .area-cta { color: var(--red-soft); }
.area-cta:hover { color: var(--ink); }

/* =========================================================================
   Reviews
   ========================================================================= */
.reviews {
  background: var(--ink);
  color: #fff;
  padding: var(--s-10) 0;
}
.reviews .section-head h2 { color: #fff; }
.reviews .eyebrow { color: rgba(255, 255, 255, 0.55); }
.review-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.review {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin: 0;
  position: relative;
}
.review::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 4rem;
  color: var(--red);
  line-height: 1;
  opacity: 0.5;
}
.review-stars {
  color: var(--orange);
  letter-spacing: 4px;
  margin-bottom: var(--s-3);
  font-size: 0.9rem;
}
.review blockquote {
  margin: 0 0 var(--s-4);
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.review figcaption {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  gap: 10px;
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--s-3);
}
.review figcaption strong { color: #fff; }
.review figcaption span { color: var(--steel); font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; }

/* =========================================================================
   About
   ========================================================================= */
.about {
  background: var(--paper);
  padding: var(--s-10) 0;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(229, 25, 25, 0.06), transparent 50%);
  pointer-events: none;
}
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
}
.about-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
}
.about-9 {
  background: linear-gradient(180deg, var(--ink) 30%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-plus {
  color: var(--red);
  font-size: 0.6em;
  margin-top: 0.1em;
}
.about-copy h2 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); }
.about-copy p { font-size: 1.04rem; color: var(--ink-2); line-height: 1.65; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq {
  background: var(--smoke);
  padding: var(--s-10) 0;
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  gap: var(--s-2);
}
.faq details {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-base);
}
.faq details[open] {
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(229, 25, 25, 0.08);
}
.faq summary {
  padding: var(--s-4) var(--s-5);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-size: 1.02rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  color: var(--red);
  width: 24px;
  text-align: center;
  transition: transform var(--t-fast);
}
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq details p {
  margin: 0;
  padding: 0 var(--s-5) var(--s-4);
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 0.96rem;
}

/* =========================================================================
   Contact
   ========================================================================= */
.contact {
  background: var(--ink);
  color: #fff;
  padding: var(--s-10) 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(229, 25, 25, 0.12), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(9, 123, 170, 0.12), transparent 50%);
  pointer-events: none;
}
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: start;
  position: relative;
}
.contact-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.contact-copy p { color: rgba(255, 255, 255, 0.7); }
.contact-info {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}
.contact-info li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--s-3);
  font-size: 0.95rem;
  align-items: baseline;
  padding: var(--s-2) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-info li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.contact-info .mono { color: var(--red); font-size: 0.72rem; letter-spacing: 0.16em; }
.contact-info a { color: #fff; }
.contact-info a:hover { color: var(--red-soft); }

.quote-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  backdrop-filter: blur(10px);
  position: relative;
}
.quote-form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(229, 25, 25, 0.5), rgba(9, 123, 170, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.quote-form h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: var(--s-4);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
  margin-bottom: var(--s-3);
}
.quote-form input,
.quote-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  color: #fff;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(0, 0, 0, 0.6);
}
.quote-form textarea { resize: vertical; min-height: 100px; }
.quote-form button[type="submit"] {
  width: 100%;
  margin-top: var(--s-3);
}
.form-status {
  margin: var(--s-3) 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.7);
}
.form-status[data-state="ok"] { color: var(--lime); }
.form-status[data-state="err"] { color: var(--red-soft); }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  background: #050608;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--s-9) 0 var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--s-6);
}
.footer-brand img { height: 40px; margin-bottom: var(--s-3); }
.footer-brand p { font-size: 0.9rem; margin: 0 0 4px; }
.footer-brand .mono { color: var(--steel); font-size: 0.72rem; letter-spacing: 0.14em; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--s-3);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 0;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: #fff; }
.footer-col a.mono {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom {
  max-width: 1280px;
  margin: var(--s-7) auto 0;
  padding: var(--s-5) var(--s-5) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 0.85rem;
  color: var(--steel);
}
.footer-bottom .mono { color: var(--steel); font-size: 0.72rem; letter-spacing: 0.16em; }

/* =========================================================================
   Sticky bottom CTA (mobile)
   ========================================================================= */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 60;
  background: var(--red);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 40px rgba(229, 25, 25, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.sticky-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none !important; }
  .step:hover { transform: none !important; }
  .area-card:hover { transform: none !important; }
  .hero-canvas-wrap { display: none !important; }
  .hero-fallback { opacity: 1 !important; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-col:nth-child(4), .footer-col:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .util-phones { display: none; }
  .util-icbc span { display: none; }
  .util-inner { justify-content: center; }

  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
  .trust-item { border-left: 0; padding-left: 0; }

  .grid { grid-template-columns: repeat(2, 1fr); }

  .free-inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .free-visual { height: 280px; order: -1; }

  .process-stage { grid-template-columns: 1fr; }
  .process-canvas-wrap { min-height: 320px; }

  .adas-grid { grid-template-columns: 1fr; gap: var(--s-5); }

  .area-grid { grid-template-columns: 1fr; }

  .review-grid { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .about-num { justify-content: center; }

  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 600px) {
  .hero-content { padding-top: calc(var(--util-h) + 110px); }
  .hero-meta { gap: var(--s-4); }
  .hero-meta-item { flex: 1 1 40%; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .adas-list { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE FIXES (added by supervisor post-QA)
   ============================================ */
@media (max-width: 768px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a, .hero-cta button { width: 100%; text-align: center; justify-content: center; }
  .process-list, .services-list, .fleet-list { grid-template-columns: 1fr; }
  .step { padding: var(--s-4); }
  .container, .wrap { padding-left: var(--s-3); padding-right: var(--s-3); max-width: 100%; }
  .nav { font-size: 0.8rem; }
  .section-head h2 { font-size: clamp(2rem, 7vw, 3rem); }
  h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .testimonials-grid { grid-template-columns: 1fr; }
}
