/* ============================================================
   ИП «Слепухо С.В.» — грузоперевозки Беларусь — Россия
   Статический лендинг: чистый HTML + CSS
   Дизайн-система: графит + сигнальный жёлтый, «диспетчерское табло»
   + «бумажная» накладная. Файл не требует сборщиков.
   ============================================================ */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}
/* ---------- 1. Токены ---------- */
:root {
  --ink: #0b0e13;
  --graphite: #141922;
  --panel: #1b222d;
  --line: #2a3341;
  --steel: #8a97a8;
  --mist: #cbd5e1;
  --paper: #f1ede6;
  --paper-2: #e5dfd4;
  --paper-line: #cec6b7;
  --signal: #ffc400;
  --signal-2: #e0a800;
  --danger: #ff8a7a;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Golos Text", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;

  --wrap: 1400px;
  --pad: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Сброс ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body:has(.nav-toggle:checked),
body:has(.modal:target) {
  overflow: hidden;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button,
input,
label {
  font: inherit;
}
::selection {
  background: var(--signal);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ---------- 3. Типографика и утилиты ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.98;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.ink-signal {
  color: var(--signal);
}
.ink-muted {
  color: rgba(11, 14, 19, 0.55);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--signal);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}
.grain,
.paper-grain,
.benefits,
.request {
  position: relative;
}
.grain::after,
.paper-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > .wrap,
.request > .wrap {
  position: relative;
  z-index: 1;
}
.paper-grain {
  background-color: var(--paper);
}
.paper-grain::after {
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* ---------- 4. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn-signal {
  background: var(--signal);
  color: var(--ink);
}
.btn-signal:hover {
  background: var(--paper);
}
.btn-outline {
  border-color: var(--line);
  color: var(--paper);
}
.btn-outline:hover {
  border-color: var(--signal);
  color: var(--signal);
}
.btn-sm {
  padding: 11px 16px;
  font-size: 12px;
}
.btn-lg {
  padding: 17px 30px;
  font-size: 13.5px;
}
.btn-block {
  width: 100%;
}

/* ---------- 5. Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(11, 14, 19, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.top-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 12px var(--pad);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--signal);
}
.brand-mark svg {
  width: 24px;
  height: 24px;
}
.brand-text {
  display: block;
  line-height: 1.1;
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--paper);
}
.brand-text small {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--signal);
}
.desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s;
}
.desktop-nav a:hover {
  color: var(--signal);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.desktop-nav + .header-actions {
  margin-left: 20px;
}
.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.35;
}
.header-phones a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.header-phones a:hover {
  color: var(--signal);
}
.header-social {
  display: flex;
  gap: 4px;
}
.header-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  color: var(--steel);
  transition: color 0.2s, border-color 0.2s;
}
.header-social a:hover {
  color: var(--signal);
  border-color: var(--signal);
}
.header-social svg {
  width: 16px;
  height: 16px;
}
.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle:focus-visible ~ .top-bar .burger {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.nav-toggle:checked ~ .top-bar .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle:checked ~ .top-bar .burger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked ~ .top-bar .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
  background: rgba(11, 14, 19, 0.98);
  border-top: 1px solid transparent;
}
.nav-toggle:checked ~ .mobile-nav {
  grid-template-rows: 1fr;
  border-top-color: var(--line);
}
.mobile-nav-inner {
  overflow: hidden;
  max-height: calc(100dvh - 72px);
  padding-inline: var(--pad);
}
.mobile-nav-inner nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav-inner nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 51, 65, 0.7);
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.mobile-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0 14px;
}
.mobile-phone a {
  color: var(--signal);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
}
.mobile-actions .btn {
  margin-left: auto;
}

/* ---------- 6. Первый экран ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 24px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/hero-night.jpg") 70% center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(11, 14, 19, 0.97) 0%, rgba(11, 14, 19, 0.86) 48%, rgba(11, 14, 19, 0.3) 100%),
    linear-gradient(to top, var(--ink) 0%, rgba(11, 14, 19, 0) 45%, rgba(11, 14, 19, 0.7) 100%);
}
.hero-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(32px, 6vw, 64px);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--signal);
  font-size: 11.5px;
}
.blink {
  width: 8px;
  height: 8px;
  background: var(--signal);
  animation: blink 1.9s ease-in-out infinite;
}
.hero-title {
  max-width: 17ch;
  margin-top: 24px;
  font-size: clamp(2.5rem, 7.2vw, 6.5rem);
  color: var(--paper);
}
.hero-title .accent {
  color: var(--signal);
}
.hero-lead {
  max-width: 34ch;
  margin-top: 26px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--mist);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-usp {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  max-width: 980px;
}
.hero-usp li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.hero-usp svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--signal);
}
.hero-usp strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}
.hero-usp small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--steel);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  background: rgba(11, 14, 19, 0.78);
  backdrop-filter: blur(4px);
}
.hero-stats > div {
  flex: 1 1 150px;
  padding: 18px clamp(16px, 2vw, 26px);
  border-right: 1px solid var(--line);
}
.hero-stats dt {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
}
.hero-stats dd {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ---------- 7. Бегущая строка ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding-block: 12px;
  border-block: 1px solid var(--line);
  background: var(--graphite);
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--graphite), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--graphite), transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker-track span {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  white-space: nowrap;
}
.ticker-track i {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--signal);
  transform: rotate(45deg);
}

/* ---------- 8. Секции ---------- */
.section {
  position: relative;
  padding-block: var(--section);
}
.section-dark {
  background: var(--ink);
}
.section-paper {
  color: var(--ink);
}
.section-head {
  position: relative;
  z-index: 1;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--signal);
}
.section-label em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--steel);
}
.section-label i {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.on-paper .section-label span {
  color: var(--signal-2);
}
.on-paper .section-label em {
  color: rgba(11, 14, 19, 0.55);
}
.on-paper .section-label i {
  background: var(--paper-line);
}
.section-head h2 {
  max-width: 24ch;
  margin-top: 18px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: var(--paper);
}
.on-paper h2 {
  color: var(--ink);
}
.section-lead {
  max-width: 68ch;
  margin-top: 20px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--steel);
}
.on-paper .section-lead {
  color: rgba(11, 14, 19, 0.7);
}

