@import url("../fonts/fonts.css?v=3c85d5e7");

/* ============================================================
   INPETRO TRADING - главная, версия 2 (taste-skill)
   DESIGN_VARIANCE 8 / MOTION_INTENSITY 7 / VISUAL_DENSITY 5

   Отличия композиции от версии 1:
   герой во весь экран вместо сплита, аккордеон-полосы вместо бенто,
   липкая колонка с бегущей строкой вместо ленты чипов,
   липкая стопка карточек вместо горизонтальной шкалы,
   параллакс-полоса вместо статичной, редакционный список вместо сетки 2x2,
   горизонтальная форма вместо вертикальной.
   ============================================================ */

:root {
  /* Светло-зелёная стилистика. Фон и линии уведены в тёплый зелёный,
     заливка акцента светлая, а для акцента-текста отдельный тёмный
     токен: светло-зелёный на белом не проходит контраст AA. */
  --bg: #f1f5ef;
  --bg-elev-1: #ffffff;
  --bg-elev-2: #e6ece1;
  --line: #d6ded0;
  --line-strong: #b3bfa9;
  --text: #131711;
  --text-muted: #576050;
  --accent: #7fb539;
  --accent-hover: #6ea22c;
  --accent-ink: #101508;
  --accent-text: #3d6a1c;
  --focus: #3d6a1c;
  --err: #c62828;

  --shell-bg: rgba(19, 23, 17, 0.035);
  --shell-hi: rgba(255, 255, 255, 0.9);
  --grain: 0.014;

  --r-card: 18px;
  --r-shell: 22px;
  --r-core: 16px;
  --r-field: 12px;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1520px;
  --nav-h: 62px;
  --topbar-h: 36px;
  --section-y: clamp(56px, 6.2vw, 112px);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- сброс ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--line-strong) var(--bg);
  scrollbar-width: thin;
  accent-color: var(--accent);
  caret-color: var(--accent);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  max-width: 100%;
  fill: currentColor;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- типографика ---------- */

.display {
  font-family: "Geologica", sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1.display {
  font-size: clamp(2.6rem, 7vw, 6rem);
  letter-spacing: -0.045em;
  font-weight: 700;
}

h2.display {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1.03;
}

h3.display {
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.lead {
  color: var(--text-muted);
  max-width: 58ch;
  font-size: clamp(1rem, 1.1vw, 1.1875rem);
}

.mono {
  font-size: 0.875rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

/* ---------- кнопки ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-line: var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding: 13px 13px 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--btn-line);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease),
    border-color 0.7s var(--ease), color 0.7s var(--ease);
}

.btn__ico {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(20, 21, 15, 0.14);
  transition: transform 0.7s var(--ease);
}

.btn__ico svg {
  width: 16px;
  height: 16px;
}

.btn:hover .btn__ico {
  transform: translate(4px, -1px) scale(1.06);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  --btn-line: var(--accent);
}

.btn--primary:hover {
  --btn-bg: var(--accent-hover);
  --btn-line: var(--accent-hover);
}

.btn--ghost .btn__ico {
  background: var(--shell-bg);
}

.btn--ghost:hover {
  --btn-line: var(--text-muted);
  background: var(--shell-bg);
}

.btn--on-media {
  --btn-fg: var(--text);
  --btn-line: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.72);
}

.btn--on-media .btn__ico {
  background: var(--shell-bg);
}

.btn--on-media:hover {
  --btn-line: var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
}

.btn--sm {
  padding: 8px 8px 8px 18px;
  font-size: 0.875rem;
  gap: 10px;
}

.btn--sm .btn__ico {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.btn--sm .btn__ico svg {
  width: 14px;
  height: 14px;
}

/* ---------- служебная строка над шапкой ---------- */

.topbar {
  position: relative;
  z-index: 29;
  background: var(--bg-elev-1);
  border-bottom: 1px solid var(--line);
}

.topbar__row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  min-height: var(--topbar-h);
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--text-muted);
}

.topbar__co {
  font-weight: 600;
  color: var(--text);
}

/* моноширинного в проекте нет: числовые роли держат
   табличные цифры и разрядка, а не отдельная гарнитура */

.topbar__inn {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.topbar__time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* хайрлайны между пунктами вместо точек-разделителей */
.topbar__inn::before,
.topbar__geo::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-right: clamp(14px, 2vw, 32px);
  background: var(--line-strong);
  vertical-align: -1px;
}

/* ---------- шапка ---------- */

/* Служебная строка стоит в обычном потоке и уезжает при прокрутке.
   Шапка липкая: пока строка в кадре, стоит под ней, дальше сама
   прилипает к верху. Без фиксированного позиционирования и без
   сдвигов, поэтому зазора сверху не возникает ни в одном состоянии. */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.header > .wrap {
  padding-top: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  height: var(--nav-h);
  padding: 0 8px 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  width: 100%;
  justify-content: space-between;
  color: var(--text);
  box-shadow: 0 10px 30px -18px rgba(18, 21, 24, 0.4);
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease),
    color 0.6s var(--ease);
}

