/* ==========================================================================
   БЕВАТ — грузоперевозки. Тёмная «индустриальная» тема, красный акцент.
   v2: переработанная типографика, сетки, карточки, таймлайн, форма.
   ========================================================================== */

:root {
  --ink:        #090A0C;
  --ink-1:      #0C0E12;
  --ink-2:      #111419;
  --ink-3:      #161A21;
  --line:       rgba(255, 255, 255, .08);
  --line-2:     rgba(255, 255, 255, .16);

  --text:       #F3F4F6;
  --muted:      #A2A8B3;
  --muted-2:    #757C88;

  --red:        #E11B22;
  --red-2:      #FF3B30;
  --red-soft:   rgba(225, 27, 34, .14);
  --amber:      #F2B33D;

  --paper:      #F2EFE8;
  --paper-2:    #E9E5DB;
  --paper-ink:  #101216;
  --paper-muted:#5A606A;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --ff-d: 'Unbounded', ui-sans-serif, system-ui, sans-serif;
  --ff-t: 'Golos Text', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --hdr-h: 74px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--ff-t);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* тонкая «плёнка» шума поверх тёмного фона — убирает «плоскость» */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: #fff;
  color: #000;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- индикатор прокрутки ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  box-shadow: 0 0 14px rgba(255, 59, 48, .65);
  transition: width .08s linear;
}

