/* Inter — локальные файлы (woff2, вариативный вес 100–900) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  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;
}

/* ==========================================================================
   ARENA.WMS — дизайн-система
   1. Токены   2. База   3. Типографика   4. Кнопки   5. Хедер
   6. Хиро     7. Секции  8. Столпы  9. Этапы  10. Преимущества
   11. Клиенты 12. Статьи 13. CTA/форма 14. Футер 15. Адаптив 16. Анимации
   ========================================================================== */

/* 1. Токены ---------------------------------------------------------------- */
:root {
  --ink: #0A0D12;
  --ink-2: #141A24;
  --text: #10141B;
  --muted: #5B6472;
  --muted-2: #8B94A3;
  --line: #E4E7EC;
  --line-strong: #D6DBE3;
  --paper: #F5F6F8;
  --white: #FFFFFF;

  --brand: #2A5BFF;
  --brand-soft: #6C8EFF;
  --brand-ink: #1A3FCB;

  --radius: 16px;
  --radius-lg: 20px;
  --container: 1240px;
  --pad: 32px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

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

  /* тень карточек: смещена ниже края, поэтому между текстом и тенью остаётся воздух */
  --shadow-lift: 0 30px 66px -30px rgba(10, 13, 18, .42);
}

/* 2. База ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss03" 1;
}

img, svg { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}
.skip:focus { left: 0; }

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

/* 3. Типографика ----------------------------------------------------------- */
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}
.eyebrow--light { color: rgba(255, 255, 255, .55); }

.h2 {
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.06;
  letter-spacing: -.032em;
  color: var(--ink);
}

.section__lead {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 560px;
}

