/* ==========================================================================
   NorthStar Towing — Pelham, NH
   Global stylesheet
   Palette pulled from the logo: navy #16294D, red #C8102E, white.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0B1730;
  --navy-800: #10203F;
  --navy-700: #16294D;
  --navy-600: #1E3763;
  --navy-500: #2B4A7E;

  --red-600: #A50D25;
  --red-500: #C8102E;
  --red-400: #E11D3C;

  --white: #FFFFFF;
  --gray-50: #F7F8FA;
  --gray-100: #EEF1F5;
  --gray-200: #DDE2EA;
  --gray-400: #98A2B3;
  --gray-600: #5A6577;
  --gray-800: #2A3242;

  --star: #F2C94C;

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 23, 48, .08), 0 2px 6px rgba(11, 23, 48, .06);
  --shadow-md: 0 4px 12px rgba(11, 23, 48, .10), 0 12px 28px rgba(11, 23, 48, .10);
  --shadow-lg: 0 10px 30px rgba(11, 23, 48, .16), 0 30px 60px rgba(11, 23, 48, .14);

  --header-h: 76px;
  --mobilebar-h: 68px;

  --ease: cubic-bezier(.16, .84, .44, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* Blocks sideways scroll from decorative offscreen elements. On body only —
     never on html, where clip disables viewport scrolling entirely. The
     hidden line is the fallback for browsers without clip support. */
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Skip link for keyboard + screen reader users */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red-500); color: #fff; padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }

.section--navy {
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(43, 74, 126, .55), transparent 60%),
    linear-gradient(170deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #E9EEF7;
  position: relative;
  overflow: hidden;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--gray { background: var(--gray-50); }

/* Subtle star field — the "north star" motif, kept faint so it reads as texture */
.starfield::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.2px 1.2px at 28% 62%, rgba(255,255,255,.35), transparent),
    radial-gradient(2px 2px at 47% 15%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.3px 1.3px at 63% 48%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.7px 1.7px at 81% 28%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.1px 1.1px at 91% 68%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.4px 1.4px at 38% 84%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.2px 1.2px at 72% 88%, rgba(255,255,255,.3), transparent);
  pointer-events: none;
}

/* ---------- Type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: .01em;
  color: var(--navy-700);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); text-transform: uppercase; letter-spacing: .02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

p { text-wrap: pretty; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--gray-600); line-height: 1.6; }
.section--navy .lede { color: #B9C6DC; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::after { content: ""; height: 2px; width: 34px; background: var(--red-500); border-radius: 2px; }
.section--navy .eyebrow { color: #FF6B85; }
.section--navy .eyebrow::after { background: #FF6B85; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
  line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--red { background: var(--red-500); color: #fff; box-shadow: 0 4px 14px rgba(200, 16, 46, .32); }
.btn--red:hover { background: var(--red-400); box-shadow: 0 8px 22px rgba(200, 16, 46, .42); }

.btn--navy { background: var(--navy-700); color: #fff; box-shadow: 0 4px 14px rgba(22, 41, 77, .28); }
.btn--navy:hover { background: var(--navy-600); box-shadow: 0 8px 22px rgba(22, 41, 77, .36); }

.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn--outline { background: transparent; color: var(--navy-700); border-color: var(--gray-200); }
.btn--outline:hover { border-color: var(--navy-700); background: var(--navy-700); color: #fff; }

.btn--lg { padding: 19px 38px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.header {
  --hh: var(--header-h);
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 23, 48, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(4, 10, 24, .45); }
.header.is-scrolled { --hh: 62px; }
.header__inner {
  height: var(--hh);
  display: flex; align-items: center; gap: 26px;
  transition: height .3s var(--ease);
}
.header__logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.header__logo img { height: 46px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .84rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #C6D2E6; text-decoration: none; padding: 10px 13px; border-radius: 6px;
  transition: color .15s, background-color .15s;
  white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--red-500);
  border-radius: 2px; margin-top: 5px;
}
/* The CTA inside the nav list is for the collapsed mobile panel only —
   on desktop the one in .header__actions is the live button. */
