/* ===== Tokens ===== */
:root {
  --bg: #ffffff;
  --surface: #f6f6f8;
  --surface-2: #f0f0f3;
  --ink: #0b0b0b;
  --muted: #6c6c74;
  --line: #e9e9ee;
  --red: #e11d2a;
  --red-dark: #b3141f;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 11, 0.04), 0 4px 14px rgba(11, 11, 11, 0.05);
  --shadow-md: 0 10px 40px rgba(11, 11, 11, 0.08);
  --maxw: 1160px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Scroll-reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.7,.24,1), transform .7s cubic-bezier(.22,.7,.24,1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Buttons ===== */
.btn {
  --pad-y: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: var(--pad-y) 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(225, 29, 42, 0.28); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 8px 22px rgba(225, 29, 42, 0.34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--lg { --pad-y: 15px; font-size: 16px; padding-left: 26px; padding-right: 26px; }
.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo { height: 40px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .2s ease; position: relative;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink);
}
.nav__phone svg { color: var(--red); }

/* ===== Hero ===== */
.hero { padding: 74px 0 40px; overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .02em;
  color: var(--muted); text-transform: uppercase;
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225,29,42,.15); }
.hero__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(44px, 6.2vw, 76px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 22px 0 20px;
}
.hero__title .accent { color: var(--red); }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero__stats {
  display: flex; gap: 34px; list-style: none; padding-top: 26px; border-top: 1px solid var(--line);
}
.hero__stats strong {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -0.01em;
}
.hero__stats span { font-size: 13.5px; color: var(--muted); }

/* Hero media */
.hero__media { position: relative; }
.media-card {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #000;
  aspect-ratio: 4 / 5;
}
.media-card__video { width: 100%; height: 100%; object-fit: cover; }
.media-card__badge {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm);
}
.media-card__badge-k { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.media-card__badge-v { font-size: 12.5px; color: var(--muted); }

/* ===== Loads strip (logo marquee) ===== */
.loads { padding: 32px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.loads__label { text-align: center; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 24px; font-weight: 600; }

.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }

.brand {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 38px; height: 58px;
  opacity: .92; transition: opacity .25s ease, transform .25s ease;
}
.brand:hover { opacity: 1; transform: translateY(-2px) scale(1.04); }
.brand svg { height: 28px; width: auto; display: block; }
.brand img { width: auto; display: block; }
.brand--jbhunt img { height: 34px; }
.brand--usps img { height: 48px; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Generic section ===== */
.section { padding: 96px 0; }
.section__head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.02em; line-height: 1.05; }
.section__lead { font-size: 18px; color: var(--muted); margin-top: 16px; }
.section__lead strong { color: var(--ink); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dededf; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(225, 29, 42, 0.08); color: var(--red); margin-bottom: 20px;
}
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* ===== Numbers ===== */
.numbers { padding: 40px 0 96px; }
.numbers__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; overflow: hidden;
}
.numbers .section__title { color: #fff; }
.numbers .section__lead { color: rgba(255, 255, 255, 0.72); }
.numbers .section__lead strong { color: #fff; }
.numbers__copy .btn { margin-top: 28px; }
.numbers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm); padding: 24px 22px;
}
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 30px; color: #fff; letter-spacing: -0.01em; }
.stat:nth-child(1) .stat__num, .stat:nth-child(3) .stat__num { color: var(--red); }
.stat__label { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: .05em; }

/* ===== Apply ===== */
.apply { padding: 0 0 100px; }
.apply__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.apply__copy .section__title { margin-top: 18px; }
.apply__contacts { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 2px; }
.apply__contacts li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.apply__contacts li:last-child { border-bottom: 1px solid var(--line); }
.apply__ck { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); width: 84px; flex-shrink: 0; font-weight: 600; }
.apply__contacts a { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.apply__contacts a:hover { color: var(--red); }

/* Form */
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 14px; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 29, 42, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: #a6a6ae; }
.form .btn { margin-top: 8px; }
.form__note { font-size: 14px; margin-top: 14px; text-align: center; min-height: 20px; }
.form__note.ok { color: #157a3a; }
.form__note.err { color: var(--red); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__logo { height: 38px; margin-bottom: 8px; }
.footer__brand p { font-size: 14px; color: var(--muted); }
.footer__links { display: flex; gap: 26px; }
.footer__links a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s ease; }
.footer__links a:hover { color: var(--red); }
.footer__copy { width: 100%; font-size: 13px; color: #a6a6ae; padding-top: 24px; border-top: 1px solid var(--line); }

/* ===== Mobile sticky CTA ===== */
.mobile-cta {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  text-align: center; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  padding: 15px; border-radius: 999px; box-shadow: 0 10px 30px rgba(225, 29, 42, 0.4);
  transform: translateY(150%); opacity: 0;
  transition: transform .34s cubic-bezier(.2,.7,.2,1), opacity .34s ease;
}
.mobile-cta.show { transform: none; opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; max-width: 460px; }
  .media-card { aspect-ratio: 16 / 11; }
  .cards { grid-template-columns: 1fr; }
  .numbers__inner { grid-template-columns: 1fr; gap: 34px; padding: 40px 28px; }
  .apply__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .hero { padding: 34px 0 22px; }
  .hero__inner { gap: 30px; }
  .hero__media { max-width: 100%; }
  .media-card { aspect-ratio: 16 / 10; }
  .media-card__badge { display: none; }          /* let the video breathe on phones */
  .hero__title { margin: 16px 0 16px; }
  .hero__sub { font-size: 16.5px; }
  .hero__actions { flex-direction: column; gap: 10px; margin: 24px 0 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 20px; padding-top: 22px; }
  .hero__stats strong { font-size: 22px; }
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 38px; }
  .cards { gap: 16px; }
  .card { padding: 26px 24px; }
  .numbers { padding: 24px 0 60px; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .mobile-cta { display: block; }
  body { padding-bottom: 92px; }
}
