﻿/* ==========================================================================
   UnitedWS Logistics — Brand System & Global Styles
   Identity: deep navy base / white logotype / signal-amber accent
   Type: Sora (display) + Inter (body)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #070b15;
  --bg-2: #0a1120;
  --bg-3: #0d1527;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --panel: #0c1426;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f2f5fb;
  --text-2: #a9b4ca;
  --text-3: #6e7a93;

  --accent: #ff9d2c;
  --accent-2: #ffba5e;
  --accent-deep: #e87f0e;
  --accent-ink: #190f02;
  --accent-soft: rgba(255, 157, 44, 0.12);
  --accent-line: rgba(255, 157, 44, 0.35);

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --container: 1240px;
  --shadow-card: 0 24px 60px rgba(2, 5, 12, 0.5);
  --shadow-accent: 0 10px 30px rgba(255, 138, 30, 0.28);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(255, 157, 44, 0.06), transparent 60%),
    radial-gradient(900px 700px at -10% 25%, rgba(56, 97, 188, 0.08), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 5.6vw, 4.6rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.075rem;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 60ch;
}

.accent-word {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  padding: 130px 0;
  position: relative;
}

.section--tight {
  padding: 96px 0;
}

.section--flush-top {
  padding-top: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-head .lede {
  margin-top: 20px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.grid-2,
.grid-3,
.grid-4 {
  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); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 14px;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out);
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 45%, var(--accent-deep) 120%);
  color: var(--accent-ink);
  box-shadow: var(--shadow-accent);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 138, 30, 0.38);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.875rem;
  border-radius: 11px;
}

.btn-lg {
  padding: 19px 38px;
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.text-link:hover {
  gap: 14px;
  color: var(--accent-2);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease-out), background-color 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(7, 11, 21, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-right: auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-sub {
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-3);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav ul a {
  display: block;
  padding: 9px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-2);
  border-radius: 10px;
  transition: color 0.25s, background-color 0.25s;
}

.site-nav ul a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav ul a[aria-current="page"] {
  color: var(--text);
  position: relative;
}

.site-nav ul a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

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

.nav-actions {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 180px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(255, 157, 44, 0.1), transparent 60%),
    radial-gradient(1100px 720px at 12% 110%, rgba(47, 89, 182, 0.14), transparent 65%),
    linear-gradient(180deg, #080d18 0%, var(--bg) 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, black 30%, transparent 75%);
}

.hero-routes {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 72px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 12px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin-bottom: 26px;
}

.hero-sub {
  max-width: 56ch;
  margin-bottom: 38px;
  font-size: 1.13rem;
  line-height: 1.7;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  max-width: 560px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ---------- Pulse dot ---------- */
.dot-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.dot-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse-ring 2.4s var(--ease-out) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

.dot-pulse--green {
  background: #3ddc84;
}

.dot-pulse--green::after {
  border-color: #3ddc84;
}

/* ---------- Dispatch card (hero visual) ---------- */
.dispatch-wrap {
  position: relative;
}

.dispatch-glow {
  position: absolute;
  inset: -12% -10%;
  background: radial-gradient(60% 55% at 55% 45%, rgba(255, 157, 44, 0.12), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.dispatch-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.04) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  padding: 30px;
}

.dispatch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.dispatch-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.dispatch-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ce6a5;
  background: rgba(61, 220, 132, 0.08);
  border: 1px solid rgba(61, 220, 132, 0.25);
  border-radius: 999px;
}

.dispatch-route {
  padding: 30px 4px 26px;
}

.route-cities {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.route-city {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.route-city:last-child {
  text-align: right;
}

.route-city .code {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.route-city .name {
  font-size: 0.76rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-track {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255, 157, 44, 0.45) 55%, rgba(255, 255, 255, 0.14) 55.2%, rgba(255, 255, 255, 0.14) 100%);
}

.route-track::before,
.route-track::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.route-track::before {
  left: -1px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 157, 44, 0.8);
}

.route-track::after {
  right: -1px;
  border: 2px solid var(--text-3);
  background: var(--bg-2);
}

.route-truck {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(255, 138, 30, 0.45);
  animation: route-drive 9s ease-in-out infinite alternate;
}

@keyframes route-drive {
  0% { left: 12%; }
  100% { left: 55%; }
}

.dispatch-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 6px;
}