.nav > .btn { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: 9px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.02rem;
  letter-spacing: .01em; white-space: nowrap;
  padding: 8px 4px;
}
.header__phone small {
  display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: #8FA3C4; font-weight: 600; line-height: 1.5;
}
.header__phone:hover { color: #FF8DA1; }
.header__phone svg { flex: none; color: var(--red-500); }

/* Hamburger */
.hamburger {
  display: none;
  width: 46px; height: 46px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center;
  flex: none;
}
.hamburger span {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  position: relative; transition: transform .22s var(--ease), background-color .18s;
}
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex; align-items: center;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(100deg, rgba(11,23,48,.94) 0%, rgba(11,23,48,.80) 46%, rgba(11,23,48,.55) 100%),
    var(--hero-photo, radial-gradient(1200px 700px at 70% 30%, #24406F 0%, #0B1730 70%));
  background-size: cover;
  background-position: center 42%;
  color: #fff;
  overflow: hidden;
  padding: 70px 0;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(200, 16, 46, .16);
  border: 1px solid rgba(200, 16, 46, .5);
  color: #FFC9D2;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero__badge .dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%; background: var(--red-400);
}
/* Expanding ring, transform/opacity only */
.hero__badge .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--red-400);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .6; }
  to   { transform: scale(2.8); opacity: 0; }
}

.hero h1 { color: #fff; margin-bottom: 8px; }
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: #FF8DA1;
  margin-bottom: 20px;
}
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: #C6D2E6; max-width: 560px; margin-bottom: 34px; }
.hero .btn-row { margin-bottom: 30px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 0; list-style: none; }
.hero__points li {
  display: flex; align-items: center; gap: 9px;
  font-size: .93rem; font-weight: 600; color: #D6E0EF;
}
.hero__points svg { color: var(--red-400); flex: none; }

/* Photo placeholder note — remove once real truck photos are dropped in */
.hero__credit {
  position: absolute; right: 18px; bottom: 14px; z-index: 2;
  font-size: .7rem; color: rgba(255,255,255,.4); letter-spacing: .05em;
}

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red-500), var(--navy-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D2E0; }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-500));
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(22, 41, 77, .25);
}
.card h3 { margin-bottom: 10px; text-transform: uppercase; letter-spacing: .02em; }
.card p { color: var(--gray-600); font-size: .96rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red-500); text-decoration: none;
}
.card__link svg { transition: transform .18s var(--ease); }
.card__link:hover svg { transform: translateX(5px); }

/* ---------- Service detail rows (Services page) ---------- */
.svc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--gray-200);
}
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc__media { order: -1; }
.svc__media {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__tagline {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--red-500); margin: 8px 0 16px; letter-spacing: .01em;
}
.svc h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.svc p { color: var(--gray-600); }
.svc ul { margin-top: 18px; padding-left: 0; list-style: none; display: grid; gap: 9px; }
.svc ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--gray-600); }
.svc ul svg { color: var(--red-500); flex: none; margin-top: 5px; }

/* Placeholder art used until real truck photography is supplied */
.photo-slot {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px),
    linear-gradient(140deg, var(--navy-600), var(--navy-900));
  display: grid; place-items: center; text-align: center; color: #7C90B4;
  padding: 30px;
}
.photo-slot__star { width: 62px; height: 62px; opacity: .55; margin-bottom: 12px; }
.photo-slot small {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: #6E82A6;
}

/* ---------- Reviews ---------- */
.reviews { position: relative; }
.review-track { position: relative; min-height: 250px; }
.review {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
  text-align: center;
  max-width: 780px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.review.is-active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }
.stars { display: flex; gap: 4px; color: var(--star); margin-bottom: 20px; }
.review__text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.7vw, 1.95rem);
  font-weight: 500; line-height: 1.35; color: #fff; margin-bottom: 22px;
}
.review__author { font-size: .88rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FF8DA1; }
.review__meta { font-size: .8rem; color: #8FA3C4; margin-top: 4px; }

.review-dots { display: flex; gap: 9px; justify-content: center; margin-top: 32px; }
.review-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.28); transition: background-color .2s, width .2s var(--ease);
}
.review-dots button[aria-pressed="true"] { background: var(--red-500); width: 26px; border-radius: 5px; }

