/* Шрифты лежат на своём сервере (assets/fonts): Onest и Sofia Sans Extra Condensed, лицензия OFL. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/onest-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; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(assets/fonts/sofia-sans-extra-condensed-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: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(assets/fonts/sofia-sans-extra-condensed-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(assets/fonts/sofia-sans-extra-condensed-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: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(assets/fonts/sofia-sans-extra-condensed-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; }

/* ─────────────────────────────────────────────────────────────
   Hikrobot в России — «Эффорт Групп»
   Токены: меняйте цвета, шрифты и тайминги здесь.
   ───────────────────────────────────────────────────────────── */
:root {
  /* цвет */
  --navy: #0F2259;        /* анодированный синий корпус камеры — фон первого экрана */
  --navy-deep: #0A1840;   /* экран «монитора», подвал */
  --cobalt: #1B45C9;      /* яркий синий блок */
  --steel: #ECEFF3;       /* светлый фон, шлифованный металл */
  --paper: #FFFFFF;
  --ink: #0D1730;         /* текст на светлом */
  --ink-2: #4A556F;       /* вторичный текст на светлом */
  --red: #E3231B;         /* действие и «брак» */
  --red-dark: #BF1A13;
  --amber: #F2B544;       /* груз */
  --ok: #37D889;          /* «годен» в оверлеях зрения */
  --on-navy-2: #B9C6EA;   /* вторичный текст на синем */
  --hair: rgba(13, 23, 48, .14);
  --hair-light: rgba(255, 255, 255, .2);

  /* шрифт */
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* движение */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-move: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .18s;
  --t-base: .4s;
  --t-slow: .8s;

  --gutter: clamp(18px, 4vw, 56px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.55 var(--text);
  color: var(--ink);
  background: var(--steel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
canvas, svg { display: block; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 10px 14px; }
.skip:focus { left: 8px; }

/* ── кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 4px; cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* ── шапка ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  color: #fff;
  transition: background var(--t-base), box-shadow var(--t-base);
}
.nav.is-solid { background: rgba(10, 24, 64, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand__mark { font: 800 34px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.brand__mark::first-letter { color: var(--red); }
.brand__by { font-size: 11.5px; line-height: 1.25; color: var(--on-navy-2); padding-left: 14px; border-left: 1px solid var(--hair-light); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--t-base) var(--ease-out); }
.nav__links a:hover { background-size: 100% 1.5px; }
.nav__cta { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* ── первый экран: живой цех ── */
.hero {
  position: relative; isolation: isolate;
  min-height: max(100svh, 660px);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + clamp(16px, 5vh, 56px)) var(--gutter) 0;
  color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 90% at 68% 46%, #163079 0%, #0C1D50 38%, #070F2B 78%),
    var(--navy-deep);
}
.hero__scene, .hero__glow { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__scene { z-index: -3; }
/* свечение: уменьшенная копия сцены, размытая и наложенная осветлением */
.hero__glow { z-index: -2; filter: blur(16px) brightness(1.25); mix-blend-mode: screen; opacity: .36; pointer-events: none; }
.js .hero__scene, .js .hero__glow { animation: sceneIn 1.8s var(--ease-out) both; }
@keyframes sceneIn { from { opacity: 0; } }
.hero__scrim { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 15, 43, .92) 0%, rgba(7, 15, 43, .7) 24%, rgba(7, 15, 43, 0) 46%),
    linear-gradient(0deg, rgba(7, 15, 43, .7) 0%, rgba(7, 15, 43, 0) 26%),
    radial-gradient(130% 100% at 60% 50%, rgba(7, 15, 43, 0) 55%, rgba(4, 9, 28, .75) 100%); }
/* плёночное зерно */
.hero::after, .plate::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* уголки кадра, как в видоискателе */
.hero__frame { position: absolute; inset: calc(var(--nav-h) + 6px) calc(var(--gutter) / 2) 96px; z-index: -1; pointer-events: none; }
.hero__frame i { position: absolute; width: 20px; height: 20px; border: 0 solid rgba(255, 255, 255, .45); }
.hero__frame i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.hero__frame i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.hero__frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.hero__frame i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }

.hero__copy { max-width: 640px; margin-block: auto; padding-bottom: 28px; }
.hero__title {
  font: 800 clamp(84px, 11.4vw, 188px)/.84 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.hero__title .line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; }