/* ---------- 9. География ---------- */
.routes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.map-card {
  border: 1px solid var(--line);
  background: var(--graphite);
  padding: 8px;
}
.map-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.map-scroll svg {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
}
.map-card figcaption {
  padding: 10px 8px 2px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(138, 151, 168, 0.8);
}
.map-hint {
  display: none;
  color: var(--signal);
}
.map-zone {
  transform-box: fill-box;
  transform-origin: center;
  animation: zonePulse 5s ease-in-out infinite;
}
.map-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: ringPulse 3.2s ease-out infinite;
}
.map-route-dash {
  stroke-dasharray: 14 14;
  animation: dashFlow 2.4s linear infinite;
}
.routes-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--graphite);
  padding: 20px;
}
.direction-list {
  margin-top: 8px;
}
.direction-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.direction-list li:last-child {
  border-bottom: 0;
}
.direction-list span:first-child {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--paper);
}
.direction-list span:last-child {
  font-size: 12.5px;
  color: var(--steel);
  text-align: right;
}
.direction-list li:hover span:first-child {
  color: var(--signal);
}
.radius-card {
  border: 1px solid rgba(255, 196, 0, 0.4);
  background: rgba(255, 196, 0, 0.08);
  padding: 20px;
}
.radius-card .display {
  font-size: 2rem;
  color: var(--signal);
}
.radius-card p + p,
.radius-card p:not(.display) {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mist);
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--signal);
  text-decoration: none;
}
.arrow-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.arrow-link:hover svg {
  transform: translateX(4px);
}
.arrow-link.dark {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.radius-card .arrow-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 10. Автопарк ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.fleet-slider {
  position: relative;
}
.fleet-slides {
  border: 1px solid var(--paper-line);
  background: var(--graphite);
}
.fleet-slide {
  display: none;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.fleet-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fleet-slide figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 72px 20px 20px;
  background: linear-gradient(to top, rgba(11, 14, 19, 0.97) 8%, rgba(11, 14, 19, 0.72) 55%, transparent 100%);
}
.chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--signal);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.fleet-slide h3 {
  margin-top: 12px;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--paper);
}
.fleet-slide p {
  max-width: 46ch;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mist);
}
.fleet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.fleet-tabs label {
  padding: 10px 16px;
  border: 1px solid var(--paper-line);
  background: rgba(255, 255, 255, 0.5);
  color: rgba(11, 14, 19, 0.7);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.fleet-tabs label:hover {
  border-color: var(--ink);
  color: var(--ink);
}
#fleet-1:checked ~ .fleet-slides .fleet-slide:nth-child(1),
#fleet-2:checked ~ .fleet-slides .fleet-slide:nth-child(2),
#fleet-3:checked ~ .fleet-slides .fleet-slide:nth-child(3) {
  display: block;
  animation: fadeIn 0.45s var(--ease) both;
}
#fleet-1:checked ~ .fleet-tabs label[for="fleet-1"],
#fleet-2:checked ~ .fleet-tabs label[for="fleet-2"],
#fleet-3:checked ~ .fleet-tabs label[for="fleet-3"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--signal);
}
.fleet-radio:focus-visible ~ .fleet-tabs {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}
.fleet-specs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.panel-paper {
  border: 1px solid var(--paper-line);
  background: rgba(255, 255, 255, 0.55);
  padding: clamp(16px, 2vw, 24px);
}
.spec-list {
  margin-top: 12px;
}
.spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--paper-line);
}
.spec-list > div:last-child {
  border-bottom: 0;
}
.spec-list dt {
  font-size: 13.5px;
  color: rgba(11, 14, 19, 0.65);
}
.spec-list dd {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.dimensions {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
}
.trust {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(11, 14, 19, 0.12);
  background: var(--ink);
}
.trust > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trust-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 4vw, 32px);
  background: linear-gradient(to right, rgba(11, 14, 19, 0.97) 0%, rgba(11, 14, 19, 0.88) 60%, rgba(11, 14, 19, 0.45) 100%);
}
.trust-text {
  max-width: 60ch;
  margin-top: 12px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.6;
  color: var(--paper);
}
.trust-text strong {
  color: var(--signal);
}
.trust-stats {
  display: flex;
  gap: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.trust-stats > div {
  display: flex;
  flex-direction: column-reverse;
}
.trust-stats dt {
  margin-top: 4px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  max-width: 12ch;
}
.trust-stats dd {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1025px) {
  .trust-stats {
    padding-top: 0;
    padding-left: 32px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* ---------- 11. Преимущества ---------- */
.hazard {
  height: 8px;
  background-image: repeating-linear-gradient(-45deg, #ffc400 0 10px, #0b0e13 10px 20px);
}
.benefits {
  padding-top: calc(var(--section) + 8px);
}
.benefits > .hazard {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  background: var(--line);
}
.benefit {
  background: var(--graphite);
  padding: clamp(22px, 3vw, 28px);
  transition: background 0.3s;
}
.benefit:hover {
  background: var(--panel);
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  color: var(--signal);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.benefit:hover .benefit-icon {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}
.benefit-icon svg {
  width: 28px;
  height: 28px;
}
.benefit h3 {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--paper);
}
.benefit p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
}
.benefit-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--signal);
}
.benefit-cta:hover {
  background: var(--signal);
}
.benefit-cta .ink-muted {
  color: rgba(11, 14, 19, 0.7);
}
.benefit-cta .display {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--ink);
}
.benefit-cta .arrow-link {
  align-self: flex-start;
}