/* Static review cards (Reviews page) */
.review-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.review-card .stars { margin-bottom: 0; }
.review-card p { color: var(--gray-800); font-size: 1.02rem; line-height: 1.6; }
.review-card footer { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--gray-100); }
.review-card strong { display: block; font-size: .92rem; color: var(--navy-700); }
.review-card span { font-size: .82rem; color: var(--gray-400); }

/* ---------- Service area ---------- */
.area-map {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
  background: var(--gray-100);
  aspect-ratio: 16 / 11;
}
.area-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.state-list { display: grid; gap: 14px; margin-top: 26px; padding: 0; list-style: none; }
.state-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 18px 20px;
}
.section--navy .state-list li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.state-list svg { color: var(--red-500); flex: none; margin-top: 3px; }
.state-list strong { display: block; font-family: var(--font-display); font-size: 1.22rem; text-transform: uppercase; letter-spacing: .03em; color: var(--navy-700); }
.section--navy .state-list strong { color: #fff; }
.state-list span { font-size: .9rem; color: var(--gray-600); }
.section--navy .state-list span { color: #A8B8D2; }

/* ---------- Forms ---------- */
.form-wrap {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 40px;
}
.fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.fieldset:last-of-type { margin-bottom: 24px; }
.fieldset > legend {
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--navy-700);
  padding: 0 0 6px; margin-bottom: 20px; width: 100%;
  border-bottom: 2px solid var(--gray-100);
  display: flex; align-items: center; gap: 11px;
}
.fieldset > legend .num {
  width: 27px; height: 27px; border-radius: 50%; background: var(--red-500); color: #fff;
  font-family: var(--font-body); font-size: .82rem; font-weight: 700;
  display: grid; place-items: center; flex: none;
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label, .radio-group__label {
  font-size: .84rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy-700);
}
.field .hint { font-size: .82rem; color: var(--gray-400); font-weight: 400; text-transform: none; letter-spacing: 0; }
.req { color: var(--red-500); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1rem;
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C3CCDA; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(30, 55, 99, .12);
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--red-500); }