.hero__title .word { display: inline-block; position: relative; }
.hero__title .word::after {
  content: ""; position: absolute; left: 0; right: .12em; bottom: .04em; height: .055em;
  background: var(--red); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 24px rgba(227, 35, 27, .8);
}
.hero__title .word.is-hit::after { animation: hit 1.1s var(--ease-out) both; }
@keyframes hit {
  0% { transform: scaleX(0); transform-origin: left; }
  45% { transform: scaleX(1); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
.hero__lead { margin-top: clamp(18px, 3vh, 30px); max-width: 30em; font-size: clamp(17px, 1.35vw, 20px); color: #DCE4F8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.4vh, 34px); }

.js .hero__title .word { transform: translateY(108%); animation: rise var(--t-slow) var(--ease-out) .25s forwards; }
.js .hero__title .line:nth-child(2) .word { animation-delay: .34s; }
.js .hero__title .line:nth-child(3) .word { animation-delay: .43s; }
.js .hero__lead, .js .hero__actions, .js .telemetry, .js .hero__frame { opacity: 0; animation: fade var(--t-slow) var(--ease-out) .7s forwards; }
.js .hero__actions { animation-delay: .8s; }
.js .telemetry { animation-delay: .95s; }
.js .hero__frame { animation-delay: 1.2s; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* показатели симуляции: стеклянная полоса */
.telemetry {
  display: grid; grid-template-columns: repeat(4, auto) minmax(0, 1fr); gap: 0 clamp(20px, 3.4vw, 56px);
  margin-inline: calc(-1 * var(--gutter)); padding: 16px var(--gutter) 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: rgba(8, 18, 52, .5); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.telemetry dt { font-size: 12.5px; color: var(--on-navy-2); }
.telemetry dd { font: 700 34px/1.05 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.telemetry__note { justify-self: end; text-align: right; max-width: 24em; }
.telemetry__note dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.telemetry__note dd { font: 400 12.5px/1.4 var(--text); color: var(--on-navy-2); padding-top: 4px; }

/* ── полноэкранный кадр в начале раздела ── */
.plate { position: relative; isolation: isolate; height: clamp(340px, 74vh, 780px); overflow: hidden; margin: 0 0 clamp(36px, 5vw, 72px); background: var(--navy-deep);
  --open: 1; --shift: 0; clip-path: inset(calc((1 - var(--open)) * 9%) calc((1 - var(--open)) * 6%) 0 round calc((1 - var(--open)) * 14px)); }
.plate img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; z-index: -3; transform: translate3d(0, calc(var(--shift) * 1%), 0) scale(calc(1.08 - var(--open) * .08)); will-change: transform; }
.plate::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(6, 14, 40, .85) 0%, rgba(6, 14, 40, 0) 55%); }
.plate figcaption { position: absolute; left: 0; right: 0; bottom: clamp(22px, 4vw, 56px); color: #fff; }
.plate--light::before { background: linear-gradient(0deg, rgba(255, 255, 255, 1) 2%, rgba(255, 255, 255, 0) 52%); }
.plate--light::after { display: none; }
.plate--light figcaption { color: var(--ink); }
.plate--path { margin-bottom: 0; }
.chapter__lead { margin-bottom: clamp(32px, 5vw, 64px); font-size: clamp(18px, 1.5vw, 22px); max-width: 38em; }

/* ── общая шапка секции ── */
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 6vw, 72px); }
.h2 { font: 800 clamp(54px, 7.4vw, 116px)/.88 var(--display); text-transform: uppercase; }
.h2 .line { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .14em; margin-top: -.14em; }
.h2 .line > span { display: inline-block; }
.js .reveal .line > span { transform: translateY(108%); transition: transform var(--t-slow) var(--ease-out); }
.js .reveal .line:nth-child(2) > span { transition-delay: .08s; }
.js .reveal.is-in .line > span { transform: none; }
.head__lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); max-width: 34em; }

section { padding-block: clamp(72px, 10vw, 148px); }

/* ── машинное зрение ── */
.vision { background: var(--steel); padding-top: 0; }
.vm { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.vm__stage { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--navy-deep); border-radius: 6px; overflow: hidden; color: #fff; }
.vm__stage canvas { width: 100%; aspect-ratio: 4 / 3; }
.vm__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 13.5px; color: var(--on-navy-2); border-top: 1px solid rgba(255, 255, 255, .12); }
.vm__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s steps(2, jump-none) infinite; flex: none; }
@keyframes blink { 50% { opacity: .25; } }