/* ---------- 12. Этапы ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
@media (min-width: 1025px) {
  .steps::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 26px;
    height: 1px;
    background: var(--paper-line);
  }
}
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--signal);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.steps h3 {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink);
}
.steps p {
  max-width: 32ch;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(11, 14, 19, 0.65);
}

/* ---------- 13. Заявка и форма ---------- */
.request {
  overflow: hidden;
}
.request-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(11, 14, 19, 0.93) 45%, var(--ink) 100%),
    url("images/depot-night.jpg") center / cover no-repeat;
}
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.request-points {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.request-points li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--mist);
}
.request-points li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--signal);
  transform: rotate(45deg);
}
.request-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.form-card {
  border: 1px solid var(--line);
  background: rgba(20, 25, 34, 0.92);
  backdrop-filter: blur(6px);
  padding: clamp(18px, 3vw, 32px);
}
.lead-form {
  display: grid;
  gap: 16px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  color-scheme: dark;
}
.field input::placeholder {
  color: #6d7a8b;
}
.field input:hover {
  border-color: #3b475a;
}
.field input:focus {
  outline: none;
  border-color: var(--signal);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.22);
}
.field.invalid input {
  border-color: var(--danger);
}
.field.invalid input:focus {
  box-shadow: 0 0 0 3px rgba(255, 138, 122, 0.2);
}
.field-error {
  display: none;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--danger);
}
.field-error.is-visible,
.field-error.static {
  display: block;
}
.field-error.static:empty {
  display: none;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hp-input,
.hidden {
  display: none;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--steel);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--signal);
}
.consent a {
  color: var(--signal);
  text-underline-offset: 2px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.form-note {
  font-size: 12.5px;
  color: var(--steel);
}
.form-note.is-error {
  color: var(--danger);
}
.form-note.is-success {
  color: var(--signal);
}

/* ---------- 14. Подвал ---------- */
.site-footer {
  background: var(--graphite);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-block: 56px;
}
.footer-brand p {
  max-width: 38ch;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--steel);
}
.footer-brand .header-social {
  margin-top: 20px;
}
.footer-brand .header-social a {
  width: 44px;
  height: 44px;
}
.footer-brand .header-social svg {
  width: 20px;
  height: 20px;
}
.footer-col .eyebrow {
  color: var(--signal);
}
.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.footer-phones a,
.footer-links a {
  color: var(--paper);
  text-decoration: none;
}
.footer-phones a:hover,
.footer-links a:hover {
  color: var(--signal);
}
.footer-phones span,
.footer-links a {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
}
.footer-phones small,
.footer-links small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.footer-small {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--steel);
}
.site-footer address {
  margin-top: 16px;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--steel);
}
.requisites {
  margin-top: 16px;
}
.requisites > div {
  margin-bottom: 10px;
}
.requisites dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.requisites dd {
  font-size: 14px;
  color: var(--paper);
}
.footer-bottom {
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
}
.footer-bottom nav a {
  color: var(--steel);
  text-decoration: none;
}
.footer-bottom nav a:hover {
  color: var(--signal);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(138, 151, 168, 0.85);
}

