@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

:root {
  --black: #000;
  --white: #fff;
  --grey: #9d9d9d;
  --line: rgba(255, 255, 255, .24);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --slide: 5s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
p { margin: 0; }

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Шапка */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 92px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: height .4s var(--ease), background-color .4s, border-color .4s;
}

.header.is-compact {
  height: 66px;
  border-bottom-color: var(--line);
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header__logo { flex: none; }

.header__logo img {
  width: auto;
  height: 42px;
  transition: height .4s var(--ease);
}

.is-compact .header__logo img { height: 32px; }

.nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 36px);
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__contacts {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.header__phone { font-size: 17px; font-weight: 700; }

.header__email {
  color: var(--grey);
  font-size: 13px;
  transition: color .25s;
}

.header__email:hover { color: var(--white); }

.burger {
  position: relative;
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
}

.burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}

.burger span:first-child { top: 16px; }
.burger span:last-child { top: 26px; }

.burger[aria-expanded='true'] span { top: 21px; }
.burger[aria-expanded='true'] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: rotate(-45deg); }

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

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 104px var(--gutter) 32px;
  overflow-y: auto;
  background: var(--black);
  opacity: 0;
  transition: opacity .3s;
}

.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }

.menu__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(30px, 9vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}

/* Мультфильм на первом экране (сцены — js/cartoon.js) */

.toon {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 116px var(--gutter) 28px;
  overflow: hidden;
}

.toon__caption {
  min-height: 2.1em;
  max-width: 18ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 6vw, 88px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
  transition: opacity .35s, transform .35s;
}

.toon__caption.is-long { max-width: 24ch; font-size: clamp(26px, 4vw, 58px); line-height: 1.04; }
.toon__caption.is-out { opacity: 0; transform: translateY(-16px); }

.toon__stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.toon__svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 470;
  margin: 16px 0;
  overflow: hidden;
}

.toon__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.toon__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}

.toon__cta.is-on { opacity: 1; pointer-events: auto; }

.button--ghost { background: none; color: var(--white); }
.button--ghost:hover { background: var(--white); color: var(--black); }

