/* aigets — «ИИ в каждом подразделении предприятия». Коммерческое предложение, v2 (ключевые визуалы).
   Холст слайда 1920×1080, масштабируется под окно. Печать — A3 альбомный: слайд в рамке листа + пояснение под ним.
   Оформление — фон и палитра сайта aigets.online (графит, вуаль «ртуть на фольге», зелёный акцент #76c447):
   живой canvas за слайдами (assets/veil.js), статичный кадр img/veil-dark.png для печати и fallback.
   Штамп листа и моно-метки — навигация дека. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-cyrillic-wght-normal.woff2?v=3a5ed4d1") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin-wght-normal.woff2?v=8616dc35") format("woff2"); font-weight: 200 900; font-display: swap; 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: "Onest"; src: url("../fonts/onest-cyrillic-wght-normal.woff2?v=fe2bd26a") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-wght-normal.woff2?v=3db826ed") format("woff2"); font-weight: 100 900; font-display: swap; 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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #141416;                    /* графит сайта */
  --surface: rgba(255, 255, 255, .045);  /* стекло плиток */
  --pane: rgba(22, 22, 25, .62);    /* вуаль панелей */
  --pane-solid: #1d1d21;
  --ink: #ececea;                   /* основной текст */
  --ink-2: #cfd0d4;                 /* вторичный текст */
  --muted: #9a9ba1;                 /* подписи */
  --line: rgba(236, 236, 234, .09);
  --line-strong: rgba(236, 236, 234, .18);
  --accent: #76c447;                /* фирменный зелёный */
  --accent-bright: #8fd35c;
  --accent-soft: rgba(118, 196, 71, .14);
  --signal: #f0b829;                /* золото кольца */
  --signal-soft: rgba(240, 184, 41, .14);
  --ok: #8fd35c;
  --ok-soft: rgba(143, 211, 92, .14);
  --off: #9a9ba1;
  --off-soft: rgba(154, 155, 161, .12);
  --magenta: #db3380;               /* малиновый кольца */
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --veil-still: url("../img/veil-dark.png?v=4655f514");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #0e0e10; color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; }

/* ---------- живой фон сайта ---------- */
#veil { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; opacity: 0; transition: opacity .8s ease; }
#veil.on { opacity: 1; }

/* ---------- просмотрщик ---------- */
.viewport { position: fixed; inset: 0; overflow: hidden; z-index: 1; }
.deck { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: center center; transform: translate(-50%, -50%) scale(.5); }
.slide {
  position: absolute; inset: 0; width: 1920px; height: 1080px; overflow: hidden;
  background-color: var(--bg);
  background-image: var(--veil-still);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 104px 120px 150px;
  display: flex; flex-direction: column; gap: 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s;
}
html.veil-on .slide { background-image: none; background-color: transparent; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; z-index: 2; }

