/* ==========================================================================
   PRIME EDGE — Design System
   Brand: Red / Blue / White
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy-950: #04122b;
  --navy-900: #071c3f;
  --navy-800: #0a2551;
  --navy-700: #0f3268;
  --navy-600: #164289;
  --blue-500: #1d5bc4;
  --blue-400: #3b82f6;
  --blue-100: #dbe8ff;

  --red-700: #a5141c;
  --red-600: #c8181f;
  --red-500: #e01e26;
  --red-400: #f0353c;
  --red-100: #ffe4e5;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f8;
  --gray-200: #dee5f0;
  --gray-300: #c5d0e0;
  --gray-500: #6b7b93;
  --gray-600: #52627a;
  --gray-700: #3a4859;
  --ink: #0c1a30;

  /* Semantic */
  --brand: var(--navy-800);
  --accent: var(--red-500);
  --bg: var(--white);
  --text: var(--gray-700);
  --heading: var(--ink);

  /* Type */
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Space */
  --container: 1200px;
  --gutter: 24px;
  --section-y: 96px;

  /* Effects */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(12, 26, 48, .08), 0 1px 2px rgba(12, 26, 48, .04);
  --shadow-md: 0 6px 18px rgba(12, 26, 48, .09), 0 2px 6px rgba(12, 26, 48, .05);
  --shadow-lg: 0 18px 44px rgba(12, 26, 48, .16), 0 6px 14px rgba(12, 26, 48, .07);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 76px;
  --topbar-h: 38px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
figure, figcaption { margin: 0; }
a { color: var(--blue-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red-500); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--heading);
  margin: 0;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--red-500); color: #fff; }

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

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: 64px; }
.section--alt { background: var(--gray-50); }
.section--dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .78);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* Visible to screen readers only - used for headings a sighted reader gets
   from context but that assistive tech needs in order to follow the outline. */
.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red-500); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--red-500); display: block;
}
.section--dark .eyebrow { color: var(--red-400); }
.section--dark .eyebrow::before { background: var(--red-400); }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

.sec-title { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.sec-sub { margin-top: 18px; font-size: 1.06rem; color: var(--gray-600); }
.section--dark .sec-sub { color: rgba(255, 255, 255, .72); }

.lead { font-size: 1.14rem; color: var(--gray-600); }
.text-red { color: var(--red-500); }
.text-center { text-align: center; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--red-500);
  --btn-fg: #fff;
  --btn-bd: var(--red-500);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.1; text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(224, 30, 38, .28);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--navy { --btn-bg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--navy:hover { box-shadow: 0 10px 24px rgba(10, 37, 81, .3); }

.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--gray-300);
}
.btn--outline:hover {
  --btn-bd: var(--navy-800);
  background: var(--navy-800); --btn-fg: #fff;
  box-shadow: 0 10px 24px rgba(10, 37, 81, .22);
}

.btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45);
}
.btn--ghost:hover {
  background: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.btn--lg { padding: 18px 38px; font-size: 15px; }
.btn--block { width: 100%; }

/* For buttons whose label is a literal address (email), where uppercasing hurts */
.btn--plain { text-transform: none; letter-spacing: .01em; font-size: 15px; }

/* ---------- Handoff toast ----------
   tel: and mailto: links open the phone / mail app when the device has one.
   Plenty of desktops have no mail client registered, which makes the click
   look broken — this appears only in that case and offers a way through. */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  display: flex; flex-direction: column; gap: 13px;
  width: max-content; max-width: min(620px, calc(100vw - 32px));
  padding: 18px 20px;
  background: var(--navy-900); color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.toast-msg { font-size: .93rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.toast-msg b { color: #fff; font-weight: 600; }

/* App choices */
.toast-apps {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.toast-lead {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45); margin-right: 2px;
}
.toast-app {
  font-size: 12.5px; font-weight: 600; color: #fff;
  padding: 8px 14px; border-radius: 100px; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .06);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.toast-app:hover {
  color: #fff; background: var(--blue-500); border-color: var(--blue-500);
  transform: translateY(-1px);
}
/* Desktop-app protocols: only work when that program is installed */
.toast-app.is-app::after {
  content: "app"; margin-left: 7px;
  font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.toast-app.is-app:hover::after { color: rgba(255, 255, 255, .8); }

.toast-actions {
  display: flex; gap: 8px;
  padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.toast-actions > * {
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 9px 16px; border-radius: var(--radius); white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent; color: #fff; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.toast-actions > *:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.toast-actions .is-primary { background: var(--red-500); border-color: var(--red-500); margin-right: auto; }
.toast-actions .is-primary:hover { background: var(--red-600); border-color: var(--red-600); }

@media (max-width: 640px) {
  .toast { left: 16px; right: 16px; transform: translateY(16px); width: auto; max-width: none; }
  .toast.is-visible { transform: translateY(0); }
  .toast-actions > * { flex: 1; text-align: center; }
  .toast-actions .is-primary { margin-right: 0; }
}

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

/* ---------- 6. Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  height: var(--topbar-h);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-regs { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-regs span { letter-spacing: .04em; }
.topbar-regs b { color: #fff; font-weight: 600; }
.topbar-contact { display: flex; gap: 22px; align-items: center; }
.topbar-contact a { color: rgba(255, 255, 255, .82); display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: #fff; }
.topbar-contact svg { width: 14px; height: 14px; opacity: .7; }

/* ---------- 7. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .25s var(--ease), height .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-md); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--navy-900); }
.logo:hover { color: var(--navy-900); }

/* Flag lockup — the primary brand mark */
.logo-lockup { width: 172px; height: auto; display: block; }
.footer .logo-lockup { width: 190px; }
.footer .logo { --logo-ink: #ffffff; --logo-sub: rgba(255, 255, 255, .5); }

.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; color: var(--navy-900);
}
.logo-name em { font-style: normal; color: var(--red-500); }
.logo-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gray-500); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 10px 15px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy-800); border-radius: var(--radius);
  white-space: nowrap; /* "For Shippers" must never break across two lines */
}
.nav-link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--red-500); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--navy-900); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--red-500); }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Each page gives its header buttons a different label ("Get Started" vs
   "Request a Rate", "Call Dispatch" vs "Call Recruiting"). Without a shared
   width the whole nav slides sideways as you move between pages, so both
   buttons are pinned to the width of their longest label. */
@media (min-width: 1081px) {
  .nav > .btn { min-width: 204px; }
  .header-cta .btn { min-width: 200px; }
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: var(--navy-800); border: 0; border-radius: var(--radius);
  padding: 0; place-items: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 132px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 82% 12%, rgba(29, 91, 196, .42), transparent 62%),
    radial-gradient(760px 520px at 6% 92%, rgba(224, 30, 38, .26), transparent 64%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}
.hero > .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red-400);
  box-shadow: 0 0 0 0 rgba(240, 53, 60, .7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(240, 53, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 53, 60, 0); }
}

.hero-title {
  font-size: clamp(2.9rem, 6.6vw, 5.1rem);
  color: #fff;
  line-height: .96;
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--red-400); display: block; }

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, .78);
  max-width: 560px; margin-bottom: 34px;
}

.hero-actions { margin-bottom: 44px; }

.hero-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 28px;
}
.hero-trust div { padding-right: 12px; }
.hero-trust dt {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: #fff;
  line-height: 1; margin-bottom: 6px;
}
.hero-trust dd {
  margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* Hero art */
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }

.hero-card {
  position: absolute; right: 0; bottom: -14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 18px 22px; min-width: 224px;
}
.hero-card .k {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); margin-bottom: 6px;
}
.hero-card .v { font-family: var(--font-display); font-size: 1.5rem; color: #fff; line-height: 1; }

/* ---------- 9. Marquee strip ---------- */
.strip {
  background: var(--red-500);
  color: #fff;
  padding: 16px 0;
  overflow: hidden;
}
.strip-track {
  display: flex; gap: 48px; width: max-content;
  /* Duration scales with the number of items so the scroll speed stays the
     same: the loop always travels half the track, so more items need more
     seconds to move at the same pixels per second. */
  animation: marquee 102s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
}
.strip-item::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .6); margin-left: 12px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 10. Doors (Carriers / Drivers split) ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.door {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 400px; padding: 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.door::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  transition: transform .6s var(--ease);
}
.door--carriers::before {
  background:
    radial-gradient(680px 420px at 76% 8%, rgba(59, 130, 246, .5), transparent 62%),
    linear-gradient(155deg, var(--navy-800), var(--navy-950));
}
.door--drivers::before {
  background:
    radial-gradient(680px 420px at 76% 8%, rgba(240, 53, 60, .48), transparent 62%),
    linear-gradient(155deg, var(--red-700), #2a0709);
}
.door::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 78%);
}
.door:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.door:hover::before { transform: scale(1.06); }