/* за пределами героя шапка садится на цвета темы */
/* Логотип-локап: фирменная плашка со знаком, название в две строки
   и подпись под ним. */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  transition: background-color 0.6s var(--ease);
}

.brand__mark svg {
  width: 22px;
  height: 22px;
}

.brand:hover .brand__mark {
  background: var(--accent-hover);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-family: "Geologica", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.04;
  letter-spacing: -0.005em;
}

.brand__sub {
  font-size: 0.6875rem;
  line-height: 1.2;
  color: var(--text-muted);
}

.brand--foot {
  margin-bottom: 18px;
}

.brand--foot .brand__mark {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 13px;
}

.brand--foot .brand__mark svg {
  width: 26px;
  height: 26px;
}

.brand--foot .brand__name {
  font-size: 1rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 26px);
  margin-inline: auto;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  opacity: 0.76;
  transition: opacity 0.5s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.nav__links a:hover {
  opacity: 1;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  opacity: 0.76;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.5s var(--ease), background-color 0.5s var(--ease);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.icon-btn:hover {
  opacity: 1;
  background: var(--shell-bg);
}

.nav__burger {
  display: none;
}

/* ---------- мобильное меню ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px var(--gutter) 40px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.menu[data-open="true"] {
  visibility: visible;
  opacity: 1;
}

.menu__list a {
  display: block;
  font-family: "Geologica", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.menu[data-open="true"] .menu__list a {
  opacity: 1;
  transform: translateY(0);
}

.menu__cta {
  margin-top: 32px;
  align-self: flex-start;
}

.menu__foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  color: var(--text-muted);
}

.menu__close {
  position: absolute;
  top: 22px;
  right: var(--gutter);
}

/* ============================================================
   S1 ГЕРОЙ - медиа во весь экран, набор поверх
   ============================================================ */

.hero {
  position: relative;
  /* Шапка липкая и лежит в потоке, поэтому герой подтягиваем под неё
     на её же высоту: кадр доходит до служебной строки, а пилюля навигации
     плывёт поверх фотографии. */
  margin-top: calc(-1 * (var(--nav-h) + 12px));
  min-height: calc(100dvh - var(--topbar-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 46%;
}

/* два слоя затемнения: снизу под текст, слева под колонку */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(242, 243, 245, 0.99) 8%, rgba(242, 243, 245, 0.84) 36%, rgba(242, 243, 245, 0.14) 68%),
    linear-gradient(to right, rgba(242, 243, 245, 0.97) 0%, rgba(242, 243, 245, 0.6) 40%, rgba(242, 243, 245, 0) 76%);
}

.hero__inner {
  width: 100%;
  padding-block: clamp(40px, 4.6vw, 72px);
  color: var(--text);
}

.hero h1 {
  max-width: 13ch;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.05s var(--ease);
}

.hero.is-lit .hero__line span {
  transform: translateY(0);
}

.hero.is-lit .hero__line:nth-child(2) span {
  transition-delay: 0.12s;
}

/* Набор держится одной левой колонкой: разнесённые по краям экрана
   подзаголовок и кнопки читались как два несвязанных острова. */
.hero__bottom {
  margin-top: clamp(20px, 2vw, 28px);
  max-width: 46ch;
}

.hero__sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.15vw, 1.1875rem);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-soft) 0.34s, transform 0.9s var(--ease-soft) 0.34s;
}

