/* ==========================================================================
   Move Fleet Logistics — стили
   Концепция: «путевой лист». Бумага, асфальт и натриево-янтарный сигнал.
   ========================================================================== */

/* ---------- Шрифты (локально, без запросов к Google) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-italic-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('../fonts/martianmono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('../fonts/martianmono-latin-ext.woff2') format('woff2');
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Токены ---------- */
:root {
  --ink: #121412;
  --ink-2: #1a1d1a;
  --ink-3: #0b0c0b;
  --paper: #efece5;
  --paper-2: #e5e1d6;
  --paper-3: #f7f5f0;
  --muted: #5b5e58;
  --muted-inv: #a6a99f;
  --line: rgba(18, 20, 18, 0.14);
  --line-strong: rgba(18, 20, 18, 0.32);
  --line-inv: rgba(239, 236, 229, 0.14);
  --signal: #ffb21e;
  --signal-hi: #ffc54d;
  --stamp: #c2410c;
  --err: #b42318;
  --err-inv: #ff9a85;
  --ok-inv: #8be0a8;
  --focus: var(--ink);

  --f-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-mono: 'Martian Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --pad: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --hdr-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'ss01' 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
h1,
h2,
h3,
p,
figure,
ul,
ol,
dl {
  margin: 0;
}
ul[class],
ol[class],
nav ul,
nav ol,
.process__steps ol {
  list-style: none;
  padding: 0;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
::selection {
  background: var(--signal);
  color: var(--ink);
}
main:focus,
[tabindex='-1']:focus {
  outline: none;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip:focus {
  transform: none;
}

/* Тёмные контексты: фокус — янтарный */
.sec--ink,
.hero,
.hdr--over:not(.is-solid),
.menu,
.ftr,
.cbar,
.band {
  --focus: var(--signal);
}

/* ---------- Типографика ---------- */
.display {
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.h-lg {
  font-size: clamp(2.1rem, 1.1rem + 3.9vw, 5rem);
}
.label {
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--signal);
  margin-right: 10px;
  vertical-align: 0.05em;
}
.i {
  width: 20px;
  height: 20px;
  flex: none;
}
.i--sm {
  width: 15px;
  height: 15px;
}
.ulink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Кнопки ---------- */
.btn {
  --bg: transparent;
  --fg: currentColor;
  --bd: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--bd);
  border-radius: 2px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 0.875rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn .i {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .i {
  transform: translateX(4px);
}
.btn:active {
  transform: translateY(1px);
}
.btn--signal {
  --bg: var(--signal);
  --fg: var(--ink);
  --bd: var(--signal);
}
.btn--signal:hover {
  --bg: var(--signal-hi);
  --bd: var(--signal-hi);
}
.btn--ghost {
  --fg: var(--paper);
  --bd: rgba(239, 236, 229, 0.4);
}
.btn--ghost:hover {
  --bg: rgba(239, 236, 229, 0.1);
  --bd: var(--paper);
}
.btn--paper {
  --bg: var(--paper);
  --fg: var(--ink);
  --bd: var(--paper);
}
.btn--paper:hover {
  --bg: #fff;
}
.btn--ghost-ink {
  --fg: var(--ink);
  --bd: var(--line-strong);
}
.btn--ghost-ink:hover {
  --bd: var(--ink);
  --bg: rgba(18, 20, 18, 0.05);
}
.btn--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.75rem;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

/* ---------- Шапка ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--paper);
  transition: transform 0.45s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid {
  background: rgba(239, 236, 229, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.hdr.is-hidden {
  transform: translateY(-101%);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--hdr-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  flex: none;
}
.brand__mark {
  width: 34px;
  height: auto;
}
.brand__word {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1rem;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.brand__word small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-stretch: 100%;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  margin-top: 4px;
}
.hdr__nav {
  margin-left: auto;
}
.hdr__nav ul {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
}
.hdr__nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.hdr__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.hdr__nav a:hover::after,
.hdr__nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
.hdr__act {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang {
  display: flex;
  gap: 2px;
}
.lang a {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 6px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-decoration: none;
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity 0.2s, background-color 0.2s;
}
.lang a:hover {
  opacity: 1;
}
.lang a[aria-current] {
  opacity: 1;
  box-shadow: inset 0 -2px 0 var(--signal);
}
.hdr__burger,
.menu__close {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hdr__burger .i,
.menu__close .i {
  width: 26px;
  height: 26px;
}

/* Мобильное меню */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--ink);
  color: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu[hidden] {
  display: none;
}
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--hdr-h);
}
.menu__close {
  display: grid;
}
.menu__nav {
  align-self: center;
  padding-block: 24px;
}
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-size: clamp(1.6rem, 7.4vw, 3.4rem);
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid var(--line-inv);
}
.menu__n {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--signal);
}
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.lang--lg a {
  min-width: 48px;
  min-height: 48px;
  font-size: 0.85rem;
  border: 1px solid var(--line-inv);
}
.menu.is-open .menu__nav li {
  animation: menuIn 0.6s var(--ease-out) both;
}
.menu.is-open .menu__nav li:nth-child(2) { animation-delay: 0.04s; }
.menu.is-open .menu__nav li:nth-child(3) { animation-delay: 0.08s; }
.menu.is-open .menu__nav li:nth-child(4) { animation-delay: 0.12s; }
.menu.is-open .menu__nav li:nth-child(5) { animation-delay: 0.16s; }
@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ---------- Общие секции ---------- */
.sec {
  position: relative;
  padding-block: clamp(72px, 9vw, 136px);
}
.sec--ink {
  background: var(--ink);
  color: var(--paper);
}
.shead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  margin-bottom: clamp(40px, 6vw, 88px);
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.shead__n {
  color: inherit;
  font-weight: 700;
}
.sec--ink .shead__n {
  color: var(--signal);
}
.shead__r {
  opacity: 0.55;
}