.link-arrow {
  justify-self: end;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow:hover { color: var(--brand); border-color: var(--brand); }

/* 4. Кнопки ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.012em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; border-radius: 9px; }
.btn--full { width: 100%; }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1B222E; box-shadow: 0 14px 26px -16px rgba(10, 13, 18, .9); }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #EDF1FF; box-shadow: 0 16px 34px -18px rgba(255, 255, 255, .55); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }

/* 5. Хедер ----------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.logo__mark { display: flex; color: var(--ink); }
.logo__mark svg { display: block; width: auto; height: 32px; }
.logo__word {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.logo__dot { color: var(--brand); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 40px;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: #26303E;
  text-decoration: none;
  padding: 6px 0;
  transition: color .18s var(--ease);
}
.nav__link:hover { color: var(--brand); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.header__phone {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color .18s var(--ease);
}
.header__phone:hover { color: var(--brand); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* 6. Хиро ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 88px 0 96px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 45% 20%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 75% at 45% 20%, #000 20%, transparent 72%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -340px;
  right: -180px;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(42, 91, 255, .38) 0%, rgba(42, 91, 255, 0) 62%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -.033em;
  font-weight: 700;
  margin: 0 0 24px;
}

.hero__lead {
  margin: 0;
  max-width: 520px;
  font-size: 17.5px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .64);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.stat__value {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .48);
}

/* Сцена склада */
.hero__visual { position: relative; }

.scene {
  position: relative;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 32% 8%, #141B28 0%, #0A0E15 62%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.scene__img { display: block; width: 100%; height: auto; }
.scene__map { display: block; width: 100%; height: auto; }

.scene__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 18px 14px;
  background: linear-gradient(to top, rgba(7, 10, 15, .97) 0%, rgba(7, 10, 15, .74) 48%, rgba(7, 10, 15, 0) 100%);
  font-size: 12px;
  letter-spacing: -.005em;
  color: rgba(255, 255, 255, .74);
}
.scene__tag { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.scene__sep { flex: none; width: 1px; height: 11px; background: rgba(255, 255, 255, .18); }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3BE08A;
  box-shadow: 0 0 0 3px rgba(59, 224, 138, .16);
  flex: none;
  animation: pulse 2.4s var(--ease) infinite;
}

/* 7. Секции ---------------------------------------------------------------- */
.section { padding: 104px 0; }
.section--paper {
  background: var(--paper);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.section__head {
  max-width: 740px;
  margin-bottom: 56px;
}
.section__head--split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: end;
  max-width: none;
}
.section__head--split .section__lead { margin: 0 0 6px; }

/* 8. Столпы ---------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar {
  position: relative;
  padding: 32px 34px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.pillar:hover {
  border-color: #C7D2EA;
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.pillar__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 13px;
  background: var(--paper);
  color: var(--brand);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.pillar__ico svg { width: 23px; height: 23px; display: block; }
.pillar:hover .pillar__ico { background: var(--brand); color: #fff; }
.pillar__title {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.024em;
  font-weight: 650;
  margin: 0 0 12px;
}
.pillar__link {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.pillar__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.pillar:hover .pillar__link { color: var(--brand-ink); }
.pillar__link:focus-visible { outline: none; }
.pillar__link:focus-visible::after {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.pillar__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* 9. Этапы ----------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 26px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.step:hover {
  border-color: #C7D2EA;
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}
.step__num {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.step__title {
  font-size: 18px;
  letter-spacing: -.022em;
  font-weight: 650;
  margin: 0 0 10px;
}
.step__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* 10. Преимущества --------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit {
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.benefit:hover {
  border-color: #C7D2EA;
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}
.benefit__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 18px;
  color: var(--brand);
  fill: none;
}
.benefit__icon .b-strong {
  stroke-width: 2;
}
.benefit__title {
  font-size: 17.5px;
  line-height: 1.32;
  letter-spacing: -.022em;
  font-weight: 650;
  margin: 0 0 10px;
  max-width: 300px;
}
.benefit__text {
  margin: 0;
  font-size: 14.8px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 340px;
}

/* 11. Клиенты -------------------------------------------------------------- */
.clients {
  padding: 76px 0 60px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.clients__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.clients__head .eyebrow { margin: 0; }
.clients__note { margin: 0; font-size: 14px; color: var(--muted); }

/* сетка клиентов: ч/б по умолчанию, цвет при наведении */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.client {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.client img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  filter: grayscale(1) opacity(.7);
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.client a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.client a:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.client:hover { border-color: var(--line-strong); }
.client:hover img,
.client:focus-visible img,
.client a:focus-visible img,
.client.is-lit img { filter: none; opacity: 1; }
@media (hover: none) {
  .client img { filter: none; opacity: .85; }
}

/* 12. Статьи --------------------------------------------------------------- */
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article {
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.article:hover {
  border-color: #C7D2EA;
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}
.article__tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}
.article__title {
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -.026em;
  font-weight: 650;
  margin: 0 0 12px;
}
.article__text {
  margin: 0 0 24px;
  font-size: 14.8px;
  line-height: 1.6;
  color: var(--muted);
}
.article__more {
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color .18s var(--ease);
}
.article:hover .article__more { color: var(--brand); }

/* 13. CTA и форма ---------------------------------------------------------- */
.cta {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: start;
}
.cta__title {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.06;
  letter-spacing: -.033em;
  font-weight: 700;
  margin: 0 0 20px;
}
.cta__lead {
  margin: 0;
  max-width: 430px;
  font-size: 16.5px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .6);
}
.cta__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 36px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.cta__contacts a {
  color: #fff;
  text-decoration: none;
  width: fit-content;
  transition: color .18s var(--ease);
}
.cta__contacts a:hover { color: var(--brand-soft); }

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .035);
}
.field { display: grid; gap: 8px; }
.field__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
}
.field__input {
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-size: 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input::placeholder { color: rgba(255, 255, 255, .3); }
.field__input:focus {
  outline: none;
  border-color: var(--brand-soft);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 3px rgba(42, 91, 255, .22);
}
.field__input--area {
  height: auto;
  min-height: 84px;
  padding: 13px 16px;
  line-height: 1.5;
  resize: vertical;
}
.field__input:invalid:not(:placeholder-shown) { border-color: #FF7A6B; }

.form__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .38);
}