.hero__cta {
  margin-top: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-soft) 0.46s, transform 0.9s var(--ease-soft) 0.46s;
}

.hero.is-lit .hero__sub,
.hero.is-lit .hero__cta {
  opacity: 1;
  transform: none;
}

/* ============================================================
   S2 МАРКИ - полоса с вертикальными разделителями
   ============================================================ */

.marks {
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev-1);
}

.marks__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.marks__row a {
  display: grid;
  place-items: center;
  padding-block: clamp(20px, 2.2vw, 32px);
  color: color-mix(in srgb, var(--text) 74%, transparent);
  transition: color 0.6s var(--ease), background-color 0.6s var(--ease);
}

.marks__row a + a {
  border-left: 1px solid var(--line);
}

.marks__row a:hover {
  color: var(--text);
  background: var(--shell-bg);
}

.marks__row svg {
  width: auto;
}

.lg-daf {
  height: 76px;
}

.lg-scania {
  height: 34px;
}

/* У HOWO нет подлинного вектора логотипа под рукой, поэтому марка
   набрана словом. Кегль подобран по оптическому весу соседей: рядом
   стоят знаки высотой 34-36px, и заглавные должны читаться вровень. */
.lg-howo {
  font-family: "Geologica", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 34px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.mb-star {
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* ============================================================
   S3 ТЕХНИКА - аккордеон из четырёх полос
   ============================================================ */

.accordion {
  display: flex;
  gap: 10px;
  height: clamp(380px, 42vw, 520px);
}

.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 2vw, 30px);
  transition: flex-grow 1s var(--ease);
}

.panel:hover,
.panel:focus-visible,
.panel[data-open="true"] {
  flex-grow: 2.8;
}

.panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 8, 10, 0.92) 6%, rgba(7, 8, 10, 0.42) 40%, rgba(7, 8, 10, 0.06) 74%);
}

.panel__body {
  color: #f4f6f8;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.panel__body h3 {
  white-space: nowrap;
}

/* Свёрнутая подпись не должна занимать высоту: иначе подписи полос
   с разной длиной текста встают на разных уровнях.
   grid-template-rows 0fr -> 1fr анимируется без скачка раскладки. */
.panel__note {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  font-size: 0.875rem;
  color: rgba(244, 246, 248, 0.82);
  max-width: 34ch;
  opacity: 0;
  transition: grid-template-rows 0.8s var(--ease), opacity 0.6s var(--ease),
    margin-top 0.8s var(--ease);
}

.panel__note > span {
  overflow: hidden;
  min-height: 0;
}

.panel:hover .panel__note,
.panel:focus-visible .panel__note,
.panel[data-open="true"] .panel__note {
  grid-template-rows: 1fr;
  margin-top: 8px;
  opacity: 1;
}

.panel__go {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease),
    border-color 0.7s var(--ease), color 0.7s var(--ease);
}

.panel__go svg {
  width: 17px;
  height: 17px;
}

.panel:hover .panel__go,
.panel:focus-visible .panel__go {
  transform: translate(4px, -3px);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* ============================================================
   S4 ЗАПЧАСТИ - липкая колонка, цифры, бегущая строка
   ============================================================ */

.parts {
  background: var(--bg-elev-1);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

/* Цифры о компании вынесены в отдельную полосу во всю ширину,
   поэтому правой колонки здесь больше нет. */
.parts__grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

/* с картинкой колонка выше соседней, липкость теряет смысл */
.parts__stick {
  position: static;
}

.parts__stick h2 {
  margin-bottom: 20px;
}

.parts__stick .btn {
  margin-top: 32px;
}

.parts__note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 48ch;
}

/* Снимок студийный, на белом фоне и на светлой странице лежит
   ровно: гасить его не нужно, достаточно рамы. */
.parts__media {
  margin-top: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  aspect-ratio: 12 / 5;
}

.parts__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.parts__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(242, 243, 245, 0) 62%, rgba(242, 243, 245, 0.5));
}