.meta-cell {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.meta-cell .k {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.meta-cell .v {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.dispatch-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 16px;
  font-size: 0.83rem;
  color: var(--text-2);
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
}

.dispatch-foot svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Floating chip on the dispatch card */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 16, 30, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(2, 5, 12, 0.55);
}

.float-chip svg {
  color: var(--accent);
}

.float-chip--tl {
  top: -22px;
  left: -34px;
}

.float-chip--br {
  bottom: -20px;
  right: -22px;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.stat-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
  transition: background-color 0.4s var(--ease-out);
}

.stat-cell:last-child {
  border-right: 0;
}

.stat-cell:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #ffffff 30%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ---------- Cards ---------- */
.feature-card {
  position: relative;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
  opacity: 1;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 15px;
  transition: transform 0.45s var(--ease-out);
}

.feature-card:hover .icon-box {
  transform: scale(1.06) rotate(-3deg);
}

.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-2);
  margin-bottom: 20px;
}

.feature-card .text-link {
  font-size: 0.88rem;
}

/* Compact service tiles */
.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out);
}

.mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  background: var(--surface-2);
}

.mini-card .icon-box {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  border-radius: 12px;
  flex-shrink: 0;
}

.mini-card h4 {
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.mini-card p {
  font-size: 0.84rem;
  color: var(--text-3);
  line-height: 1.55;
}

/* Value cards (about) */
.value-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
}

.value-card h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.value-card h4 svg {
  color: var(--accent);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-2);
}

/* ---------- Split panels (clients / drivers) ---------- */
.split-panel {
  position: relative;
  padding: 52px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

.split-panel:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.split-panel::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -130px;
  bottom: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.split-panel .panel-tag {
  display: inline-block;
  padding: 7px 14px;
  margin-bottom: 26px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
}

.split-panel h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  margin-bottom: 16px;
}

.split-panel > p {
  color: var(--text-2);
  margin-bottom: 28px;
  max-width: 46ch;
}

.split-panel ul {
  display: grid;
  gap: 13px;
  margin-bottom: 34px;
}

/* ---------- Check items ---------- */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-2);
}

.check-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.check-item strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Why grid (numbered) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.why-item {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  transition: border-color 0.4s var(--ease-out);
}

.why-item:hover {
  border-top-color: var(--accent);
}

.why-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--text-2);
}

/* ---------- CTA panels ---------- */
.cta-panel {
  position: relative;
  padding: clamp(48px, 6vw, 88px);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    radial-gradient(700px 420px at 88% -20%, rgba(255, 157, 44, 0.16), transparent 60%),
    radial-gradient(600px 500px at -5% 120%, rgba(47, 89, 182, 0.16), transparent 60%),
    linear-gradient(180deg, #0d1527, #0a101f);
  overflow: hidden;
  isolation: isolate;
}

.cta-panel .cta-routes {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
}

.cta-panel h2 {
  max-width: 18ch;
  margin-bottom: 18px;
}

.cta-panel .lede {
  margin-bottom: 40px;
}

.cta-panel--center {
  text-align: center;
}

.cta-panel--center h2,
.cta-panel--center .lede {
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-panel--center .cta-actions {
  justify-content: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 38px 0 44px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.chip:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}

.chip svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 215px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero .hero-bg,
.page-hero .hero-grid-lines {
  z-index: -1;
}

.page-hero .eyebrow {
  margin-bottom: 24px;
}

.page-hero h1 {
  max-width: 17ch;
  margin-bottom: 24px;
}

.page-hero .lede {
  max-width: 64ch;
}

.page-hero .hero-actions {
  margin: 40px 0 0;
}

/* ---------- Service blocks (services page) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 44px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.service-block:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.service-block .icon-box {
  width: 56px;
  height: 56px;
  margin-bottom: 0;
}

.service-block h3 {
  margin-bottom: 12px;
}

.service-block > div > p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 22px;
  max-width: 60ch;
}

.service-block ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 28px;
  margin-bottom: 26px;
}

/* ---------- Feature rows (alternating) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.feature-row + .feature-row {
  margin-top: 110px;
}

.feature-row--flip .feature-row-media {
  order: 2;
}

.feature-row-content .eyebrow {
  margin-bottom: 16px;
}

.feature-row-content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 18px;
}

.feature-row-content > p {
  color: var(--text-2);
  margin-bottom: 26px;
}

.feature-row-content ul {
  display: grid;
  gap: 13px;
  margin-bottom: 30px;
}

/* ---------- Image placeholders ---------- */
.img-slot {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(420px 280px at 75% 20%, rgba(255, 157, 44, 0.09), transparent 65%),
    linear-gradient(165deg, #101a30, #0a101f);
  background-size: 44px 44px, 44px 44px, auto, auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.img-slot__icon {
  color: rgba(255, 255, 255, 0.16);
}

.img-slot__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(5, 8, 16, 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.img-slot__label svg {
  flex-shrink: 0;
  color: var(--accent);
}

.img-slot--tall {
  min-height: 480px;
}

.img-slot--short {
  min-height: 260px;
}

/* ---------- Spec card (fleet) ---------- */
.spec-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.spec-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
}

.spec-card-head svg {
  color: var(--accent);
}

.spec-rows {
  padding: 10px 30px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row .k {
  color: var(--text-3);
}

.spec-row .v {
  font-weight: 600;
  text-align: right;
}

/* ---------- Steps ---------- */
.step-list {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding-bottom: 38px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 56px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-line), var(--line));
}

.step-item:last-child::before {
  display: none;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
}

.step-item h4 {
  margin: 13px 0 8px;
}

.step-item p {
  font-size: 0.92rem;
  color: var(--text-2);
  max-width: 56ch;
}

/* ---------- Forms ---------- */
.form-shell {
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-2);
}

.field label .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 17px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a9b4ca' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.field select option {
  background: var(--bg-3);
  color: var(--text);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(255, 157, 44, 0.1);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-3);
  max-width: 42ch;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.is-visible {
  display: block;
}

.form-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
}