/* ---------- 15. Плавающая связь ---------- */
.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fab-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.fab-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: min(76vw, 280px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.fab-toggle:checked ~ .fab-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.fab-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: rgba(20, 25, 34, 0.98);
  color: var(--paper);
  font-size: 12.5px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, color 0.2s;
}
.fab-link span {
  color: var(--steel);
}
.fab-link b {
  font-weight: 600;
  white-space: nowrap;
}
.fab-link:hover {
  border-color: var(--signal);
  color: var(--signal);
}
.fab-cta {
  padding: 13px 16px;
  background: var(--signal);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.fab-btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.fab-btn svg {
  width: 24px;
  height: 24px;
}
.fab-icon-close {
  display: none;
}
.fab-toggle:checked ~ .fab-btn {
  transform: rotate(90deg);
  background: var(--paper);
}
.fab-toggle:checked ~ .fab-btn .fab-icon-phone {
  display: none;
}
.fab-toggle:checked ~ .fab-btn .fab-icon-close {
  display: block;
}

/* ---------- 16. Модальные окна (без JS, через :target) ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal:target {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 19, 0.88);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid var(--line);
  background: var(--graphite);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: rise 0.35s var(--ease) both;
}
.modal-card h2 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--paper);
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--signal);
}
.modal-close svg {
  width: 20px;
  height: 20px;
}
.modal-lead {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
}
.modal-note {
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(138, 151, 168, 0.85);
}
.modal-note a {
  color: var(--signal);
  text-underline-offset: 2px;
}
.callback-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.modal-card-center {
  max-width: 440px;
  text-align: center;
}
.thanks-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--signal);
}
.thanks-icon svg {
  width: 36px;
  height: 36px;
}
.modal-card-center .btn {
  margin-top: 24px;
}

/* ---------- 17. Анимации ---------- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes zonePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}
@keyframes ringPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70%, 100% { transform: scale(2.5); opacity: 0; }
}
@keyframes dashFlow {
  to { stroke-dashoffset: -60; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Появление блоков при скролле — только CSS (scroll-driven animations).
   В браузерах без поддержки контент виден сразу. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise 0.9s var(--ease) both;
      animation-timeline: view();
      animation-range: entry 6% cover 26%;
    }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow,
  .hero-title,
  .hero-lead,
  .hero-actions,
  .hero-usp {
    animation: rise 0.8s var(--ease) both;
  }
  .hero-title { animation-delay: 0.08s; }
  .hero-lead { animation-delay: 0.16s; }
  .hero-actions { animation-delay: 0.24s; }
  .hero-usp { animation-delay: 0.32s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blink,
  .ticker-track,
  .map-zone,
  .map-ring,
  .map-route-dash,
  .hero-eyebrow,
  .hero-title,
  .hero-lead,
  .hero-actions,
  .hero-usp,
  .modal-card {
    animation: none !important;
  }
}

/* ---------- 18. Адаптив ---------- */
@media (max-width: 1240px) {
  .header-phones {
    display: none;
  }
}
@media (max-width: 1080px) {
  .desktop-nav,
  .header-actions > .header-social {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header-actions > .btn {
    display: none;
  }
  .routes-grid,
  .fleet-grid,
  .request-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
  }
  .hero-stats > div {
    flex-basis: 130px;
  }
}
@media (max-width: 860px) {
  .hero-usp {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 36px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .trust-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .trust-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
}
@media (max-width: 780px) {
  .hero-title {
    max-width: 100%;
  }
  .hero-lead {
    max-width: 100%;
  }
  .hero-stats > div {
    flex: 1 1 45%;
    padding: 14px 16px;
  }
  .map-hint {
    display: inline;
  }
  .map-card figcaption {
    font-size: 11px;
  }
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-actions .btn {
    width: 100%;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 40px;
  }
  .footer-legal {
    flex-direction: column;
  }
}
@media (max-width: 620px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-text strong {
    font-size: 14px;
  }
  .brand-text small {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }
  .top-bar {
    padding-block: 10px;
  }
  .benefit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .fleet-slide {
    aspect-ratio: 4 / 3;
  }
  .fleet-slide figcaption {
    padding: 48px 14px 14px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .request-contacts .btn {
    width: 100%;
  }
  .modal-card {
    padding: 22px 18px;
  }
  .fab {
    right: 12px;
    bottom: 12px;
  }
  .fab-btn {
    width: 52px;
    height: 52px;
  }
  .footer-bottom nav {
    gap: 6px 16px;
  }
}
@media (max-width: 400px) {
  .hero-stats > div {
    flex-basis: 100%;
  }
  .header-social a {
    width: 34px;
    height: 34px;
  }
}

/* ---------- 19. Печать ---------- */
@media print {
  .site-header,
  .fab,
  .modal,
  .map-scroll,
  .ticker {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .section {
    padding-block: 24px;
  }
}

/* ---------- 20. Страница политики конфиденциальности ---------- */
.page-legal {
  background: var(--paper);
  color: var(--ink);
}
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--paper-line);
  background: var(--ink);
}
.legal-header .btn {
  flex: none;
}
.legal-wrap {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 64px) var(--pad) clamp(48px, 8vw, 80px);
}
.legal-wrap h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--ink);
}
.legal-meta {
  margin-top: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 14px;
  color: rgba(11, 14, 19, 0.6);
}
.legal-section {
  margin-top: 40px;
}
.legal-section h2 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink);
}
.legal-section p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(11, 14, 19, 0.78);
}
.legal-section a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
.legal-card {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--paper-line);
  background: rgba(255, 255, 255, 0.5);
}
.legal-card .eyebrow {
  color: rgba(11, 14, 19, 0.55);
}
.legal-card p + p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(11, 14, 19, 0.78);
}
.legal-card a {
  color: var(--ink);
  font-weight: 600;
}
.back-link {
  display: inline-block;
  margin-top: 40px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 14, 19, 0.7);
  text-decoration: none;
}
.back-link:hover {
  color: var(--ink);
}
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 24px var(--pad);
  background: var(--graphite);
  font-size: 12.5px;
  color: var(--steel);
}
.legal-footer p {
  margin: 0 auto 0 0;
}
.legal-footer p + p {
  margin-inline: 0;
}
@media (max-width: 560px) {
  .legal-header .brand-text small {
    display: none;
  }
  .legal-header .btn {
    padding: 10px 12px;
    font-size: 11px;
  }
}

/* ---------- 21. Тёмные поля (модальные окна) ---------- */
/* Базовый вид полей уже тёмный; класс оставлен для явного переопределения
   при подключении светлой модалки. */
.field-dark input {
  background: rgba(255, 255, 255, 0.04);
}
