/* =========================================================
   Carrier Booking Portal - Styles
   ========================================================= */

:root {
  --navy-900: #071330;
  --navy-800: #0b1b3f;
  --navy-700: #13295c;
  --blue-600: #1e5eff;
  --blue-500: #3b7bff;
  --blue-100: #e6eeff;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --violet-500: #7c3aed;
  --green-500: #10b981;
  --amber-500: #f59e0b;

  --ink: #0f1d3a;
  --ink-soft: #4a5878;
  --ink-muted: #8090ad;
  --line: #e4eaf5;
  --bg: #f4f7fd;
  --white: #ffffff;

  --grad-brand: linear-gradient(135deg, #1e5eff 0%, #06b6d4 100%);
  --grad-navy: linear-gradient(135deg, #071330 0%, #13295c 55%, #1e3f8f 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 29, 58, .06), 0 2px 6px rgba(15, 29, 58, .04);
  --shadow: 0 10px 30px -12px rgba(15, 29, 58, .18), 0 4px 10px -4px rgba(15, 29, 58, .06);
  --shadow-lg: 0 30px 60px -20px rgba(15, 29, 58, .35);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font: 700 15px/1 var(--font);
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 12px 24px -10px rgba(30, 94, 255, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(30, 94, 255, .8); }

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 19, 48, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  background: rgba(7, 19, 48, .95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-brand);
  box-shadow: 0 8px 20px -6px rgba(6, 182, 212, .6);
  flex-shrink: 0;
}
.brand-logo svg { width: 22px; height: 22px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-sub { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan-400); }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 8px 16px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
  font-size: 15px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #bff3ff;
  background: linear-gradient(135deg, rgba(30, 94, 255, .35), rgba(6, 182, 212, .25));
  border: 1px solid rgba(34, 211, 238, .35);
  white-space: nowrap;
}
.portal-badge svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--grad-navy);
  padding: 80px 0 120px;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 72px);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 460px; height: 460px; background: #1e5eff; top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #06b6d4; bottom: -160px; left: -100px; opacity: .4; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; background: #7c3aed; top: 40%; left: 45%; opacity: .25; animation-delay: -9s; }

