/* v2: правки по обсуждению 10.11.2026 */
.green { color: var(--ok); }

/* варианты слайда */
.alt-badge { position: absolute; right: 120px; top: 52px; z-index: 4; font-size: 20px; color: var(--warn); border: 1px dashed var(--warn); border-radius: var(--r-p); padding: 6px 16px; }

/* 2. эффект: три составляющие, итог справа */
.effect2 { display: grid; grid-template-columns: 1fr 60px 620px; gap: 28px; margin-top: 80px; align-items: center; }
.effect2 .kpis { gap: 20px; }
.effect2 .kpi { grid-template-columns: 320px 1fr; padding: 26px 32px; }
.effect2 .kpi .l .mark { display: block; margin-top: 10px; font-size: 18px; }
.sum-brace { width: 60px; height: 600px; overflow: visible; }
.sum-brace path { fill: none; stroke: var(--flow); stroke-width: 3; }
.card.total { padding: 44px 48px; box-shadow: inset 0 0 0 2px var(--ok); background: var(--surface); }
.card.total .big-num { font-size: 190px; margin-top: 12px; }
.card.total .big-num small { display: block; margin: 16px 0 0; font-size: 56px; }
.card.total .mark { font-size: 18px; }

/* 3. две методические печи */
.furn-meth { height: 120px; }
.furn-meth.warn { border-color: var(--warn); }
.furn-meth.warn b { color: var(--warn); }

/* 4Б. матрица */
.matrix { margin-top: 64px; display: grid; gap: 12px; }
.mx-row { display: grid; grid-template-columns: 1fr repeat(4, 260px); gap: 12px; align-items: stretch; }
.mx-row > * { border-radius: var(--r-s); }
.mx-head span { font-size: var(--fs-b); font-weight: 600; padding: 8px 20px; }
.mx-head .own { color: var(--ok); }
.mx-row .req { font-size: var(--fs-b); padding: 20px 0; line-height: 1.25; }
.mx-row i { font-style: normal; font-size: 22px; background: var(--surface); padding: 18px 20px 18px 54px; position: relative; display: flex; align-items: center; color: var(--text-2); line-height: 1.2; }
.mx-row i::before { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-weight: 600; font-size: 26px; }
.mx-row i.no::before { content: '✕'; color: var(--bad); }
.mx-row i.yes::before { content: '✓'; color: var(--ok); }
.mx-row i.half::before { content: '·'; color: var(--text-2); }
.mx-row i.own { background: rgb(79 186 119 / .14); color: var(--text); box-shadow: inset 0 0 0 2px var(--ok); }

/* 5. сделали сами */
.first-shot .ph-over { position: absolute; left: 20px; bottom: 20px; background: var(--bg); }
.foot-note { position: absolute; left: 120px; bottom: 110px; font-size: var(--fs-b); color: var(--text-2); }