/* Radio pills */
.radio-group { display: flex; flex-direction: column; gap: 9px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.radio-pill span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 100px;
  border: 1.5px solid var(--gray-200); background: #fff;
  font-size: .93rem; font-weight: 600; cursor: pointer;
  transition: all .16s var(--ease);
  user-select: none;
}
.radio-pill span::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--gray-400); flex: none; transition: all .16s;
}
.radio-pill:hover span { border-color: #B6C1D2; }
.radio-pill input:checked + span {
  border-color: var(--navy-700); background: rgba(22, 41, 77, .05); color: var(--navy-700);
}
.radio-pill input:checked + span::before { border-color: var(--red-500); border-width: 5px; }
.radio-pill input:focus-visible + span { outline: 3px solid var(--red-500); outline-offset: 2px; }

.geo-btn {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 9px 16px; border-radius: 100px;
  border: 1.5px solid var(--gray-200); background: var(--gray-50);
  font-size: .86rem; font-weight: 600; color: var(--navy-700); cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.geo-btn:hover { border-color: var(--navy-600); background: #fff; transform: translateY(-1px); }
.geo-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.geo-btn svg { color: var(--red-500); flex: none; }

.conditional { display: none; margin-top: 14px; }
.conditional.is-open { display: block; animation: slideDown .25s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* File upload */
.dropzone {
  border: 2px dashed var(--gray-200); border-radius: var(--radius-lg);
  padding: 34px 24px; text-align: center; cursor: pointer;
  background: var(--gray-50);
  transition: border-color .18s, background-color .18s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--navy-600); background: rgba(30, 55, 99, .05); }
.dropzone svg { color: var(--navy-500); margin: 0 auto 12px; }
.dropzone strong { display: block; color: var(--navy-700); font-size: 1rem; margin-bottom: 4px; }
.dropzone small { color: var(--gray-400); font-size: .85rem; }
.dropzone input[type="file"] { display: none; }

.file-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.file-list li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 10px 13px; font-size: .9rem;
}
.file-list img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; flex: none; }
.file-list .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .size { color: var(--gray-400); font-size: .82rem; flex: none; }
.file-list button {
  background: none; border: 0; color: var(--gray-400); cursor: pointer; padding: 4px;
  border-radius: 4px; flex: none; display: grid; place-items: center;
}
.file-list button:hover { color: var(--red-500); background: rgba(200,16,46,.08); }

.form-note {
  background: rgba(22, 41, 77, .05);
  border-left: 3px solid var(--navy-600);
  padding: 15px 18px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem; color: var(--gray-600); margin-bottom: 22px;
}
.form-note strong { color: var(--navy-700); }

/* Success panel */
.form-success {
  display: none;
  text-align: center; padding: 56px 32px;
}
.form-success.is-visible { display: block; animation: slideDown .4s var(--ease); }
.form-success__icon {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 24px;
  background: linear-gradient(140deg, #1F9D55, #157F42);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 24px rgba(21, 127, 66, .3);
}
.form-success h2 { margin-bottom: 14px; }
.form-success p { color: var(--gray-600); max-width: 480px; margin: 0 auto 12px; }

.form-error {
  display: none;
  background: rgba(200, 16, 46, .07); border: 1px solid rgba(200, 16, 46, .3);
  color: var(--red-600); padding: 14px 18px; border-radius: var(--radius);
  font-size: .93rem; margin-bottom: 20px; font-weight: 500;
}
.form-error.is-visible { display: block; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; }

/* ---------- Contact blocks ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(140deg, var(--red-500), var(--red-600));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 14px rgba(200, 16, 46, .28);
}
.contact-card h3 { font-size: 1.15rem; text-transform: uppercase; margin-bottom: 8px; }
.contact-card a, .contact-card p { color: var(--gray-600); text-decoration: none; font-size: 1rem; word-break: break-word; }
.contact-card a:hover { color: var(--red-500); }

/* ---------- Team (About) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.team-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.team-card__photo { aspect-ratio: 4 / 3; }
.team-card__body { padding: 26px 28px 30px; }
.team-card h3 { margin-bottom: 4px; text-transform: uppercase; }
.team-card .role {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red-500); margin-bottom: 12px;
}
.team-card p { color: var(--gray-600); font-size: .96rem; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  text-align: center; padding: 26px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
}
.value svg { color: var(--red-400); margin: 0 auto 12px; }
.value strong { display: block; font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: 6px; }
.value span { font-size: .88rem; color: #A8B8D2; }

/* ---------- Page hero (interior pages) ---------- */
.pagehero {
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(43, 74, 126, .6), transparent 60%),
    linear-gradient(165deg, var(--navy-800), var(--navy-900));
  color: #fff; padding: 68px 0 62px;
  position: relative; overflow: hidden;
}
.pagehero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 14px; }
.pagehero p { color: #B9C6DC; max-width: 620px; font-size: 1.08rem; }
.breadcrumb {
  display: flex; gap: 9px; align-items: center; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: #7F93B5; margin-bottom: 16px;
}
.breadcrumb a { color: #7F93B5; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #A8B8D2; padding: 66px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 46px;
}
.footer__logo img { height: 60px; width: auto; margin-bottom: 18px; }
.footer p { font-size: .93rem; line-height: 1.7; }
.footer h3 {
  font-size: .84rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px; font-family: var(--font-body);
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer ul a { text-decoration: none; font-size: .93rem; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; }
.footer__contact svg { color: var(--red-500); flex: none; margin-top: 4px; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: #fff; }
.footer__phone { font-size: 1.22rem !important; font-weight: 700; color: #fff !important; font-family: var(--font-display); letter-spacing: .02em; }

.socials { display: flex; gap: 11px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  display: grid; place-items: center; color: #C6D2E6;
  transition: all .18s var(--ease);
}
.socials a:hover { background: var(--red-500); border-color: var(--red-500); color: #fff; transform: translateY(-2px); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: #7F93B5;
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Sticky mobile action bar ---------- */
.mobilebar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
  background: rgba(11, 23, 48, .98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.mobilebar .btn { flex: 1; padding: 15px 10px; font-size: .92rem; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.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;
}

/* Scroll-reveal (directional variants + stagger delay set by JS via --rd).
   Hidden states are gated behind the .js root class so content stays fully
   visible if JavaScript never runs. */
.reveal {
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.js .reveal:not(.is-in)[data-reveal="scale"] { transform: scale(.93); }
.js .reveal:not(.is-in)[data-reveal="fade"]  { transform: none; }
/* Directional slides only where there's room — on phones they'd create
   sideways scrollable overflow, so they fall back to the vertical rise. */
@media (min-width: 701px) {
  .js .reveal:not(.is-in)[data-reveal="left"]  { transform: translateX(-30px); }
  .js .reveal:not(.is-in)[data-reveal="right"] { transform: translateX(30px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
  .reveal { transition: none; }
}

/* ==========================================================================
   Responsive — mobile is the priority here. Most people hitting this site are
   standing next to a broken-down car holding a phone.
   ========================================================================== */

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

/* The full header (logo + nav + phone + CTA) needs ~1180px; below that the
   CTA hides first, and below 1024px the nav collapses to the hamburger. */
@media (max-width: 1179px) {
  .header__actions > .btn { display: none; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; gap: 28px; padding: 42px 0; }
  .svc:nth-child(even) .svc__media { order: 0; }
}

@media (max-width: 1023px) {
  /* Collapse nav into a slide-down panel */
  .hamburger { display: flex; }
  .header__actions .btn { display: none; }
  .header__phone small { display: none; }

  .nav {
    position: fixed; top: var(--hh); left: 0; right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255,255,255,.12);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 22px 24px;
    transform: translateY(-14px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    max-height: calc(100vh - var(--hh)); overflow-y: auto;
    box-shadow: 0 14px 30px rgba(0,0,0,.35);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav a {
    padding: 15px 6px; font-size: .95rem; letter-spacing: .07em;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: #FF8DA1; }
  .nav .btn {
    display: inline-flex; margin-top: 18px; border-bottom: 0;
    padding: 16px 24px; font-size: 1rem;
  }

  /* Leave room for the fixed call bar */
  .mobilebar { display: flex; }
  body { padding-bottom: var(--mobilebar-h); }
  .footer { padding-bottom: 10px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
  .wrap { padding-inline: 18px; }

  .hero { min-height: auto; padding: 56px 0 62px; background-position: center; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn { width: 100%; }
  .hero__points { gap: 10px 18px; }
  .hero__points li { font-size: .87rem; }

  .grid--3, .grid--2, .team-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 34px; }

  .form-wrap { padding: 26px 20px; border-radius: var(--radius); }
  .field-grid { grid-template-columns: 1fr; gap: 15px; }
  .fieldset > legend { font-size: 1.15rem; }
  .radio-row { gap: 8px; }
  .radio-pill span { padding: 11px 16px; font-size: .9rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-top: 48px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 10px; }

  .cta-band .btn-row { flex-direction: column; }
  .cta-band .btn { width: 100%; }

  .pagehero { padding: 46px 0 44px; }
  .review-track { min-height: 300px; }
}

@media (max-width: 420px) {
  .header__logo img { height: 38px; }
  .header__phone span { display: none; }
  .mobilebar .btn { font-size: .85rem; letter-spacing: .02em; padding: 14px 6px; }
}

/* ==========================================================================
   MOTION LAYER
   Everything below is animation & the components built around it.
   All animation is transform/opacity-only, and every moving piece is
   disabled under prefers-reduced-motion at the bottom of this layer.
   ========================================================================== */

:root {
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Button sheen sweep ---------- */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: transform .65s var(--ease-out-expo);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(420%) skewX(-20deg); }

/* ---------- Phone icon ring wiggle ---------- */
@keyframes ring {
  0%, 24%, 100% { transform: rotate(0); }
  4%  { transform: rotate(-16deg); }
  8%  { transform: rotate(13deg); }
  12% { transform: rotate(-10deg); }
  16% { transform: rotate(6deg); }
  20% { transform: rotate(0); }
}
.header__phone > svg,
.mobilebar .btn--ghost svg {
  animation: ring 5.2s ease-in-out 2.4s infinite;
  transform-origin: 50% 50%;
}

/* ---------- Micro-interactions ---------- */
.card__icon { transition: transform .35s var(--ease-spring); }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.08); }
.contact-card__icon { transition: transform .3s var(--ease-spring); }
.contact-card:hover .contact-card__icon { transform: scale(1.1); }
.socials a:hover svg { animation: ring 1.2s ease-in-out; }

/* Eyebrow underline draws itself when its section reveals */
.reveal .eyebrow::after {
  transform-origin: left;
  transition: transform .8s var(--ease-out-expo) .3s;
}
.js .reveal:not(.is-in) .eyebrow::after { transform: scaleX(0); }

/* Nav link underline slides in on hover (desktop only) */
@media (min-width: 1024px) {
  .nav a { position: relative; }
  .nav a:not([aria-current])::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px;
    background: var(--red-500); border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--ease-out-expo);
  }
  .nav a:not([aria-current]):hover::after { transform: scaleX(1); }
}

/* ---------- Hero entrance ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero [data-hero] { animation: rise .85s var(--ease-out-expo) both; animation-delay: var(--d, 0s); }

/* ---------- Hero road scene (homepage) ---------- */
.hero--scene { padding-bottom: 190px; }
.hero__scene {
  position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  pointer-events: none; z-index: 1;
}
.hero__scene::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 84px;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 24, .6));
}
.hero__road {
  position: absolute; left: 0; right: 0; bottom: 30px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.30) 0 38px, transparent 38px 76px);
  background-size: 76px 4px;
}
@keyframes roadmove { to { background-position-x: -76px; } }
.hero.is-driving .hero__road { animation: roadmove .55s linear infinite; }

.hero__truck {
  position: absolute; bottom: 6px; right: 4%;
  width: min(360px, 46vw);
  height: auto; aspect-ratio: 660 / 250;
  transform: translateX(calc(-60vw - 400px));
  animation: driveIn 2.5s cubic-bezier(.2, .8, .3, 1) .3s forwards;
}
@keyframes driveIn { to { transform: translateX(0); } }

/* Inline hero truck: wheels + beacon controlled by page CSS */
.hero__truck .wheel-ctl {
  animation: truckwheel .8s linear infinite;
  animation-play-state: paused;
  transform-origin: center; transform-box: fill-box;
}
.hero.is-driving .hero__truck .wheel-ctl { animation-play-state: running; }
@keyframes truckwheel { to { transform: rotate(360deg); } }
.hero__truck .beacon-ctl { animation: beaconpulse 1.6s ease-in-out infinite; }
@keyframes beaconpulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.hero.is-driving .hero__truck .bob-ctl { animation: truckbob .5s ease-in-out infinite alternate; }
@keyframes truckbob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }

/* Always-running truck part classes for inline SVG copies (road divider, scenes) */
.t-wheel { animation: truckwheel .8s linear infinite; transform-origin: center; transform-box: fill-box; }
.t-beacon { animation: beaconpulse 1.6s ease-in-out infinite; }
.t-bob { animation: truckbob 1.3s ease-in-out infinite alternate; }

/* ---------- Starfield twinkle layer ---------- */
@keyframes twinkle { from { opacity: .2; } to { opacity: .85; } }
.starfield::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.8px 1.8px at 20% 40%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.3px 1.3px at 42% 68%, rgba(255,255,255,.45), transparent),
    radial-gradient(2px 2px at 58% 25%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.4px 1.4px at 74% 58%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.7px 1.7px at 88% 18%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.3px 1.3px at 10% 78%, rgba(255,255,255,.4), transparent);
  animation: twinkle 4.5s ease-in-out infinite alternate;
}