/* 14. Футер ---------------------------------------------------------------- */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr .9fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__desc {
  margin: 18px 0 0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.footer__title {
  margin: 0 0 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer__col a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  color: #1F2733;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.footer__col a:hover { color: var(--brand); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__addr {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}
.footer__bottom p { margin: 0; }

/* 15. Адаптив -------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero__inner { gap: 44px; }
  .nav { margin-left: 24px; gap: 20px; }
  .header__actions { gap: 16px; }
}

@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--pad) 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(10, 13, 18, .45);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__link:last-child { border-bottom: 0; }

  .hero { padding: 64px 0 76px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__title { max-width: 18ch; }
  .hero__visual { max-width: 560px; }

  .section { padding: 80px 0; }
  .section__head--split { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .section__head--split .section__lead { margin: 0; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .cta__inner { grid-template-columns: 1fr; gap: 44px; }
  .cta { padding: 72px 0; }
  .form { max-width: 520px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr; }
  .article { min-height: 0; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .link-arrow { justify-self: start; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }

  .header__inner { height: 64px; }
  .nav { top: 64px; }
  .logo__word { font-size: 17px; }
  .logo__mark svg { height: 28px; }
  .btn--sm { height: 40px; padding: 0 14px; font-size: 13.5px; }
  .header__actions { gap: 10px; }

  .hero { padding: 48px 0 56px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 40px); letter-spacing: -.03em; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
  .stat:last-child { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .scene__foot { padding: 22px 14px 12px; font-size: 11px; gap: 9px; }

  .section { padding: 60px 0; }
  .section__head { margin-bottom: 36px; }
  .h2 { font-size: 28px; }
  .section__lead { font-size: 15.5px; margin-top: 16px; }

  .pillar { padding: 24px 22px 26px; }
  .pillar__ico { margin-bottom: 18px; width: 42px; height: 42px; }
  .pillar__ico svg { width: 21px; height: 21px; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .benefits { grid-template-columns: 1fr; gap: 16px; }

  .clients { padding: 52px 0 40px; }
  .clients__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .client { min-height: 84px; padding: 12px 10px; }
  .client img { max-height: 48px; }

  .cta { padding: 56px 0; }
  .form { padding: 22px 18px; }
  .cta__contacts { font-size: 18px; margin-top: 28px; }

  .footer { padding-top: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer__bottom { flex-direction: column; gap: 6px; font-size: 12.5px; }
}

/* 16. Анимации ------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(59, 224, 138, .16); }
  50% { box-shadow: 0 0 0 6px rgba(59, 224, 138, .05); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero__text > * { animation: riseIn .7s var(--ease) both; }
.hero__text > *:nth-child(1) { animation-delay: .05s; }
.hero__text > *:nth-child(2) { animation-delay: .12s; }
.hero__text > *:nth-child(3) { animation-delay: .19s; }
.hero__text > *:nth-child(4) { animation-delay: .26s; }
.hero__text > *:nth-child(5) { animation-delay: .33s; }
.hero__visual { animation: riseIn .9s var(--ease) .2s both; }

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

/* 17. Диаграммы ------------------------------------------------------------ */
.figure-card {
  margin: 0;
  padding: 34px 34px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.figure-card--flow { margin-top: 56px; }

.figure-card__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 26px;
}
.figure-card__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.figure-card__note { font-size: 13.5px; color: var(--muted); }

.dfg { display: block; width: 100%; height: auto; }
.dg-rail-line { stroke: var(--line-strong); stroke-width: 1.4; }
.dg-arrow { fill: var(--line-strong); }
.dg-arrow--faint { opacity: .4; }
.dg-node { fill: var(--white); stroke: var(--line-strong); stroke-width: 1.4; }
.dg-glyph {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dg-fill-soft { fill: var(--line); stroke: none; }
.dg-accent { stroke: var(--brand); stroke-width: 1.8; }
.dg-name { fill: var(--text); }
.dg-cap { fill: var(--muted); }
.dg-kicker { fill: var(--muted-2); }
.dg-card { fill: var(--white); stroke: var(--line); stroke-width: 1.2; }
.dg-card-label { fill: var(--text); }
.dg-card-sub { fill: var(--muted); }
.dg-core { fill: var(--ink); }
.dg-core-title { fill: #fff; }
.dg-core-sub { fill: rgba(255, 255, 255, .62); }
.dg-chip { fill: rgba(255, 255, 255, .09); stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.dg-chip-t { fill: rgba(255, 255, 255, .84); }
.dg-core-bar { fill: var(--brand); }
.dg-link { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 3 3; }

/* узлы схемы «Маршрут груза» — ссылки */
.flow-link { cursor: pointer; }
.flow-hit { fill: transparent; pointer-events: all; }
.dg-node, .dg-name { transition: stroke .2s var(--ease), fill .2s var(--ease); }
.flow-link:hover .dg-node { stroke: var(--brand); }
.flow-link:hover .dg-name { fill: var(--brand-ink); }
.flow-link:focus-visible { outline: none; }
.flow-link:focus-visible .dg-node { stroke: var(--brand); stroke-width: 2.6; }
.flow-link:focus-visible .dg-name { fill: var(--brand-ink); }

/* 18. Блок ТСД ------------------------------------------------------------- */
.split2 {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 72px;
  align-items: center;
}
.split2__visual { display: flex; justify-content: flex-end; }

.checklist {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand);
}

.device {
  width: 100%;
  max-width: 396px;
  padding: 16px 18px 16px;
  color: #fff;
  background: linear-gradient(168deg, #18212F 0%, #0B111A 72%);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 26px;
  box-shadow: 0 34px 74px -34px rgba(10, 13, 18, .6);
}
.device__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.device__brand {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.device__dot { color: var(--brand-soft); }
.device__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .5);
}
.device__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3BE08A;
  box-shadow: 0 0 0 3px rgba(59, 224, 138, .14);
}
.device__screen { padding: 22px 5px 2px; }
.device__kicker {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.device__cell {
  margin: 0 0 20px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .78);
}
.device__cell b {
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.device__rows { margin: 0; }
.device__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13.5px;
}
.device__rows dt { color: rgba(255, 255, 255, .48); }
.device__rows dd {
  margin: 0;
  text-align: right;
  color: rgba(255, 255, 255, .92);
  font-variant-numeric: tabular-nums;
}
.device__btn {
  display: block;
  margin-top: 18px;
  padding: 13px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.device__hint {
  margin: 14px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .34);
}

@media (max-width: 980px) {
  .split2 { grid-template-columns: 1fr; gap: 40px; }
  .split2__visual { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .figure-card {
    padding: 20px 16px 12px;
    border-radius: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .figure-card--flow { margin-top: 34px; }
  .figure-card__cap { margin-bottom: 16px; }
  .figure-card__note { display: none; }
  .figure-card > .dfg { min-width: 660px; }
  .device { max-width: 100%; }
}

/* 19. Галерея -------------------------------------------------------------- */
.phead {
  padding: 78px 0 38px;
  border-bottom: 1px solid var(--line);
}
.phead__title {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.037em;
  font-weight: 700;
}
.phead__lead {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
}
.phead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--muted-2);
}
.crumbs a { color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--line-strong); }

.galwrap { padding: 44px 0 112px; }

.gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gal__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper);
}
.gal__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gal__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(10, 13, 18, .12);
  transition: box-shadow .3s var(--ease);
}
.gal__item:hover img { transform: scale(1.045); }
.gal__item:hover::after { box-shadow: inset 0 0 0 1px rgba(10, 13, 18, .3); }
.gal__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* страница фотографии */
.dtl { padding: 34px 0 108px; }
.dtl__fig { max-width: 1040px; margin: 0 auto; }
.dtl__frame {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.dtl__img { display: block; width: 100%; height: auto; border-radius: 10px; }
/* кадры из архива: не растягиваем выше исходного размера */
.dtl__frame--sm { width: -moz-fit-content; width: fit-content; max-width: 100%; margin: 0 auto; }
.dtl__frame--sm .dtl__img { width: auto; max-width: 100%; }
.dtl__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}
.dtl__nav { display: flex; flex-wrap: wrap; gap: 10px; }
.dtl__count {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
  color: var(--muted-2);
}

