/* Self-hosted fonts (SIL Open Font License): Barlow, Big Shoulders Display */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-display: swap; src: url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }

:root {
  --night: #0f1b3d;
  --asphalt: #14254f;
  --asphalt-2: #1b2f5f;
  --amber: #ffb81c;
  --amber-hi: #ffc94d;
  --green: #0e6b43;
  --white: #f2f5fa;
  --dust: #a9b6d3;
  --ink: #0f1b3d;
  --line: rgba(169, 182, 211, .22);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 5px;
  --wrap: 1200px;
  --gut: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font: 400 17px/1.55 var(--body);
  overflow-x: hidden;
  padding-bottom: 76px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--ink); padding: 10px 14px; font-weight: 700; z-index: 100; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 27, 61, .96);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; color: var(--white); flex: none; }
.brand__name { font: 800 22px/1 var(--display); letter-spacing: .01em; }
.brand__name small { display: block; font: 500 13px/1.3 var(--body); color: var(--dust); letter-spacing: 0; }
.nav { display: none; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--dust); }
.nav a:hover { color: var(--white); }

.call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.call svg { width: 20px; height: 20px; flex: none; }
.call--bar { display: none; background: var(--amber); color: var(--ink); padding: 10px 18px; border-radius: var(--r); font-weight: 600; }
.call--bar b { font-weight: 700; }
.call--bar .call__num { font: 800 22px/1 var(--display); letter-spacing: .02em; margin-left: 4px; }
.call--bar:hover { background: var(--amber-hi); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; font: 700 18px/1.1 var(--body); border-radius: var(--r); padding: 16px 24px; border: 2px solid transparent; cursor: pointer; }
.btn svg { width: 26px; height: 26px; flex: none; }
.btn--call { background: var(--amber); color: var(--ink); }
.btn--call:hover { background: var(--amber-hi); }
.btn--call small { display: block; font: 800 30px/1 var(--display); letter-spacing: .02em; margin-top: 2px; }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--small { font-size: 16px; padding: 12px 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 36px; overflow: hidden; }
.hero__grid { display: grid; gap: 32px; position: relative; z-index: 2; }
.hero__live { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--dust); font-size: 16px; margin-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 4px rgba(52, 210, 123, .2); }
.hero h1 {
  font: 900 clamp(52px, 13.5vw, 104px)/.9 var(--display);
  letter-spacing: -.005em;
  max-width: 11ch;
  text-wrap: balance;
}
.hero__lede { margin-top: 20px; font-size: 19px; color: var(--dust); max-width: 40ch; }
.hero__actions { display: grid; gap: 12px; margin-top: 28px; }
.hero__actions .btn { justify-content: flex-start; }
.hero__actions .btn--ghost { justify-content: center; }
.hero__actions .btn--call { padding: 16px 22px; }
.hero__note { margin-top: 16px; font-size: 15px; color: var(--dust); max-width: 46ch; }