/* Появление при скролле (только если JS загрузился) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  overflow: clip;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 20, 18, 0.6) 0%, rgba(18, 20, 18, 0) 26%, rgba(18, 20, 18, 0.1) 50%, rgba(18, 20, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(18, 20, 18, 0.6) 0%, rgba(18, 20, 18, 0) 65%);
}
.hero__coords {
  position: absolute;
  top: 50%;
  right: calc(var(--pad) - 4px);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  opacity: 0.7;
}
.hero__body {
  padding-top: calc(var(--hdr-h) + 64px);
  padding-bottom: clamp(32px, 5vw, 64px);
}
.hero__kicker {
  margin-bottom: clamp(18px, 2.5vw, 28px);
}
.hero__title {
  font-size: clamp(2.35rem, 0.6rem + 7.6vw, 8.25rem);
  line-height: 0.88;
}
.hero__title .ln {
  display: block;
  overflow: hidden;
  /* запас сверху, чтобы маска не срезала акценты (É, Í, Ó) */
  padding: 0.2em 0 0.06em;
  margin: -0.2em 0 -0.06em;
}
.hero__title .ln > span {
  display: block;
}
.hero__title .ln:last-child > span {
  color: var(--signal);
}
.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-top: clamp(28px, 3.5vw, 48px);
}
.hero__lead {
  max-width: 50ch;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  color: rgba(239, 236, 229, 0.88);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid rgba(239, 236, 229, 0.2);
}
.hero__meta dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(24px, 5vw, 72px);
}
.hero__meta dt {
  color: var(--muted-inv);
}
.hero__meta dd {
  margin: 2px 0 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.vbtn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  background: transparent;
  border: 1px solid rgba(239, 236, 229, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.vbtn:hover {
  border-color: var(--paper);
  background: rgba(239, 236, 229, 0.08);
}
.vbtn .i {
  width: 18px;
  height: 18px;
}
.vbtn__play,
.vbtn.is-paused .vbtn__pause {
  display: none;
}
.vbtn.is-paused .vbtn__play {
  display: block;
}

/* Анимация заголовка hero */
.js .hero__title .ln > span {
  transform: translateY(130%);
  transition: transform 1.2s var(--ease-out);
}
.js .hero__title .ln:nth-child(2) > span {
  transition-delay: 0.12s;
}
.js .hero.is-in .hero__title .ln > span {
  transform: none;
}
.js .hero__kicker,
.js .hero__row,
.js .hero__meta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out) 0.45s, transform 1s var(--ease-out) 0.45s;
}
.js .hero__row {
  transition-delay: 0.6s;
}
.js .hero__meta {
  transition-delay: 0.75s;
}
.js .hero.is-in .hero__kicker,
.js .hero.is-in .hero__row,
.js .hero.is-in .hero__meta {
  opacity: 1;
  transform: none;
}