/* бегущая строка: единственная на странице */
.ticker {
  margin-top: clamp(34px, 4vw, 62px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: ticker 64s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker span {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   S5 ЛИЗИНГ - липкая стопка карточек, чистый CSS
   ============================================================ */

/* перенос задан вручную: заголовок должен читаться ровно в две строки */
.stack__title span {
  display: block;
}

.stack {
  display: grid;
  gap: clamp(14px, 1.5vw, 20px);
}

.stack__card {
  position: sticky;
  top: calc(var(--nav-h) + 42px);
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: clamp(22px, 2.6vw, 36px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  box-shadow: 0 -14px 36px -26px rgba(18, 21, 24, 0.28);
}

.stack__card:nth-child(2) {
  top: calc(var(--nav-h) + 60px);
}

.stack__card:nth-child(3) {
  top: calc(var(--nav-h) + 78px);
}

.stack__card:nth-child(4) {
  top: calc(var(--nav-h) + 96px);
}

.stack__card h3 {
  margin-bottom: 12px;
}

.stack__card p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 62ch;
}

.stack__mark {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  display: grid;
  place-items: center;
  color: var(--accent-text);
  margin-bottom: 20px;
}

.stack__mark svg {
  width: 20px;
  height: 20px;
}

.docs {
  margin-top: clamp(32px, 3.4vw, 54px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}

.docs h3 {
  margin-bottom: 12px;
}

.docs p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 34ch;
  margin-bottom: 26px;
}

.docs__list {
  columns: 2;
  column-gap: 40px;
}

.docs__list li {
  break-inside: avoid;
  padding: 12px 0 12px 30px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.docs__list li + li {
  border-top: 1px solid var(--line);
}

.docs__list svg {
  position: absolute;
  left: 0;
  top: 15px;
  width: 17px;
  height: 17px;
  color: var(--accent-text);
}

/* ============================================================
   S6 ШИНЫ - полоса с наездом камеры
   ============================================================ */

/* ============================================================
   S5 СПЕЦПРЕДЛОЖЕНИЯ - одна полка на карточном шасси
   ============================================================ */

.offers__core {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(24px, 3vw, 40px);
}

.offers__core .lead {
  margin-top: 12px;
  max-width: 62ch;
}

/* кнопка не должна ужиматься до переноса подписи в две строки */
.offers__core .btn {
  flex: none;
}

@media (max-width: 720px) {
  .offers__core {
    flex-direction: column;
    align-items: flex-start;
  }
}

.tyres {
  border-top: 1px solid var(--line);
}

.tyre-band {
  height: clamp(200px, 22vw, 330px);
  overflow: hidden;
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
}

.tyre-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  transform: scale(1.16);
}

/* наезд привязан к прокрутке, без слушателей на window */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tyre-band img {
      animation: tyre-zoom linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes tyre-zoom {
  from {
    transform: scale(1.24) translateY(-2%);
  }
  to {
    transform: scale(1.02) translateY(2%);
  }
}

/* блок отделён от полосы с шинами, чтобы разделы не сливались */
.reasons-section {
  border-top: 1px solid var(--line);
  background: var(--bg-elev-1);
}

.tyre-cols {
  display: grid;
  grid-template-columns: 0.9fr repeat(2, 1fr);
  gap: clamp(20px, 3vw, 56px);
  padding-top: clamp(30px, 3.4vw, 52px);
}

.tyre-cols__intro p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 14px;
}

.tyre-cols__cta {
  margin-top: 24px;
}

.tyre-col {
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}

.tyre-col h3 {
  margin-bottom: 10px;
}

.tyre-col p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ============================================================
   S7 ПОЧЕМУ МЫ - редакционный список с липким заголовком
   ============================================================ */

.editorial {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
}

.editorial__stick {
  position: sticky;
  top: calc(var(--nav-h) + 46px);
}

.editorial__list li {
  padding-block: clamp(20px, 2.2vw, 30px);
  border-top: 1px solid var(--line);
}

.editorial__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.editorial__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
}

.editorial__list h3 {
  margin-bottom: 10px;
}

.editorial__list h3,
.editorial__list p {
  grid-column: 2;
}

.reason__ico {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  display: grid;
  place-items: center;
  color: var(--accent-text);
}

.reason__ico svg {
  width: 21px;
  height: 21px;
}

.editorial__list p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 52ch;
}

/* ============================================================
   S8 КОНТАКТ - горизонтальная форма
   ============================================================ */

.contact {
  background: var(--bg-elev-1);
  border-top: 1px solid var(--line);
}

.contact__head {
  max-width: 52ch;
  margin-bottom: clamp(24px, 2.6vw, 40px);
}

/* правая колонка тянется на высоту формы, чтобы низ карты
   совпал с нижним краем карточки заявки */
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 2.4vw, 32px);
  align-items: stretch;
}

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.card--map {
  flex: 1 1 auto;
  min-height: 240px;
  display: flex;
}