/* ---------- Slow-rotating star watermark ---------- */
@keyframes spinslow { to { transform: rotate(360deg); } }
.bigstar {
  position: absolute; width: clamp(280px, 34vw, 460px); height: auto;
  color: #fff; opacity: .05; pointer-events: none;
  animation: spinslow 170s linear infinite;
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--red-500); color: #fff;
  overflow: hidden; position: relative; z-index: 2;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
}
.marquee__item svg { flex: none; opacity: .75; }

/* ---------- Stats band (animated counters) ---------- */
.stats {
  background:
    radial-gradient(900px 320px at 20% -40%, rgba(43, 74, 126, .5), transparent 60%),
    var(--navy-700);
  color: #fff; position: relative; overflow: hidden;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 42px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat:last-child { border-right: 0; }
.stat__num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 3.8rem); font-weight: 700; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__num .unit { color: var(--red-400); font-size: .55em; }
.stat__label {
  display: block; margin-top: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #9DB0CE;
}

/* ---------- Road divider (truck drives across) ---------- */
.road {
  position: relative; height: 132px; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-top: 1px solid rgba(255,255,255,.06);
}
.road::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 34px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 38px, transparent 38px 76px);
  background-size: 76px 4px;
  animation: roadmove .8s linear infinite;
}
.road__truck {
  position: absolute; bottom: 8px; width: 250px;
  height: auto; aspect-ratio: 660 / 250;
  transform: translateX(-300px);
  animation: driveacross 16s linear infinite;
  will-change: transform;
}
.photo-slot--scene .scene-truck { height: auto; aspect-ratio: 660 / 250; }
@keyframes driveacross {
  from { transform: translateX(-300px); }
  to   { transform: translateX(calc(100vw + 80px)); }
}