.door-num {
  position: absolute; top: 28px; right: 34px;
  font-family: var(--font-display); font-size: 6rem; font-weight: 700;
  color: rgba(255, 255, 255, .1); line-height: 1;
}
.door-icon {
  width: 54px; height: 54px; margin-bottom: auto;
  color: rgba(255, 255, 255, .9);
}
.door h3 { font-size: 2.3rem; color: #fff; margin-bottom: 12px; }
.door p { color: rgba(255, 255, 255, .78); margin-bottom: 22px; max-width: 40ch; }
.door-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.door-list li {
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
}
.door-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: #fff;
  align-self: flex-start;
}
.door-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.door:hover .door-link svg { transform: translateX(6px); }
.door-link::after {
  content: ""; position: absolute; inset: 0; /* full-card click target */
}

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

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--red-500); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 50px; height: 50px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--navy-700);
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon--red { background: var(--red-100); color: var(--red-600); }

.card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.card p { font-size: .97rem; color: var(--gray-600); }

.section--dark .card {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .12);
}
.section--dark .card:hover { background: rgba(255, 255, 255, .08); border-color: transparent; }
.section--dark .card p { color: rgba(255, 255, 255, .72); }
.section--dark .card-icon { background: rgba(59, 130, 246, .18); color: #9dc2ff; }
.section--dark .card-icon--red { background: rgba(240, 53, 60, .18); color: #ff9ba0; }

/* Equipment split cards */
.equip { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.equip-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: #fff;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.equip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.equip-visual {
  height: 200px; position: relative; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  overflow: hidden;
}
.equip-card:nth-child(2) .equip-visual { background: linear-gradient(150deg, var(--red-700), #300a0c); }
.equip-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.equip-visual svg { width: 74%; position: relative; z-index: 1; color: rgba(255, 255, 255, .92); }
.equip-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--red-500); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius);
}
.equip-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.equip-body h3 { font-size: 1.75rem; margin-bottom: 12px; }
.equip-specs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--gray-200);
}
.equip-specs div { font-size: .9rem; }
.equip-specs dt {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 3px;
}
.equip-specs dd { margin: 0; font-weight: 600; color: var(--navy-800); }

/* ---------- 12. Feature list ---------- */
.checklist { display: grid; gap: 15px; }
/* The check sits in the margin and the copy stays one continuous run of text —
   a flex li would split <strong> and the sentence after it into separate
   columns, which makes every line wrap at a different place. */
.checklist li {
  position: relative;
  padding-left: 35px;
  font-size: 1rem; line-height: 1.65; color: var(--gray-600);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .18em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist strong { margin-right: .25em; }
.checklist strong { color: var(--navy-800); }
.section--dark .checklist li { color: rgba(255, 255, 255, .76); }
.section--dark .checklist strong { color: #fff; }

.checklist--blue li::before { background-color: var(--blue-500); }

/* ---------- 13. Split media block ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.split--reverse .split-media,
.split--reverse > .photo { order: 2; }

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  min-height: 400px;
  display: grid; place-items: center;
  padding: 40px;
}
.split-media::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
}
.split-media svg,
.split-media > img { position: relative; z-index: 1; width: 100%; color: #fff; }

.split-badge {
  position: absolute; z-index: 2; bottom: 24px; left: 24px;
  background: var(--red-500); color: #fff; padding: 14px 20px; border-radius: var(--radius);
}
.split-badge .k { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.split-badge .v { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }

/* ---------- 14. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 30px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gray-200);
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 3px;
  background: var(--red-500);
}
.step-num {
  font-family: var(--font-display); font-size: 3.1rem; font-weight: 700;
  /* Navy at low opacity rather than a pale grey: on the tinted section
     background a grey this large washes out to almost nothing. */
  color: rgba(10, 37, 81, .55); line-height: 1; margin-bottom: 10px;
}
.step h3 { font-size: 1.28rem; margin-bottom: 10px; }
.step p { font-size: .95rem; color: var(--gray-600); }
.section--dark .step::before { background: rgba(255, 255, 255, .16); }
.section--dark .step-num { color: rgba(255, 255, 255, .34); }
.section--dark .step p { color: rgba(255, 255, 255, .7); }

/* ---------- 15. Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff;
}
.stat { padding: 38px 28px; text-align: center; border-right: 1px solid var(--gray-200); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700;
  color: var(--navy-800); line-height: 1; margin-bottom: 8px;
}
.stat-num .suffix { color: var(--red-500); }
.stat-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-500);
}
.section--dark .stats { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--dark .stat { border-right-color: rgba(255, 255, 255, .12); }
.section--dark .stat-num { color: #fff; }
.section--dark .stat-label { color: rgba(255, 255, 255, .58); }

/* ---------- 16. Pay table ---------- */
.paytable {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff;
}
.paytable table { font-size: .98rem; }
.paytable thead {
  background: var(--navy-800); color: #fff;
}
.paytable th {
  text-align: left; padding: 16px 22px;
  font-family: var(--font-body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
}
.paytable td { padding: 16px 22px; border-top: 1px solid var(--gray-200); }
.paytable tbody tr:nth-child(even) { background: var(--gray-50); }
.paytable td:first-child { font-weight: 600; color: var(--navy-800); }
.paytable .rate {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--red-500);
}

/* ---------- 17. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item.is-open { border-color: var(--red-500); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-size: 1.24rem; font-weight: 600;
  text-transform: uppercase; color: var(--navy-900); letter-spacing: .01em;
}
.faq-q .chev {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gray-100); color: var(--navy-800);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.faq-q .chev svg { width: 15px; height: 15px; }
.faq-item.is-open .chev { transform: rotate(180deg); background: var(--red-500); color: #fff; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 24px; color: var(--gray-600); font-size: 1rem; }

/* ---------- 18. Forms ---------- */
.form-wrap {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--navy-800);
}
.field label .req { color: var(--red-500); }
.field input, .field select, .field textarea {
  padding: 13px 15px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  background: var(--white); font-size: .97rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7b93' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(29, 91, 196, .14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(224, 30, 38, .12);
}
.field-error { font-size: 12.5px; color: var(--red-600); font-weight: 600; min-height: 0; }