/* ---------- Бегущая строка ---------- */
.ticker {
  overflow: hidden;
  background: var(--signal);
  color: var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tick 70s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker ul {
  display: flex;
  padding: 15px 0;
}
.ticker li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 34px;
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}
.ticker li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 24px;
  background: var(--ink);
}
.ticker span {
  font-weight: 700;
}
.ticker em {
  font-style: normal;
  opacity: 0.6;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 01 О компании ---------- */
.about__statement {
  max-width: 30ch;
  margin-left: auto;
  font-size: clamp(1.5rem, 0.95rem + 2.35vw, 3.35rem);
  font-weight: 500;
  font-stretch: 108%;
  line-height: 1.12;
  letter-spacing: -0.018em;
}
.about__statement .w {
  transition: opacity 0.3s;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(64px, 9vw, 128px);
}
.facts li {
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.fact__n {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(3.5rem, 2rem + 5vw, 7rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.8;
}
.fact__n span {
  margin-top: 0.3em;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 400;
  font-stretch: 87.5%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.fact__t {
  max-width: 30ch;
  margin-top: 18px;
  color: var(--muted);
}

/* ---------- 02 Услуги ---------- */
.sintro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 64px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.sintro__p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.0625rem;
}
.svc-list {
  border-bottom: 1px solid var(--ink);
}
.svc {
  border-top: 1px solid var(--ink);
}
.svc__a {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 112px minmax(0, 1.15fr) minmax(0, 1fr) 52px;
  grid-template-areas:
    'n title text go'
    'n title tags go';
  align-items: start;
  gap: 14px clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) 0;
  text-decoration: none;
}
.svc__a::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  z-index: -1;
  background: var(--paper-2);
  opacity: 0;
  transition: opacity 0.35s;
}
.svc__a:hover::before,
.svc__a:focus-visible::before {
  opacity: 1;
}
.svc__n {
  grid-area: n;
  padding-top: 0.6em;
  color: var(--muted);
}
.svc__title {
  grid-area: title;
  font-size: clamp(1.55rem, 0.9rem + 2.2vw, 3rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition: transform 0.6s var(--ease-out);
}
.svc__a:hover .svc__title {
  transform: translateX(14px);
}
.svc__text {
  grid-area: text;
  max-width: 46ch;
  color: var(--muted);
}
.svc__tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.68rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.svc__go {
  grid-area: go;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease-out);
}
.svc__a:hover .svc__go {
  background: var(--ink);
  color: var(--signal);
  transform: rotate(45deg);
}
.svc__thumb {
  display: none;
  grid-area: thumb;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
}
.svc__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: clamp(240px, 22vw, 340px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px -25px rgba(18, 20, 18, 0.5);
}
.svc-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 03 Сеть: карта и табло ---------- */
.network__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(48px, 7vw, 104px);
}
.network__p {
  max-width: 44ch;
  margin-top: 24px;
  color: rgba(239, 236, 229, 0.78);
  font-size: 1.0625rem;
}
.legend {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  font-size: 0.92rem;
}
.legend li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.legend li > span {
  justify-self: center;
}
.legend__hq {
  width: 12px;
  height: 12px;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(255, 178, 30, 0.25);
}
.legend__route {
  width: 28px;
  height: 2px;
  background: var(--signal);
}
.legend__city {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
}
.corridors {
  margin-top: 36px;
  border-top: 1px solid var(--line-inv);
}
.corridors li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-inv);
  font-size: 0.92rem;
}
.corridors .label {
  color: var(--signal);
  padding-top: 0.2em;
}
.map {
  position: relative;
}
.map__canvas {
  position: relative;
  aspect-ratio: 754 / 648;
}
.map__dots,
.map__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map__svg {
  overflow: visible;
}
.map__track {
  fill: none;
  stroke: rgba(255, 178, 30, 0.2);
  stroke-width: 1.4;
}
.map__route {
  fill: none;
  stroke: var(--signal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.map.is-drawn .map__route {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.4s var(--ease-io) calc(var(--i) * 0.16s);
}
.map__truck {
  opacity: 0;
  transition: opacity 0.6s 2.2s;
}
.map.is-drawn .map__truck {
  opacity: 1;
}
.map__truck circle {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2;
}
.map__city circle {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 1.6;
}
.map__label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-stretch: 87.5%;
  letter-spacing: 0.04em;
  fill: var(--paper);
  paint-order: stroke;
  stroke: var(--ink);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.map__label--hq {
  font-weight: 700;
  fill: var(--signal);
}
.map__sub {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  fill: var(--muted-inv);
}
.map__hqdot {
  fill: var(--signal);
}
.map__pulse {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.6s ease-out infinite;
}
.map__pulse--2 {
  animation-delay: 1.3s;
}
@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(4.2);
    opacity: 0;
  }
}