.hero-grid-lines {
  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: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #d7f9ff;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .35);
}
.live-pill strong { color: #fff; font-weight: 800; }
.live-dot {
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.gradient-text {
  background: linear-gradient(90deg, #5ea0ff 0%, #22d3ee 60%, #a5f3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 540px;
  font-size: 18px;
  color: rgba(226, 236, 255, .78);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 14px;
  margin: 44px 0 0;
}
.stat {
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
}
.stat dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(214, 228, 255, .65); }
.stat dd { margin: 4px 0 0; font-size: 24px; font-weight: 800; color: #fff; }

/* ---------- Hero illustration ---------- */
.hero-visual { position: relative; }

.visual-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.visual-header { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.dots i:nth-child(2) { background: #fbbf24; }
.dots i:nth-child(3) { background: #34d399; }
.visual-title { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); }

.scene {
  position: relative;
  height: 250px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #8fd3ff 0%, #c9ecff 55%, #e9f7ff 100%);
}
.sun {
  position: absolute;
  top: 26px;
  right: 40px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7cc 0%, #fde68a 60%, #fbbf24 100%);
  box-shadow: 0 0 40px 10px rgba(253, 230, 138, .6);
}
.hills {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 60px;
  height: 90px;
  background:
    radial-gradient(ellipse 30% 100% at 20% 100%, #5fb8a6 98%, transparent 100%),
    radial-gradient(ellipse 35% 90% at 60% 100%, #4aa38f 98%, transparent 100%),
    radial-gradient(ellipse 30% 80% at 95% 100%, #6cc4b0 98%, transparent 100%);
  opacity: .8;
}
.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  background: linear-gradient(180deg, #334155, #1e293b);
  overflow: hidden;
}
.road-lines {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: 4px;
  margin-top: -2px;
  background: repeating-linear-gradient(90deg, #fde68a 0 34px, transparent 34px 70px);
  animation: road 1.2s linear infinite;
}
@keyframes road { to { transform: translateX(-70px); } }

.truck {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 270px;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 10px 10px rgba(15, 29, 58, .3));
  animation: bounce 1.6s ease-in-out infinite;
}
.truck .wheel { transform-box: fill-box; transform-origin: center; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -2px); }
}

.visual-route {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(7, 19, 48, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}
.vr-point { display: flex; align-items: center; gap: 10px; }
.vr-point small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.vr-point strong { font-size: 14px; }
.vr-point-end { text-align: right; }
.vr-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.vr-dot-start { background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(34, 211, 238, .25); }
.vr-dot-end { background: var(--blue-500); box-shadow: 0 0 0 4px rgba(59, 123, 255, .3); }
.vr-line { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.vr-line span {
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 3px;
  background: var(--grad-brand);
  animation: progress 2.8s ease-in-out infinite;
}
@keyframes progress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  animation: chip 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 14px; }
.float-chip small { display: block; font-size: 12px; color: var(--ink-muted); }
.chip-1 { top: 70px; left: -40px; }
.chip-2 { bottom: 70px; right: -30px; animation-delay: -3s; }
.chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; }
.chip-icon svg { width: 20px; height: 20px; }
.chip-green { color: var(--green-500); background: #d1fae5; }
.chip-amber { color: #d97706; background: #fef3c7; }
@keyframes chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 96px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 10px 0 10px; }
.section-head p { max-width: 520px; color: var(--ink-soft); font-size: 17px; }

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
}
.eyebrow-light { color: #bff3ff; background: rgba(255, 255, 255, .1); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 9px 16px;
  border-radius: 999px;
  font: 600 14px/1 var(--font);
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter-chip.active {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(30, 94, 255, .7);
}
.filter-chip .count {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(15, 29, 58, .07);
}
.filter-chip.active .count { background: rgba(255, 255, 255, .25); }

/* =========================================================
   LOAD CARDS
   ========================================================= */
.loads-section { margin-top: -56px; padding-top: 0; position: relative; z-index: 3; }
.loads-section .section-head {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.loads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
}

/* Equipment colour themes (fallback = blue) */
.load-card {
  --accent: #1e5eff;
  --accent-2: #06b6d4;
  --accent-soft: #e6eeff;
}
.load-card.equip-dry-van { --accent: #1e5eff; --accent-2: #4f8bff; --accent-soft: #e6eeff; }
.load-card.equip-reefer { --accent: #0e7490; --accent-2: #06b6d4; --accent-soft: #dff8fd; }
.load-card.equip-flatbed { --accent: #ea580c; --accent-2: #f59e0b; --accent-soft: #fff1e3; }
.load-card.equip-step-deck { --accent: #7c3aed; --accent-2: #a78bfa; --accent-soft: #f1eaff; }
.load-card.equip-power-only { --accent: #059669; --accent-2: #34d399; --accent-soft: #e0f8ef; }
.load-card.equip-hotshot { --accent: #db2777; --accent-2: #f472b6; --accent-soft: #fde8f3; }
.load-card.equip-conestoga { --accent: #4f46e5; --accent-2: #818cf8; --accent-soft: #ebebff; }

.load-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: cardIn .5s ease both;
}
.load-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.load-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.card-id { display: flex; flex-direction: column; gap: 6px; }
.load-id {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: .02em;
}
.equip-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  width: fit-content;
}
.equip-tag .equip-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.equip-tag svg { width: 15px; height: 15px; }

.badge-available {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #047857;
  background: #d1fae5;
  white-space: nowrap;
}
.badge-available .live-dot { width: 7px; height: 7px; margin: 0; }

/* Route timeline */
.route {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 18px 18px 18px 50px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8faff, #f2f6fe);
  border: 1px solid #edf1fa;
}
.route-stop { position: relative; }
.route-stop:not(.dest)::after {
  content: "";
  position: absolute;
  left: -26px;
  top: 22px;
  bottom: -22px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 11px);
  opacity: .6;
}
.route-stop::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent-2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 18%, transparent);
}
.route-stop.dest::before {
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 4px;
}
.route-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-muted);
}
.route-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
}
.route-date svg { width: 12px; height: 12px; color: var(--accent); }
.route-city { margin-top: 3px; font-size: 19px; font-weight: 800; color: var(--ink); }

/* Details */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 14px;
}
.detail {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  min-width: 0;
}
.detail-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-muted);
}
.detail-label svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }
.detail-value { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

.notes {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #7a4b00;
  background: #fff8e6;
  border: 1px solid #fde9b8;
}
.notes svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--amber-500); }

/* Rate */
.rate-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent-2) 55%, transparent) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
}
.card-spacer { flex: 1; min-height: 18px; }
.rate-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(214, 228, 255, .7); }
.rate-value { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.rate-per-mile {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #a5f3fc;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  white-space: nowrap;
}

/* Book button */
.book-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  font: 800 15px/1 var(--font);
  letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--accent) 80%, transparent);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.book-btn svg { width: 18px; height: 18px; }
