:root {
  --blue: #176df6;
  --blue-dark: #0759df;
  --blue-soft: #eaf2ff;
  --navy: #0d2148;
  --text: #2b3c59;
  --muted: #687892;
  --line: #dbe5f1;
  --soft: #f5f9ff;
  --white: #fff;
  --shadow: 0 28px 80px rgba(13, 33, 72, .15);
  --shadow-soft: 0 18px 44px rgba(13, 33, 72, .08);
  --container: min(1200px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}
body.nav-open { overflow: hidden; }
a { text-decoration: none; color: inherit; }
svg, img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 229, 241, .95);
}
.header-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 28px; min-height: 86px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 23px; font-weight: 850; letter-spacing: -.045em;
  color: var(--navy); white-space: nowrap;
}
.brand strong { color: var(--blue); font-style: italic; }
.brand-mark { width: 46px; height: 34px; }
.brand-mark svg {
  width: 46px; height: 34px;
  fill: none; stroke: var(--blue); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.main-nav {
  display: flex; justify-content: center; gap: 34px;
  font-size: 14px; font-weight: 750; color: var(--navy);
}
.main-nav a:hover, .footer-col a:hover, .footer-bottom a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 23px; }
.phone {
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--blue); font-size: 15px; font-weight: 850;
}
.phone svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; font-weight: 850;
  box-shadow: 0 15px 30px rgba(23, 109, 246, .25);
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 19px 36px rgba(23, 109, 246, .31); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-small { min-height: 46px; padding-inline: 22px; font-size: 14px; }
.btn-light { background: #fff; color: var(--blue); box-shadow: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.nav-toggle span:not(.sr-only) {
  display: block; width: 18px; height: 2px;
  margin: 4px auto; border-radius: 999px; background: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; 
  padding: 78px 0 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 35%, rgba(23, 109, 246, .14), transparent 65%),
    linear-gradient(180deg, #f4f9ff 0%, #fff 100%);
}

/* Subtle US map watermark behind the hero copy.
   Map stroke colour is baked into assets/us-map.svg (#7da9d9). */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/us-map.svg');
  background-repeat: no-repeat;
  background-position: 50% 60%;
  background-size: 120% auto;
  opacity: .22;
  z-index: 0;
  pointer-events: none;
}

/* Soft white veil so map doesn't fight the copy on the left */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .92) 0%,
    rgba(255, 255, 255, .55) 38%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 255, 255, .35) 100%);
  z-index: 1; pointer-events: none;
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1fr);
  align-items: center; gap: 40px;
  min-height: 460px;
}
.hero-copy { padding-bottom: 96px; }
.eyebrow-pill {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 0 15px; margin-bottom: 26px;
  border: 1px solid rgba(23, 109, 246, .28); border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--blue);
  font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(54px, 7vw, 86px); line-height: .98; letter-spacing: -.065em;
}
h1 span { color: var(--blue); }
.hero-copy p {
  max-width: 540px; margin: 0;
  color: #2a3c58;
  font-size: clamp(20px, 2vw, 27px);
}

/* Hero truck — properly seated with a contact shadow under the wheels */
.hero-media {
  position: relative; z-index: 3;
  align-self: end; justify-self: end;
  width: min(580px, 100%);
  padding-bottom: 76px;
}
.hero-media::after {
  /* Soft elliptical contact shadow under the wheels — replaces the old
     full-rectangle drop-shadow that made the truck look like a sticker. */
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 52px;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(13, 33, 72, .35), rgba(13, 33, 72, 0) 70%);
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}
.hero-media img {
  width: 100%; height: auto;
  filter: drop-shadow(0 14px 18px rgba(13, 33, 72, .12));
}

/* ---------- Quote card ---------- */
.quote-wrap { position: relative; z-index: 5; margin-top: -82px; }
.quote-card {
  display: grid;
  grid-template-columns: 1.1fr auto 1.1fr 1fr .55fr auto;
  align-items: end; gap: 18px;
  padding: 28px;
  border: 1px solid rgba(206, 220, 238, .95);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 9px; min-width: 0; }