.form-success h3 {
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-2);
  max-width: 46ch;
  margin-inline: auto;
}

form.is-hidden {
  display: none;
}

/* ---------- Info cards / contact ---------- */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
}

.info-card .icon-box {
  width: 46px;
  height: 46px;
  margin-bottom: 0;
  border-radius: 13px;
  flex-shrink: 0;
}

.info-card h4 {
  margin-bottom: 6px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

.info-card p a:hover {
  color: var(--accent-2);
}

.placeholder-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  vertical-align: middle;
}

/* ---------- Map embed ---------- */
.map-embed {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(35%) invert(92%) hue-rotate(185deg) contrast(88%);
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 800px;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  margin-bottom: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.legal-meta svg {
  color: var(--accent);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 48px 0 14px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-2);
  font-size: 0.96rem;
  margin-bottom: 14px;
  max-width: 70ch;
}

.legal-content ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 20px;
}

.legal-content li {
  position: relative;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 0.96rem;
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.legal-content a {
  color: var(--accent);
  font-weight: 500;
}

.legal-content a:hover {
  color: var(--accent-2);
}

.legal-content strong {
  color: var(--text);
}

/* ---------- Quote sidebar ---------- */
.aside-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.aside-card + .aside-card {
  margin-top: 24px;
}

.aside-card h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.aside-card .step-item {
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding-bottom: 26px;
}

.aside-card .step-num {
  width: 40px;
  height: 40px;
  font-size: 0.82rem;
}

.aside-card .step-item::before {
  left: 19px;
  top: 44px;
}

.aside-card .step-item h4 {
  margin: 9px 0 5px;
  font-size: 0.95rem;
}

.aside-card .step-item p {
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, #050810 100%);
  padding: 88px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand {
  margin-bottom: 22px;
  margin-right: 0;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-2);
  max-width: 36ch;
  margin-bottom: 26px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
}

.footer-col ul {
  display: grid;
  gap: 13px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-2);
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--accent-2);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 34px;
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--text-2);
}

/* ---------- Route line decoration ---------- */
.route-anim .rt-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.2;
  stroke-dasharray: 5 9;
  animation: dash-move 36s linear infinite;
}

.route-anim .rt-path--accent {
  stroke: rgba(255, 157, 44, 0.35);
  animation-duration: 26s;
}

.route-anim .rt-node {
  fill: var(--accent);
  opacity: 0.55;
}

.route-anim .rt-node--dim {
  fill: rgba(255, 255, 255, 0.3);
}