/* ---------- типографика ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.kicker__n {
  color: var(--red-2);
  font-variant-numeric: tabular-nums;
}
.kicker__sep {
  margin: 0 .55em;
  color: rgba(255, 255, 255, .28);
}
.kicker--dot { gap: 10px; }
.sec--paper .kicker__sep { color: rgba(16, 18, 22, .3); }
.kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(225, 27, 34, .16);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(225, 27, 34, .16); }
  50%      { box-shadow: 0 0 0 7px rgba(225, 27, 34, .05); }
}

.h-sec {
  font-family: var(--ff-d);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.sec__lead {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- кнопки ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--btn-bg);
  font-family: var(--ff-t);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s,
              box-shadow .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, #F02B2B, #C4131B);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 10px 34px -12px rgba(225, 27, 34, .85),
              inset 0 1px 0 rgba(255, 255, 255, .22);
  color: #fff;
}
.btn--primary:hover {
  box-shadow: 0 16px 40px -12px rgba(255, 59, 48, .95),
              inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn--ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .07);
}

.btn--dark {
  background: var(--paper-ink);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px -14px rgba(16, 18, 22, .9);
}
.btn--dark:hover { background: #1D2128; }

.btn--sm  { padding: 12px 18px; font-size: 15px; border-radius: 11px; }
.btn--lg  { padding: 18px 32px; font-size: 17px; border-radius: 15px; }
.btn--block { width: 100%; }

.btn .btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   Шапка
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 12, .72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.hdr.is-scrolled {
  background: rgba(9, 10, 12, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 1);
}

.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--hdr-h);
  transition: min-height .3s var(--ease);
}
.hdr.is-scrolled .hdr__in { min-height: 64px; }

/* логотип */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  flex: none;
}
.brand__mark {
  font-family: var(--ff-t);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .24em;
  color: #fff;
}
.brand__mark i { font-style: normal; color: var(--red-2); }
.brand__tag {
  font-size: 9.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.brand--sm .brand__mark { font-size: 18px; letter-spacing: .2em; }

/* навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover,
.nav a.is-active { color: #fff; }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav__phone { display: none; }

.hdr__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}
.hdr__tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
  transition: color .2s;
}
.hdr__tg svg { width: 17px; height: 17px; color: var(--red-2); }
.hdr__tg:hover { color: var(--red-2); }

/* бургер */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background .2s, border-color .2s;
}
.burger:hover { background: rgba(255, 255, 255, .07); }
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 92px);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -10% -10% 0;
  z-index: -1;
  background:
    radial-gradient(760px 520px at 76% 26%, rgba(225, 27, 34, .17), transparent 66%),
    radial-gradient(620px 420px at 6% 92%, rgba(225, 27, 34, .09), transparent 62%),
    radial-gradient(900px 600px at 50% -10%, rgba(120, 140, 190, .07), transparent 70%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(760px 520px at 60% 30%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 520px at 60% 30%, #000 10%, transparent 78%);
  opacity: .55;
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero__title {
  font-family: var(--ff-d);
  font-weight: 600;
  font-size: clamp(2.05rem, 3.9vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__title span { color: #AEB6C4; }

.hero__lead {
  margin-top: 22px;
  max-width: 50ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: #CED3DC;
}
.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1px solid rgba(225, 27, 34, .38);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M6 10.6l2.6 2.6L14.2 7.6' fill='none' stroke='%23FF3B30' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: flex;
  gap: clamp(26px, 4vw, 52px);
  margin: clamp(34px, 4vw, 46px) 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stats div { min-width: 0; }
.hero__stats dt {
  font-family: var(--ff-d);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  letter-spacing: -.02em;
  color: #fff;
}
.hero__stats dd {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted-2);
  max-width: 15ch;
}

/* фото автопарка */
.fleet {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 300px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #0B0D11;
  overflow: hidden;
  box-shadow: 0 44px 90px -44px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.fleet__track { position: absolute; inset: 0; }
.fleet__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .9s var(--ease), transform 7s linear;
  will-change: opacity, transform;
}
.fleet__img.is-active { opacity: 1; transform: scale(1.015); }
.fleet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 10, 12, .22), rgba(9, 10, 12, 0) 40%, rgba(9, 10, 12, .78));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  border-radius: inherit;
}
.fleet__dots {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.fleet__dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .25s, width .25s var(--ease);
}
.fleet__dot:hover { background: rgba(255, 255, 255, .65); }
.fleet__dot.is-active { width: 46px; background: var(--red-2); }
/* ==========================================================================
   Секции
   ========================================================================== */
.sec { position: relative; padding: clamp(58px, 7vw, 96px) 0; scroll-margin-top: calc(var(--hdr-h) + 12px); }
.sec--panel {
  background: linear-gradient(180deg, var(--ink-1), #0A0B0E);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec__head { max-width: 780px; margin-bottom: clamp(34px, 4vw, 56px); position: relative; }
.sec__lead { max-width: 58ch; }

/* светлая «бумажная» секция */
.sec--paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-top: 1px solid rgba(16, 18, 22, .08);
  border-bottom: 1px solid rgba(16, 18, 22, .08);
}
.sec--paper .kicker { color: rgba(16, 18, 22, .55); }
.sec--paper .kicker__n { color: var(--red); }
.sec--paper .sec__lead,
.sec--paper p { color: var(--paper-muted); }
.sec--paper .h-sec { color: var(--paper-ink); }

/* ==========================================================================
   Услуги
   ========================================================================== */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.svc {
  position: relative;
  padding: 30px 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
  overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px 220px at var(--mx, 50%) var(--my, 0%), rgba(255, 59, 48, .13), transparent 62%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.svc:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.svc:hover::before { opacity: 1; }

.svc__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 15px;
  border: 1px solid rgba(225, 27, 34, .3);
  background: linear-gradient(160deg, rgba(225, 27, 34, .2), rgba(225, 27, 34, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.svc__ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--red-2);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc h3 {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.28;
  margin-bottom: 10px;
}
.svc p {
  color: var(--muted);
  font-size: 14.8px;
  line-height: 1.6;
}

/* ==========================================================================
   О компании
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about__text .h-sec { margin-bottom: 20px; }
.about__text p {
  max-width: 58ch;
  margin-bottom: 16px;
  color: var(--paper-muted);
  font-size: 1.02rem;
}
.about__text .btn { margin-top: 14px; }

.kpis { display: grid; gap: 12px; }
.kpi {
  position: relative;
  padding: 24px 26px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid rgba(16, 18, 22, .09);
  box-shadow: 0 16px 34px -26px rgba(16, 18, 22, .55);
  overflow: hidden;
}
.kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), rgba(225, 27, 34, .25));
}
.kpi span {
  display: block;
  font-family: var(--ff-d);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  letter-spacing: -.03em;
  color: var(--paper-ink);
}
.kpi p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--paper-muted);
}

/* ==========================================================================
   Как работаем — таймлайн
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step { position: relative; padding-top: 0; }
.step::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 62px;
  right: -22px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), rgba(255, 255, 255, .04));
}
.step:last-child::before { display: none; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--ink);
  font-family: var(--ff-d);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--red-2);
  transition: border-color .3s, background .3s, color .3s, box-shadow .3s;
}
.step:hover .step__num {
  border-color: rgba(225, 27, 34, .6);
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(225, 27, 34, .1);
}
.step h3 {
  font-size: 1.04rem;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.step p { color: var(--muted); font-size: 14.8px; }

/* ==========================================================================
   Почему мы
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .004));
  transition: border-color .3s, transform .35s var(--ease);
}
.feature:hover { border-color: rgba(225, 27, 34, .38); transform: translateY(-3px); }
.feature__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(225, 27, 34, .22), rgba(225, 27, 34, .04));
  border: 1px solid rgba(225, 27, 34, .26);
}
.feature__ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--red-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 14.6px; }

/* ==========================================================================
   Контакты
   ========================================================================== */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}
.contacts__info .h-sec { margin-bottom: 14px; }
.contacts__info .sec__lead { margin-bottom: 34px; }

.contact-list { display: grid; gap: 6px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
.contact-list svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--red-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-list a { transition: color .2s; }
.contact-list a:hover { color: var(--red-2); }
.contact-list span { color: var(--muted); }
.contact-list strong { font-weight: 600; color: var(--text); }
.route-deco {
  margin-top: 34px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, .004));
  overflow: hidden;
}
.route-deco svg { width: 100%; height: auto; display: block; }

/* форма */
.form {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(225, 27, 34, .13), transparent 60%),
    linear-gradient(180deg, #13161C, #0B0D11);
  box-shadow: 0 40px 80px -44px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.form h3 {
  font-family: var(--ff-d);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.form__sub {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 26px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #B7BDC7;
}
.field label span { color: var(--red-2); }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: #5D6470; }
.field input:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, .18); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 59, 48, .6);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 0 0 4px rgba(225, 27, 34, .13);
}
.field textarea { resize: vertical; min-height: 92px; }
.field__error {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: #FF7A75;
  min-height: 0;
}
.field.is-error input,
.field.is-error textarea { border-color: rgba(255, 59, 48, .65); }
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 8px 0 4px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.consent input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.consent__box {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .03);
  transition: background .2s, border-color .2s;
}
.consent input:checked + .consent__box {
  background: var(--red);
  border-color: var(--red);
}
.consent input:checked + .consent__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.consent input:focus-visible + .consent__box {
  outline: 2px solid var(--red-2);
  outline-offset: 3px;
}