.toon__tools {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.toon__link {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  transition: border-color .25s;
}

.toon__link:hover { border-color: var(--white); }

.toon__pause {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: none;
  color: var(--white);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.toon__pause:hover { border-color: var(--white); }

.toon .ink { fill: #000; stroke: #fff; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.toon .back { fill: #000; stroke: #6d6d6d; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.toon .line { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.toon .thin { fill: none; stroke: #6d6d6d; stroke-width: 2; stroke-linecap: round; }
.toon .solid { fill: #fff; }
.toon .label { fill: #8a8a8a; font: 800 22px Manrope, sans-serif; letter-spacing: .14em; }
.toon .grp { display: none; }
.toon .fb { transform-box: fill-box; }
/* Все анимации сцен держат первый и последний кадр (нужно для перемотки назад) */
.toon svg * { animation-fill-mode: both !important; }
/* ---------- Постоянные мелочи: моргание, часы ---------- */
.toon .eyes { transform-box: fill-box; transform-origin: center; animation: blink 3.6s infinite; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.toon .clock-hand { transform-box: fill-box; transform-origin: 50% 100%; animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* ---------- Сцена 1: «Смотри» — большие глаза ---------- */
.toon .at-s0 .pupils { animation: s0-look 1.8s ease-in-out; }
@keyframes s0-look {
  0%, 10% { transform: translate(0, 0); }
  30%, 42% { transform: translate(-26px, 4px); }
  62%, 74% { transform: translate(26px, 4px); }
  90%, 100% { transform: translate(0, 10px); }
}
/* ---------- Сцена 2: клиент пьёт кофе ---------- */
.toon .at-s1 .sip { transform-origin: 0 0; animation: s1-sip 3.8s ease-in-out; }
@keyframes s1-sip {
  0%, 25% { transform: rotate(0); }
  40%, 62% { transform: rotate(-58deg); }
  78%, 100% { transform: rotate(0); }
}
/* ---------- Сцена 3: команда НЛП ---------- */
.toon .at-s2 .typing { transform-origin: 0 0; animation: s2-type .18s ease-in-out infinite alternate; }
.toon .at-s2 .typing-l { transform-origin: 100% 0; animation: s2-type .18s ease-in-out .09s infinite alternate; }
@keyframes s2-type { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
.toon .at-s2 .talk { animation: s2-talk .3s steps(1) infinite; }
@keyframes s2-talk { 0% { opacity: 1; } 50% { opacity: 0; } }
.toon .at-s2 .walker { animation: s2-walk 6s linear; }
@keyframes s2-walk { from { transform: translateX(-120px); } to { transform: translateX(150px); } }
.toon .at-s2 .walker-bob { animation: s2-bob .35s ease-in-out infinite alternate; }
@keyframes s2-bob { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.toon .at-s2 .route { stroke-dasharray: 420; animation: s2-route 6s ease-in-out; }
@keyframes s2-route { 0%, 10% { stroke-dashoffset: 420; } 60%, 100% { stroke-dashoffset: 0; } }
.toon .at-s2 .pile { transform-origin: 50% 100%; animation: s2-pile 6s ease-in; }
@keyframes s2-pile { 0% { transform: scaleY(.2); } 55%, 100% { transform: scaleY(1); } }
.toon .at-s2 .head-a { transform-origin: 50% 100%; animation: s2-shake 6s linear; }
@keyframes s2-shake {
  0%, 15% { transform: none; opacity: 1; }
  20% { transform: rotate(-3deg); } 24% { transform: rotate(3deg); }
  28% { transform: rotate(-4deg); } 32% { transform: rotate(4deg); }
  36% { transform: rotate(-6deg) scale(1.05); } 40% { transform: rotate(6deg) scale(1.08); }
  44% { transform: rotate(-8deg) scale(1.14); } 48% { transform: rotate(8deg) scale(1.2); }
  52% { transform: rotate(-9deg) scale(1.3); } 55% { transform: rotate(0) scale(1.45); opacity: 1; }
  56%, 100% { transform: scale(1.45); opacity: 0; }
}
.toon .at-s2 .sweat { animation: s2-sweat 6s ease-in; }
@keyframes s2-sweat { 0%, 25% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 50%, 100% { opacity: 0; transform: translateY(30px); } }
.toon .at-s2 .boom { transform-origin: center; animation: s2-boom 6s ease-out; }
@keyframes s2-boom {
  0%, 55% { opacity: 0; transform: scale(.2); }
  58% { opacity: 1; transform: scale(1.25); }
  68% { opacity: 1; transform: scale(1); }
  74%, 100% { opacity: 0; transform: scale(1.1); }
}
.toon .at-s2 .smoke { transform-origin: center; animation: s2-smoke 6s ease-out; }
@keyframes s2-smoke { 0%, 60% { opacity: 0; transform: scale(.5) translateY(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6) translateY(-40px); } }
.toon .at-s2 .head-b { transform-origin: 50% 100%; animation: s2-headb 6s ease-out; }
@keyframes s2-headb {
  0%, 72% { opacity: 0; transform: scale(.6); }
  78% { opacity: 1; transform: scale(1.08); }
  84% { transform: rotate(-6deg); } 90% { transform: rotate(5deg); }
  96%, 100% { opacity: 1; transform: rotate(0); }
}
/* ---------- Сцены 4–6: деловая встреча и «стирание памяти» ---------- */
.toon .agent, .toon .device, .toon .bubble, .toon .flash, .toon .daze, .toon .m-flat { opacity: 0; }
.toon .at-s3 .door { transform-origin: 100% 50%; animation: s3-door 4.5s ease-out; }
@keyframes s3-door { 0%, 4% { transform: scaleX(1); } 12%, 100% { transform: scaleX(.12); } }
.toon .at-s3 .agent { animation: s3-walk 4.5s ease-out; animation-delay: var(--d); }
@keyframes s3-walk { 0%, 10% { opacity: 0; transform: translateX(var(--dx)); } 14% { opacity: 1; } 55%, 100% { opacity: 1; transform: translateX(0); } }
.toon .at-s3 .stride { animation: s3-stride .3s ease-in-out 6 alternate; animation-delay: calc(.5s + var(--d)); }
@keyframes s3-stride { from { transform: translateY(0); } to { transform: translateY(-6px); } }

.toon .at-s4 .bubble { transform-origin: 50% 100%; animation: s4-bubble 4s ease-out; }
.toon .at-s4 .bubble-2 { animation-name: s4-bubble2; }
@keyframes s4-bubble { 0%, 5% { opacity: 0; transform: scale(.3); } 12%, 45% { opacity: 1; transform: scale(1); } 52%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes s4-bubble2 { 0%, 50% { opacity: 0; transform: scale(.3); } 58%, 92% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; } }
.toon .at-s4 .agent .talk { animation: s2-talk .3s steps(1) infinite; }
.toon .at-s4 .client .slump { animation: s4-nod .45s ease-in-out 1.6s 4 alternate; }
@keyframes s4-nod { from { transform: translateY(0); } to { transform: translateY(5px); } }

.toon .at-s5 .device { animation: s5-device 4s; }
@keyframes s5-device { 0%, 8% { opacity: 0; } 12%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
.toon .at-s5 .hold-down { animation: s5-armdown 4s steps(1); }
@keyframes s5-armdown { 0%, 11% { opacity: 1; } 12%, 43% { opacity: 0; } 44%, 100% { opacity: 1; } }
.toon .at-s5 .spark { transform-origin: center; animation: s5-spark 4s ease-out; }
@keyframes s5-spark { 0%, 18% { opacity: 0; transform: scale(.3); } 23% { opacity: 1; transform: scale(1.6); } 30%, 100% { opacity: 0; transform: scale(2.2); } }
.toon .at-s5 .flash { animation: s5-flash 4s ease-out; }
@keyframes s5-flash { 0%, 22% { opacity: 0; } 25% { opacity: .95; } 36%, 100% { opacity: 0; } }
.toon .at-s5 .client .eyes { animation: s5-eyes 4s steps(1); }
@keyframes s5-eyes { 0%, 25% { opacity: 1; } 26%, 100% { opacity: 0; } }
.toon .at-s5 .client .daze { transform-origin: center; animation: s5-daze 4s; }
@keyframes s5-daze { 0%, 25% { opacity: 0; } 26%, 100% { opacity: 1; } }
.toon .at-s5 .client .m-smile { animation: s5-nosmile 4s steps(1); }
.toon .at-s5 .client .m-flat { animation: s5-flat 4s steps(1); }
@keyframes s5-nosmile { 0%, 25% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes s5-flat { 0%, 25% { opacity: 0; } 26%, 100% { opacity: 1; } }
.toon .at-s5 .agent { animation: s5-leave 4s ease-in; animation-delay: calc(var(--d) * 2); }
@keyframes s5-leave { 0%, 40% { opacity: 1; transform: translateX(0); } 80% { opacity: 1; transform: translateX(var(--dx)); } 86%, 100% { opacity: 0; transform: translateX(var(--dx)); } }
.toon .at-s5 .door { transform-origin: 100% 50%; animation: s5-door 4s ease-in; }
@keyframes s5-door { 0%, 88% { transform: scaleX(.12); } 98%, 100% { transform: scaleX(1); } }
/* ---------- Сцена 7: «Позвоните или напишите» ---------- */
.toon .at-s6 .big-phone { transform-origin: 50% 100%; animation: s6-buzz .12s linear infinite alternate; }
@keyframes s6-buzz { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.toon .at-s6 .wave1, .toon .at-s6 .wave2 { animation: s6-wave 1s ease-out infinite; }
.toon .at-s6 .wave2 { animation-delay: .5s; }
@keyframes s6-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.toon .at-s6 .chat { transform-origin: 0 100%; animation: s6-chat 3.2s ease-out; }
@keyframes s6-chat { 0%, 20% { opacity: 0; transform: scale(.3); } 32%, 100% { opacity: 1; transform: scale(1); } }
.toon .at-s6 .dot { animation: s6-dot .9s ease-in-out infinite; }
.toon .at-s6 .dot:nth-child(2) { animation-delay: .15s; }
.toon .at-s6 .dot:nth-child(3) { animation-delay: .3s; }
@keyframes s6-dot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
/* ---------- Сцена 8: звонок (экран пополам) ---------- */
.toon .thought, .toon .ring, .toon .phone-arm, .toon .lying, .toon .zzz { opacity: 0; }
.toon .chk { stroke-dasharray: 40; stroke-dashoffset: 40; }
.toon .at-s7 .thought { transform-origin: 30% 100%; animation: s7-thought 6s ease-out; }
@keyframes s7-thought { 0% { opacity: 0; transform: scale(.3); } 8%, 30% { opacity: 1; transform: scale(1); } 36%, 100% { opacity: 0; transform: scale(.6); } }
.toon .at-s7 .phone-arm { animation: s7-phone 6s; }
.toon .at-s7 .r-down { animation: s7-nodown 6s; }
@keyframes s7-phone { 0%, 32% { opacity: 0; } 34%, 100% { opacity: 1; } }
@keyframes s7-nodown { 0%, 32% { opacity: 1; } 34%, 100% { opacity: 0; } }
.toon .at-s7 .ring { animation: s7-ring 6s steps(1); }
@keyframes s7-ring { 0%, 34% { opacity: 0; } 38%, 46%, 54%, 62%, 70%, 78% { opacity: 1; } 42%, 50%, 58%, 66%, 74%, 82%, 100% { opacity: 0; } }
.toon .at-s7 .talk, .toon .at-s8 .talk { animation: s2-talk .3s steps(1) infinite; }
.toon .at-s7 .chk { animation: s7-chk 6s ease-out; }
.toon .at-s7 .chk:nth-of-type(2) { animation-name: s7-chk2; }
.toon .at-s7 .chk:nth-of-type(3) { animation-name: s7-chk3; }
.toon .at-s7 .chk:nth-of-type(4) { animation-name: s7-chk4; }
@keyframes s7-chk { 0%, 42% { stroke-dashoffset: 40; } 48%, 100% { stroke-dashoffset: 0; } }
@keyframes s7-chk2 { 0%, 52% { stroke-dashoffset: 40; } 58%, 100% { stroke-dashoffset: 0; } }
@keyframes s7-chk3 { 0%, 62% { stroke-dashoffset: 40; } 68%, 100% { stroke-dashoffset: 0; } }
@keyframes s7-chk4 { 0%, 72% { stroke-dashoffset: 40; } 78%, 100% { stroke-dashoffset: 0; } }
/* ---------- Сцена 9: вы отдыхаете — мы работаем ---------- */
.toon .at-s8 .chk { stroke-dashoffset: 0; }
.toon .at-s8 .call-client { animation: s8-walk 6.5s ease-in-out; }
@keyframes s8-walk { 0% { transform: translateX(0); opacity: 1; } 22% { transform: translateX(200px); opacity: 1; } 25%, 100% { transform: translateX(200px); opacity: 0; } }
.toon .at-s8 .lying { animation: s8-lie 6.5s; }
@keyframes s8-lie { 0%, 23% { opacity: 0; } 26%, 100% { opacity: 1; } }
.toon .at-s8 .zzz { animation: s8-zzz 2s ease-out 1.8s infinite; }
@keyframes s8-zzz { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(30px, -50px); } }
.toon .at-s8 .typing { transform-origin: 0 0; animation: s2-type .14s ease-in-out infinite alternate; }
.toon .at-s8 .typing-l { transform-origin: 100% 0; animation: s2-type .14s ease-in-out .07s infinite alternate; }
.toon .at-s8 .runner { animation: s8-run var(--t) ease-in-out var(--d) infinite alternate; }
@keyframes s8-run { from { transform: translateX(0); } to { transform: translateX(var(--dx)); } }
.toon .at-s8 .hop { animation: s8-hop .4s ease-out infinite alternate; }
@keyframes s8-hop { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.toon .at-s8 .paper { transform-origin: center; animation: s8-paper 1.2s ease-out infinite; }
.toon .at-s8 .paper:nth-child(2) { animation-delay: .4s; }
.toon .at-s8 .paper:nth-child(3) { animation-delay: .8s; }
@keyframes s8-paper { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(20px, -60px) rotate(140deg); } }
.toon .at-s8 .bang { animation: s8-bang .8s steps(1) infinite; }
.toon .at-s8 .bang:nth-child(2) { animation-delay: .4s; }
@keyframes s8-bang { 0% { opacity: 1; } 50% { opacity: 0; } }
/* ---------- Сцена 10: семья и путь груза ---------- */
.toon .at-s9 .rays { transform-origin: center; animation: spin 12s linear infinite; }
.toon .at-s9 .ball-x { animation: s9-bx 1.6s ease-in-out infinite alternate; }
.toon .at-s9 .ball-y { animation: s9-by .8s ease-out infinite alternate; }
@keyframes s9-bx { from { transform: translateX(0); } to { transform: translateX(-250px); } }
@keyframes s9-by { from { transform: translateY(0); } to { transform: translateY(-110px); } }
.toon .at-s9 .kid { animation: s8-hop .8s ease-out infinite alternate; }
.toon .at-s9 .t-box { animation: s9-box 9.5s ease-in-out; }
@keyframes s9-box { 0% { transform: translateY(-210px); } 11%, 100% { transform: translateY(0); } }
.toon .at-s9 .t-cable { animation: s9-cable 9.5s ease-in-out; }
@keyframes s9-cable { 0% { transform: translateY(-210px); } 11% { transform: translateY(0); } 15%, 100% { transform: translateY(-190px); } }
.toon .at-s9 .strip { animation: s9-strip 9.5s linear; }
@keyframes s9-strip { 0%, 15% { transform: translateX(0); } 97%, 100% { transform: translateX(-3300px); } }
.toon .wheel { transform-origin: center; }
.toon .at-s9 .wheel { animation: spin .5s linear 1.4s infinite; }
.toon .at-s9 .bump { animation: s8-hop .25s ease-in-out 1.4s infinite alternate; }
.toon .at-s9 .stamp { transform-origin: center; animation: s9-stamp 9.5s ease-out; }
@keyframes s9-stamp { 0%, 27% { opacity: 0; transform: scale(2); } 30%, 100% { opacity: 1; transform: scale(1); } }
.toon .at-s9 .flake { animation: s9-flake 1.6s linear infinite; }
.toon .at-s9 .flake:nth-child(3n) { animation-delay: .5s; }
.toon .at-s9 .flake:nth-child(3n+1) { animation-delay: 1s; }
@keyframes s9-flake { from { transform: translateY(-60px); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(120px); opacity: 0; } }
.toon .at-s9 .sea { animation: s9-sea 1.5s ease-in-out infinite alternate; }
@keyframes s9-sea { from { transform: translateX(0); } to { transform: translateX(-20px); } }
/* ---------- Сцена 11: груз на складе (фура едет вперёд и разворачивается) ---------- */
.toon .at-s10 .arrive { animation: s10-arrive 5.5s ease-out; }
@keyframes s10-arrive { 0% { transform: translateX(-1000px); } 32%, 100% { transform: translateX(0); } }
.toon .at-s10 .wheel { animation: s10-wheel 5.5s ease-out; }
@keyframes s10-wheel { 0% { transform: rotate(0); } 32%, 100% { transform: rotate(1600deg); } }
.toon .at-s10 .turn { transform-origin: center; animation: s10-turn 5.5s ease-in-out; }
@keyframes s10-turn {
  0%, 34% { transform: scaleX(1) translateY(0); }
  38% { transform: scaleX(.4) translateY(-14px); }
  40% { transform: scaleX(-.1) translateY(-18px); }
  44% { transform: scaleX(-1.08) translateY(0); }
  47%, 100% { transform: scaleX(-1) translateY(0); }
}
.toon .at-s10 .w-gate { transform-origin: 50% 0; animation: s10-gate 5.5s ease-in-out; }
@keyframes s10-gate { 0%, 44% { transform: scaleY(1); } 52%, 100% { transform: scaleY(.06); } }
.toon .unload { opacity: 0; }
.toon .at-s10 .unload { animation: s10-unload 5.5s ease-in-out; animation-delay: var(--d); }
@keyframes s10-unload { 0%, 52% { opacity: 0; transform: translateX(0); } 55% { opacity: 1; } 68% { opacity: 1; transform: translateX(200px); } 72%, 100% { opacity: 0; transform: translateX(200px); } }
.toon .at-s10 .joy { animation: s10-joy .45s ease-out 4s infinite alternate; }
@keyframes s10-joy { from { transform: translateY(0); } to { transform: translateY(-22px); } }
.toon .at-s10 .j-l, .toon .at-s11 .j-l { transform-origin: 100% 0; animation: s10-jl 5.5s ease-out; }
.toon .at-s10 .j-r, .toon .at-s11 .j-r { transform-origin: 0 0; animation: s10-jr 5.5s ease-out; }
@keyframes s10-jl { 0%, 70% { transform: rotate(0); } 76%, 100% { transform: rotate(128deg); } }
@keyframes s10-jr { 0%, 70% { transform: rotate(0); } 76%, 100% { transform: rotate(-128deg); } }
/* ---------- Сцена 12: документы ---------- */
.toon .doc-a, .toon .doc-new, .toon .bundle, .toon .doc-ok { opacity: 0; }
.toon .at-s11 .doc-a { animation: s11-doca 6s ease-in-out; }
@keyframes s11-doca { 0%, 6% { opacity: 1; transform: translate(0, 0); } 18% { transform: translate(260px, -120px); } 30% { opacity: 1; transform: translate(520px, 0); } 50% { opacity: 1; transform: translate(520px, 0); } 52%, 100% { opacity: 0; transform: translate(520px, 0); } }
.toon .at-s11 .stamp-tool { animation: s11-stamp 6s ease-in; }
@keyframes s11-stamp { 0%, 32% { transform: translateY(-40px); } 37% { transform: translateY(0); } 42%, 100% { transform: translateY(-40px); } }
.toon .at-s11 .doc-ok { animation: s11-ok 6s; }
@keyframes s11-ok { 0%, 36% { opacity: 0; } 37%, 51% { opacity: 1; } 52%, 100% { opacity: 0; } }
.toon .at-s11 .doc-new { transform-origin: 50% 100%; animation: s11-new 6s ease-out; }
@keyframes s11-new { 0%, 42% { opacity: 0; transform: scale(.3); } 47%, 51% { opacity: 1; transform: scale(1); } 52%, 100% { opacity: 0; } }
.toon .at-s11 .bundle { animation: s11-bundle 6s ease-in-out; }
@keyframes s11-bundle { 0%, 51% { opacity: 0; transform: translate(0, 0); } 52% { opacity: 1; transform: translate(0, 0); } 64% { transform: translate(270px, -120px); } 76%, 100% { opacity: 1; transform: translate(540px, 0); } }
.toon .at-s11 .joy { animation: s10-joy .45s ease-out 4.7s infinite alternate; }
.toon .at-s11 .j-l { animation-name: s11-jl; animation-duration: 6s; }
.toon .at-s11 .j-r { animation-name: s11-jr; animation-duration: 6s; }
@keyframes s11-jl { 0%, 76% { transform: rotate(0); } 80%, 100% { transform: rotate(128deg); } }
@keyframes s11-jr { 0%, 76% { transform: rotate(0); } 80%, 100% { transform: rotate(-128deg); } }
/* ---------- Сцена 13: оплата ---------- */
.toon .money, .toon .got, .toon .pressed, .toon .rest { opacity: 0; }
.toon .at-s12 .typing, .toon .at-s14 .typing { transform-origin: 0 0; animation: s2-type .3s ease-in-out infinite alternate; }
.toon .at-s12 .typing-l, .toon .at-s14 .typing-l { transform-origin: 100% 0; animation: s2-type .3s ease-in-out .15s infinite alternate; }
.toon .at-s12 .paybtn { transform-origin: center; animation: s12-btn 4.5s ease-out; }
@keyframes s12-btn { 0% { opacity: 0; transform: scale(.4); } 6%, 100% { opacity: 1; transform: scale(1); } }
.toon .at-s12 .pressed { animation: s12-press 4.5s steps(1); }
@keyframes s12-press { 0%, 13% { opacity: 0; } 14%, 22% { opacity: 1; } 23%, 100% { opacity: 0; } }
.toon .at-s12 .money { animation: s12-money 4.5s ease-in-out; }
@keyframes s12-money { 0%, 20% { opacity: 0; transform: translate(0, 0); } 23% { opacity: 1; } 38% { transform: translate(200px, -70px); } 54% { opacity: 1; transform: translate(420px, 30px); } 57%, 100% { opacity: 0; transform: translate(420px, 30px); } }
.toon .at-s12 .got { transform-origin: 0 100%; animation: s12-got 4.5s ease-out; }
@keyframes s12-got { 0%, 55% { opacity: 0; transform: scale(.4); } 62%, 100% { opacity: 1; transform: scale(1); } }
.toon .at-s12 .catch-r { transform-origin: 0 0; animation: s12-catch 4.5s ease-out; }
@keyframes s12-catch { 0%, 50% { transform: rotate(0); } 56%, 100% { transform: rotate(-70deg); } }
/* ---------- Сцена 14: немного выдохнуть ---------- */
.toon .at-s15 .work { opacity: 0; }
.toon .at-s15 .got { opacity: 1; }
.toon .at-s15 .rest { animation: s15-in 3s ease-out; }
@keyframes s15-in { 0% { opacity: 0; } 15%, 100% { opacity: 1; } }
.toon .at-s15 .steam { animation: s15-steam 1.4s ease-out infinite; }
.toon .at-s15 .steam:nth-child(2) { animation-delay: .7s; }
@keyframes s15-steam { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px); } }
.toon .at-s15 .stretch-l { transform-origin: 100% 100%; animation: s15-sl 1.2s ease-in-out infinite alternate; }
.toon .at-s15 .stretch-r { transform-origin: 0 100%; animation: s15-sr 1.2s ease-in-out infinite alternate; }
@keyframes s15-sl { from { transform: rotate(0); } to { transform: rotate(18deg); } }
@keyframes s15-sr { from { transform: rotate(0); } to { transform: rotate(-18deg); } }
.toon .at-s15 .zzz { animation: s8-zzz 1.6s ease-out .4s infinite; }
.toon .at-s15 .sip { transform-origin: 0 0; animation: s1-sip 3s ease-in-out infinite; }
/* ---------- Сцена 15: звонит новый клиент ---------- */
.toon .at-s13 .big-phone { transform-origin: 50% 100%; animation: s6-buzz .1s linear infinite alternate; }
.toon .at-s13 .wave1, .toon .at-s13 .wave2 { animation: s6-wave .8s ease-out infinite; }
.toon .at-s13 .wave2 { animation-delay: .4s; }
.toon .at-s13 .answer { transform-origin: center; animation: s13-pulse .6s ease-in-out infinite alternate; }
@keyframes s13-pulse { from { transform: scale(1); } to { transform: scale(1.15); } }
/* ---------- Сцена 16: снова за работу + кнопки ---------- */
.toon .head-b, .toon .head-c, .toon .boom, .toon .smoke, .toon .sweat { opacity: 0; }
.toon .at-s14 .head-a { opacity: 0; }
.toon .at-s14 .head-c { opacity: 1; }
.toon .at-s14 #g-team { opacity: .45; }
.toon .at-s14 .talk { animation: s2-talk .3s steps(1) infinite; }
.toon .at-s14 .walker { animation: s2-walk 6s linear infinite; }
.toon .at-s14 .walker-bob { animation: s2-bob .35s ease-in-out infinite alternate; }
.toon .at-s14 .route { stroke-dasharray: 420; animation: s2-route 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
.toon svg * { animation: none !important; }
}

/* Слоганы — теперь под мультфильмом */

.toon + .hero { min-height: 80vh; min-height: 80svh; padding-top: 72px; border-top: 1px solid var(--line); }

/* Первый экран */

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 124px var(--gutter) 28px;
}

.hero__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(28px, 5vh, 52px);
}

.phrases {
  display: grid;
  width: 100%;
}

.phrase {
  grid-area: 1 / 1;
  align-self: center;
  max-width: 15em;
  font-size: min(7.6vw, 15vh);
  visibility: hidden;
}

html:not(.js) .phrase:first-child,
.phrase.is-active,
.phrase.is-leaving { visibility: visible; }

.phrase__main {
  display: block;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.word {
  display: inline-block;
  overflow: hidden;
  margin-bottom: -.1em;
  padding-bottom: .1em;
  vertical-align: top;
}

.word > i {
  display: inline-block;
  font-style: normal;
  transform: translateY(112%);
}

.phrase.is-active .word > i {
  transform: none;
  transition: transform .9s var(--ease) calc(var(--enter, 0s) + var(--i) * 70ms);
}

.phrase.is-leaving .word > i {
  transform: translateY(-112%);
  transition: transform .36s cubic-bezier(.6, 0, .8, .2) calc(var(--i) * 15ms);
}

.phrase__sub {
  display: block;
  margin-top: .55em;
  color: var(--grey);
  font-size: max(19px, .3em);
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.js .phrase__sub {
  opacity: 0;
  transform: translateY(14px);
}

.js .phrase.is-active .phrase__sub {
  opacity: 1;
  transform: none;
  transition: opacity .7s calc(var(--enter, 0s) + .45s), transform .7s var(--ease) calc(var(--enter, 0s) + .45s);
}

.js .phrase.is-leaving .phrase__sub { transition: opacity .2s; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 32px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 17px;
  font-weight: 700;
  transition: background-color .3s, color .3s;
}

.button svg { transition: transform .35s var(--ease); }

.button:hover {
  background: transparent;
  color: var(--white);
}

.button:hover svg { transform: translateX(6px); }

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
}

.progress {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 18px;
  max-width: 620px;
}

.progress__count {
  flex: none;
  color: var(--grey);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.progress__count b {
  color: var(--white);
  font-weight: 700;
}

.progress__bars {
  display: flex;
  flex: 1;
  gap: 6px;
}

/* Кнопка высокая ради удобного нажатия, видимая полоска — 2px */
.bar {
  position: relative;
  flex: 1;
  height: 28px;
}

.bar::before,
.bar i {
  content: '';
  position: absolute;
  inset: 13px 0 auto;
  height: 2px;
  background: var(--line);
}

.bar i {
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.bar.is-done i { transform: none; }

.bar.is-active i {
  animation: fill var(--slide) linear forwards;
}

.is-paused .bar.is-active i { animation-play-state: paused; }

@keyframes fill {
  to { transform: none; }
}

.progress__pause {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
}

.progress__pause span {
  position: absolute;
  top: 16px;
  left: 17px;
  width: 10px;
  height: 12px;
  border-right: 2px solid;
  border-left: 2px solid;
}

.progress__pause[aria-pressed='true'] span {
  left: 19px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 0;
  border-bottom: 6px solid transparent;
  border-left: 10px solid;
}

.langs {
  display: flex;
  flex: none;
  gap: 14px;
  color: var(--grey);
  font-size: 13px;
  font-weight: 600;
}

.langs a { transition: color .25s; }

.langs .is-current,
.langs a:hover { color: var(--white); }

/* Китайская версия: системный шрифт с иероглифами */
html:lang(zh) body {
  font-family: 'Manrope', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

html:lang(zh) .phrase__main,
html:lang(zh) .section-title,
html:lang(zh) .principle__statement,
html:lang(zh) .menu__nav { letter-spacing: 0; }

/* Общее для блоков */

.eyebrow {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: 13em;
  font-size: clamp(34px, 6.6vw, 104px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s, transform .9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-fill] span {
  opacity: .16;
  transition: opacity .25s;
}

[data-fill] span.is-lit { opacity: 1; }

/* О компании */

.about {
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  background: var(--white);
  color: var(--black);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 140px);
  align-items: start;
  margin-top: clamp(56px, 8vw, 120px);
}

.about__lead {
  position: sticky;
  top: 120px;
  font-size: clamp(28px, 3.4vw, 54px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
}

.about__story {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}

.about__accent {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

/* Принцип */

.principle { padding: clamp(80px, 12vw, 180px) var(--gutter); }

.principle .eyebrow { color: var(--grey); }

.principle__question {
  color: var(--grey);
  font-size: clamp(19px, 1.8vw, 28px);
}

.principle__statement {
  max-width: 17em;
  margin-top: 16px;
  font-size: clamp(34px, 5.4vw, 88px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.principle__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 8vw, 120px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(17px, 1.3vw, 20px);
}

.principle__columns p:nth-child(2) { transition-delay: .1s; }
.principle__columns p:nth-child(3) { transition-delay: .2s; }

.principle__quote {
  max-width: 18em;
  margin-top: clamp(80px, 12vw, 180px);
  font-size: clamp(32px, 4.6vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

/* Команда */

.team {
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  background: var(--white);
  color: var(--black);
}

.team__group {
  margin-top: clamp(40px, 6vw, 88px);
  overflow: hidden;
}

.team__group img {
  width: 100%;
  height: auto;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(32px, 3vw, 48px) clamp(12px, 1.6vw, 24px);
  margin-top: clamp(40px, 5vw, 72px);
}

.person:nth-child(2) { transition-delay: .08s; }
.person:nth-child(3) { transition-delay: .16s; }
.person:nth-child(4) { transition-delay: .24s; }
.person:nth-child(5) { transition-delay: .32s; }

.person__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ebebeb;
}

.person__photo > div {
  position: absolute;
  inset: 0;
  transition: transform .9s var(--ease);
}

.person:hover .person__photo > div { transform: scale(1.05); }

.person__photo img {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--w);
  max-width: none;
  height: auto;
}

/* Ленты фото: чёрно-белые, при наведении цветные */

.ribbons {
  display: grid;
  gap: 6px;
  margin: clamp(64px, 8vw, 120px) calc(var(--gutter) * -1) calc(clamp(80px, 12vw, 180px) * -1);
  padding: 6px 0;
  overflow: hidden;
  background: var(--black);
}

.ribbon { overflow: hidden; }

.ribbon__track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: ribbon 70s linear infinite;
}

.ribbon--reverse .ribbon__track { animation-direction: reverse; }

.ribbon:hover .ribbon__track { animation-play-state: paused; }

.ribbon img {
  width: auto;
  height: clamp(180px, 22vw, 340px);
}

.ribbon img,
.team__group img,
.person__photo img {
  filter: grayscale(1);
  transition: filter .4s;
}

.ribbon img:hover,
.team__group img:hover,
.person:hover .person__photo img { filter: none; }

@keyframes ribbon {
  to { transform: translateX(calc(-50% - 3px)); }
}

.person h3 {
  margin: 16px 0 4px;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.person p {
  color: #666;
  font-size: 14px;
  line-height: 1.35;
}

/* Перевозчикам */

.carriers { padding: clamp(80px, 12vw, 180px) var(--gutter); }

.carriers .eyebrow { color: var(--grey); }

.carriers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 140px);
  align-items: start;
  margin-top: clamp(48px, 7vw, 104px);
}

.carriers__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #c9c9c9;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}

.carriers__lead {
  color: var(--white);
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.carriers__quote {
  max-width: 19em;
  margin-top: clamp(80px, 12vw, 180px);
  font-size: clamp(32px, 4.6vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

/* Формы */

.form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.field {
  display: block;
  width: 100%;
}

.field span {
  display: block;
  color: var(--grey);
  font-size: 14px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: none;
  color: var(--white);
  font: inherit;
  font-size: 18px;
  transition: border-color .25s;
}

.field input:focus { border-bottom-color: var(--white); }

.field input::placeholder { color: #777; }

.form__note {
  color: var(--grey);
  font-size: 13px;
  line-height: 1.4;
}

.form__status:empty { display: none; }

.form__status {
  font-size: 15px;
  font-weight: 600;
}

/* Заявка */

.order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 140px);
  align-items: start;
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  background: var(--white);
  color: var(--black);
}

.order__text {
  margin-top: 24px;
  font-size: clamp(18px, 1.5vw, 23px);
}

.order .form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px clamp(16px, 2vw, 32px);
}

.order .button,
.order .form__note,
.order .form__status { grid-column: 1 / -1; }

.order .button {
  justify-self: start;
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.order .button:hover {
  background: transparent;
  color: var(--black);
}

.order .field span,
.order .form__note { color: #666; }

.order .field input {
  border-bottom-color: #bbb;
  color: var(--black);
}

.order .field input:focus { border-bottom-color: var(--black); }

/* Контакты */

.contacts { padding: clamp(80px, 10vw, 150px) var(--gutter) 32px; }

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px clamp(24px, 4vw, 64px);
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contacts h3 {
  margin: 0 0 10px;
  color: var(--grey);
  font-size: 14px;
  font-weight: 600;
}

.contacts__grid p {
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 600;
  line-height: 1.4;
}

.contacts__grid a {
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
}

.contacts__legal {
  margin-top: clamp(56px, 7vw, 104px);
  color: var(--grey);
  font-size: 13px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--white);
}

.check a,
.form__note a,
.contacts__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order .check { grid-column: 1 / -1; }
.order .check input { accent-color: var(--black); }

.contacts__legal--link { margin-top: 10px; }

/* Низ подвала: кнопка «Документы» и ссылки на документы */
.contacts__docs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  margin-top: clamp(56px, 7vw, 104px);
  font-size: 14px;
}
.contacts__docs a:not(.button) { color: var(--grey); text-decoration: underline; text-underline-offset: 2px; }
.contacts__docs a:not(.button):hover { color: var(--white); }
.contacts__docs + .contacts__legal { margin-top: 24px; }
.button--small { min-height: 50px; padding: 0 26px; gap: 12px; font-size: 16px; }

/* Страницы документов */

.legal-back {
  font-size: 14px;
  font-weight: 600;
}

.legal {
  max-width: 880px;
  margin: 0 auto;
  padding: 130px var(--gutter) 80px;
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.6;
}

.legal h1 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.legal h2 {
  margin: 44px 0 14px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal__org { color: var(--grey); }
.legal a { text-decoration: underline; }

.legal mark {
  padding: 0 4px;
  background: var(--white);
  color: var(--black);
}

.legal__table {
  margin: 16px 0 20px;
  overflow-x: auto;
}

.legal table {
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}

.legal th,
.legal td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th { color: var(--white); }

/* Кнопка «Скачать в Word» на странице документа */
.legal .legal__download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 28px;
  padding: 12px 22px;
  border: 1px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.legal .legal__download:hover { background: var(--white); color: var(--black); }
.legal__download small { font-weight: 500; opacity: .6; }

/* Страница «Документы» */
.doclist { margin: 28px 0 8px; padding: 0; list-style: none; }
.doclist li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.doclist li:last-child { border-bottom: 1px solid var(--line); }
.doclist b { display: block; margin-bottom: 4px; font-size: 18px; }
.doclist span { color: var(--grey); font-size: 14px; }
.doclist__actions { display: flex; flex: none; gap: 8px; }
.legal .doclist__actions a {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
}
.legal .doclist__actions a:hover { border-color: var(--white); background: var(--white); color: var(--black); }
@media (max-width: 640px) { .doclist li { flex-direction: column; align-items: flex-start; } }

/* Блог: список статей и статья */

.legal h3 {
  margin: 28px 0 10px;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.legal ol { margin: 0 0 12px; padding-left: 22px; }
.legal b { color: var(--white); }

.post {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.post h2 { margin: 6px 0 10px; }
.post h2 a { text-decoration: none; }
.post h2 a:hover { text-decoration: underline; }

.article__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 12px 0 32px;
  object-fit: cover;
}

.article__cta {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--line);
}

.article__cta p { margin-bottom: 20px; color: var(--white); font-size: 18px; }
.article__cta .button { text-decoration: none; }

/* Скрытое поле-ловушка для спам-ботов */

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Планшеты и телефоны */

@media (max-width: 1180px) {
  .nav { display: none; }
  .header__contacts { margin-left: auto; }
  .burger { display: block; }
}

@media (max-width: 640px) {
  .header { gap: 12px; height: 76px; }
  .header.is-compact { height: 62px; }
  .header__logo img { height: 34px; }
  .is-compact .header__logo img { height: 28px; }
  .header__contacts { display: none; }
  .burger { margin-left: auto; margin-right: -8px; }

  .hero { padding-top: 104px; padding-bottom: 16px; }
  .toon { padding-top: 100px; }
  .toon__svg { aspect-ratio: 5 / 4; }
  .toon__bar { flex-direction: column; align-items: stretch; }
  .toon__cta .button { justify-content: center; flex: 1; }
  .toon__tools { justify-content: space-between; margin-left: 0; }
  .toon + .hero { padding-top: 56px; }
  .phrase { font-size: clamp(38px, 12.4vw, 76px); }
  .phrase__sub { font-size: 17px; }

  .button {
    justify-content: space-between;
    width: 100%;
  }

  .hero__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }

  .progress { max-width: none; }
}

@media (max-width: 860px) {
  .about__grid,
  .principle__columns { grid-template-columns: 1fr; }

  .about__lead { position: static; }

  .carriers__grid,
  .order { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }

  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .person:first-child { grid-column: 1 / -1; }
  .person:nth-child(n) { transition-delay: 0s; }
}

@media (max-width: 480px) {
  .order .form,
  .contacts__grid { grid-template-columns: 1fr; }
  .order .button { justify-self: stretch; }
}

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

  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .bar.is-active i {
    animation: none;
    transform: none;
  }

  .ribbon { overflow-x: auto; }
  .ribbon__track { animation: none; }
}