/* Табло отправлений (split-flap) */
.board {
  --flap: clamp(0.78rem, 0.55rem + 0.55vw, 1.12rem);
  padding: clamp(14px, 2.4vw, 32px);
  background: var(--ink-3);
  border: 1px solid var(--line-inv);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-inv);
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.board__title {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--signal);
}
.board__origin {
  color: var(--muted-inv);
}
.board__clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.board__scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}
.board table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}
.board th {
  padding: 10px 14px 2px 0;
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted-inv);
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.board td {
  padding: 0 14px 0 0;
  white-space: nowrap;
}
.board th:last-child,
.board td:last-child {
  padding-right: 0;
}
.flap {
  display: inline-flex;
  gap: 2px;
  font-family: var(--f-mono);
  font-size: var(--flap);
  font-weight: 500;
  font-stretch: 100%;
  line-height: 1;
  color: #f4f1ea;
}
.flap .c {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.12em;
  height: 1.62em;
  border-radius: 2px;
  background: linear-gradient(#232623 0 50%, #1b1d1b 50% 100%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}
.flap .c::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.7);
}
.flap .c.is-flip {
  animation: flip 0.08s linear;
}
@keyframes flip {
  50% {
    transform: scaleY(0.55);
  }
}
.b__tr .flap {
  color: var(--signal);
}
.board__note {
  max-width: 90ch;
  margin-top: 16px;
  color: var(--muted-inv);
  font-size: 0.8rem;
}

/* ---------- 04 Процесс ---------- */
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 128px);
}
.process__intro {
  position: sticky;
  top: calc(var(--hdr-h) + 40px);
  align-self: start;
}
.process__intro > p {
  max-width: 40ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.0625rem;
}
.process__img {
  margin-top: 40px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.process__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process__steps {
  position: relative;
  padding-left: 44px;
}
.process__rail {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 2px;
  background: var(--line);
}
.process__rail span {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
}
.no-js .process__rail span,
.reduced .process__rail span {
  transform: none;
}
.step {
  position: relative;
  padding-bottom: clamp(56px, 9vw, 128px);
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  content: '';
  position: absolute;
  top: 3px;
  left: -44px;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  transition: background-color 0.3s;
}
.step.is-active::before {
  background: var(--signal);
}
.step__t {
  color: var(--muted);
}
.step__title {
  margin: 12px 0 14px;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.6rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.step__text {
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* ---------- Видео-полоса ---------- */
.band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 86vh;
  min-height: 86svh;
  background: var(--ink) center / cover no-repeat;
  color: var(--paper);
  overflow: clip;
}
.band__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 20, 18, 0.25), rgba(18, 20, 18, 0.85)), linear-gradient(90deg, rgba(18, 20, 18, 0.5), transparent 70%);
}
.band__in {
  padding-block: clamp(64px, 10vw, 140px);
}
.band__title {
  max-width: 13ch;
  margin: 22px 0 24px;
  font-size: clamp(2.1rem, 0.9rem + 5.6vw, 7rem);
}
.band__text {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  color: rgba(239, 236, 229, 0.82);
}