@keyframes dash-move {
  to { stroke-dashoffset: -700; }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translateX(-36px);
}

[data-reveal="right"] {
  transform: translateX(36px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Misc ---------- */
.divider-fade {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
}

.kbd-note {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* Scrollbar (webkit) */
::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #1c2740;
  border-radius: 8px;
  border: 3px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: #283655;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-layout {
    gap: 48px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .float-chip--tl {
    left: -10px;
  }

  .float-chip--br {
    right: -6px;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 96px 0;
  }

  .section--tight {
    padding: 72px 0;
  }

  .hero {
    padding: 150px 0 90px;
    min-height: 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .dispatch-wrap {
    max-width: 560px;
  }

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

  .stat-cell {
    border-bottom: 1px solid var(--line);
  }

  .stat-cell:nth-child(2n) {
    border-right: 0;
  }

  .stat-cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .feature-row--flip .feature-row-media {
    order: 0;
  }

  .feature-row + .feature-row {
    margin-top: 80px;
  }

  .service-block ul {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 170px 0 80px;
  }

  /* Mobile navigation */
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    padding: 96px 36px 48px;
    background: rgba(6, 9, 18, 0.96);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* A backdrop-filtered ancestor becomes the containing block for its
     position:fixed descendants — which would stop the full-screen menu
     from covering the viewport once the header gains its scroll blur.
     Remove the header blur while the menu is open to avoid that. */
  body.nav-open .site-header {
    background: transparent;
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    /* Apply instantly — animating the blur to none keeps the header a
       containing block for the duration of the transition, which would
       trap the fixed menu for ~0.4s (the "delay" bug). */
    transition: none;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav ul a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 10px 0;
    color: var(--text);
  }

  .site-nav ul a[aria-current="page"]::after {
    left: 0;
    right: auto;
    width: 34px;
    bottom: 6px;
  }

  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 44px;
    width: 100%;
    max-width: 360px;
  }

  .nav-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 22px;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: 0;
  }

  .stat-cell:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .stat-cell:last-child {
    border-bottom: 0;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

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

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

  .field--full {
    grid-column: auto;
  }

  .dispatch-meta {
    grid-template-columns: 1fr 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .float-chip--tl,
  .float-chip--br {
    display: none;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .split-panel {
    padding: 38px 28px;
  }
}

/* ==========================================================================
   Animated U.S. freight-network hero map
   ========================================================================== */
.hero--map .hero-grid-lines {
  opacity: 0.55;
}

.hero-map {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
}

.hero-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-map-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 3%, rgba(7, 11, 21, 0.88) 25%, rgba(7, 11, 21, 0.45) 47%, rgba(7, 11, 21, 0) 66%),
    linear-gradient(180deg, rgba(7, 11, 21, 0.55) 0%, rgba(7, 11, 21, 0) 24%, rgba(7, 11, 21, 0) 68%, var(--bg) 100%);
}

/* Freight routes — thin amber strokes.
   NOTE: no SVG filter here; a filter on a fill:none stroked path
   renders an opaque black fill in some engines. */
.route-base {
  fill: none;
  stroke: rgba(255, 157, 44, 0.32);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.route-base.is-active {
  stroke: rgba(255, 184, 96, 0.55);
  stroke-width: 1.9;
}

/* Glowing city nodes */
.map-node .halo { fill: url(#dotHalo); }
.map-node .dot { fill: var(--accent); }
.map-node .core { fill: #fff3df; }

.map-node .ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
  transform-box: fill-box;
  transform-origin: center;
  animation: dotPulse 3.2s var(--ease-out) infinite;
}

@keyframes dotPulse {
  0%   { transform: scale(0.5); opacity: 0.9; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}

/* Energy pulses flowing along the lanes (bright comet dash) */
.lane-flow {
  fill: none;
  stroke: #ffdc9c;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 6 94;
  stroke-dashoffset: 100;
  animation: laneFlow 5s linear infinite;
}

@keyframes laneFlow {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 960px) {
  .hero-map { opacity: 0.6; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(7, 11, 21, 0.4) 0%, rgba(7, 11, 21, 0.74) 56%, var(--bg) 96%);
  }
}

@media (max-width: 640px) {
  .hero-map { opacity: 0.45; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
