:root {
  color-scheme: dark;
  --bg: #0d1120;
  --surface: #151b2e;
  --line: #2e3753;
  --ink: #f6f4ff;
  --muted: #b9c1d8;
  --accent: #d7caff;
  --accent-ink: #201638;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { line-height: 1.07; }
h1 { font-size: clamp(44px, 7.2vw, 92px); letter-spacing: -.064em; font-weight: 800; }
h2 { font-size: clamp(33px, 4vw, 53px); letter-spacing: -.047em; }
h3 { font-size: 21px; letter-spacing: -.026em; }
.wrap { width: min(1184px, calc(100% - 72px)); margin-inline: auto; }
.site-header { background: #0c1121; border-bottom: 1px solid #ffffff1c; }
.header-inner { display: flex; align-items: center; min-height: 79px; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-weight: 750; font-size: 15px; line-height: 1.25; }
.brand small { display: block; color: var(--muted); margin-top: 3px; font-size: 11px; font-weight: 500; }
.brand-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #66578e; border-radius: 10px; color: var(--accent); font-size: 23px; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--accent); }
.header-phone { color: var(--accent); white-space: nowrap; font-weight: 750; }
.hero { position: relative; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1 { margin-top: 18px; }
.intro { max-width: 42ch; color: #e1e3f0; font-size: clamp(16px, 1.9vw, 20px); margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 8px; min-height: 47px; padding: 10px 17px; font-size: 14px; font-weight: 750; }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { background: #f0e9ff; }
.button.ghost { border-color: #777fa3; color: #f8f5ff; background: #1419288c; }
.button.ghost:hover { background: #292a46; }
.highway {
  background: #0b1022 linear-gradient(90deg, #080d1a 0%, #080d1adb 24%, #080d1a38 57%, #080d1a00 83%);
  background-image: linear-gradient(0deg, #0d1120 0%, #0d112000 32%), linear-gradient(90deg, #080d1a 0%, #080d1adb 24%, #080d1a38 57%, #080d1a00 83%), url("assets/highway.webp");
  background-size: cover;
  background-position: center, center, center 54%;
}
.highway-layout { min-height: 650px; display: flex; flex-direction: column; justify-content: end; padding-top: 116px; }
.highway .hero-copy { padding-bottom: 66px; }
.hero-stops { display: grid; grid-template-columns: repeat(6, 1fr); padding: 22px 22px 23px; list-style: none; gap: 14px; border: 1px solid #6a79a14d; border-radius: 12px; background: #0e1427d9; }
.hero-stops li { position: relative; font-size: 13px; font-weight: 650; }
.hero-stops li::before { content: ""; display: block; width: 8px; height: 8px; margin-bottom: 12px; border-radius: 50%; background: var(--accent); }
.hero-stops li:not(:last-child)::after { content: ""; position: absolute; inset: 3px -8px auto 16px; border-top: 1px solid #a2a9d073; }
.big-phone { display: inline-block; color: var(--ink); font-size: clamp(24px, 3.4vw, 41px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.block { padding-block: clamp(52px, 7vw, 94px); scroll-margin-top: 20px; }
.section-head { margin-bottom: 25px; max-width: 690px; }
.section-head h2 { margin-block: 11px 13px; }
.section-head > p:last-child { color: var(--muted); font-size: 17px; }
.route-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.route-diagram, .request, .fleet-card, .review-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.route-diagram {
  position: relative;
  align-self: start;
  overflow: hidden;
}
.diagram-title, .nearby {
  position: absolute;
  inset-inline: clamp(14px, 2vw, 24px);
  z-index: 1;
  text-shadow: 0 1px 4px #0d1120, 0 0 8px #0d1120;
}
.diagram-title { top: clamp(12px, 2vw, 22px); color: var(--accent); font-size: clamp(14px, 2vw, 16px); font-weight: 750; }
.nearby { bottom: clamp(10px, 1.4vw, 20px); color: var(--muted); font-size: clamp(12px, 2vw, 14px); line-height: 1.4; }
.route-map { display: block; width: 100%; height: auto; }
.request { padding: 24px; scroll-margin-top: 20px; }
.estimate-field { display: grid; gap: 5px; min-width: 0; color: var(--muted); font-size: 14px; }
.estimate-origin { margin-top: 16px; }
.estimate-field select, .estimate-field input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #67718b; border-radius: 6px; color: var(--ink); background: var(--bg); padding: 7px 9px; }
.delivery-list { display: grid; gap: 12px; margin: 14px 0 12px; }
.delivery { min-width: 0; margin: 0; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 8px; }
.delivery legend { padding-inline: 5px; color: var(--accent); font-size: 14px; font-weight: 700; }
.delivery-quantities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.delivery-quantities .estimate-field { font-size: 13px; align-content: end; }
.remove-delivery { margin-top: 8px; padding: 4px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.remove-delivery:hover { color: var(--ink); }
.add-delivery { min-height: 42px; }
.vehicle-total { color: var(--muted); margin: 14px 0; font-size: 14px; }
.vehicle-total output { margin-left: 5px; color: var(--accent); font-weight: 750; }
.request-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.request button { cursor: pointer; }
.estimate-result:not(:empty) { margin-top: 15px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #101526; }
.estimate-result strong { color: var(--accent); font-size: 18px; }
.estimate-result ul { display: grid; gap: 6px; padding: 0; margin: 9px 0 0; list-style: none; font-size: 14px; color: var(--muted); }
.estimate-result li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; }
.estimate-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.tow-note { border-top: 1px solid var(--line); padding-top: 12px; }
.fleet-section { background: #ffffff05; }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fleet-card { display: grid; align-content: start; gap: 12px; padding: 23px; }
.fleet-card h3 { color: var(--accent); font-size: clamp(22px, 2.25vw, 29px); }
.fleet-count { justify-self: start; padding: 4px 10px; border-radius: 5px; background: #28253d; color: var(--accent); font-size: 13px; font-weight: 650; }
.fleet-card p { color: var(--muted); }
.insurance p, .review-card p, .contact-box p:not(.eyebrow) { margin-top: 7px; color: var(--muted); }
.insurance { display: flex; align-items: start; gap: 14px; padding: 23px; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; }
.insurance-mark { color: var(--accent); font-size: 21px; line-height: 1; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-card { display: flex; align-items: center; gap: 17px; padding: 23px; }
.review-card:hover { border-color: #8c7eb2; }
.avito-icon { display: grid; grid-template-columns: repeat(2, 8px); gap: 3px; }
.avito-icon i { width: 8px; height: 8px; border-radius: 50%; background: #8dc0ff; }
.avito-icon i:nth-child(2) { background: #bba2f3; }
.avito-icon i:nth-child(3) { background: #91d4bb; }
.avito-icon i:nth-child(4) { background: #f398a9; }
.contact-section { padding-top: 24px; }
.contact-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: clamp(22px, 4vw, 49px); border-radius: 15px; border: 1px solid var(--line); background: var(--surface); }
.contact-box h2 { margin-block: 10px; }
.messengers { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 10px; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; padding-block: 22px; font-size: 14px; }
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding-block: 13px; }
  .header-inner nav { order: 3; width: 100%; }
  .highway-layout { min-height: 575px; padding-top: 80px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero h1 { font-size: clamp(37px, 9.4vw, 62px); }
  .highway { background-image: linear-gradient(0deg, #0d1120 3%, #0d1120c7 38%, #0d112000 73%), linear-gradient(90deg, #080d1a70, transparent), url("assets/highway.webp"); background-size: cover, cover, auto 61%; background-position: center, center, 68% top; background-repeat: no-repeat; }
  .highway-layout { min-height: auto; padding-top: clamp(169px, 45vw, 315px); }
  .highway .hero-copy { padding-bottom: 26px; }
  .hero-stops { grid-template-columns: repeat(3, 1fr); padding: 14px; row-gap: 13px; }
  .hero-stops li { font-size: 11px; }
  .hero-stops li:nth-child(3)::after { display: none; }
  .route-grid, .contact-box { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-section { padding-top: 14px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .header-phone { font-size: 13px; }
  .brand { gap: 7px; font-size: 13px; }
  .brand-icon { width: 30px; height: 30px; }
  nav { gap: 12px; font-size: 13px; }
  .request { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