.check {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .9rem; color: var(--gray-600);
}
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red-500); }
.check.has-error { color: var(--red-600); font-weight: 500; }
.check.has-error input { outline: 2px solid var(--red-500); outline-offset: 2px; border-radius: 2px; }

.form-note { font-size: .84rem; color: var(--gray-500); margin-top: 4px; }
.form-status {
  display: none; margin-top: 18px; padding: 15px 18px; border-radius: var(--radius);
  font-size: .94rem; font-weight: 500;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #e7f6ec; color: #14602f; border: 1px solid #b6e2c4; }
.form-status--err { background: var(--red-100); color: var(--red-700); border: 1px solid #f5b8bb; }

/* ---------- 19. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--red-700) 165%);
  color: #fff; padding-block: 84px;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 75%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 620px; margin-inline: auto; margin-bottom: 32px; }
.cta-note { margin-top: 22px; font-size: .86rem; color: rgba(255, 255, 255, .58); }

/* ---------- 20. Contact info blocks ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 30px; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.info-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.info-card .card-icon { margin-bottom: 18px; }
.info-card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.info-card a { font-weight: 600; color: var(--navy-800); word-break: break-word; }
.info-card a:hover { color: var(--red-500); }
.info-card address { font-style: normal; color: var(--gray-600); font-size: .97rem; }

.map-embed {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden;
  line-height: 0; box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* ---------- 21. Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); padding-top: 72px; font-size: .95rem; }
.footer a { color: rgba(255, 255, 255, .62); }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.25fr; gap: 40px;
  padding-bottom: 52px;
}
.footer .logo-name { color: #fff; }
.footer .logo-tag { color: rgba(255, 255, 255, .45); }
.footer-about { margin-top: 20px; max-width: 38ch; }
.footer-title {
  font-family: var(--font-display); font-size: 1.16rem; color: #fff;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 20px;
}
.footer-links { display: grid; gap: 11px; }
.footer-contact { display: grid; gap: 15px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--red-400); }
.footer-contact address { font-style: normal; }

.reg-badges { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.reg-badge {
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius);
  padding: 9px 14px; line-height: 1.25;
}
.reg-badge .k {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.reg-badge .v { font-family: var(--font-display); font-size: 1.14rem; color: #fff; letter-spacing: .03em; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .87rem;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--red-500); border-color: var(--red-500); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- 22. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: rgba(255, 255, 255, .78);
  padding-block: clamp(58px, 8vw, 96px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(29, 91, 196, .45), transparent 62%),
    radial-gradient(600px 420px at 0% 100%, rgba(224, 30, 38, .28), transparent 66%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); color: #fff; margin-bottom: 16px; }
.page-hero p { max-width: 620px; font-size: 1.08rem; color: rgba(255, 255, 255, .78); }

.crumbs {
  display: flex; gap: 10px; align-items: center; margin-bottom: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.crumbs a { color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--red-400); }

/* ---------- 23. Misc ---------- */
.prose h2 { font-size: 1.75rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.prose ul { margin: 0 0 1em; padding-left: 22px; }
.prose li { list-style: disc; margin-bottom: 8px; }

.note-box {
  border-left: 3px solid var(--red-500);
  background: var(--gray-50);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
}
.note-box strong { color: var(--navy-800); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal[data-delay="1"].is-in { transition-delay: .09s; }
.reveal[data-delay="2"].is-in { transition-delay: .18s; }
.reveal[data-delay="3"].is-in { transition-delay: .27s; }
.reveal[data-delay="4"].is-in { transition-delay: .36s; }
.reveal[data-delay="5"].is-in { transition-delay: .45s; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--red-500); color: #fff; border: 0;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: var(--shadow-lg);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-600); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 23b. Photos (real truck imagery) ----------
   Each .photo holds a real <img> plus an SVG fallback. If the image file is
   missing, main.js adds .photo--empty and the illustration shows instead, so
   the page never renders a broken image.
   ------------------------------------------------------------------------ */
.photo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  isolation: isolate;
}
.photo > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s var(--ease);
}
.photo-fallback {
  display: none;
  position: absolute; inset: 0;
  place-items: center; padding: 6%;
}
.photo-fallback svg,
.photo-fallback img { width: 100%; height: auto; color: #fff; }
.photo-fallback::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
}
.photo--empty > img { display: none; }
.photo--empty .photo-fallback { display: grid; }

.equip-card .photo { border-radius: 0; }
.split .photo { min-height: 100%; height: 100%; }

.photo--ratio { aspect-ratio: 16 / 10; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 21 / 9; }

.photo-caption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 46px 26px 22px;
  background: linear-gradient(to top, rgba(4, 18, 43, .92), transparent);
  color: #fff;
}
.photo-caption .k {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6); margin-bottom: 4px;
}
.photo-caption .v { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }

/* Banner-sized caption: room for a line of copy under the heading */
.photo-caption--lg { padding: 90px 40px 34px; }
.photo-caption--lg .v { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.photo-caption--lg p {
  margin: 12px 0 0; max-width: 60ch;
  font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .82);
}
@media (max-width: 640px) {
  .photo-caption--lg { padding: 70px 22px 24px; }
  .photo-caption--lg p { font-size: .93rem; }
}

/* Fleet gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery .photo { aspect-ratio: 4 / 3; }
.gallery .photo:hover img { transform: scale(1.05); }

.wrap-note {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; font-size: .92rem; color: var(--gray-500);
}
.wrap-note::before {
  content: ""; flex: none; width: 34px; height: 3px; background: var(--red-500);
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  :root { --section-y: 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-art { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { gap: 40px; }

  /* Collapse to the menu button here rather than at 900px. The header CTA is a
     different length on every page ("Get Started", "Request a Rate", "Send a
     Message"), and below ~1080px the longest of them squeezes the nav enough to
     change the header height from page to page. */
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    padding: 12px var(--gutter) 22px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 15px 4px; border-bottom: 1px solid var(--gray-100); font-size: 15px; }
  .nav-link::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle { display: grid; }
  .header-cta .btn { display: none; }
}

@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .equip { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media, .split--reverse > .photo { order: 0; }
  .split-media { min-height: 320px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--gray-200); }
  .section--dark .stat:nth-child(-n+2) { border-bottom-color: rgba(255, 255, 255, .12); }
  .info-grid { grid-template-columns: 1fr; }
  .topbar-regs { display: none; }
  .topbar .container { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --section-y: 60px; --gutter: 18px; }
  body { font-size: 16px; }
  .hero-trust { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .grid-2, .grid-3, .grid-4, .form-grid, .equip-specs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .stat:last-child { border-bottom: 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .form-wrap { padding: 26px 20px; }
  .card { padding: 28px 24px; }
  .door { min-height: 340px; padding: 30px 26px; }
  .door-num { font-size: 4rem; top: 20px; right: 24px; }
  .door h3 { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar-contact { gap: 14px; font-size: 12px; }
  .hero-card { position: static; margin-top: 20px; }
  .logo-lockup, .footer .logo-lockup { width: 148px; }
  .gallery { grid-template-columns: 1fr; }
  .paytable { overflow-x: auto; }
  .paytable table { min-width: 520px; }
  .faq-q { font-size: 1.1rem; padding: 18px 20px; }
  .faq-a p { padding: 0 20px 20px; }
}

/* ---------- 25. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .topbar, .to-top, .nav-toggle, .cta-band, .strip { display: none; }
  body { color: #000; }
  .section { padding-block: 20px; }
}