.vm__item {
  display: grid; grid-template-rows: auto 0fr; width: 100%; text-align: left;
  padding: 18px 0 18px 22px; background: none; border: 0; border-top: 1px solid var(--hair); cursor: pointer; position: relative;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}
.vm__item:last-child { border-bottom: 1px solid var(--hair); }
.vm__item::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: calc(clamp(34px, 3.4vw, 50px) * .92); background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform var(--t-base) var(--ease-out); }
.vm__item.is-active::before { transform: scaleY(1); }
.vm__name { font: 700 clamp(34px, 3.4vw, 50px)/.95 var(--display); text-transform: uppercase; color: #8791A8; transition: color var(--t-fast); }
.vm__item:hover .vm__name { color: var(--ink); }
.vm__item.is-active { grid-template-rows: auto 1fr; cursor: default; }
.vm__item.is-active .vm__name { color: var(--ink); }
.vm__text { overflow: hidden; min-height: 0; color: var(--ink-2); font-size: 16px; opacity: 0; transition: opacity var(--t-base); }
.vm__item.is-active .vm__text { opacity: 1; padding-top: 10px; }
.vision__also { margin-top: clamp(28px, 4vw, 48px); color: var(--ink-2); max-width: 46em; }

/* ── роботы ── */
.robots { background: var(--paper); padding-top: 0; }
.fleet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.bot { padding: 28px clamp(16px, 2vw, 30px) 34px; }
.bot + .bot { border-left: 1px solid var(--hair); }
.bot svg { width: 100%; height: auto; margin-bottom: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.bot svg .floor { stroke: var(--hair); }
.bot svg .body { fill: var(--steel); }
.bot svg .cargo { fill: var(--amber); }
.bot svg .lamp { fill: var(--red); stroke: none; }
.bot h3 { font: 800 clamp(48px, 5vw, 72px)/.9 var(--display); }
.bot__kind { font-weight: 600; margin: 6px 0 8px; }
.bot p:last-child { color: var(--ink-2); font-size: 15.5px; }

.bot svg .lift, .bot svg .forks, .bot svg .slide, .bot svg .picker { animation: 3s var(--ease-move) infinite alternate paused; }
.fleet.is-live svg .lift, .fleet.is-live svg .forks, .fleet.is-live svg .slide, .fleet.is-live svg .picker, .fleet.is-live svg .rollers circle, .fleet.is-live svg .lamp { animation-play-state: running; }
.bot--lmr .lift { animation-name: lmr; }
.bot--fmr .forks { animation-name: fmr; animation-duration: 3.6s; }
.bot--cmr .slide { animation-name: cmr; animation-duration: 2.6s; }
.bot--ctu .picker { animation-name: ctu; animation-duration: 3.2s; }
.bot svg .rollers circle { stroke-dasharray: 5 2.85; animation: roll 1.3s linear infinite alternate paused; }
.bot svg .lamp { animation: blink 1.2s steps(2, jump-none) infinite paused; }
@keyframes lmr { 0%, 22% { transform: none; } 78%, 100% { transform: translateY(-9px); } }
@keyframes fmr { 0%, 14% { transform: none; } 86%, 100% { transform: translateY(-70px); } }
@keyframes cmr { 0%, 10% { transform: translateX(-34px); } 90%, 100% { transform: translateX(34px); } }
@keyframes ctu { 0%, 12% { transform: none; } 88%, 100% { transform: translateY(80px); } }
@keyframes roll { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 31.4; } }

.soft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 20px clamp(24px, 5vw, 80px); margin-top: clamp(36px, 5vw, 64px); }
.soft__lead { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; max-width: 16em; }
.soft__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(18px, 3vw, 44px); }
.soft__list dt { font: 700 30px/1 var(--display); padding-bottom: 8px; margin-bottom: 10px; border-bottom: 2px solid var(--ink); }
.soft__list dd { color: var(--ink-2); font-size: 15.5px; }

