/* Barlow and Barlow Condensed (SIL Open Font License, fonts/OFL.txt), served from this site. Latin subset. */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff") format("woff"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-700.woff") format("woff"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff") format("woff"); font-weight: 800 900; font-style: normal; font-display: swap; }

/* TrueGo Logistics: direction 9, "On the road"
   Asphalt page, highway-sign blue cards, road-white number boards, sky blue for actions.
   Headings, nav, buttons and numbers in Barlow Condensed; body in Barlow. Logo files unchanged. */

:root {
  --header-h: 4.5625rem; /* sticky header height (73px), so the hero can fill the rest of the first screen */
  --asphalt: #23262A;
  --asphalt-2: #2C3035;
  --asphalt-3: #1A1C1F;
  --sign: #1F4E99;
  --sky: #4DB3E6;
  --road-white: #F2F2F2;
  --white: #FFFFFF;
  --muted: #C9CED4;
  --muted-2: #B5BCC4;
  --line: rgba(255, 255, 255, 0.16);
  --ink: #23262A;
  --ink-2: #3E444B;
  --error: #FF8A80;
  --error-ink: #B42318;

  --cond: "Barlow Condensed", "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --maxw: 80rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--asphalt); color: var(--white); font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--sky); text-underline-offset: 0.2em; }
a:hover { color: #8FD0F0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
address { font-style: normal; }

h1, h2, h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0; line-height: 0.95; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); margin-bottom: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--alt { background: var(--asphalt-2); }
.section--flush-top { padding-top: 0; }
.icon { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--white); color: var(--ink); padding: 0.75rem 1.25rem; border-radius: 6px; }
.skip:focus { left: var(--gutter); top: 0.5rem; }

/* Lane markings: the dashed white divider */
.lane { position: relative; height: 6px; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
/* The dashes live on ::before so the .lane box itself is never clipped (IntersectionObserver ignores fully clipped targets). */
.lane::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--road-white) 0 70px, transparent 70px 120px); }
.motion-ok .lane::before { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease); }
.motion-ok .lane.is-drawn::before { clip-path: inset(0 0 0 0); }