.field > span:first-child { font-size: 14px; font-weight: 850; color: var(--navy); }
.input-wrap { position: relative; display: block; }
.input-wrap input,
.input-wrap select,
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #cfd9e6; border-radius: 14px;
  background: #fff; color: var(--navy); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input-wrap input,
.input-wrap select { height: 56px; padding: 0 44px 0 18px; }
.input-wrap select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%) calc(100% - 22px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--navy) 50%, transparent 50%) calc(100% - 16px) 52% / 7px 7px no-repeat,
    #fff;
}
.input-wrap input:focus,
.input-wrap select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 109, 246, .12);
}
.input-wrap svg {
  position: absolute; right: 14px; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  fill: none; stroke: #62718b; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.swap {
  align-self: end;
  width: 48px; height: 48px;
  margin-bottom: 5px;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; box-shadow: 0 10px 24px rgba(13, 33, 72, .08);
  cursor: pointer;
}
.swap svg {
  width: 22px; height: 22px; margin: auto;
  fill: none; stroke: var(--navy); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.quote-submit { height: 56px; min-height: 56px; padding-inline: 28px; }

/* ---------- Logos ---------- */
.logos-section { padding: 54px 0 36px; background: #fff; }
.logos-title {
  margin: 0 0 24px; text-align: center;
  color: var(--blue); font-size: 12px; font-weight: 900;
  letter-spacing: .14em; text-transform: uppercase;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(116px, 1fr));
  gap: 28px; align-items: center;
}
.logos-row img {
  width: 100%; height: 44px; object-fit: contain;

  /*
    opacity: .68; 
  filter: grayscale(1);
  */
  transition: opacity .2s ease, filter .2s ease;
}
.logos-row img:hover { opacity: .95; filter: grayscale(.25); }

/* ---------- Generic sections ---------- */
.section { padding: 86px 0; }
.section-soft { background: linear-gradient(180deg, #f6faff, #fff); }
.section-heading { text-align: center; margin-bottom: 46px; }
.section-heading.narrow { max-width: 760px; margin-inline: auto; }
.section-kicker {
  margin-bottom: 10px; color: var(--blue);
  font-size: 12px; font-weight: 900;
  letter-spacing: .16em; text-transform: uppercase;
}
h2 {
  margin-bottom: 12px; color: var(--navy);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.06; letter-spacing: -.05em;
}
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  position: relative; padding: 28px 24px;
  border: 1px solid rgba(219, 229, 241, .95); border-radius: 24px;
  background: #fff; box-shadow: var(--shadow-soft);
  text-align: center;
}
.step-num {
  position: absolute; left: 22px; top: 20px;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 850;
}
.icon-bubble {
  display: grid; place-items: center;
  width: 84px; height: 84px; margin: 8px auto 24px;
  border-radius: 50%; background: #eff5ff;
}
.icon-bubble.small { width: 66px; height: 66px; margin: 0; flex: 0 0 auto; }
.icon-bubble svg {
  width: 40px; height: 40px;
  fill: none; stroke: var(--blue); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-bubble.small svg { width: 34px; height: 34px; }
.step-card h3, .feature-card h3 {
  margin-bottom: 8px; font-size: 22px;
  line-height: 1.2; color: var(--navy); letter-spacing: -.03em;
}
.step-card p, .feature-card p { margin: 0; color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(219, 229, 241, .95); border-radius: 24px;
  background: #fff; box-shadow: var(--shadow-soft);
}
.feature-card a {
  display: inline-flex; margin-top: 14px;
  color: var(--blue); font-weight: 850;
}

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
details {
  border: 1px solid var(--line); border-radius: 16px;
  background: #fff; overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 33, 72, .04);
}
summary {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 20px 22px;
  color: var(--navy); font-weight: 850;
  cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--blue); }
details[open] summary::after { content: '−'; }
details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

.cta-banner {
  margin: 44px auto 80px; min-height: 260px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(8, 49, 127, .97), rgba(11, 78, 191, .88) 46%, rgba(11, 78, 191, .08)),
    url('assets/cta-truck.png') center/cover no-repeat;
  box-shadow: var(--shadow);
  display: flex; align-items: center; padding: 44px;
}
.cta-copy { max-width: 540px; color: #fff; }
.cta-copy h2 { color: #fff; margin-bottom: 10px; }
.cta-copy p { font-size: 19px; opacity: .92; margin-bottom: 28px; }

.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.25fr repeat(4, .8fr);
  gap: 34px; padding: 54px 0 42px;
}
.footer-brand p { max-width: 310px; color: var(--muted); margin: 18px 0 0; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h3 { margin: 0 0 6px; color: var(--navy); font-size: 15px; }
.footer-col a, .footer-col p { margin: 0; color: var(--muted); font-size: 15px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* ===========================================================
   STEP 2 PAGE
   =========================================================== */
.step2-body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(23, 109, 246, .08), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #eef4fb 100%);
}
.step-header { position: relative; box-shadow: 0 10px 34px rgba(13, 33, 72, .045); }
.step-header-inner { grid-template-columns: auto 1fr; }
.step-progress-wrap { text-align: right; }
.step-progress-label {
  font-size: 18px; font-weight: 750;
  color: var(--navy); margin-bottom: 12px;
}
.step-progress {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
}
.step-progress .done,
.step-progress .current {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%; font-weight: 850;
}
.step-progress .done { border: 2px solid var(--blue); color: var(--blue); background: #fff; }
.step-progress .current { background: var(--blue); color: #fff; }
.step-progress .line { width: 148px; height: 3px; border-radius: 999px; background: var(--blue); }

.step2-main {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid; align-items: center;
  padding: clamp(32px, 5vw, 72px) 0;
  overflow: hidden;
}

/* ---- Real US states map background ---- */
.usa-map-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* The colour the map paths inherit via currentColor */
  color: #b8cce3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.usa-map-bg .usa-map-img,
.usa-map-bg .route-layer {
  position: absolute;
  width: min(1480px, 108vw);
  height: auto;
  aspect-ratio: 1600 / 900;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.usa-map-bg .usa-map-img {
  /* Stroke colour is baked into the SVG (#7da9d9). We only control opacity here. */
  opacity: .55;
}
.usa-map-bg .route-layer {
  pointer-events: none;
}

/* ---- Animated route + markers ---- */
.route-line {
  /* When drawn-on animation finishes, JS adds .flowing for the marching-ants effect */
}
.route-line.flowing {
  animation: dashFlow 1.8s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -36; }
}

.pulse-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: pulse 2.4s ease-out infinite;
}
.pulse-ring.delayed { animation-delay: 1.2s; }
@keyframes pulse {
  0%   { transform: scale(.4); opacity: .9; }
  80%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-ring { animation: none; }
  .route-line.flowing { animation: none; }
}

/* ---- Form card ---- */
.step2-section {
  position: relative; z-index: 1;
  width: min(100% - 32px, 720px);
  margin: 0 auto;
}
.step2-card {
  position: relative; width: 100%;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(219, 229, 241, .86);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow:
    0 30px 90px rgba(13, 33, 72, .14),
    0 2px 6px rgba(13, 33, 72, .04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.close-btn {
  position: absolute; right: 26px; top: 22px;
  border: 0; background: none;
  color: #5f6f8b; font-size: 54px; font-weight: 300;
  line-height: 1; cursor: pointer;
  transition: color .15s ease;
}
.close-btn:hover { color: var(--navy); }

.lane-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(23, 109, 246, .18);
  background: linear-gradient(180deg, rgba(23, 109, 246, .07), rgba(23, 109, 246, .02));
  border-radius: 16px;
}
.lane-summary[hidden] { display: none; }
.lane-pin { display: grid; gap: 2px; min-width: 0; }
.lane-pin.lane-to { text-align: right; }
.lane-label {
  font-size: 11px; font-weight: 850;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.lane-value {
  font-size: 18px; font-weight: 800; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lane-arrow svg { width: 80px; height: 16px; }

.step2-title {
  margin-bottom: 10px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05; letter-spacing: -.05em;
  color: var(--navy);
}
.step2-sub {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.step2-form { display: grid; gap: 22px; }
.form-group { display: grid; gap: 10px; }
.form-group span { color: var(--navy); font-size: 17px; font-weight: 850; }
.form-group span em { font-style: normal; color: #72829d; font-weight: 500; }
.form-group input {
  height: 64px; padding: 0 22px;
  font-size: 19px;
}
.form-group textarea {
  min-height: 128px; padding: 18px 22px;
  font-size: 19px; resize: vertical;
}
.large-submit {
  width: 100%; min-height: 66px; margin-top: 8px; font-size: 21px;
}
.form-trust {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 6px 0 0;
  color: var(--muted); font-size: 13px;
}
.form-trust svg { color: var(--blue); flex: 0 0 auto; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1150px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav { gap: 22px; }
  .phone span { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-bottom: 30px; }
  .hero-media { width: min(620px, 92vw); justify-self: center; padding-bottom: 100px; }
  .quote-wrap { margin-top: -90px; }
  .quote-card { grid-template-columns: 1fr 52px 1fr; }
  .quote-submit { grid-column: 1 / -1; }
  .logos-row { grid-template-columns: repeat(3, 1fr); }
  .steps-grid, .cards-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --container: min(100vw - 32px, 600px); }
  .header-inner { display: flex; justify-content: space-between; min-height: 76px; }
  .brand { font-size: 21px; }
  .main-nav {
    position: fixed; inset: 77px 16px auto 16px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px;
    border: 1px solid var(--line); border-radius: 18px;
    background: #fff; box-shadow: var(--shadow);
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 16px; border-radius: 12px; }
  .main-nav a:hover { background: var(--soft); }
  .nav-toggle { display: block; }
  .header-actions { display: none; }

  .hero { padding-top: 44px; }
  .hero::before { background-size: 280% auto; opacity: .055; }
  .hero-grid { gap: 10px; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { width: min(520px, 100vw); padding-bottom: 44px; }
  .hero-media::after { bottom: 38px; }
  h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-copy p { font-size: 18px; }

  .quote-wrap { margin-top: 0; }
  .quote-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .swap { justify-self: center; transform: rotate(90deg); margin: 0; }
  .quote-submit { width: 100%; }

  .logos-section { padding-top: 42px; }
  .logos-row { grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }
  .logos-row img { height: 38px; }
  .section { padding: 70px 0; }
  .steps-grid, .cards-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px; }
  .cta-banner { min-height: 300px; background-position: 70% center; align-items: flex-end; padding: 32px 24px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .step-progress-label { font-size: 16px; }
  .step-progress .line { width: 96px; }

  .step2-main {
    min-height: calc(100vh - 76px);
    align-items: start;
    padding: 28px 0 46px;
  }
  .usa-map-bg .usa-map-img,
  .usa-map-bg .route-layer {
    width: 180vw;
  }
  .usa-map-bg .usa-map-img { opacity: .38; }

  .step2-section { width: min(100% - 24px, 560px); }
  .step2-card {
    padding: 28px 20px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
  }
  .close-btn { right: 14px; top: 12px; font-size: 40px; }
  .step2-title { font-size: 44px; margin-bottom: 8px; }
  .step2-sub { margin-bottom: 22px; font-size: 15px; }
  .step2-form { gap: 17px; }
  .form-group input { height: 56px; font-size: 17px; }
  .form-group textarea { min-height: 108px; font-size: 17px; }
  .large-submit { min-height: 58px; font-size: 18px; }

  .lane-summary { padding: 12px 56px 12px 14px; margin-bottom: 22px; }
  .lane-value { font-size: 16px; }
  .lane-arrow svg { width: 56px; }
}

@media (max-width: 480px) {
  .brand { font-size: 20px; }
  .brand-mark, .brand-mark svg { width: 40px; }
  .eyebrow-pill { margin-bottom: 18px; }
  .logos-row { grid-template-columns: 1fr 1fr; }
  .step-progress-label { font-size: 14px; }
  .step-progress .done, .step-progress .current { width: 32px; height: 32px; }
  .step-progress .line { width: 58px; }
  .step2-section { width: min(100% - 20px, 430px); }
  .step2-card { padding: 24px 16px 18px; }
  .close-btn { right: 12px; top: 10px; }
  
  .hero-media img{
	  display:none;
  }
}