.card--map .card__core {
  flex: 1;
  display: flex;
}

/* обойма и ядро: та же материальность, что у карточек лизинга */
.card {
  background: var(--shell-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: 6px;
}

.card__core {
  background: var(--bg-elev-1);
  border-radius: var(--r-core);
  box-shadow: inset 0 1px 0 var(--shell-hi);
  height: 100%;
  overflow: hidden;
}

.form {
  padding: clamp(22px, 2.6vw, 36px);
}

/* ============================================================
   УВЕДОМЛЕНИЕ О ФАЙЛАХ COOKIE
   Полоса внизу экрана: не перекрывает содержимое, не требует
   реакции, чтобы пользоваться сайтом.
   ============================================================ */

.cookie {
  position: fixed;
  z-index: 30;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(12px, 2vw, 22px);
  margin-inline: auto;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: 14px 14px 14px clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  background: var(--bg-elev-1);
  box-shadow: 0 12px 32px rgba(19, 23, 17, 0.12);
}

.cookie__text {
  /* 12px - нижняя граница читаемости, ниже опускать нельзя */
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cookie__text a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex: none;
}

/* Равные по ширине: ни одна из кнопок не должна выглядеть
   предпочтительной, это требование к запросу согласия. */
.cookie__btn {
  /* базис 0, а не auto: иначе кнопки меряются по длине подписи и
     «Отклонить» становится шире «Принять» */
  flex: 1 1 0;
  min-width: 118px;
  justify-content: center;
  padding-inline: 18px;
}

@media (prefers-reduced-motion: no-preference) {
  .cookie {
    animation: cookie-in 0.4s var(--ease) both;
  }
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 560px) {
  .cookie {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
}

/* ============================================================
   ЗАЯВКА ВО ВСПЛЫВАЮЩЕМ ОКНЕ
   Оболочка - нативный <dialog>: фокус, Esc и подложка достаются
   от браузера, руками их повторять незачем. Поля внутри те же,
   что в форме на странице, поэтому свой отступ формы гасим.
   ============================================================ */

.modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  background: var(--bg-elev-1);
  color: var(--text);
  overflow: auto;
  overscroll-behavior: contain;
}

/* Фон не должен прокручиваться под окном. Замок вешаем на состояние
   самого <dialog>, а не из скрипта: тогда он снимается при любом
   способе закрытия, включая Esc, о котором скрипт не узнаёт. */
html:has(.modal[open]) {
  overflow: hidden;
}

.modal::backdrop {
  background: rgba(16, 20, 15, 0.58);
  backdrop-filter: blur(3px);
}

.modal__card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.modal__card h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  /* заголовок не должен заезжать под крестик */
  padding-right: 46px;
}

.modal__note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* пустую подпись не показываем: иначе остаётся полоса воздуха */
.modal__note:empty {
  display: none;
}

.modal .form {
  padding: 0;
  margin-top: clamp(20px, 2.4vw, 28px);
}