/* ── отрасли ── */
.industries { background: var(--cobalt); color: #fff; }
.industries .head { margin-bottom: clamp(24px, 4vw, 48px); }
.ind li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 6px clamp(24px, 5vw, 80px); align-items: baseline; padding: clamp(14px, 1.8vw, 24px) 0; border-top: 1px solid rgba(255, 255, 255, .28); }
.ind li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .28); }
.ind__name { font: 700 clamp(36px, 4.6vw, 68px)/.95 var(--display); text-transform: uppercase; transition: transform var(--t-base) var(--ease-out); }
.ind li:hover .ind__name { transform: translateX(14px); }
.ind__what { color: #DCE5FF; max-width: 34em; }
.ind__img { display: none; }
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(260px, 26vw, 400px); aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; border-radius: 6px;
  opacity: 0; transition: opacity var(--t-base), clip-path var(--t-slow) var(--ease-out); clip-path: inset(50% 0 50% 0 round 6px); box-shadow: 0 30px 80px rgba(4, 10, 34, .55); will-change: transform; }
.peek.is-on { opacity: 1; clip-path: inset(0 round 6px); }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s linear, transform 1.2s var(--ease-out); transform: scale(1.12); }
.peek img.is-on { opacity: 1; transform: none; }

/* ── путь бренда ── */
.path { background: var(--navy-deep); color: #fff; padding-block: 0; }
.path .head__lead { color: var(--on-navy-2); }
.path__top .head__lead { font-size: clamp(18px, 1.5vw, 22px); max-width: 38em; }
.path__sticky { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: clamp(28px, 5vh, 56px); overflow: hidden; }
.path__viewport { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.path__track { display: flex; width: max-content; padding-inline: var(--gutter); }
.path__track li { width: clamp(250px, 26vw, 380px); padding: 18px clamp(18px, 2.4vw, 36px) 8px 0; margin-right: clamp(18px, 2.4vw, 36px); border-top: 2px solid rgba(255, 255, 255, .28); scroll-snap-align: start; position: relative; }
.path__track li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; background: var(--red); }
.yr { display: block; font: 800 clamp(88px, 10vw, 156px)/.86 var(--display); font-variant-numeric: tabular-nums; }
.path__track p { margin-top: 12px; color: #DCE4F8; font-size: 16px; }
.path__meter { height: 2px; background: rgba(255, 255, 255, .16); display: none; }
.path__meter span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .path { height: 300vh; }
  .js .path__sticky { position: sticky; top: 0; height: 100vh; justify-content: center; padding-block: calc(var(--nav-h) + 16px) 32px; }
  .js .path__viewport { overflow: visible; }
  .js .path__track { will-change: transform; }
  .js .path__meter { display: block; }
}

/* ── цифры ── */
.facts { background: var(--steel); padding-block: clamp(56px, 8vw, 110px); }
.facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(18px, 3vw, 48px); }
.facts__list > div { display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 14px; }
.facts__list dd { font: 800 clamp(58px, 7vw, 108px)/.9 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts__list dt { margin-top: 8px; color: var(--ink-2); }
.facts__src { margin-top: 22px; font-size: 13.5px; color: var(--ink-2); }

/* ── поставка и заявка ── */
.supply { background: var(--paper); }
.supply__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.supply .head__lead { margin-top: 22px; }
.perks { margin-top: clamp(28px, 4vw, 48px); }
.perks li { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--hair); }
.perks li:last-child { border-bottom: 1px solid var(--hair); }
.perks strong { font-weight: 600; }
.perks span { color: var(--ink-2); }