/* 7. рутина */
.rout { display: grid; grid-template-columns: 1000px 1fr; gap: 72px; margin-top: 56px; align-items: center; }
.rout-stage { position: relative; height: 640px; }
.win { position: absolute; width: 330px; height: 200px; background: var(--surface); border-radius: var(--r-l); padding: 20px 24px; box-shadow: var(--shadow); transition: transform 900ms var(--ease-io), opacity 700ms var(--ease-out); }
.win b { display: block; font-size: 24px; margin-bottom: 18px; }
.win span { display: block; height: 14px; border-radius: 7px; background: var(--bg); margin-bottom: 12px; }
.win span + span { width: 62%; }
.w1 { left: 0; top: 10px; transform: rotate(-3deg); } .w2 { left: 360px; top: 40px; transform: rotate(2deg); }
.w3 { left: 660px; top: 0; transform: rotate(-1deg); } .w4 { left: 80px; top: 300px; transform: rotate(3deg); }
.w5 { left: 520px; top: 330px; transform: rotate(-2deg); }
.win.one { left: 50px; top: 90px; width: 900px; height: auto; padding: 18px; background: #fff; opacity: 0; transform: scale(.85); }
.win.one b { color: var(--bg); }
.win.one img { width: 100%; display: block; border-radius: 8px; }
.slide.is-active .win:not(.one) { animation: jiggle 2.4s ease-in-out infinite alternate; }
.slide.is-active .w2 { animation-delay: -.6s; } .slide.is-active .w3 { animation-delay: -1.2s; } .slide.is-active .w4 { animation-delay: -1.8s; }
@keyframes jiggle { to { translate: 0 -10px; } }
.rout-stage .w1 { --tx: 330px; --ty: 220px; } .rout-stage .w2 { --tx: 60px; --ty: 200px; } .rout-stage .w3 { --tx: -250px; --ty: 230px; }
.rout-stage .w4 { --tx: 260px; --ty: -60px; } .rout-stage .w5 { --tx: -170px; --ty: -80px; }
.rout-stage:has(.mk.is-shown) .win:not(.one) { transform: translate(var(--tx), var(--ty)) scale(.2); opacity: 0; animation: none; }
.rout-stage:has(.mk.is-shown) .win.one { opacity: 1; transform: none; transition-delay: 350ms; }
.rout-big { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.rout-sub { font-size: var(--fs-b); color: var(--text-2); margin-top: 24px; line-height: 1.35; }
.rout-2 { margin-top: 64px; display: flex; gap: 20px; align-items: flex-start; }
.rout-2 i { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); margin-top: 14px; flex: none; }
.rout-2 p { font-size: var(--fs-b); color: var(--text-2); line-height: 1.35; }
.rout-2 b { display: block; color: var(--text); font-size: var(--fs-l); }

/* 8. стан */
.cal-shot { position: relative; }
.cal-hl { position: absolute; border: 4px solid var(--ok); border-radius: 8px; }
.cal-hl.bad { border-color: var(--bad); }
.slide.is-active .cal-hl { animation: hlpulse 1.6s var(--ease-out) 1.2s both; }
@keyframes hlpulse { 0% { opacity: 0; transform: scale(1.15); } 60% { opacity: 1; transform: none; } }
.hl-t { color: var(--ok); font-weight: 600; }
.cal-out { margin-top: 40px; font-size: var(--fs-l); font-weight: 600; }
.cal .cap .mark { margin-left: 8px; font-size: 18px; }

/* 9. КПЭ */
.deadline.big { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
.deadline.big b { font-size: 64px; letter-spacing: -0.03em; }
.kp-row .c.hot { background: var(--surface-2); }
.kp-row .c.hot b { color: var(--ok); }

/* 11. команда */
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.mate { background: var(--bg); border-radius: var(--r-s); padding: 16px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; }
.mate .av { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 600; color: var(--text-2); }
.mate b { font-size: 22px; } .mate i { font-style: normal; font-size: 18px; color: var(--text-2); }

/* 12. зачёркивание сразу + красный крестик */
.strike li { padding-left: 52px; }
.strike li .x { position: absolute; left: 0; top: 50%; transform: translateY(-50%) scale(0); color: var(--bad); font-weight: 600; }
.strike li::after { left: 48px; }
.slide.is-active .strike li::after { animation-delay: calc(var(--i) * 90ms + 250ms); }
.slide.is-active .strike li .x { animation: xin 360ms var(--ease-out) both; animation-delay: calc(var(--i) * 90ms + 250ms); }
@keyframes xin { to { transform: translateY(-50%) scale(1); } }

/* 13. люди */
.quote { font-size: 48px; }

/* 18. генератор */
.three { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; counter-reset: k; }
.three li { counter-increment: k; position: relative; padding-left: 64px; font-size: 24px; line-height: 1.35; color: var(--text-2); }
.three li::before { content: counter(k); position: absolute; left: 0; top: -4px; font-size: 44px; font-weight: 600; color: var(--flow); }
.three b { display: block; font-size: 32px; color: var(--text); letter-spacing: -0.01em; }

/* 20. орбита */
.orbit { position: relative; height: 800px; }
.orb-svg { position: absolute; left: 50%; top: 0; width: 1200px; height: 760px; transform: translateX(-50%); overflow: visible; }
.orb-ring { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 3 10; }
.orb-run { fill: none; stroke: var(--flow); stroke-width: 3; stroke-dasharray: .06 .94; }
.slide.is-active .orb-run { animation: orbrun 14s linear infinite; }
@keyframes orbrun { to { stroke-dashoffset: -1; } }
.orb-core { position: absolute; left: 50%; top: 380px; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 40px; font-weight: 600; gap: 6px; }
.orb-core small { font-size: var(--fs-s); color: var(--text-2); font-weight: 400; }
.orb-core .mark { font-size: 16px; font-weight: 400; margin-top: 8px; }
.orb-sat { position: absolute; transform: translate(-50%, -50%); background: var(--surface); border-radius: var(--r-l); padding: 18px 26px; font-size: var(--fs-s); color: var(--text-2); white-space: nowrap; }
.orb-sat[data-f] { transform: translate(-50%, calc(-50% + 20px)); }
.orb-sat[data-f].is-shown { transform: translate(-50%, -50%); }
.orb-sat.ptp { background: var(--surface-2); color: var(--text); font-size: 44px; font-weight: 600; padding: 26px 36px; text-align: center; box-shadow: 0 0 0 6px rgb(131 168 227 / .25); }
.orb-sat.ptp small { display: block; font-size: var(--fs-s); font-weight: 400; color: var(--text-2); }
.slide.is-active .orb-sat.ptp { animation: rise-c var(--dur-enter) var(--ease-out) both; animation-delay: 390ms; }
@keyframes rise-c { from { opacity: 0; transform: translate(-50%, calc(-50% + 24px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
.orbit .note { position: absolute; left: 0; top: 0; width: 400px; font-size: var(--fs-b); line-height: 1.4; z-index: 2; }
.orbit .note b { display: block; font-size: 64px; letter-spacing: -0.03em; }

/* 21. запрос — шесть пунктов */
.asks.six { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.asks.six .ask { min-height: 250px; grid-template-columns: 56px 1fr; padding: 34px 36px; }
.asks.six .ask h3 { font-size: 34px; }
.asks.six .ask .k { font-size: 52px; }
.asks.six .ask .mark { display: block; margin-top: 10px; font-size: 18px; }

/* переход «из схемы в проект» */
.zoom-ov { position: absolute; inset: 0; z-index: 20; background: var(--bg); visibility: hidden; opacity: 0; }
.zoom-ov.is-on { visibility: visible; opacity: 1; }
.zoom-ov.is-out { opacity: 0; transition: opacity 380ms var(--ease-out); }
.zoom-ov .zoom-head { position: absolute; left: 80px; top: 64px; font-size: 56px; font-weight: 600; letter-spacing: -0.025em; }
.zoom-eco { position: absolute; left: 80px; top: 140px; width: 1760px; height: 900px; }
.zoom-ov .eco-bar, .zoom-ov .eco-drawer, .zoom-ov .eco-scrim, .zoom-ov .eco-legend { display: none !important; }
.zoom-ov .node { transition: opacity 400ms var(--ease-out), box-shadow 300ms ease, background-color 300ms ease; animation: none !important; }
.zoom-ov.has-focus .node:not(.is-focus) { opacity: .22; }
.zoom-ov.has-focus .g-edges { opacity: .25; }
.zoom-ov .node.is-focus { box-shadow: inset 0 0 0 3px var(--text), 0 0 0 12px rgb(131 168 227 / .22); background: var(--surface-2); }
.zoom-box { position: absolute; background: var(--surface-2); border-radius: var(--r-l); opacity: 0; pointer-events: none; }
.zoom-box.is-grow { opacity: 1; transition: left 650ms var(--ease-io), top 650ms var(--ease-io), width 650ms var(--ease-io), height 650ms var(--ease-io), border-radius 650ms var(--ease-io), background-color 650ms var(--ease-io); }

/* ---------- схема v2 ---------- */
/* шаговая сборка: блок скрыт, пока рассказ до него не дошёл */
.eco.is-build .node:not(.is-on) { opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none; }
.eco.is-build .node { transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), background-color var(--dur-fast) ease; animation: none !important; }
.eco.is-build .edge { transition: opacity 500ms var(--ease-out); }
.eco.is-build .edge:not(.is-on) { opacity: 0; }
.eco.is-build .edge.is-on.edge-flow { stroke-dasharray: 1; animation: draw 700ms var(--ease-out) both; }
.eco.is-build .edge-label:not(.is-on) { opacity: 0; }
/* КПЭ — прямоугольник в центре */
.node.shape-core { background: var(--surface-2); align-items: center; text-align: center; box-shadow: inset 0 0 0 2px var(--flow); }
.node.shape-core .n-title { font-size: 30px; }
/* проект над блоком */
.n-proj { display: none; }
/* слой ИИ — выезжающая плашка под карточкой */
.eco .n-ai { display: none !important; }
.ai-tab { position: absolute; left: 10px; right: 10px; top: calc(100% - 6px); background: #CFE0F7; color: var(--bg); border-radius: 0 0 var(--r-s) var(--r-s); padding: 10px 14px 10px 40px; font-size: 16px; line-height: 1.25; text-align: left; clip-path: inset(0 0 100% 0); transition: clip-path 420ms var(--ease-out); pointer-events: none; z-index: 2; }
.ai-tab b { display: block; font-size: 15px; font-weight: 600; color: #0041A0; }
.ai-tab svg { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; fill: #0041A0; }
.ai-tab.is-unknown { background: #F7E3B0; }
.eco.l2 .ai-tab { clip-path: inset(0 0 0 0); }
.eco.l2 .node { z-index: 1; }
.node.shape-core .ai-tab { left: 30px; right: 30px; }
/* пока идёт переход из схемы, появление элементов слайда ждёт */
.stage.zoom-hold .slide.is-active [data-in] { animation: none; opacity: 0; }
.s-eco .eco-host { top: 140px; }
.eco-legend { top: 830px; }
.final .recap b.green { color: var(--ok); }
.orbit { margin: 40px 0 0 420px; }
.orbit .note { left: -420px; top: 20px; }