@media (prefers-reduced-motion: no-preference) {
  .modal[open] {
    animation: modal-in 0.32s var(--ease) both;
  }

  .modal[open]::backdrop {
    animation: modal-fade 0.32s var(--ease) both;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
}

.info {
  padding: 22px 24px;
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-block: 14px;
}

.info-row + .info-row {
  border-top: 1px solid var(--line);
}

.info-row svg {
  width: 19px;
  height: 19px;
  color: var(--accent-text);
  margin-top: 3px;
}

.info-row b {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
}

.info-row a:hover {
  color: var(--accent-text);
}

.info-row span {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.map {
  flex: 1;
  width: 100%;
  min-height: 240px;
  border: 0;
  display: block;
  background: var(--bg-elev-2);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 14px 16px;
  font-size: 0.9375rem;
  width: 100%;
  transition: border-color 0.5s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 104px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.field__err {
  font-size: 0.8125rem;
  color: #b3271e;
  display: none;
}


.field[data-invalid="true"] input,
.field[data-invalid="true"] select {
  border-color: #b3271e;
}


.field[data-invalid="true"] .field__err {
  display: block;
}

/* ---------- согласие на обработку данных ---------- */

.consent {
  max-width: 62ch;
  /* Отступ до кнопки крупнее шага между полями: согласие отделяется
     от действия, а не читается как ещё одно поле формы. */
  margin-bottom: 28px;
}

.consent__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  border-radius: 4px;
  transition: outline-color 0.3s var(--ease);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.consent__text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.3s var(--ease);
}

.consent__text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease);
}

.consent__text a:hover {
  color: var(--accent-text);
}

.consent__error {
  margin: 10px 0 0 30px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--err);
  max-width: 46ch;
}

/* Отправка без галочки: краснеет вся строка вместе со ссылками,
   чекбокс обводится, блок коротко дёргается. Подсказка объясняет,
   что делать, а не просто сообщает об ошибке. */
.consent[data-invalid="true"] .consent__text,
.consent[data-invalid="true"] .consent__text a {
  color: var(--err);
}

.consent[data-invalid="true"] input {
  outline-color: var(--err);
  accent-color: var(--err);
}

.consent[data-invalid="true"] .consent__row {
  animation: consent-nudge 0.42s var(--ease);
}

@keyframes consent-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  45% {
    transform: translateX(5px);
  }
  70% {
    transform: translateX(-3px);
  }
}

.form__status {
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 1.4em;
}

/* Ловушка для ботов. Прячем так, чтобы поле осталось в форме и в потоке
   для автозаполнялки, но не досталось ни глазу, ни скринридеру, ни
   табуляции: display:none часть ботов пропускает как явную ловушку. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skeleton {
  display: none;
  gap: 16px;
  flex-direction: column;
}

.skeleton span {
  display: block;
  height: 52px;
  border-radius: var(--r-field);
  background: linear-gradient(90deg, var(--bg-elev-2) 25%, var(--line) 37%, var(--bg-elev-2) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skeleton span:nth-child(4) {
  height: 104px;
}

@keyframes shimmer {
  to {
    background-position: -135% 0;
  }
}

.form[data-state="sending"] .form__body {
  display: none;
}

.form[data-state="sending"] .skeleton {
  display: flex;
}

/* ============================================================
   S8 ЦИФРЫ О КОМПАНИИ
   Крупный набор и вертикальные хайрлайны: тот же приём,
   что в полосе марок, только с числами.
   ============================================================ */

.figures-section {
  border-top: 1px solid var(--line);
}

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.figure {
  padding: 4px clamp(18px, 2.4vw, 40px);
}

.figure:first-child {
  padding-left: 0;
}

.figure:last-child {
  padding-right: 0;
}

.figure + .figure {
  border-left: 1px solid var(--line);
}