/* ---------- 05 Почему мы ---------- */
.why {
  background: var(--paper-2);
}
.why__title {
  max-width: 15ch;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 14px;
}
.why__photo {
  min-height: 100%;
  overflow: hidden;
  background: var(--ink);
}
.why__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.why__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.why__card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
}
.why__card .label {
  color: var(--muted);
}
.why__card h3 {
  margin: auto 0 10px;
  padding-top: 28px;
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.08;
}
.why__card p:last-child {
  color: var(--muted);
}
.why__card--5 {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 32px;
  min-height: 0;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.why__card--5 .label {
  width: 100%;
  color: var(--muted-inv);
}
.why__card--5 h3 {
  margin: 0;
  padding-top: 18px;
  font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem);
  font-stretch: 125%;
  line-height: 0.85;
  color: var(--signal);
}
.why__card--5 p:last-child {
  max-width: 32ch;
  color: rgba(239, 236, 229, 0.8);
}

/* ---------- 06 Компания ---------- */
.company__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(40px, 6vw, 104px);
}
.company__p {
  max-width: 46ch;
  margin: 24px 0 clamp(32px, 4vw, 48px);
  color: var(--muted);
  font-size: 1.0625rem;
}
.company__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.company__img img {
  width: 100%;
  height: 118%;
  object-fit: cover;
}
.waybill {
  position: relative;
  margin-top: clamp(0px, 9vw, 150px);
  background: var(--paper-3);
  border: 1.5px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink), 0 40px 70px -40px rgba(18, 20, 18, 0.45);
  transform: rotate(-0.8deg);
}
.waybill__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--paper);
}
.waybill__head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.waybill__mark {
  width: 28px;
}
.waybill__title {
  font-size: 1rem;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
}
.waybill__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.wb {
  padding: 14px 20px 18px;
  border-bottom: 1px solid var(--ink);
}
.wb:nth-child(2) {
  border-right: 1px solid var(--ink);
}
.wb--full {
  grid-column: 1 / -1;
}
.wb:last-child {
  border-bottom: 0;
  padding-bottom: 40px;
}
.wb dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--muted);
}
.wb dt span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink);
  font-size: 0.62rem;
  color: var(--ink);
}
.wb dd {
  margin: 8px 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
.stamp {
  position: absolute;
  right: 22px;
  bottom: -42px;
  width: 124px;
  color: var(--stamp);
  opacity: 0.85;
  mix-blend-mode: multiply;
  transform: rotate(-14deg);
}
.stamp text {
  font-family: var(--f-mono);
  font-size: 8.4px;
  font-weight: 700;
  fill: currentColor;
}

/* ---------- 07 Контакты и форма ---------- */
.contact {
  padding-bottom: clamp(80px, 9vw, 140px);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
}
.contact__info h2 {
  font-size: clamp(1.75rem, 0.6rem + 2.5vw, 3.1rem);
}
.contact__p {
  max-width: 40ch;
  margin: 24px 0 36px;
  color: rgba(239, 236, 229, 0.78);
  font-size: 1.0625rem;
}
.clist li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-inv);
}
.clist li:last-child {
  border-bottom: 1px solid var(--line-inv);
}
.clist .i {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--signal);
}
.clist .label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-inv);
}
.clist a {
  text-decoration: none;
}
.clist a:hover {
  text-decoration: underline;
}
.contact__jobs {
  margin-top: 28px;
  color: var(--muted-inv);
  font-size: 0.92rem;
}
.contact__jobs a {
  color: var(--paper);
}
.qform {
  padding: clamp(20px, 3.2vw, 44px);
  background: var(--ink-2);
  border: 1px solid var(--line-inv);
  border-radius: 4px;
}
.qform__title {
  display: flex;
  align-items: center;
  color: var(--signal);
}
.qform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
  margin-top: 24px;
}
.fld--full {
  grid-column: 1 / -1;
}
.fld label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(239, 236, 229, 0.78);
}
.req {
  color: var(--signal);
}
.opt {
  text-transform: none;
  opacity: 0.6;
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(239, 236, 229, 0.3);
  border-radius: 0;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fld select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23efece5' stroke-width='1.75'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat;
  cursor: pointer;
}
.fld select option {
  background: var(--paper);
  color: var(--ink);
}
.fld input[type='date'] {
  color-scheme: dark;
}
.fld textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}
.fld input:hover,
.fld select:hover,
.fld textarea:hover {
  border-bottom-color: rgba(239, 236, 229, 0.55);
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: none;
  border-bottom-color: var(--signal);
  box-shadow: 0 1.5px 0 var(--signal);
}
.fld [aria-invalid='true'] {
  border-bottom-color: var(--err-inv);
}
.fld__hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(239, 236, 229, 0.55);
}
.fld__err {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--err-inv);
}
.fld__err:empty {
  display: none;
}
.fld--check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 4px 14px;
  padding-top: 4px;
}
.fld--check input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 1px 0 0;
  accent-color: var(--signal);
  cursor: pointer;
}
.fld--check label {
  margin: 0;
  font-family: var(--f-sans);
  font-stretch: 100%;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  cursor: pointer;
}
.fld--check label a {
  color: var(--signal);
}
.fld--check .fld__err {
  grid-column: 2;
}
.qform__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 30px;
}
.qform__status {
  font-size: 0.95rem;
}
.qform__status.is-ok {
  color: var(--ok-inv);
}
.qform__status.is-err {
  color: var(--err-inv);
}
.qform.is-busy button[type='submit'] {
  opacity: 0.6;
  pointer-events: none;
}
.gdpr {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-inv);
  font-size: 0.82rem;
  color: rgba(239, 236, 229, 0.72);
}
.gdpr summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}
.gdpr summary::-webkit-details-marker {
  display: none;
}
.gdpr summary::before {
  content: '+';
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  font-size: 0.9rem;
}
.gdpr[open] summary::before {
  content: '–';
}
.gdpr dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-inv);
}
.gdpr dt {
  font-weight: 600;
  color: var(--paper);
}
.gdpr dd {
  margin: 0;
}
.gdpr a {
  color: var(--signal);
}