.req { background: var(--navy); color: #fff; border-radius: 6px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.req__title { font: 800 clamp(44px, 4.4vw, 64px)/.9 var(--display); text-transform: uppercase; }
.req__hint { color: var(--on-navy-2); font-size: 15.5px; margin-top: -8px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--on-navy-2); }
.field input, .field textarea {
  font: 400 17px/1.4 var(--text); color: #fff; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; padding: 12px 14px; width: 100%; resize: vertical;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .45); }
.field input:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .12); }
.field textarea::placeholder { color: rgba(185, 198, 234, .7); }
.field.is-bad input { border-color: #FF8D86; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 14px; color: var(--on-navy-2); padding: 0 0 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; font-size: 15px; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.chips input:checked + span { background: #fff; color: var(--navy); border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }
.req__send { width: 100%; min-height: 54px; font-size: 17px; }
.req__status { min-height: 1.4em; font-size: 15px; color: #FFD9A0; }
.req__alt { font-size: 14.5px; color: var(--on-navy-2); }
.req__alt a { color: #fff; }

/* ── подвал ── */
.foot { background: var(--navy-deep); color: var(--on-navy-2); padding-block: 48px 32px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot__brand { font: 800 40px/1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.foot__brand span { color: var(--on-navy-2); }
.foot nav { display: grid; gap: 6px; justify-items: start; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; max-width: none; }

/* ── адаптив ── */
@media (max-width: 1080px) {
  .fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bot:nth-child(3) { border-left: 0; }
  .bot:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .soft { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .head, .vm, .supply__grid { grid-template-columns: 1fr; }
  .vm__stage { position: static; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 20px); }
  .hero__scene, .hero__glow { position: relative; inset: auto; order: 2; height: clamp(330px, 98vw, 600px); margin-inline: calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); z-index: 0; }
  .hero__glow { position: absolute; left: 0; bottom: 0; top: auto; margin: 0; width: 100%; display: none; }
  .hero__scrim, .hero__frame { display: none; }
  .hero__copy { margin-block: 0; padding-bottom: 0; }
  .telemetry { order: 3; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
  .telemetry__note { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .plate { height: clamp(260px, 62vw, 460px); }
  .ind li { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
  .ind__img { display: block; grid-row: 1 / span 2; width: 96px; height: 72px; object-fit: cover; border-radius: 4px; }
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li { grid-template-columns: 1fr; }
  .soft__list { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .brand__by { display: none; }
  .fleet { grid-template-columns: 1fr; }
  .bot + .bot { border-left: 0; border-top: 1px solid var(--hair); }
  .bot svg { max-width: 300px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ── меньше движения ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal .line > span, .js .hero__title .word { transform: none; }
  .plate { clip-path: none; } .plate img { transform: none; }
  .bot svg .lift, .bot svg .forks, .bot svg .slide, .bot svg .picker, .bot svg .rollers circle, .bot svg .lamp, .vm__rec { animation: none !important; }
}

/* ─────────────────────────────────────────────────────────────
   Внутренние страницы, мобильное меню, согласие в форме
   ───────────────────────────────────────────────────────────── */
.btn--ink { border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: #fff; }
.vision__more { margin-top: clamp(24px, 3vw, 40px); }

.plate--hero { height: clamp(380px, 70vh, 760px); }
/* сверху затемнение под шапку, чтобы меню читалось на любом кадре */
.plate--hero::before { background: linear-gradient(180deg, rgba(6, 14, 40, .78) 0%, rgba(6, 14, 40, 0) 26%), linear-gradient(0deg, rgba(6, 14, 40, .88) 0%, rgba(6, 14, 40, 0) 58%); }
.plate--light.plate--hero::before { background: linear-gradient(180deg, rgba(6, 14, 40, .78) 0%, rgba(6, 14, 40, 0) 24%), linear-gradient(0deg, rgba(255, 255, 255, 1) 2%, rgba(255, 255, 255, 0) 52%); }
.vision--page, .robots--page { padding-top: 0; }

.group { margin-top: clamp(56px, 8vw, 112px); }
.group__title { font: 800 clamp(42px, 4.8vw, 72px)/.92 var(--display); text-transform: uppercase; margin-bottom: clamp(16px, 2vw, 28px); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 6px clamp(24px, 5vw, 80px); align-items: baseline; padding: 20px 0; border-top: 1px solid var(--hair); }
.rows li:last-child { border-bottom: 1px solid var(--hair); }
.rows__name { font: 700 clamp(26px, 2.5vw, 36px)/1 var(--display); text-transform: uppercase; }
.rows__en { display: block; margin-top: 6px; font: 400 13.5px/1.3 var(--text); text-transform: none; color: var(--ink-2); }
.rows__what { color: var(--ink-2); max-width: 40em; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px clamp(24px, 5vw, 80px); padding-top: 20px; border-top: 1px solid var(--hair); }
.split__lead { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; max-width: 24em; }
.ticks li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--hair); color: var(--ink-2); }
.ticks li:first-child { border-top: 1px solid var(--hair); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 4px; font-weight: 500; }

.facts__list--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.robots--page .facts__src { margin-bottom: clamp(36px, 5vw, 64px); }

.fleet--list { display: block; border-bottom: 1px solid var(--hair); }
.fam { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: start; padding: clamp(28px, 4vw, 52px) 0; }
.fam + .fam { border-top: 1px solid var(--hair); }
.fam .fam__pic { padding: 0; border: 0; }
.fam .fam__pic svg { margin: 0; }
.fam h3 { font: 800 clamp(52px, 5.6vw, 84px)/.88 var(--display); }
.fam__en { font-size: 14px; color: var(--ink-2); margin: 8px 0 14px; }
.fam__lead { font-size: 17.5px; max-width: 30em; }
.fam__note { margin-top: 14px; padding: 12px 14px; background: var(--steel); border-radius: 4px; font-size: 15px; color: var(--ink-2); max-width: 32em; }
.fam__label { margin: 18px 0 8px; font-size: 14px; color: var(--ink-2); }
.models { display: flex; flex-wrap: wrap; gap: 6px; }
.models li { padding: 5px 10px; border: 1px solid var(--hair); border-radius: 4px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; background: var(--paper); }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); }
.cases li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--hair); }
.cases strong { font: 700 30px/1 var(--display); }
.cases span { color: var(--ink-2); }
.cases + .facts__src { margin-top: 16px; }

.pagehead { background: var(--navy); color: #fff; padding-block: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) clamp(48px, 7vw, 96px); }
.pagehead .head__lead { color: var(--on-navy-2); margin-top: 20px; }
.pagehead--tall { min-height: 78vh; display: flex; align-items: center; }
.pagehead__big { display: flex; flex-wrap: wrap; gap: 6px clamp(24px, 5vw, 64px); margin-top: clamp(28px, 4vw, 48px); }
.pagehead__big a { font: 700 clamp(40px, 5.4vw, 80px)/1 var(--display); color: #fff; text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size var(--t-base) var(--ease-out); }
.pagehead__big a:hover { background-size: 100% 3px; }
.pagehead__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.offices { background: var(--steel); }
.offices__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.offices__list li { padding: 22px 0 26px; border-top: 2px solid var(--ink); display: grid; gap: 8px; align-content: start; }
.offices__list h2 { font: 700 30px/1 var(--display); text-transform: uppercase; }
.offices__list a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.offices__note { color: var(--ink-2); font-size: 15px; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--on-navy-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.consent a { color: #fff; }
.consent.is-bad span { color: #FFB3AD; }

/* мобильное меню */
.nav.is-open { background: var(--navy-deep); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.nav__burger { display: none; position: relative; z-index: 2; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform var(--t-base) var(--ease-out), top var(--t-base) var(--ease-out); }
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav { gap: 10px; }
  .nav__burger { display: block; }
  .brand, .nav__cta { position: relative; z-index: 2; }
  .nav__links {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    position: fixed; inset: 0; z-index: 1; padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
    background: var(--navy-deep); opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--t-base), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base);
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links a { font: 800 clamp(40px, 11vw, 72px)/1.05 var(--display); text-transform: uppercase; padding: 6px 0; background: none; }
  .fam { grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); }
  .fam > :last-child { grid-column: 1 / -1; }
  .offices__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .rows li, .split { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .facts__list--inline { grid-template-columns: 1fr; }
  .fam { grid-template-columns: 1fr; }
  .fam .fam__pic svg { max-width: 280px; }
}
@media (max-width: 520px) {
  .offices__list { grid-template-columns: 1fr; }
  .nav__cta { padding: 0 12px; font-size: 14px; }
}

/* объёмные сцены роботов */
.bot__cv { display: block; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 20px; border-radius: 6px;
  background: radial-gradient(120% 100% at 50% 48%, #1B3A8C 0%, #0D2058 44%, #070F2B 100%); }
.fam .fam__pic .bot__cv { margin: 0; }
/* поле-ловушка для роботов: людям не видно */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req__send:disabled { opacity: .7; cursor: progress; }

/* демо машинного зрения на телефоне: установка сверху, экран камеры под ней */
@media (max-width: 560px) { .vm__stage canvas { aspect-ratio: 4 / 5; } }

/* плавная смена страниц там, где браузер это умеет; без движения — обычный переход */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* уведомление о cookie: появляется вместе со счётчиком Метрики */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; max-width: 760px; margin-inline: auto;
  padding: 16px 18px; background: rgba(10, 24, 64, .96); color: #fff; border-radius: 6px; box-shadow: 0 18px 50px rgba(4, 10, 34, .45); font-size: 14.5px; }
.cookie p { flex: 1 1 320px; color: #DCE4F8; }
.cookie a { color: #fff; }
.cookie .btn { min-height: 40px; flex: none; }