/* ---------- How it works — steps with drawing connector ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.steps__line {
  position: absolute; top: 46px; left: 14%; right: 14%; height: 4px; z-index: 0;
  width: 72%;
}
.steps__line line {
  stroke: var(--gray-200); stroke-width: 4; stroke-linecap: round;
}
.steps__line .draw {
  stroke: var(--red-500);
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.5s var(--ease-out-expo) .35s;
}
.js .steps:not(.is-in) .steps__line .draw { stroke-dashoffset: 1; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step__num {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 22px;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-500));
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: #fff;
  transition: transform .65s var(--ease-spring), opacity .35s;
  transition-delay: var(--rd, 0s);
}
.step:nth-child(3) .step__num { background: linear-gradient(140deg, var(--red-500), var(--red-600)); }
.js .steps:not(.is-in) .step__num { transform: scale(.35); opacity: 0; }
.step h3 { text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--gray-600); font-size: .97rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.faq__item.is-open { box-shadow: var(--shadow-md); border-color: #C9D2E0; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-weight: 700; font-size: 1.05rem; color: var(--navy-700); line-height: 1.4;
}
.faq__q .chev {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-100); color: var(--navy-700);
  display: grid; place-items: center;
  transition: transform .4s var(--ease-spring), background-color .25s, color .25s;
}
.faq__item.is-open .chev { transform: rotate(180deg); background: var(--red-500); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out-expo); }
.faq__a > div { padding: 0 24px 22px; color: var(--gray-600); font-size: .98rem; }

/* ---------- Review autoplay progress ---------- */
.review-progress {
  width: 130px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.18);
  margin: 24px auto 0; overflow: hidden;
}
.review-progress span {
  display: block; height: 100%; width: 100%; background: var(--red-500);
  transform: scaleX(0); transform-origin: left;
}
@keyframes revprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.review-progress span.run { animation: revprog var(--review-delay, 6.5s) linear forwards; }
.review-progress.paused span { animation-play-state: paused; }