.form .btn { margin-top: 20px; }
.form__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.form__note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.form__note a:hover { color: #fff; }
.form__status {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.2em;
}
.form__status.is-error   { color: #FF7A75; }
.form__status.is-success { color: #63DC8C; }

/* ==========================================================================
   Подвал
   ========================================================================== */
.ftr {
  background: #07080A;
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.ftr__in {
  display: grid;
  grid-template-columns: 1.5fr .8fr .9fr;
  gap: 44px;
  padding-bottom: 46px;
}
.ftr__brand p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 34ch;
}
.ftr__req {
  margin-top: 14px !important;
  font-size: 12.5px !important;
  color: var(--muted-2) !important;
  letter-spacing: .02em;
}
.ftr__col h4 {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
}
.ftr__col a,
.ftr__col span {
  display: block;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color .2s;
}
.ftr__col a:hover { color: var(--red-2); }

.ftr__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 28px 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}
.ftr__bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.ftr__bottom a:hover { color: var(--text); }

/* ==========================================================================
   Кнопка «наверх»
   ========================================================================== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(16, 18, 22, .85);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s, border-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); border-color: var(--red); }
.to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Страница документа (политика)
   ========================================================================== */
.doc { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.doc__head { margin-bottom: 40px; }
.doc h1 {
  font-family: var(--ff-d);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.doc__date { margin-top: 12px; color: var(--muted-2); font-size: 13.5px; }
.doc__body { max-width: 78ch; }
.doc h2 {
  font-size: 1.06rem;
  font-weight: 600;
  margin: 34px 0 12px;
  letter-spacing: -.005em;
}
.doc p,
.doc li { color: var(--muted); font-size: 15.8px; margin-bottom: 10px; }
.doc ul { padding-left: 20px; list-style: disc; }
.doc ul li::marker { color: var(--red); }
.doc a {
  color: #DDE1E8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc a:hover { color: #fff; }
.doc__back { margin-top: 40px; }

/* ==========================================================================
   Анимация появления
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .fleet { max-width: 620px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .steps::before { display: none; }
  .about { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contacts { grid-template-columns: 1fr; }
  .ftr__in { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --hdr-h: 64px; }
  .nav {
    position: absolute;
    top: var(--hdr-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 28px 24px;
    background: rgba(9, 10, 12, .98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 1);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--text);
  }
  .nav a::after { display: none; }
  .nav a:last-child { border-bottom: 0; }
  .nav__phone { display: block !important; font-weight: 600; color: var(--red-2) !important; }
  .hdr__tg { display: none; }
  .hdr__actions .btn { display: none; }
  .burger { display: flex; }
  .hdr__in { position: relative; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .services,
  .features,
  .steps,
  .kpis { grid-template-columns: 1fr; }

  /* вертикальный таймлайн */
  .step { padding-left: 78px; }
  .step__num {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }
  .step::before {
    left: 27px;
    right: auto;
    top: 62px;
    bottom: -18px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--line-2), rgba(255, 255, 255, .03));
  }
  .step:last-child::before { display: none; }

  .hero__stats { flex-wrap: wrap; gap: 20px 16px; }
  .hero__stats div { flex: 1 1 28%; }
  .hero__stats dt { font-size: 1.3rem; }
  .hero__stats dd { font-size: 11.5px; max-width: none; }
  .hero__cta .btn { width: 100%; }
  .fleet { aspect-ratio: 5 / 4; }

  .ftr__in { grid-template-columns: 1fr; }
  .ftr__bottom { padding: 18px 18px 24px; }
  .to-top { right: 16px; bottom: 16px; }
  .form { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .hdr, .to-top, .progress, body::after { display: none !important; }
  body { background: #fff; color: #000; }
}