/* ---------- Подвал ---------- */
.ftr {
  padding-top: clamp(64px, 8vw, 112px);
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-inv);
  overflow: hidden;
}
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.ftr__brand p {
  max-width: 32ch;
  margin: 20px 0 26px;
  color: var(--muted-inv);
}
.complaints {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(239, 236, 229, 0.28);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.complaints:hover {
  border-color: var(--signal);
  background: rgba(255, 178, 30, 0.06);
}
.complaints .i:first-child {
  color: var(--signal);
}
.complaints strong,
.complaints small {
  display: block;
}
.complaints strong {
  font-size: 0.92rem;
}
.complaints small {
  font-size: 0.74rem;
  color: var(--muted-inv);
}
.ftr h2.label {
  margin-bottom: 16px;
  color: var(--muted-inv);
}
.ftr__list li + li {
  margin-top: 4px;
}
.ftr__list a,
.ftr__list .linklike {
  display: inline-block;
  padding: 5px 0;
  font-size: 0.95rem;
  text-decoration: none;
}
.ftr__list a:hover,
.ftr__list .linklike:hover,
.ftr__addr a:hover {
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-underline-offset: 4px;
}
.ftr__list a[aria-current] {
  color: var(--signal);
}
.ftr__addr {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.6;
}
.ftr__addr a {
  text-decoration: none;
}
.ftr__langh {
  margin-top: 28px;
}
.ftr__word {
  width: 100%;
  height: auto;
  margin: clamp(56px, 8vw, 112px) 0 clamp(8px, 1.4vw, 20px);
  overflow: visible;
}
.ftr__word text {
  font-family: var(--f-sans);
  font-size: 152px;
  font-weight: 800;
  font-stretch: 125%;
  fill: var(--paper);
}
.ftr__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-inv);
  font-size: 0.8rem;
  color: var(--muted-inv);
}
.ftr__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.ftr__top:hover {
  color: var(--paper);
}