/* highway sign */
.sign {
  align-self: start;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 0 0 2px #0a5634, 0 18px 40px rgba(0, 0, 0, .35);
  max-width: 420px;
}
.sign > * { position: relative; }
.sign__top, .sign__big, .sign__rows { border-left: 3px solid #fff; border-right: 3px solid #fff; padding: 0 22px; }
.sign__top { border-top: 3px solid #fff; border-radius: 7px 7px 0 0; padding-top: 18px; font-weight: 700; font-size: 20px; }
.sign__big { font: 900 112px/.9 var(--display); display: flex; align-items: baseline; gap: 10px; padding-top: 4px; padding-bottom: 12px; }
.sign__unit { font-size: 46px; font-weight: 800; }
.sign__rows { border-bottom: 3px solid #fff; border-radius: 0 0 7px 7px; padding-bottom: 16px; display: grid; gap: 6px; }
.sign__rows span { display: flex; justify-content: space-between; gap: 16px; border-top: 2px solid rgba(255, 255, 255, .5); padding-top: 8px; font-size: 18px; }
.sign__rows b:last-child { font: 800 24px/1 var(--display); }

/* road scene */
.scene { position: relative; margin-top: 28px; }
.scene__sky { width: 100%; height: 150px; }
.road { position: relative; height: 92px; background: #1a1f2e; border-top: 4px solid #2b3550; overflow: hidden; }
.road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 58%; height: 5px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 46px, transparent 46px 92px);
  animation: lane 1.1s linear infinite;
  opacity: .85;
}
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: var(--white); opacity: .7; }
.truck { position: absolute; width: 220px; left: 50%; transform: translateX(-50%); bottom: 10px; }
.beacon { animation: beacon 1s steps(2) infinite; }
@keyframes lane { to { background-position: -92px 0; } }
@keyframes beacon { 50% { fill: #7a5a10; } }

/* ---------- proof strip ---------- */
.proof { background: var(--asphalt); border-bottom: 1px solid var(--line); }
.proof__list { display: grid; grid-template-columns: 1fr 1fr; }
.proof__list li { padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line); }
.proof__list li:nth-child(odd) { padding-right: 16px; }
.proof__list b { display: block; font: 800 28px/1 var(--display); }
.proof__list span { display: block; margin-top: 6px; font-size: 15px; color: var(--dust); line-height: 1.4; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.h2 { font: 800 clamp(40px, 9vw, 64px)/.95 var(--display); max-width: 18ch; }
.sub { margin-top: 14px; color: var(--dust); max-width: 56ch; font-size: 18px; }
.fine { font-size: 14px; color: var(--dust); margin-top: 14px; }

/* services */
.svc { display: grid; gap: 40px; margin-top: 40px; }
.svc__head { display: flex; align-items: center; gap: 12px; font: 700 21px/1.2 var(--body); padding-bottom: 14px; border-bottom: 2px solid var(--white); }
.tag { font: 700 13px/1 var(--body); padding: 6px 9px; border-radius: 3px; }
.tag--now { background: var(--amber); color: var(--ink); }
.tag--plan { border: 1.5px solid var(--dust); color: var(--dust); }
.svc__list { display: grid; }
.svc__list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.svc__list svg { width: 36px; height: 36px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc__group--plan .svc__list svg { stroke: var(--dust); }
.svc__list h4 { font-size: 19px; font-weight: 700; }
.svc__list p { margin-top: 4px; color: var(--dust); font-size: 16px; max-width: 52ch; }
.btn--quote { margin-top: 24px; border-color: var(--white); color: var(--white); width: 100%; }
.btn--quote:hover { background: var(--white); color: var(--ink); }

/* steps */
.steps {
  padding: 64px 0;
  background:
    linear-gradient(var(--asphalt), var(--asphalt)) padding-box;
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--amber) 0 40px, var(--asphalt) 40px 64px) 6;
}
.steps__list { display: grid; gap: 28px; margin-top: 36px; counter-reset: none; }
.steps__list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; }
.steps__n { grid-row: span 2; width: 56px; height: 56px; display: grid; place-items: center; border: 3px solid var(--amber); border-radius: 50%; font: 900 30px/1 var(--display); color: var(--amber); }
.steps__list h3 { font-size: 21px; font-weight: 700; padding-top: 4px; }
.steps__list p { color: var(--dust); margin-top: 6px; max-width: 42ch; }

/* area */
.area { display: grid; gap: 40px; }
.towns { margin-top: 28px; border-top: 2px solid var(--white); }
.towns li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.towns span { color: var(--dust); font-variant-numeric: tabular-nums; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map svg { width: 100%; height: auto; }

/* reviews */
.section--reviews { background: var(--asphalt); }
.reviews { display: grid; gap: 20px; margin-top: 36px; }
.review { padding: 24px 0 24px 22px; border-left: 4px solid var(--amber); }
.stars { color: var(--amber); letter-spacing: 3px; font-size: 18px; }
.review blockquote { margin-top: 10px; font-size: 19px; line-height: 1.5; max-width: 46ch; }
.review figcaption { margin-top: 12px; color: var(--dust); font-weight: 600; }

/* quote */
.section--quote { background: var(--night); }
.quote { display: grid; gap: 36px; }
.quote__warn { margin-top: 28px; padding: 20px; border: 2px solid var(--amber); border-radius: var(--r); display: grid; gap: 14px; justify-items: start; }
.quote__warn p { font-size: 17px; }
.form { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 24px 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.form__body { display: grid; gap: 18px; }
.row { display: grid; gap: 18px; }
.row--3 { grid-template-columns: 1fr 1fr; }
.row--3 .field:first-child { grid-column: span 2; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 16px; padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field input {
  width: 100%; min-width: 0; font: 500 17px/1.3 var(--body); color: var(--ink);
  background: #fff; border: 2px solid #c4cde0; border-radius: var(--r); padding: 13px 14px; min-height: 52px;
}
.field input::placeholder { color: #7a87a6; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--amber); }
.field input[aria-invalid="true"] { border-color: #c2281e; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: grid; place-items: center; min-height: 52px; border: 2px solid #c4cde0; border-radius: var(--r); font-weight: 600; cursor: pointer; text-align: center; padding: 6px 8px; font-size: 16px; }
.seg input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--white); }
.seg input:focus-visible + label { box-shadow: 0 0 0 3px var(--amber); }
.form__err { color: #b3231a; font-weight: 600; }
.btn--submit { background: var(--ink); color: var(--white); width: 100%; font-size: 19px; padding: 18px; }
.btn--submit:hover { background: var(--asphalt-2); }
.form .fine { color: #4b5a7c; margin-top: -6px; }
.form__done { text-align: left; padding: 12px 4px; }
.form__done svg { width: 56px; height: 56px; }
.form__done h3 { font: 800 40px/1 var(--display); margin-top: 18px; }
.form__done p { margin-top: 12px; font-size: 18px; color: #33415f; max-width: 40ch; }
.form__done:focus { outline: none; }

/* contact */
.section--contact { border-top: 1px solid var(--line); }
.contact { display: grid; gap: 36px; }
.facts { margin-top: 28px; display: grid; gap: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.facts dt { color: var(--dust); font-size: 15px; font-weight: 600; }
.facts dd { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.facts a { text-decoration-color: var(--amber); text-underline-offset: 4px; }
.minimap { border-radius: var(--r); overflow: hidden; }
.minimap svg { width: 100%; height: auto; }

/* footer */
.footer { padding: 32px 0 36px; border-top: 1px solid var(--line); color: var(--dust); font-size: 15px; }
.footer__inner { display: grid; gap: 8px; }
.footer__demo { font-size: 13px; }
.footer__demo a { color: var(--white); }

/* sticky mobile call */
.sticky-call {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--amber); color: var(--ink); text-decoration: none;
  border-radius: 8px; padding: 12px 18px; min-height: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 3px var(--night);
}
.sticky-call svg { width: 26px; height: 26px; }
.sticky-call span { display: flex; align-items: baseline; gap: 10px; }
.sticky-call b { font-size: 18px; }
.sticky-call small { font: 800 26px/1 var(--display); letter-spacing: .02em; }

/* ---------- larger screens ---------- */
@media (min-width: 620px) {
  .hero__actions { grid-auto-flow: column; justify-content: start; }
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__list li { border-bottom: 0; padding: 26px 20px 26px 0; }
  .proof__list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
  .row { grid-template-columns: 1fr 1fr; }
  .row--3 { grid-template-columns: 1.1fr 1fr 1fr; }
  .row--3 .field:first-child { grid-column: auto; }
  .form { padding: 34px 32px; }
  .reviews { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .review { padding: 6px 0 6px 22px; }
  .truck { width: 280px; left: 62%; }
  .scene__sky { height: 200px; }
  .road { height: 110px; }
}

@media (min-width: 960px) {
  :root { --gut: 32px; }
  body { padding-bottom: 0; }
  .sticky-call { display: none; }
  .nav { display: flex; }
  .call--bar { display: inline-flex; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(72px, 7vw, 100px); }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
  .sign { justify-self: end; width: 100%; }
  .hero__lede { font-size: 21px; }
  .scene { margin-top: -150px; z-index: 1; pointer-events: none; }
  .scene__sky { height: 240px; }
  .section { padding: 112px 0; }
  .svc { grid-template-columns: 8fr 4fr; gap: 64px; }
  .svc__group--now .svc__list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .svc__group--plan { background: var(--asphalt); padding: 0 28px 28px; border-radius: var(--r); align-self: start; }
  .svc__group--plan .svc__head { padding-top: 24px; }
  .steps { padding: 88px 0; }
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .steps__list li { grid-template-columns: 1fr; }
  .steps__n { grid-row: auto; margin-bottom: 18px; width: 64px; height: 64px; font-size: 34px; }
  .area { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .quote { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .quote__intro { position: sticky; top: 110px; }
  .contact { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1200px) {
  .truck { width: 320px; left: 68%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .road::before, .beacon { animation: none; }
}