.hud { position: fixed; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(236,236,234,.08); z-index: 10; }
.hud i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px rgba(118,196,71,.5); transition: width .3s ease; }
.ctrl { position: fixed; right: 18px; bottom: 16px; z-index: 12; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(10, 12, 11, .78); border: 1px solid var(--line-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: opacity .35s, transform .35s; font-family: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
body.idle .ctrl { opacity: 0; transform: translateY(8px); pointer-events: none; }
.ctrl button { appearance: none; border: 0; background: transparent; color: var(--ink); width: 40px; height: 36px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; font: 600 13px/1 var(--text); }
.ctrl button:hover { background: var(--accent-soft); color: var(--accent-bright); }
.ctrl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ctrl button svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctrl .num-ctl { min-width: 64px; text-align: center; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ctrl .pdf { width: auto; padding: 0 10px; color: var(--accent-bright); }
body.idle { cursor: none; }
.mhead { display: none; }
.nav-hit { position: fixed; top: 0; bottom: 0; width: 6%; z-index: 5; cursor: pointer; }
.nav-hit.prev { left: 0; } .nav-hit.next { right: 0; }

.sheet-a3, .slot { display: contents; }

/* ---------- типографика ---------- */
.eyebrow { font: 500 22px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.h1 { font-family: var(--display); font-weight: 600; font-size: 88px; line-height: 1.05; letter-spacing: -0.02em; max-width: 1400px; color: #fff; }
.h2 { font-family: var(--display); font-weight: 600; font-size: 58px; line-height: 1.12; letter-spacing: -0.02em; max-width: 1600px; color: #fff; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1.22; color: var(--ink); }
.lead { font-size: 34px; line-height: 1.42; color: var(--ink-2); max-width: 1240px; }
.p { font-size: 27px; line-height: 1.45; color: var(--ink-2); }
.p b, .lead b { color: var(--ink); font-weight: 600; }
.small { font-size: 23px; line-height: 1.4; color: var(--muted); }
.num { font-family: var(--display); font-weight: 600; color: var(--accent-bright); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.accent { color: var(--accent-bright); }
.signal { color: var(--signal); }

/* ---------- штамп (основная надпись) ---------- */
.stamp {
  position: absolute; z-index: 5; right: 120px; bottom: 44px; height: 72px; display: grid;
  grid-template-columns: 190px 270px 96px 96px; border: 1px solid var(--line-strong); border-radius: 18px;
  background: rgba(10, 12, 11, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden;
}
.stamp > div { border-left: 1px solid var(--line); padding: 8px 14px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.stamp > div:first-child { border-left: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.stamp img { width: 40px; height: 40px; }
.stamp .brand { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--ink); }
.stamp .k { font: 500 15px/1 var(--mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.stamp .v { font-size: 22px; color: var(--ink); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-note { position: absolute; z-index: 3; left: 120px; bottom: 50px; max-width: 1000px; font-size: 22px; line-height: 1.35; color: var(--muted); }

/* ---------- метки зрелости и честности ---------- */
.badge { display: inline-flex; width: fit-content; align-self: flex-start; align-items: center; gap: 10px; font: 600 21px/1 var(--text); padding: 8px 14px 8px 12px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.badge.today { color: var(--ok); background: var(--ok-soft); }
.badge.pilot { color: var(--signal); background: var(--signal-soft); }
.badge.scale { color: var(--off); background: var(--off-soft); }
.badge.est { color: var(--muted); background: transparent; border: 1.5px dashed var(--line-strong); font-weight: 500; }
.badge.est::before { background: transparent; border: 2px solid currentColor; }

/* ---------- общие блоки ---------- */
.row { display: flex; gap: 40px; }
.col { display: flex; flex-direction: column; gap: 24px; }
.grow { flex: 1; }
.cells { display: grid; gap: 18px; }
.cells > * { border: 1px solid var(--line); border-radius: 22px; padding: 30px 34px; background: var(--surface);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.cells .h3 { margin-bottom: 12px; }
.frame { position: relative; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 14, 13, .72); overflow: hidden; }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame .tick { position: absolute; width: 22px; height: 22px; border-color: var(--accent); border-style: solid; border-width: 0; }
.frame .tick.tl { left: 10px; top: 10px; border-left-width: 2px; border-top-width: 2px; }
.frame .tick.br { right: 10px; bottom: 10px; border-right-width: 2px; border-bottom-width: 2px; }
.img-missing { display: grid; place-items: center; color: var(--muted); font-size: 22px; background:
  repeating-linear-gradient(45deg, rgba(236,236,234,.04) 0 14px, transparent 14px 28px), var(--pane-solid); }
.caption { font-size: 22px; color: var(--muted); }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.note .lbl { font: 600 19px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.note.key { background: var(--accent-soft); border-color: rgba(118,196,71,.35); }
.note.key .lbl { color: var(--accent-bright); }
.note.warn { background: var(--signal-soft); border-color: rgba(240,184,41,.35); }
.note.warn .lbl { color: var(--signal); }

.list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.list li { font-size: 26px; line-height: 1.4; color: var(--ink-2); padding-left: 30px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 2.5px; background: var(--accent); }
.list li b { color: var(--ink); font-weight: 600; }

/* ---------- таблицы ---------- */
.tbl { border: 1px solid var(--line); border-radius: 16px; background: var(--pane); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; }
table.t { border-collapse: collapse; width: 100%; font-size: 24px; }
table.t th { text-align: left; font: 600 18px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.05); padding: 13px 22px; border-bottom: 1px solid var(--line-strong); }
table.t td { padding: 12px 22px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.33; }
table.t tr:last-child td { border-bottom: 0; }
table.t td b { color: var(--ink); font-weight: 600; }
table.t td .sub { display: block; font-size: 21px; color: var(--muted); margin-top: 6px; }
table.t td .sub .badge { font-size: 17px; padding: 5px 9px 5px 8px; gap: 7px; }
table.t td .sub .badge::before { width: 8px; height: 8px; }
table.t .eff { color: var(--accent-bright); font-weight: 600; }

/* =====================================================================
   v2 · «цифровая нервная система предприятия»: ключевые визуалы + подписи HTML.
   Картинки (img/kv/*.jpg) — без текста; все слова на слайде — живой текст, его можно править.
   Геометрия подписей привязана к координатам объектов на картинках (исходник 1536×864).
   ===================================================================== */

/* ---------- шапка слайда ---------- */
.hd { position: absolute; left: 120px; top: 62px; right: 120px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.hd .eyebrow { font-size: 20px; color: var(--accent-bright); }
.hd .lead { font-size: 26px; line-height: 1.38; margin-top: 4px; max-width: 1180px; }
.hd .h2 b { color: var(--accent-bright); font-weight: 600; }

/* ---------- ключевой визуал: тёмные края картинки растворяются в вуали ---------- */
.kv { position: absolute; overflow: hidden; z-index: 1;
  --fx: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); --fy: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: var(--m, var(--fx), var(--fy)); mask-image: var(--m, var(--fx), var(--fy)); -webkit-mask-composite: source-in; mask-composite: intersect; }
.kv img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* кадрирование — только object-position: картинка не выходит за рамку .kv (иначе Chrome ужимает печать A3) */
.kv.img-missing { -webkit-mask-image: none; mask-image: none; border: 1px dashed var(--line-strong); border-radius: 18px; }
.slide.is-active .kv img { animation: kvDrift 14s ease-out both; }
@keyframes kvDrift { from { transform: scale(1.045); } to { transform: scale(1); } }

/* ---------- появление элементов ---------- */
.slide.is-active .rv { animation: rise .75s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms + 180ms); }
/* translate/scale — отдельные свойства: складываются с transform центровки (метки, узлы цикла), а не затирают его */
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.slide.is-active .pin.rv, .slide.is-active .hot.rv { animation-name: pinIn; }
@keyframes pinIn { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
html.still .rv, html.still .kv img { animation: none !important; }

/* ---------- метка на картинке ---------- */
.pin { position: absolute; transform: translate(-50%, -50%); z-index: 4; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 600 20px/1.2 var(--text); color: var(--ink); padding: 9px 16px 9px 13px; border-radius: 999px;
  background: rgba(10, 12, 11, .8); border: 1px solid rgba(118,196,71,.45); box-shadow: 0 8px 26px rgba(0,0,0,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pin::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.pin.gold { border-color: rgba(240,184,41,.5); } .pin.gold::before { background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.pin.mag { border-color: rgba(219,51,128,.55); } .pin.mag::before { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.pin small { font-weight: 400; color: var(--ink-2); font-size: 18px; }
/* .ra — метка у правого края: якорь right, сдвиг только по вертикали (рамка не выходит за 1920 до transform) */
.pin.ra { transform: translateY(-50%); }
.pin.big { font: 600 24px/1.2 var(--display); padding: 12px 22px 12px 16px; }

/* ---------- стеклянная карточка ---------- */
.glass { background: rgba(18, 19, 21, .66); border: 1px solid var(--line-strong); border-radius: 22px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,0,0,.42); }
.tag { font: 600 17px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tag.g { color: var(--accent-bright); } .tag.y { color: var(--signal); }
.eff { color: var(--accent-bright); font-weight: 600; }
.est { font-size: .78em; font-weight: 400; color: var(--muted); white-space: nowrap; }

/* ================= 1. обложка ================= */
#s-cover { padding: 0; }
#s-cover .kv { inset: 0; --m: linear-gradient(90deg, transparent 6%, rgba(0,0,0,.55) 30%, #000 50%); }
#s-cover .kv img { --pos: 50% 50%; }
#s-cover .inner { position: absolute; left: 120px; top: 92px; bottom: 120px; width: 860px; z-index: 3; display: flex; flex-direction: column; }
#s-cover .logo { display: flex; align-items: center; gap: 20px; font-family: var(--display); font-weight: 600; font-size: 42px; color: #fff; }
#s-cover .logo img { width: 78px; height: 78px; }
#s-cover .eyebrow { margin-top: auto; font-size: 21px; }
#s-cover .h1 { font-size: 78px; line-height: 1.04; margin-top: 18px; }
#s-cover .slogan { margin-top: 26px; font: 600 36px/1.25 var(--display); color: var(--accent-bright); text-shadow: 0 0 34px rgba(118,196,71,.35); }
#s-cover .lead { margin-top: 26px; font-size: 27px; max-width: 760px; }
#s-cover .chips { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.chip { font: 500 20px/1 var(--mono); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(10,12,11,.6); color: var(--ink); white-space: nowrap; }
.chip.g { border-color: rgba(118,196,71,.5); color: var(--accent-bright); }
.chip-to { color: var(--muted); align-self: center; font-size: 22px; }

/* ================= 2. агент ================= */
#s-agent .facts4 { position: absolute; right: 120px; top: 62px; width: 560px; padding: 20px 24px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; z-index: 3; }
#s-agent .facts4 .tag { grid-column: 1 / -1; }
#s-agent .facts4 .n { font: 600 40px/1.05 var(--display); color: var(--accent-bright); font-variant-numeric: tabular-nums; }
#s-agent .facts4 .d { display: block; font-size: 18px; line-height: 1.3; color: var(--ink-2); margin-top: 4px; }
#s-agent .hd { right: 760px; }
#s-agent .kv { left: 120px; top: 318px; width: 1680px; height: 330px; --m: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
#s-agent .kv img { --pos: 50% 48%; }
/* обёртки подписей — абсолютные на весь слайд; дети центрируются margin-left, не transform:
   Chrome при печати A3 учитывает рамку элемента ДО сдвига, и рамка за 1920 px ужимает весь PDF */
.chain5, .miles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.chain5 > *, .miles > * { pointer-events: auto; }
.chain5 .st { position: absolute; top: 664px; width: 290px; margin-left: -145px; display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; z-index: 3; }
.chain5 .st .h3 { font-size: 27px; }
.chain5 .st .p { font-size: 21px; line-height: 1.38; }
.chain5 .st.slide-x { --x: 0; }
#s-agent .rule { position: absolute; left: 120px; right: 120px; top: 896px; height: 0; }

/* ================= 3. цифровой двойник ================= */
#s-twin .kv { left: 90px; top: 220px; width: 1180px; height: 664px; --fx: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); --fy: linear-gradient(180deg, transparent 0, #000 3%, #000 92%, transparent 100%); }
#s-twin .kv img { --pos: 50% 50%; }
.hot { position: absolute; transform: translate(-50%, -50%); z-index: 4; appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 600 20px/1.2 var(--text); color: var(--ink); padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(10, 12, 11, .82); border: 1.5px solid rgba(236,236,234,.22); box-shadow: 0 8px 26px rgba(0,0,0,.5); transition: border-color .2s, background .2s, color .2s; }
.hot i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(118,196,71,.6); animation: ping 2.4s ease-out infinite; flex: none; }
.hot:hover, .hot:focus-visible { border-color: var(--accent); outline: none; }
.hot.sel { border-color: var(--accent); background: rgba(40, 70, 26, .9); color: #fff; }
.hot.core { cursor: default; border-color: rgba(118,196,71,.6); font-family: var(--display); font-size: 21px; }
.hot.core i { background: var(--accent-bright); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(118,196,71,.55); } 70% { box-shadow: 0 0 0 12px rgba(118,196,71,0); } 100% { box-shadow: 0 0 0 0 rgba(118,196,71,0); } }
html.still .hot i { animation: none; }
#s-twin .panel { position: absolute; left: 1320px; top: 228px; width: 480px; bottom: 150px; padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; z-index: 3; }
#s-twin .panel .p-head { display: grid; grid-template-columns: 76px 1fr; gap: 2px 14px; align-items: center; margin: -8px 0 0 -8px; }
#s-twin .panel .p-head .p-ico { grid-row: span 2; }
#s-twin .panel .p-ico { width: 76px; height: 84px; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
#s-twin .panel .h3 { font-size: 29px; line-height: 1.15; color: var(--accent-bright); }
#s-twin .panel ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
#s-twin .panel li { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 20px; line-height: 1.3; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
#s-twin .panel li:last-child { border-bottom: 0; padding-bottom: 0; }
#s-twin .panel li .badge { font-size: 16px; padding: 5px 9px 5px 8px; gap: 7px; flex: none; }
#s-twin .panel li .badge::before { width: 8px; height: 8px; }
#s-twin .panel .effbox { margin-top: auto; background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; font-size: 21px; line-height: 1.38; color: var(--ink); }
#s-twin .panel .effbox b { color: var(--accent-bright); }
#s-twin .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 17px; color: var(--muted); }
#s-twin .legend span { display: inline-flex; align-items: center; gap: 7px; }
#s-twin .legend i { width: 10px; height: 10px; border-radius: 50%; }
#s-twin .legend i.today { background: var(--ok); } #s-twin .legend i.pilot { background: var(--signal); } #s-twin .legend i.scale { background: var(--off); }

/* ================= 4. административный блок ================= */
#s-admin .kv { left: 120px; top: 222px; width: 1680px; height: 300px; --m: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 80%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
#s-admin .kv img { --pos: 50% 40.6%; }
.depts { position: absolute; left: 120px; right: 120px; top: 540px; bottom: 132px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; z-index: 3; }
.dept { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.dept .top { display: flex; align-items: center; gap: 8px; margin: -8px 0 -4px -8px; }
.dept .top img { width: 84px; height: 90px; object-fit: cover; flex: none; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.dept .h3 { font-size: 24px; }
.dept .was { font-size: 18px; line-height: 1.32; color: var(--muted); padding-left: 22px; position: relative; min-height: 48px; }
.dept .was::before { content: "было"; position: absolute; left: 0; top: 2px; font: 600 11px/1 var(--mono); text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted); letter-spacing: .08em; }
.dept .now { font-size: 19px; line-height: 1.34; color: var(--ink); padding-left: 22px; position: relative; }
.dept .now::before { content: "ИИ"; position: absolute; left: 0; top: 2px; font: 700 11px/1 var(--mono); writing-mode: vertical-rl; transform: rotate(180deg); color: var(--accent-bright); letter-spacing: .08em; }
.dept .eff { margin-top: auto; font-size: 21px; line-height: 1.28; padding-top: 10px; border-top: 1px solid var(--line); }

/* ================= 5. производство: цикл ================= */
#s-prod .kv { left: 410px; top: 276px; width: 1100px; height: 619px; --m: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
#s-prod .kv img { --pos: 50% 50%; }
#s-prod svg.ring { position: absolute; inset: 0; width: 1920px; height: 1080px; z-index: 2; pointer-events: none; }
.ring .orbit { fill: none; stroke: rgba(118,196,71,.28); stroke-width: 2; }
.ring .flow { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 2 26; stroke-linecap: round; animation: flow 3s linear infinite; filter: drop-shadow(0 0 6px rgba(118,196,71,.8)); }
@keyframes flow { to { stroke-dashoffset: -112; } }
html.still .ring .flow { animation: none; }
.ring .spark { fill: #c9f5a6; filter: drop-shadow(0 0 10px #8fd35c); }
.node { position: absolute; transform: translateY(-50%); margin-left: -142px; width: 284px; padding: 12px 16px 13px; display: flex; flex-direction: column; gap: 5px; z-index: 4; }
.node .nh { display: flex; align-items: center; gap: 10px; }
.node .k { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; font: 600 15px/1 var(--display); color: var(--accent-bright); background: rgba(10,12,11,.8); }
.node b { font: 600 20px/1.15 var(--display); color: #fff; }
.node .d { font-size: 17px; line-height: 1.3; color: var(--ink-2); }
.node .badge { font-size: 15px; padding: 4px 9px 4px 8px; gap: 6px; }
.node .badge::before { width: 7px; height: 7px; }
.node .m { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; }
.node.hi { border-color: rgba(118,196,71,.55); }

/* ================= 6. логистика и склад ================= */
#s-logi .kv { left: 0; top: 222px; width: 1210px; height: 720px; --m: linear-gradient(90deg, #000 0, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
#s-logi .kv img { --pos: 57% 50%; }
#s-logi .col-r { position: absolute; left: 1230px; right: 120px; top: 228px; bottom: 132px; display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.bl { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.bl .h3 { font-size: 27px; display: flex; align-items: center; gap: 12px; }
.bl .h3 img { width: 54px; height: 60px; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); margin: -6px 0; }
.bl ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.bl li { font-size: 20px; line-height: 1.32; color: var(--ink-2); padding-left: 20px; position: relative; }
.bl li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 2px; background: var(--accent); }
.bl .eff { font-size: 21px; }
.more { padding: 14px 20px; display: flex; flex-direction: column; gap: 8px; }
.more .row3 { display: grid; grid-template-columns: 1fr; gap: 6px; }
.mini { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; }
.mini img { width: 48px; height: 54px; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
.mini > span { font-size: 18px; line-height: 1.3; color: var(--ink-2); }
.mini > span b { color: var(--ink); }
.mini .eff { font-size: 18px; color: var(--accent-bright); }

/* ================= 7. путь проекта ================= */
#s-road .kv { left: 120px; top: 222px; width: 1680px; height: 420px; --m: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
#s-road .kv img { --pos: 50% 39%; }
.miles .ms { position: absolute; top: 648px; width: 360px; margin-left: -180px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.miles .ms .when { font: 600 18px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--signal); }
.miles .ms .h3 { font-size: 28px; }
.miles .ms .when em { font-style: normal; color: var(--accent-bright); }
.miles .ms .p { font-size: 21px; line-height: 1.38; }
#s-road .base { position: absolute; left: 120px; top: 884px; display: flex; gap: 12px; z-index: 3; max-width: 940px; flex-wrap: wrap; }
#s-road .base .chip { font: 500 18px/1.2 var(--text); padding: 10px 16px; white-space: normal; }
#s-road .base .chip b { color: var(--accent-bright); }

/* ================= 8. данные: крепость ================= */
#s-data .kv { left: 30px; top: 214px; width: 1230px; height: 692px; --fx: linear-gradient(90deg, transparent 0, #000 9%, #000 90%, transparent 100%); --fy: linear-gradient(180deg, transparent 0, #000 6%, #000 84%, transparent 100%); }
#s-data .kv img { --pos: 50% 50%; }
#s-data .rules { position: absolute; left: 1270px; right: 120px; top: 222px; bottom: 132px; display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.rule6 { padding: 13px 18px 14px; display: grid; grid-template-columns: 46px 1fr; gap: 2px 12px; align-items: start; }
.rule6 .k { grid-row: span 2; font: 600 17px/1 var(--mono); color: var(--accent-bright); padding-top: 6px; }
.rule6 b { font: 600 21px/1.25 var(--display); color: var(--ink); }
.rule6 span { font-size: 18px; line-height: 1.32; color: var(--ink-2); }

/* ================= 9. мы — свой первый клиент ================= */
#s-proof .kv { left: 192px; top: 210px; width: 1536px; height: 760px; --fx: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); --fy: linear-gradient(180deg, transparent 0, #000 4%, #000 86%, transparent 100%); }
#s-proof .kv img { --pos: 50% 0%; }
.sys { position: absolute; width: 500px; padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.sys .h3 { font-size: 28px; }
.sys .p { font-size: 20px; line-height: 1.38; }
.sys .kpi { display: flex; gap: 22px; margin-top: 2px; }
.sys .kpi div { display: flex; flex-direction: column; gap: 2px; }
.sys .kpi .n { font: 600 30px/1.05 var(--display); color: var(--accent-bright); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sys .kpi .c { font-size: 15px; color: var(--muted); line-height: 1.25; }
#sys-disp { left: 120px; top: 236px; }
#sys-hub { right: 120px; top: 236px; }
#sys-map { left: 680px; top: 772px; width: 560px; padding: 14px 16px; flex-direction: row; gap: 16px; align-items: center; }
#sys-map .shot { flex: none; width: 196px; height: 110px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); }
#sys-map .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
#sys-map .h3 { font-size: 22px; }
#sys-map .p { font-size: 17px; line-height: 1.32; }

/* ================= 10. команда ================= */
#s-team .kv { left: 690px; top: 216px; width: 1230px; height: 692px; --m: linear-gradient(90deg, transparent 0, #000 16%, #000 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
#s-team .kv img { --pos: 50% 50%; }
#s-team .roles { position: absolute; left: 120px; width: 600px; top: 228px; bottom: 132px; display: flex; flex-direction: column; gap: 12px; z-index: 3; }
.role { padding: 16px 22px; display: grid; grid-template-columns: 14px 1fr; gap: 4px 16px; }
.role i { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; margin-top: 9px; background: var(--ink-2); }
.role.ai { border-color: rgba(118,196,71,.5); background: rgba(30, 48, 22, .62); }
.role.ai i { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.role b { font: 600 24px/1.25 var(--display); color: #fff; }
.role span { font-size: 20px; line-height: 1.36; color: var(--ink-2); }

/* ================= 11. форматы: расширяющаяся воронка ================= */
#s-formats svg.funnel { position: absolute; inset: 0; width: 1920px; height: 1080px; z-index: 1; }
.funnel .seg { stroke: rgba(118,196,71,.55); stroke-width: 2; }
.funnel .flowline { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 3 22; stroke-linecap: round; animation: flow 3s linear infinite; opacity: .8; }
html.still .funnel .flowline { animation: none; }
.fcol { position: absolute; width: 360px; display: flex; flex-direction: column; gap: 12px; z-index: 3; }
.fcol .num { font: 600 52px/1 var(--display); color: rgba(143,211,92,.9); text-shadow: 0 0 26px rgba(118,196,71,.4); }
.fcol .h3 { font-size: 30px; color: #fff; }
.fcol dl { display: flex; flex-direction: column; gap: 9px; }
.fcol dt { font: 600 15px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.fcol dd { font-size: 20px; line-height: 1.34; color: var(--ink-2); }
.fcol dd.when { color: var(--signal); font-weight: 600; }
.fcol dd.gain { color: var(--accent-bright); font-weight: 600; }

/* ================= 12. финал ================= */
#s-next { padding: 0; }
#s-next .kv { left: 200px; top: 0; width: 1720px; height: 1080px; --m: linear-gradient(90deg, transparent 0, #000 18%); }
#s-next .kv img { --pos: 0% 50%; }
#s-next .shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(20,20,22,.92) 0, rgba(20,20,22,.78) 32%, rgba(20,20,22,0) 56%); pointer-events: none; }
#s-next .inner { position: absolute; left: 120px; top: 92px; bottom: 132px; width: 840px; z-index: 3; display: flex; flex-direction: column; gap: 22px; }
#s-next .h1 { font-size: 72px; }
#s-next .slogan { font: 600 32px/1.3 var(--display); color: var(--accent-bright); text-shadow: 0 0 30px rgba(118,196,71,.35); max-width: 780px; }
#s-next .p { font-size: 24px; max-width: 700px; }
.stepname { position: absolute; transform: translate(-50%, -100%); z-index: 4; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stepname .k { font: 600 18px/1 var(--mono); color: var(--accent-bright); letter-spacing: .08em; }
.stepname b { font: 600 34px/1.1 var(--display); color: #fff; text-shadow: 0 0 22px rgba(118,196,71,.55), 0 4px 18px rgba(0,0,0,.8); }
.stepname span { font-size: 19px; color: var(--ink-2); text-shadow: 0 2px 10px rgba(0,0,0,.9); }
#s-next .contact { margin-top: auto; display: flex; align-items: center; gap: 24px; }
#s-next .contact img { width: 88px; height: 88px; }
#s-next .contact .site { font-family: var(--display); font-weight: 600; font-size: 44px; color: var(--accent-bright); text-shadow: 0 0 30px rgba(118,196,71,.35); }
#s-next .contact .contact-lines { font-size: 23px; color: var(--ink-2); margin-top: 6px; }

/* ---------- печать: A3 альбомный, рамка листа; фон — статичный кадр вуали ---------- */
.print-note { display: none; }
@page { size: 420mm 297mm; margin: 0; }
@media print {
  html, body { background: var(--bg); overflow: visible; height: auto; }
  #veil, .hud, .nav-hit { display: none !important; }
  .viewport { position: static; display: block; overflow: visible; }
  .deck { position: static; width: auto; height: auto; transform: none !important; }
  .ctrl, .mhead { display: none !important; }
  .sheet-a3 { display: block; position: relative; width: 420mm; height: 297mm; page-break-after: always; break-after: page; overflow: hidden; background: var(--bg);
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet-a3::before { content: ""; position: absolute; left: 20mm; top: 5mm; right: 5mm; bottom: 5mm; border: .5mm solid var(--line-strong); }
  .sheet-a3 .slot { display: block; position: absolute; left: 22.5mm; top: 7.5mm; width: 390mm; height: 219.375mm; overflow: hidden; }
  .sheet-a3 .slide { position: absolute; left: 0; top: 0; opacity: 1 !important; visibility: visible !important; transform: scale(0.767717); transform-origin: 0 0;
    background-color: var(--bg) !important; background-image: var(--veil-still) !important; background-size: cover !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; transition: none !important; }
  .sheet-a3 .print-note { display: block; position: absolute; left: 24mm; right: 9mm; top: 231mm; bottom: 9mm; border-top: .35mm solid var(--line-strong); padding-top: 5mm;
    font-size: 14pt; line-height: 1.5; color: var(--ink-2); max-width: 330mm; }
  .sheet-a3 .print-note b { color: var(--accent-bright); font-weight: 600; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cells > *, .note, .stamp, .panel, .glass, .pin, .hot, .chip { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
}

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

/* ---------- телефон вертикально: слайды лентой, под каждым — пояснение крупным текстом ---------- */
@media screen {
  body.scroll { overflow-x: hidden; overflow-y: auto; height: auto; background: var(--bg); }
  body.scroll #veil { position: absolute; height: 100%; }
  body.scroll .viewport { position: static; display: block; overflow: visible; }
  body.scroll .deck { position: static; transform: none !important; width: 100%; height: auto; }
  body.scroll .sheet-a3 { display: block; border-bottom: 1px solid var(--line); }
  body.scroll .slot { display: block; position: relative; width: 100%; height: calc(var(--k, .2) * 1080px); overflow: hidden; }
  body.scroll .slide { position: absolute; left: 0; top: 0; transform: scale(var(--k, .2)); transform-origin: 0 0; opacity: 1; visibility: visible; transition: none; }
  body.scroll .print-note { display: block; padding: 14px 18px 26px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
  body.scroll .print-note b { color: var(--accent-bright); font-weight: 600; }
  body.scroll .hud, body.scroll .ctrl, body.scroll .nav-hit { display: none; }
  body.scroll .mhead { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(20,20,22,.94); }
  body.scroll .mhead img { width: 34px; height: 34px; }
  body.scroll .mhead b { font-family: var(--display); font-weight: 600; font-size: 17px; display: block; }
  body.scroll .mhead span { font-size: 13px; color: var(--muted); }

/* ---------- прогулки-примеры (решение владельца 16.11.2026): гипотетические сценарии с пометкой «пример · оценка» ---------- */
.live { position: absolute; left: 120px; bottom: 40px; width: 1000px; z-index: 3; display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-radius: 16px; font-size: 19px; line-height: 1.32; color: var(--ink-2); }
.live .tag { flex: none; }
.live b { color: var(--ink); }