.book-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.book-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.book-btn:hover::after { left: 130%; }
.book-btn:active { transform: translateY(0); }
.book-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 3px; }
.book-btn.booked { background: linear-gradient(135deg, #059669, #10b981); }

/* ---------- Skeleton / empty / error states ---------- */
.skeleton-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.sk {
  border-radius: 10px;
  background: linear-gradient(90deg, #eef2fa 25%, #f7f9fd 50%, #eef2fa 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
.sk + .sk { margin-top: 14px; }
.sk-sm { height: 18px; width: 40%; }
.sk-md { height: 110px; }
.sk-row { height: 56px; }
.sk-lg { height: 76px; }
.sk-btn { height: 50px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.state-card {
  grid-column: 1 / -1;
  padding: 64px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 2px dashed #d6e0f2;
}
.state-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 24px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 16px 30px -12px rgba(30, 94, 255, .6);
}
.state-icon svg { width: 40px; height: 40px; }
.state-card.error .state-icon { background: linear-gradient(135deg, #ef4444, #f97316); box-shadow: 0 16px 30px -12px rgba(239, 68, 68, .6); }
.state-card h3 { font-size: 22px; margin-bottom: 8px; }
.state-card p { max-width: 460px; margin: 0 auto; color: var(--ink-soft); }
.state-card .btn { margin-top: 24px; }
.state-card code { font-family: var(--mono); font-size: 13px; padding: 2px 6px; border-radius: 6px; background: var(--blue-100); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-section { padding-top: 40px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  --c: var(--blue-600);
  --c-soft: var(--blue-100);
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-cyan { --c: #0891b2; --c-soft: #dff8fd; }
.step-violet { --c: var(--violet-500); --c-soft: #f1eaff; }
.step-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-soft);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--c);
  background: var(--c-soft);
}
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section { padding-top: 24px; }
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px;
  border-radius: 28px;
  color: #fff;
  background: var(--grad-navy);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .5), transparent 65%);
  pointer-events: none;
}
.contact-copy, .contact-list { position: relative; }
.contact-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 14px 0 12px; }
.contact-copy p { color: rgba(226, 236, 255, .78); font-size: 17px; }
.contact-copy p strong { color: #fff; }

.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
a.contact-item:hover { background: rgba(255, 255, 255, .13); border-color: rgba(34, 211, 238, .45); transform: translateX(4px); }
.contact-item small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(214, 228, 255, .6); }
.contact-item strong { font-size: 17px; overflow-wrap: anywhere; }
.ci-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; color: #fff; }
.ci-icon svg { width: 21px; height: 21px; }
.ci-blue { background: linear-gradient(135deg, #1e5eff, #4f8bff); }
.ci-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ci-violet { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 32px 0;
  margin-top: 72px;
  color: rgba(214, 228, 255, .7);
  background: var(--navy-900);
  font-size: 14px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.brand-footer .brand-logo { width: 34px; height: 34px; border-radius: 10px; }
.brand-footer .brand-logo svg { width: 18px; height: 18px; }
.back-top { font-weight: 600; color: var(--cyan-400); }
.back-top:hover { color: #fff; }

/* =========================================================
   TOASTS
   ========================================================= */
.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100% - 40px));
}
.toast {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-500);
  box-shadow: var(--shadow-lg);
  animation: toastIn .35s ease both;
}
.toast.error { border-left-color: #ef4444; }
.toast.hide { animation: toastOut .3s ease forwards; }
.toast-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; color: var(--green-500); background: #d1fae5; }
.toast.error .toast-icon { color: #ef4444; background: #fee2e2; }
.toast-icon svg { width: 18px; height: 18px; }
.toast strong { display: block; font-size: 15px; }
.toast p { font-size: 13px; color: var(--ink-soft); overflow-wrap: anywhere; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .chip-1 { left: -16px; }
  .chip-2 { right: -12px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 20px;
    background: rgba(7, 19, 48, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 16px; }

  .steps { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 40px 28px; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .container { width: min(1200px, 100% - 28px); }
  .portal-badge { display: none; }
  .brand-sub { display: none; }

  .hero { padding-bottom: 96px; padding-top: calc(var(--header-h) + 44px); }
  .hero-sub { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 12px; }
  .stat dt { font-size: 10px; }
  .stat dd { font-size: 18px; }
  .scene { height: 200px; }
  .truck { width: 210px; }
  .float-chip { display: none; }

  .section { padding: 64px 0; }
  .loads-section .section-head { padding: 22px; }
  .loads-grid { grid-template-columns: 1fr; gap: 18px; }
  .load-card { padding: 20px; }
  .details { grid-template-columns: 1fr 1fr; }
  .details .detail:last-child { grid-column: 1 / -1; }
  .rate-value { font-size: 30px; }
  .filters { width: 100%; }

  .footer-inner { flex-direction: column; text-align: center; }
  .toast-stack { right: 14px; left: 14px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