/* ---------- Cookie-баннер и настройки ---------- */
.cbar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 70;
  width: min(440px, calc(100% - 32px));
  padding: 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(239, 236, 229, 0.16);
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.cbar[hidden] {
  display: none;
}
.cbar.is-in {
  animation: cbarIn 0.6s var(--ease-out) both;
}
@keyframes cbarIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}
.cbar .label {
  display: flex;
  align-items: center;
  color: var(--signal);
}
.cbar__txt {
  margin: 10px 0 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(239, 236, 229, 0.86);
}
.cbar__txt a {
  color: var(--signal);
}
.cbar__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cbar__btns .btn--ghost {
  grid-column: 1 / -1;
}
.cprefs {
  width: min(580px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.cprefs::backdrop {
  background: rgba(18, 20, 18, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.cprefs__in {
  padding: clamp(20px, 4vw, 32px);
}
.cprefs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cprefs__head h2 {
  font-size: 1.4rem;
  font-weight: 800;
  font-stretch: 112%;
}
.cprefs__x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.cprefs__intro {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.cprefs__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cprefs__row h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}
.cprefs__row p {
  font-size: 0.88rem;
  color: var(--muted);
}
.cprefs__badge {
  flex: none;
  padding: 6px 8px;
  background: var(--paper-2);
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.65rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.cprefs__policy {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.cprefs__policy a {
  color: var(--ink);
}
.cprefs__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
.switch {
  position: relative;
  display: inline-flex;
  flex: none;
}
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.switch__track {
  position: relative;
  width: 50px;
  height: 30px;
  border-radius: 99px;
  background: #b9b4a8;
  transition: background-color 0.2s;
}
.switch__track::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--ease-out), background-color 0.2s;
}
.switch input:checked + .switch__track {
  background: var(--ink);
}
.switch input:checked + .switch__track::after {
  transform: translateX(20px);
  background: var(--signal);
}
.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- Юридические страницы ---------- */
.lhero {
  padding: calc(var(--hdr-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 80px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted-inv);
}
.crumbs a {
  color: var(--paper);
  text-decoration-color: var(--signal);
  text-underline-offset: 4px;
}
.lhero__date {
  margin-top: 24px;
  color: var(--muted-inv);
}
.legal {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 104px);
  padding-block: clamp(48px, 7vw, 104px);
}
.legal__aside {
  position: sticky;
  top: calc(var(--hdr-h) + 32px);
  align-self: start;
}
.toc .label {
  color: var(--muted);
}
.toc ol {
  margin: 16px 0 24px;
  border-left: 1px solid var(--line);
}
.toc a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.toc a:hover,
.toc a.is-active {
  color: var(--ink);
  border-left-color: var(--signal);
}
.legal__print .i {
  width: 18px;
  height: 18px;
}
.legal__print:hover .i {
  transform: none;
}
.prose {
  max-width: 74ch;
  font-size: 1.0625rem;
  line-height: 1.72;
}
.prose > * + * {
  margin-top: 1em;
}
.prose__lead {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
}
.prose h2 {
  margin-top: 2.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.75rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.15;
  scroll-margin-top: calc(var(--hdr-h) + 24px);
}
.prose h2 + * {
  margin-top: 0.9em;
}
.prose a {
  color: var(--ink);
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.prose a:hover {
  background: rgba(255, 178, 30, 0.22);
}
.prose ul:not([class]) {
  padding-left: 1.25em;
}
.prose ul:not([class]) li + li {
  margin-top: 0.45em;
}
.prose ul:not([class]) li::marker {
  color: var(--muted);
}
.kv {
  border: 1px solid var(--line-strong);
  background: var(--paper-3);
}
.kv li {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.kv li:last-child {
  border-bottom: 0;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  margin-block: 1.6em;
}
.prose table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
}
.prose th {
  padding: 12px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-stretch: 87.5%;
  font-size: 0.7rem;
  font-weight: 500;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prose td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.prose tbody tr:nth-child(even) td {
  background: rgba(18, 20, 18, 0.025);
}
.prose code {
  padding: 2px 6px;
  background: var(--paper-2);
  font-family: var(--f-mono);
  font-size: 0.82em;
}
.legal__more {
  margin-top: 72px !important;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.legal__more ul {
  margin-top: 12px;
}
.legal__more a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-stretch: 112%;
  text-decoration: none;
}
.legal__more a:hover {
  background: none;
  color: var(--ink);
}
.legal__more a .i {
  transition: transform 0.3s var(--ease-out);
}
.legal__more a:hover .i {
  transform: translateX(6px);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .hdr__nav,
  .hdr__act .lang {
    display: none;
  }
  .hdr__act {
    margin-left: auto;
  }
  .hdr__burger {
    display: grid;
  }
}

@media (max-width: 1100px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact__info h2 {
    max-width: 16ch;
  }
}

@media (max-width: 960px) {
  .hero__row,
  .sintro,
  .network__grid,
  .process__grid,
  .why__grid,
  .company__grid,
  .contact__grid,
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__coords {
    display: none;
  }
  .process__intro,
  .legal__aside {
    position: static;
  }
  .process__img {
    display: none;
  }
  .why__photo {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .company__img {
    aspect-ratio: 16 / 10;
  }
  .waybill {
    margin-top: 8px;
    margin-bottom: 40px;
  }
  .ftr__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ftr__brand {
    grid-column: 1 / -1;
  }
  .legal__aside {
    padding: 20px;
    background: var(--paper-3);
    border: 1px solid var(--line);
  }
  .toc ol {
    columns: 2;
    column-gap: 24px;
  }
  .legal__print {
    display: none;
  }
}

@media (max-width: 900px), (hover: none) {
  .svc__a {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'n go'
      'title go'
      'thumb thumb'
      'text text'
      'tags tags';
    gap: 14px 16px;
  }
  .svc__thumb {
    display: block;
  }
  .svc__go {
    width: 46px;
    height: 46px;
  }
  .svc__a:hover .svc__title {
    transform: none;
  }
}

@media (max-width: 700px) {
  :root {
    --hdr-h: 64px;
  }
  .hdr__cta {
    display: none;
  }
  .hero__ctas .btn {
    flex: 1 1 auto;
  }
  .hero__meta dl > div:nth-child(2) {
    display: none;
  }
  .about__statement {
    max-width: none;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .fact__t {
    margin-top: 12px;
  }
  .why__cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .why__card {
    min-height: 0;
  }
  .qform__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .qform__foot .btn {
    width: 100%;
  }
  .gdpr dl div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .map__label {
    font-size: 19px;
    stroke-width: 6px;
  }
  .map__sub {
    font-size: 14px;
  }
  /* табло на телефоне: направление сверху, км и срок — второй строкой */
  .board table,
  .board tbody {
    display: block;
  }
  .board thead,
  .board .b__route,
  .board .b__ctry {
    display: none;
  }
  .board tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-inv);
  }
  .board td {
    padding: 0;
  }
  .board .b__dest {
    flex-basis: 100%;
  }
  .board {
    --flap: 0.86rem;
  }
  .board__clock {
    margin-left: 0;
  }
  .corridors li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .toc ol {
    columns: 1;
  }
  .ftr__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .shead__r {
    display: none;
  }
  .stamp {
    width: 100px;
    bottom: -34px;
  }
}

/* ---------- Сниженная анимация ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .ticker__track {
    animation: none;
  }
  .map__pulse {
    display: none;
  }
}

/* ---------- Печать ---------- */
@media print {
  .hdr,
  .menu,
  .ftr,
  .cbar,
  .cprefs,
  .legal__aside,
  .legal__more,
  .skip {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .lhero {
    padding: 0 0 16px;
    background: none;
    color: #000;
  }
  .crumbs {
    display: none;
  }
  .legal {
    display: block;
    padding: 0;
  }
  .prose {
    max-width: none;
    font-size: 11pt;
  }
  .prose a {
    text-decoration: none;
  }
}