.btn--line { border-color: var(--line-strong); background: #fff; color: var(--text); }
.btn--line:hover { border-color: #B9C6E4; box-shadow: 0 14px 28px -20px rgba(10, 13, 18, .5); }
.btn[aria-disabled="true"] { opacity: .38; pointer-events: none; }

@media (max-width: 1080px) {
  .gal { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .phead { padding: 60px 0 32px; }
}
@media (max-width: 860px) {
}
@media (max-width: 640px) {
  .gal { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gal__item { border-radius: 10px; }
  .phead { padding: 44px 0 26px; }
  .phead__lead { font-size: 16px; margin-top: 18px; }
  .galwrap { padding: 30px 0 72px; }
  .dtl { padding: 22px 0 72px; }
  .dtl__frame { padding: 8px; border-radius: 14px; }
  .dtl__bar { justify-content: center; }
  .dtl__nav { width: 100%; justify-content: space-between; }
}

/* ============================================================
   Прокрутка: появление блоков, акцент активного блока, прогресс
   ============================================================ */
.js .rv {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .55s var(--ease), translate .65s var(--ease);
  transition-delay: var(--rv-d, 0ms);
}
.js .rv.is-in { opacity: 1; translate: 0 0; }

/* текущий блок в зоне чтения: тик «глаза» удлиняется, лид набирает контраст */
.js .eyebrow::before {
  transition: width .45s var(--ease), opacity .45s var(--ease);
}
.js .section__lead { transition: color .4s var(--ease); }
.js .is-current .eyebrow::before { width: 34px; opacity: 1; }
.js .is-current .section__lead { color: var(--text); }

/* остальные блоки немного отступают, чтобы активный читался первым */
.js .section,
.js .clients,
.js .cta { transition: opacity .45s var(--ease); }
.js .is-dim { opacity: .72; }

/* карточки активного блока чуть приподняты над остальными */
.js .is-current .pillar,
.js .is-current .benefit,
.js .is-current .article,
.js .is-current .client,
.js .is-current .step {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

/* индикатор прочитанного */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 110;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: var(--brand);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

@media (max-width: 900px) {
  .js .is-dim { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; translate: none; transition: none; }
  .js .eyebrow::before,
  .js .section__lead { transition: none; }
  .js .is-dim { opacity: 1; }
}

/* ---------- Схема склада ---------- */
.shema { margin: 0 0 44px; }
.shema__frame {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow-x: auto;
}
.shema__frame svg { display: block; width: 100%; height: auto; min-width: 860px; }

@media (max-width: 900px) {
  .shema__frame { padding: 10px; border-radius: var(--radius); }
  .shema__frame svg { min-width: 820px; }
}
@media print {
  .shema__frame { border: 0; padding: 0; }
  .shema__frame svg { min-width: 0; }
}

/* ---------- Страница 404 ---------- */
.e404 { padding: 96px 0 120px; }
.e404__inner { max-width: 720px; }
.e404__code {
  margin: 18px 0 6px;
  font-size: clamp(96px, 15vw, 168px);
  line-height: .84;
  letter-spacing: -.06em;
  font-weight: 800;
  color: var(--line-strong);
  font-variant-numeric: tabular-nums;
}
.e404__title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 700;
}
.e404__text {
  margin: 0 0 30px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
}
.e404__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.e404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.e404__links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--line-strong);
  transition: color .2s var(--ease);
}
.e404__links a:hover { color: var(--brand-ink); }
@media (max-width: 640px) {
  .e404 { padding: 56px 0 72px; }
  .e404__code { margin-top: 12px; }
}

/* ---------- Контентные страницы: текст статьи ---------- */
.pwrap { padding: 52px 0 116px; }
.prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  overflow-wrap: break-word;
}
.prose > * { margin: 0; }
.prose > * + * { margin-top: 29px; }
.prose h2 {
  margin: 46px 0 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.22;
  letter-spacing: -.025em;
  font-weight: 700;
}
.prose h2 + * { margin-top: 14px; }
.prose h3 {
  margin: 34px 0 0;
  font-size: 19px;
  line-height: 1.36;
  letter-spacing: -.018em;
  font-weight: 700;
}
.prose h3 + * { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose ul ul, .prose ol ol { margin-top: 8px; }
.prose li::marker { color: var(--brand); }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose a {
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--line-strong);
  transition: color .2s var(--ease), box-shadow .2s var(--ease);
}
.prose a:hover { color: var(--brand-ink); box-shadow: inset 0 -1px 0 currentColor; }
.prose img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  margin: 6px 12px 6px 0;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}
.prose img.prose__logo { max-height: 88px; width: auto; }
.prose > img { display: block; width: auto; max-height: 520px; margin: 12px 0; }
.prose p > img:only-child { display: block; margin: 10px auto; }
.prose .shots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  margin: 10px 0 2px;
}
.prose .shots img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}
.prose blockquote {
  margin: 28px 0;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--brand);
  color: var(--muted);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 600; }