/* ---------- Photo slot with living mini-scene ---------- */
.photo-slot--scene { padding: 0; display: block; }
.photo-slot--scene .scene-truck {
  position: absolute; bottom: 17%; left: 50%; width: 74%;
  transform: translateX(-50%);
}
.photo-slot--scene::after {
  content: ""; position: absolute; left: 7%; right: 7%; bottom: 16%; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 30px, transparent 30px 60px);
  background-size: 60px 3px;
  animation: roadmove .8s linear infinite;
}
.photo-slot__note {
  position: absolute; top: 14px; right: 16px;
  font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #6E82A6;
}

/* ---------- Motion layer responsive ---------- */
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps__line { display: none; }
  .road { height: 110px; }
  .road__truck { width: 200px; }
}
@media (max-width: 700px) {
  .hero--scene { padding-bottom: 170px; }
  .hero__truck { width: min(300px, 72vw); right: 6%; }
  .hero__scene { height: 120px; }
  .marquee__item { font-size: .92rem; gap: 20px; padding-right: 20px; }
  .faq__q { padding: 17px 18px; font-size: .98rem; }
  .faq__a > div { padding: 0 18px 18px; }
}

/* ---------- Reduced motion: park everything ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn::after,
  .header__phone > svg,
  .mobilebar .btn--ghost svg,
  .socials a:hover svg,
  .starfield::after,
  .bigstar,
  .marquee__track,
  .road::before,
  .hero__road { animation: none !important; }

  .hero [data-hero] { animation: none; }
  .hero__truck { animation: none; transform: none; }
  .hero__truck .wheel-ctl, .hero__truck .beacon-ctl, .hero__truck .bob-ctl,
  .t-wheel, .t-beacon, .t-bob { animation: none !important; }
  .road__truck { animation: none; transform: translateX(14vw); }
  .photo-slot--scene::after { animation: none; }

  .js .reveal:not(.is-in) .eyebrow::after { transform: scaleX(1); transition: none; }
  .js .steps:not(.is-in) .steps__line .draw { stroke-dashoffset: 0; transition: none; }
  .js .steps:not(.is-in) .step__num { transform: scale(1); opacity: 1; transition: none; }
  .faq__a { transition: none; }
  .review-progress { display: none; }
  .card:hover .card__icon, .contact-card:hover .contact-card__icon { transform: none; }
  .motion-toggle { display: none; }
}

/* ---------- Motion pause control (WCAG 2.2.2 for the looping pieces) ---------- */
.motion-toggle {
  position: fixed; left: 14px; bottom: 14px; z-index: 130;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(11, 23, 48, .85); color: #C6D2E6;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; cursor: pointer;
  opacity: .65; transition: opacity .2s, transform .2s var(--ease);
}
.motion-toggle:hover { opacity: 1; transform: scale(1.08); }
.motion-toggle .icon-play { display: none; }
body.motion-paused .motion-toggle .icon-play { display: block; }
body.motion-paused .motion-toggle .icon-pause { display: none; }
@media (max-width: 1023px) { .motion-toggle { bottom: calc(var(--mobilebar-h) + 12px); } }

body.motion-paused .marquee__track,
body.motion-paused .road::before,
body.motion-paused .road__truck,
body.motion-paused .starfield::after,
body.motion-paused .hero__road,
body.motion-paused .photo-slot--scene::after,
body.motion-paused .bigstar,
body.motion-paused .header__phone > svg,
body.motion-paused .mobilebar .btn--ghost svg,
body.motion-paused .hero__truck,
body.motion-paused .hero__truck .wheel-ctl,
body.motion-paused .hero__truck .beacon-ctl,
body.motion-paused .hero__truck .bob-ctl,
body.motion-paused .t-wheel,
body.motion-paused .t-beacon,
body.motion-paused .t-bob,
body.motion-paused .review-progress span,
body.motion-paused .hero__badge .dot::after {
  animation-play-state: paused !important;
}

/* ---------- Print ---------- */
@media print {
  .header, .mobilebar, .footer, .btn { display: none !important; }
  body { padding-bottom: 0; }
}