/* Highway-sign tag */
.sign-tag { display: inline-block; padding: 0.45rem 0.85rem; border: 2px solid var(--white); border-radius: 6px; background: var(--sign); font-family: var(--cond); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.35rem; padding: 0.5rem 1.6rem; border: 2px solid transparent; border-radius: 6px;
  font-family: var(--cond); font-size: 1.35rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.1; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-sky { background: var(--sky); color: var(--ink); }
.btn-sky:hover { background: #74C4EC; color: var(--ink); }
.btn-dark { background: var(--asphalt); color: var(--white); }
.btn-dark:hover { background: #3A3F45; color: var(--white); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-family: var(--cond); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.text-link::after { content: "\2192"; text-decoration: none; transition: transform 160ms var(--ease); }
.text-link:hover { color: var(--sky); }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(35, 38, 42, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; min-height: 4.5rem; padding-block: 0.6rem; }
.logo { display: inline-flex; border-radius: 4px; }
.logo img { display: block; height: 2.4rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: 1.75rem; }
.nav-link { position: relative; display: flex; align-items: center; min-height: 2.75rem; font-family: var(--cond); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.3rem; height: 3px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-contact { min-height: 2.75rem; padding: 0.35rem 1.1rem; font-size: 1.2rem; font-weight: 700; }
.nav-contact[aria-current="page"] { background: var(--white); color: var(--ink); }
.header-tools { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; padding: 0; background: transparent; border: 2px solid transparent; border-radius: 6px; color: var(--white); cursor: pointer; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--white); }
.burger { position: relative; display: block; width: 1.4rem; height: 1rem; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 240ms var(--ease), opacity 160ms, top 240ms var(--ease); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: calc(50% - 1px); }
.burger span:nth-child(3) { top: calc(100% - 2px); }
.menu-btn[aria-expanded="true"] .burger span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }
@media (max-width: 56rem) {
  .js .header-tools { display: flex; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 0.25rem 0 1rem; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { min-height: 3.2rem; border-bottom: 1px solid var(--line); font-size: 1.4rem; }
  .nav-link::after { bottom: -1px; right: auto; width: 3rem; }
  .nav-contact { width: 100%; min-height: 3.2rem; font-size: 1.4rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(1.75rem, min(6vw, 5vh), 5.5rem); }
.hero h1 { margin-top: 1.4rem; max-width: 12em; font-size: clamp(3.75rem, min(9vw, 13vh), 9.4rem); line-height: 0.86; }
.accent { color: var(--sky); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }
.hero-note { max-width: 30em; font-size: 1.125rem; color: var(--muted); }
.road { display: block; width: 100%; height: clamp(10rem, 22vw, 18.75rem); margin-top: 2rem; }
/* Laptops and desktops: the hero fills the first screen and the road takes whatever height is left (10 to 18.75rem),
   so the van is always visible without scrolling, whatever the window height. */
@media (min-width: 48rem) {
  .hero { display: flex; flex-direction: column; min-height: calc(100svh - var(--header-h)); }
  .hero .road { flex: 1 0 0; height: auto; min-height: 10rem; max-height: 18.75rem; margin-top: auto; padding-top: clamp(1rem, 3vh, 2rem); box-sizing: content-box; }
}
.speed-lines { opacity: 0.6; }

/* Hero motion, once on load: lane markings slide left, the van drives in and settles with a small
   bounce, speed lines fade behind it. Ends by 1.7 s. The headline and button never move. */
@keyframes dashes-slide { from { transform: translateX(0); } to { transform: translateX(-240px); } }
@keyframes van-in {
  0% { transform: translateX(-1320px); }
  70% { transform: translateX(16px); }
  82% { transform: translate(-6px, -5px); }
  92% { transform: translate(2px, 0); }
  100% { transform: none; }
}
@keyframes speed-trail {
  0% { opacity: 0; transform: scaleX(2.4); }
  35% { opacity: 1; }
  100% { opacity: 0.6; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .road-dashes { animation: dashes-slide 0.9s var(--ease) both; }
  .van-drive { animation: van-in 1.2s cubic-bezier(0.25, 0.85, 0.3, 1) 0.25s both; }
  .speed-lines { transform-box: fill-box; transform-origin: right center; animation: speed-trail 1.45s ease-out 0.25s both; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { margin-top: 1.25rem; max-width: 14em; font-size: clamp(3.25rem, 7vw, 7rem); line-height: 0.9; }
.page-hero .lede { max-width: 38rem; margin-top: 1.25rem; font-size: 1.1875rem; color: var(--muted); }
.page-hero .hero-actions { margin-top: 1.75rem; }

/* ---------- Highway-sign cards ---------- */
.signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.sign { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; padding: clamp(1.5rem, 3vw, 2.25rem); border: 4px solid var(--white); border-radius: 14px; background: var(--sign); color: var(--white);
  box-shadow: inset 0 0 0 6px var(--sign), inset 0 0 0 8px rgba(255, 255, 255, 0.35); text-decoration: none; transition: transform 200ms var(--ease); }
a.sign:hover { transform: translateY(-3px); color: var(--white); }
.sign-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.sign-title { display: block; min-width: 0; margin: 0; overflow-wrap: anywhere; hyphens: manual; font-family: var(--cond); font-size: clamp(2.1rem, 3.4vw, 3.25rem); font-weight: 800; line-height: 0.95; text-transform: uppercase; }
.sign-arrow { width: 3.5rem; height: 3.5rem; flex: none; fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
a.sign:hover .sign-arrow { transform: translateX(4px); }
.sign-text, .sign-lead { max-width: 28em; font-size: 1.125rem; }
.sign-lead { font-weight: 600; }
.sign h3 { margin-top: 0.4rem; font-size: 1.5rem; }
.handles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid rgba(255, 255, 255, 0.45); }
.handles div { padding: 0.9rem 1rem 0 0; }
.handles div + div { padding-left: 1rem; border-left: 2px solid rgba(255, 255, 255, 0.45); }
.handles dt { font-family: var(--cond); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #D2E3F7; }
.handles dd { margin-top: 0.2rem; font-weight: 600; }
.tick-list { display: flex; flex-direction: column; gap: 0.5rem; }
.tick-list li { position: relative; padding-left: 1.9rem; }
.tick-list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.3rem; width: 1.05rem; height: 0.55rem; border-left: 3px solid var(--sky); border-bottom: 3px solid var(--sky); transform: rotate(-45deg); }
.sign .tick-list li::before { border-color: var(--white); }

/* ---------- Road-white number boards ---------- */
.boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; }
.board { container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; gap: 0.4rem; min-width: 0; padding: 1.5rem 1.6rem; border-radius: 10px; background: var(--road-white); color: var(--ink); }
.board dt, .board-label { font-family: var(--cond); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.board dd { font-family: var(--cond); font-size: min(6rem, 34cqi); font-weight: 800; line-height: 0.9; font-variant-numeric: tabular-nums; }
.board--long dd { font-size: min(6rem, 21cqi); }
.board--small dd { font-size: min(3.4rem, 17cqi); line-height: 0.95; text-transform: uppercase; }
.board--sky { background: var(--sky); }
.boards--facts { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.board-value { font-family: var(--cond); font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 800; line-height: 0.98; text-transform: uppercase; }

/* ---------- Carriers ---------- */
.kicker { margin-bottom: 0.9rem; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.06em; color: var(--sky); }
.carrier-names { display: flex; flex-wrap: wrap; font-family: var(--cond); font-size: clamp(2.1rem, 4vw, 3.75rem); font-weight: 700; line-height: 1.08; text-transform: uppercase; }
.carrier-names li:not(:last-child)::after { content: "\00B7"; margin-inline: 0.35em; color: var(--sky); }
.fine { margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted-2); }
.area-note { max-width: 46em; margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }

/* ---------- Steps ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: clamp(1.75rem, 3vw, 2.25rem); }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 32rem; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1.25rem; border-top: 6px dashed rgba(242, 242, 242, 0.85); }
.step-num { font-family: var(--cond); font-size: clamp(3.5rem, 5vw, 5rem); font-weight: 800; line-height: 0.85; color: var(--sky); }
.step p { color: var(--muted); }

/* ---------- Split, FAQ, prose ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.split-head { display: flex; flex-direction: column; gap: 0.75rem; }
.split-head h2 { margin-bottom: 0; }
.split-head p { color: var(--muted); }
.faq { border-top: 2px solid var(--white); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; padding: 0.9rem 0; font-family: var(--cond); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1; text-transform: uppercase; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.75rem; height: 0.75rem; margin-right: 0.35rem; border-right: 3px solid var(--sky); border-bottom: 3px solid var(--sky); transform: rotate(45deg) translate(-2px, -2px); transition: transform 240ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--sky); }
.faq details p { padding: 0 2.5rem 1.25rem 0; color: var(--muted); font-size: 1.125rem; }
.prose { display: flex; flex-direction: column; gap: 1rem; color: var(--muted); font-size: 1.125rem; }
.prose .text-link { align-self: flex-start; }

/* ---------- Comparison table on a road-white board ---------- */
.compare-scroll { overflow-x: auto; border-radius: 10px; background: var(--road-white); color: var(--ink); }
.compare { width: 100%; min-width: 40rem; border-collapse: collapse; }
.compare th, .compare td { padding: 1.1rem 1.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid #CDD2D8; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--cond); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; }
.compare thead th:nth-child(2), .compare thead th:nth-child(3) { border-top: 6px solid var(--sign); }
.compare tbody th { width: 26%; color: var(--ink-2); font-weight: 600; }

/* ---------- Call band ---------- */
.call-band { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--sky); color: var(--ink); }
.call-row { container-type: inline-size; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.75rem; }
.call-text { min-width: 0; }
.call-label { margin: 0 0 0.6rem; font-size: 1.5rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.15; }
.call-number { display: block; font-family: var(--cond); font-size: min(8.25rem, 13cqi); font-weight: 800; line-height: 0.88; color: var(--ink); text-decoration: none; white-space: nowrap; }
.call-number:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 0.12em; }

/* ---------- Contact: route request ---------- */
.request-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.request-main h2, .request-aside h2 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); margin-bottom: 0.75rem; }
.request-intro { max-width: 40rem; margin-bottom: 1.5rem; color: var(--muted); }
.request-aside { position: sticky; top: 6rem; padding: 1.5rem 1.6rem; border: 4px solid var(--white); border-radius: 14px; background: var(--sign); box-shadow: inset 0 0 0 6px var(--sign), inset 0 0 0 8px rgba(255, 255, 255, 0.35); }
.details { display: grid; }
.details div { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.details div:last-child { border-bottom: 0; }
.details dt { font-family: var(--cond); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #D2E3F7; }
.details dd { margin-top: 0.15rem; font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.details a { color: var(--white); text-decoration-color: var(--sky); text-decoration-thickness: 2px; }
.details a:hover { color: #D2E3F7; }

/* Form on a road-white board */
.lead-form { width: 100%; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 10px; background: var(--road-white); color: var(--ink); }
.form-progress { margin-bottom: 1.5rem; }
.lead-form:not(.is-stepped) .form-progress { display: none; }
.form-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.4rem; }
.form-bar i { height: 0.35rem; border-radius: 2px; background: #CDD2D8; transition: background-color 240ms var(--ease); }
.form-bar i.is-done { background: var(--sign); }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.lead-form:not(.is-stepped) .form-step + .form-step { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #CDD2D8; }
.form-step-title { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.25rem; padding: 0; font-family: var(--cond); font-size: clamp(1.8rem, 2.6vw, 2.25rem); font-weight: 800; line-height: 1; text-transform: uppercase; color: var(--ink); }
.form-step-num { font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; color: var(--sign); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label, .field > legend { padding: 0; font-weight: 600; font-size: 0.975rem; color: var(--ink-2); }
.optional { font-weight: 400; color: #5A6169; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 0.9rem; border: 2px solid #9AA3AD; border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); color-scheme: light; }
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6B737C; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sign); box-shadow: 0 0 0 3px rgba(31, 78, 153, 0.3); }
.field [aria-invalid="true"] { border-color: var(--error-ink); background: #FDF0EF; }
.field-error { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--error-ink); }
.field-error[hidden] { display: none; }
.field-error::before { content: "!"; display: grid; place-items: center; width: 1.05rem; height: 1.05rem; flex: none; border-radius: 50%; background: var(--error-ink); color: var(--white); font-size: 0.7rem; font-weight: 800; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.2rem; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip-face { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.9rem; padding: 0.45rem 1.1rem; border: 2px solid #9AA3AD; border-radius: 6px; background: var(--white);
  font-family: var(--cond); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); transition: background-color 160ms, border-color 160ms, color 160ms; }
.chip:hover .chip-face { border-color: var(--ink); }
.chip-check { width: 0; height: 1rem; flex: none; opacity: 0; transition: width 160ms, opacity 160ms; }
.chip-input:checked + .chip-face { background: var(--sign); border-color: var(--sign); color: var(--white); }
.chip-input:checked + .chip-face .chip-check { width: 1rem; opacity: 1; }
.chip-input:focus-visible + .chip-face { outline: 3px solid var(--sign); outline-offset: 2px; }
.choices.is-invalid .chip-face { border-color: var(--error-ink); }
.choice { display: inline-flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; }
.choice--box input { width: 1.25rem; height: 1.25rem; margin: 0.12rem 0 0; flex: none; accent-color: var(--sign); }
.consent .choice span { font-size: 0.95rem; color: var(--ink-2); }
.lead-form a { color: var(--sign); }
.msg-preview { gap: 0.5rem; }
.msg-preview-label { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.msg-bubble { max-width: 32rem; padding: 0.95rem 1.15rem; border-radius: 14px 14px 4px 14px; background: #DCEBF7; color: var(--ink); font-size: 0.925rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.lead-form:not(.is-stepped) .msg-preview { display: none; }
.form-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.6rem; }
.form-nav [data-next], .form-nav .btn-send { margin-left: auto; }
.lead-form:not(.is-stepped) [data-next], .lead-form:not(.is-stepped) [data-back] { display: none; }
.btn-ghost { border-color: #9AA3AD; color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-link { min-height: 2.75rem; padding-inline: 0.75rem; background: transparent; color: var(--sign); font-size: 1.15rem; text-decoration: underline; text-underline-offset: 0.2em; }
.btn-link:hover { color: var(--ink); }
.form-nav .btn-link { order: 3; margin-left: auto; }
.form-status { margin-top: 1rem; font-weight: 600; color: var(--ink); }
.form-status:empty { display: none; }

/* ---------- Legal and sitemap ---------- */
.legal > * { max-width: 46rem; }
.legal h2 { margin: 2.25rem 0 0.6rem; font-size: clamp(1.75rem, 2.4vw, 2.1rem); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal-list { color: #DADFE4; }
.legal p + p { margin-top: 0.75rem; }
.legal-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0; padding-left: 1.25rem; list-style: disc; }
.legal-list + p { margin-top: 0.75rem; }
.sitemap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.sitemap-group { padding-top: 1rem; border-top: 3px solid var(--white); }
.sitemap-group h2 { margin-bottom: 0.9rem; font-size: 1.6rem; }
.sitemap-group ul { display: flex; flex-direction: column; gap: 0.6rem; }
.sitemap-group a { color: var(--white); text-decoration-color: var(--sky); text-decoration-thickness: 2px; }
.sitemap-group a:hover { color: var(--sky); }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: 1.75rem; background: var(--asphalt-3); color: var(--muted); }
.site-footer .lane { margin-top: 0; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1.1fr); gap: 2.5rem; padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer-brand img { height: 2.8rem; width: auto; }
.footer-brand p { max-width: 26rem; }
.footer-title { margin-bottom: 0.8rem; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.08em; color: var(--sky); }
.footer-list { display: flex; flex-direction: column; gap: 0.45rem; overflow-wrap: anywhere; }
.footer-meta { margin-top: 0.75rem; color: var(--muted-2); font-size: 0.95rem; }
.footer-link { color: var(--white); text-decoration: none; }
.footer-link:hover { color: var(--sky); text-decoration: underline; }
.footer-driver { margin-top: 2.25rem; }
.footer-driver .footer-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: 600; color: var(--white); text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 0.2em; }
.footer-driver .icon { color: var(--sky); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-bottom .footer-link { color: var(--muted); }
.footer-credit { margin-left: auto; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 64rem) {
  .request-grid { grid-template-columns: minmax(0, 1fr); }
  .request-aside { position: static; }
  .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 52rem) {
  .signs, .steps, .split { grid-template-columns: minmax(0, 1fr); }
  .sign-arrow { width: 2.5rem; height: 2.5rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .compare-scroll { overflow: visible; background: none; color: var(--white); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { display: none; }
  .compare tr { margin-bottom: 0.75rem; padding: 1rem 1.15rem; border-radius: 10px; background: var(--road-white); color: var(--ink); }
  .compare tbody th { width: auto; padding: 0 0 0.5rem; border: 0; color: var(--ink); font-family: var(--cond); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; }
  .compare td { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.55rem 0; border-bottom: 0; border-top: 1px solid #CDD2D8; }
  .compare td::before { content: attr(data-label); font-weight: 700; color: var(--sign); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .footer-legal { order: -1; }
  .footer-credit { margin-left: 0; }
  .call-row { align-items: flex-start; }
}
@media (max-width: 34rem) {
  .form-grid, .handles { grid-template-columns: minmax(0, 1fr); }
  .handles div + div { padding-left: 0; border-left: 0; border-top: 2px solid rgba(255, 255, 255, 0.45); margin-top: 0.9rem; }
  .form-nav .btn-send, .form-nav [data-next] { flex: 1 1 auto; }
  .form-nav .btn-link { margin-inline: auto; }
  .hero-actions .btn, .page-hero .hero-actions .btn { flex: 1 1 100%; }
  .sitemap-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-column: 1 / -1; }
  .boards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; }
  .board { padding: 1.1rem 1.15rem; }
  .board dt { font-size: 1.05rem; }
}
@media (max-width: 23.5rem) {
  .boards { grid-template-columns: minmax(0, 1fr); }
}

/* Less motion: final state only */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .lane::before { clip-path: none !important; }
}