.figure__num {
  display: block;
  font-family: "Geologica", sans-serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 5.4vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.figure__cap {
  display: block;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.figure p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 30ch;
}

/* ---------- футер ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(38px, 3.6vw, 58px) 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
}

.footer h3 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 16px;
}

.footer li {
  padding: 5px 0;
}

.footer li a,
.footer address a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color 0.5s var(--ease);
}

.footer li a:hover,
.footer address a:hover {
  color: var(--text);
}

.footer address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.footer__bottom {
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Подпись разработчика. Прижата к правому краю: подвал раскладывает
   строку через space-between, и без этого она села бы вплотную к городу. */
/* Подпись разработчика набрана акцентом. Токен именно --accent-text:
   заливочный --accent слишком светлый и на фоне подвала не набирает
   контраст AA для мелкого кегля. */
.footer__author {
  margin-left: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--accent-text);
  text-decoration: none;
  transition: opacity 0.5s var(--ease);
}

.footer__author:hover {
  opacity: 0.75;
}

.footer__author:hover .footer__author-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__author-name {
  font-family: "Geologica", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 620px) {
  /* в столбце прижимать нечего, иначе подпись улетает вправо одна */
  .footer__author {
    margin-left: 0;
  }
}

/* Возврат к выбору по файлам cookie: согласие должно отзываться
   так же просто, как давалось. Набрана как остальной низ подвала. */
.footer__cookie {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.5s var(--ease);
}

.footer__cookie:hover {
  color: var(--text);
}

/* ---------- появление при скролле ---------- */

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-soft), transform 0.85s var(--ease-soft);
  transition-delay: var(--d, 0ms);
}

.reveal-on [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1180px) {
  .parts__grid,
  .editorial,
  .docs {
    grid-template-columns: 1fr;
  }

  .parts__stick,
  .editorial__stick {
    position: static;
  }

  .tyre-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .tyre-cols__intro {
    grid-column: 1 / -1;
  }

  /* четыре полосы в ряд перестают вмещать подписи раньше, чем ломается
     остальная сетка, поэтому разворачиваем аккордеон в столбец здесь */
  .accordion {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .panel {
    flex: none;
    height: clamp(200px, 34vw, 300px);
  }

  .panel__note {
    grid-template-rows: 1fr;
    margin-top: 8px;
    opacity: 1;
  }
}

@media (max-width: 980px) {
  /* Ссылки и длинный номер уходят в меню, но главный CTA
     остаётся в шапке: на телефоне это основной путь к заявке. */
  .nav__links,
  .nav__tools .lang,
  .nav__tools a[href^="tel:"] {
    display: none;
  }

  .nav__burger {
    display: grid;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    padding-right: 12px;
  }

  .accordion {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .panel {
    flex: none;
    height: clamp(200px, 34vw, 280px);
  }

  .panel__note {
    opacity: 1;
    transform: none;
  }

  .stack__card {
    grid-template-columns: 1fr;
    position: static;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .figures {
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 40px) 0;
  }

  .figure:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .figure:nth-child(2) {
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  /* места на подпись уже нет, кнопка сжимается до иконки */
  .nav__callback {
    padding: 8px;
    gap: 0;
  }

  .nav__callback .btn__label {
    display: none;
  }

  .nav .brand__sub {
    display: none;
  }

  .topbar__inn,
  .topbar__geo {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 1rem;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .marks__row {
    grid-template-columns: 1fr 1fr;
  }

  .marks__row a:nth-child(3) {
    border-left: none;
  }

  .marks__row a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .tyre-cols,
  .form__row {
    grid-template-columns: 1fr;
  }

  .editorial__list li {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .editorial__list h3,
  .editorial__list p {
    grid-column: 1;
  }

  .reason__ico {
    grid-row: auto;
  }

  .parts__media {
    aspect-ratio: 16 / 9;
  }

  .docs__list {
    columns: 1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .figures {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .figure {
    padding: clamp(20px, 4vw, 28px) 0;
  }

  .figure + .figure {
    border-left: none;
    border-top: 1px solid var(--line);
  }

}

  /* ---------- настройки пользователя ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-on [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .consent[data-invalid="true"] .consent__row {
    animation: none;
  }

  .hero__line span {
    transform: none;
  }

  .hero__sub,
  .hero__cta {
    opacity: 1;
    transform: none;
  }

  .ticker__track {
    animation: none;
  }

  .tyre-band img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav,
  .menu,
  .btn--on-media,
  .panel__go {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    background: var(--bg);
  }
}