.siblings { margin-top: 68px; padding-top: 30px; border-top: 1px solid var(--line); }
.siblings__title {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.siblings__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.siblings__list a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.siblings__list a:hover { color: var(--brand-ink); }

.qlist {
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.qlist > li { border-bottom: 1px solid var(--line); }
.qlist a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 22px 44px 24px 0;
  color: var(--text);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.qlist a::after {
  content: "→";
  position: absolute;
  top: 23px;
  right: 0;
  color: var(--muted-2);
  font-size: 17px;
  line-height: 1;
  transition: transform .22s var(--ease), color .2s var(--ease);
}
.qlist a:hover { color: var(--brand-ink); }
.qlist a:hover::after { transform: translateX(4px); color: var(--brand); }
.qlist__t { font-size: 17px; font-weight: 600; line-height: 1.42; letter-spacing: -.012em; }
.qlist__d {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.qlist__x { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.prose + .qlist { margin-top: 40px; }

@media (max-width: 640px) {
  .pwrap { padding: 40px 0 88px; }
  .siblings__list { grid-template-columns: 1fr; }
  .qlist a { padding: 18px 32px 20px 0; }
  .qlist a::after { top: 19px; font-size: 16px; }
  .qlist__t { font-size: 16px; }
}

@media print {
  .js .rv { opacity: 1; translate: none; }
  .js .is-current .pillar,
  .js .is-current .benefit,
  .js .is-current .article,
  .js .is-current .client,
  .js .is-current .step { box-shadow: none; }
  .progress { display: none; }
}
