/* NeoB2B: стили внутри визуалов (коллаж, 3D-цех, карточки модулей, кейсы), форма, cookie. Сетка и типографика - assets/system.css */

/* ---------- коллаж первого экрана: размеры в cqw, телефон показывает ту же картинку меньше ---------- */
.ly-collage { container-type: inline-size; }
.ly-collage .ly-piece { background: #1a1b1e; color: #f1f1f2; box-shadow: 0 1px 2px rgb(11 12 14 / .08), 0 22px 48px -22px rgb(11 12 14 / .35);
  font: 400 max(13px, 1.9cqw)/1.3 var(--font-text); padding: 2.6cqw 3cqw; display: grid; align-content: start; gap: 1.4cqw; }
.ly-piece small { color: #5d6470; font-size: max(13px, 1.7cqw); }
.ly-piece b { font-weight: 500; font-size: max(13px, 2.3cqw); }
.pc-h { color: #5d6470; font-size: max(13px, 1.7cqw); }
.pc-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqw; height: 100%; }
.pc-cols div { background: #eef0f3; border-radius: 1.2cqw; padding: 1.4cqw; display: grid; align-content: start; gap: 1cqw; }
.pc-cols span { color: #5d6470; font-size: max(13px, 1.6cqw); }
.pc-cols i { font-style: normal; background: #1a1b1e; border-radius: .9cqw; padding: 1cqw 1.2cqw; font-size: max(13px, 1.7cqw); box-shadow: 0 1px 0 rgb(11 12 14 / .08); }
.pc-cols i.on { outline: 2px solid #f1f1f2; }
.pc-cols i.ok { border-left: .6cqw solid #8d8f94; }
.ly-collage .pc-phone { background: #f1f1f2; border-radius: 4.6cqw; padding: 1.2cqw; }
.pc-screen { background: #1a1b1e; border-radius: 3.6cqw; height: 100%; padding: 4cqw 3cqw; display: grid; align-content: start; gap: 1.6cqw; }
.pc-screen span { color: #5d6470; }
.pc-btn { margin-top: 2cqw; background: #f1f1f2; color: #fff; border-radius: 1.4cqw; text-align: center; padding: 1.8cqw; font-weight: 500; }
.pc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1.4cqw; align-items: center; padding-top: 1.2cqw; border-top: 1px solid #e6e8ec; }
.pc-row em, .m-two span { font-style: normal; font-size: max(13px, 1.6cqw); padding: .6cqw 1.2cqw; border-radius: .8cqw; }
.ok { color: #f1f1f2; background: #2c2d31; }
.bad { color: #9a9ca1; background: transparent; box-shadow: inset 0 0 0 1px #3a3b3f; }
.ly-collage .pc-map { padding: 0; background: #1f2023; }
.pc-map svg, .mod--route svg { width: 100%; height: 100%; display: block; }
.rt { fill: none; stroke: #f1f1f2; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 7; }
.rt2 { stroke: #8a93a3; }
.base { fill: #f1f1f2; } .st { fill: #1a1b1e; stroke: #f1f1f2; stroke-width: 2; } .car { fill: #f1f1f2; }
.pc-bar { display: flex; height: 2.4cqw; border-radius: 1cqw; overflow: hidden; }
.pc-bar i { display: block; } .pc-bar i:nth-child(1) { background: #f1f1f2; } .pc-bar i:nth-child(2) { background: #6b78f0; } .pc-bar i:nth-child(3) { background: #aab2f7; } .pc-bar i:nth-child(4) { background: #2a2b2f; }
.ly-collage .pc-ai { background: #f1f1f2; color: #eef0f3; } .pc-ai small { color: #9aa0aa; }
.pc-trow { display: grid; grid-template-columns: 1.8fr repeat(5, 1fr); gap: 1cqw; align-items: center; }
.pc-trow i, .m-grid i { font-style: normal; text-align: center; background: #eef0f3; border-radius: .8cqw; padding: .6cqw 0; }
.pc-trow i.flag, .m-grid i.flag { background: #3a3b3f; color: #f1f1f2; }
.pc-skud span { color: #5d6470; }
.pc-spark { display: flex; align-items: end; gap: 1cqw; height: 8cqw; }
.pc-spark i { flex: 1; background: #f1f1f2; border-radius: .6cqw .6cqw 0 0; }
@media (max-width: 639px) { .pc-cols div:nth-child(4), .pc-trow:nth-child(n+5) { display: none; } .pc-cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 3D-цех ---------- */
#ceh { --ceh-h: clamp(300px, calc(100svh - 430px), 480px); }
.ceh { align-items: stretch; }
.ceh__side { display: grid; align-content: space-between; gap: var(--s-6); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: st; }
.stages li { counter-increment: st; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: var(--s-3);
  padding: 7px 0; color: var(--p-inv-muted); transition: color .3s; font-size: 16px; }
.stages li::before { content: counter(st); font: 500 13px/1 var(--font-mono); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #3a3d44; }
.stages li::after { content: ""; font: 500 13px/1 var(--font-text); }
.stages li[data-state="done"] { color: var(--p-inv-ink); }
.stages li[data-state="done"]::before { background: #8d8f94; border-color: #8d8f94; color: #fff; }
.stages li[data-state="now"] { color: #fff; }
.stages li[data-state="now"]::before { background: #f1f1f2; border-color: #f1f1f2; color: #fff; }
.stages li[data-state="now"]::after { content: "в работе"; color: #c9cacd; }
.ceh__note { color: var(--p-inv-ink); max-width: 34ch; margin: 0; }
.ceh__frame { position: relative; height: var(--ceh-h); border-radius: var(--r-lg); overflow: hidden; background: #1a1c20; border: 1px solid #2a2d33; }
.ceh__frame canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: pan-y; }
.ceh__frame canvas:active { cursor: grabbing; }
.ceh__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ceh__frame.is-live .ceh__poster { visibility: hidden; }
.ceh__pause { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.ceh__pause .i-play { display: none; } .ceh__pause[aria-pressed="true"] .i-play { display: inline; } .ceh__pause[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 1023px) {
  #ceh { --h: 2; --hm: 2; --ceh-h: 480px; }
  .stages { grid-template-columns: 1fr 1fr; column-gap: var(--s-5); }
}
@media (max-width: 639px) { #ceh { --ceh-h: 380px; } }

/* ---------- карточки модулей ---------- */
#modules .panel { --p-h: 168px; }
#modules .panel.mod { height: var(--p-h); aspect-ratio: auto; display: grid; place-items: center; overflow: hidden; }
.m-phone, .m-card { width: min(78%, 280px); display: grid; gap: 6px; padding: 16px; border-radius: 14px; background: #1f2023; border: 1px solid #2c2d31; font-size: 14px; }
.m-phone small, .m-card small { color: var(--muted); font-size: 13px; }
.m-phone b, .m-card b { font-weight: 500; }
.m-time { color: var(--muted); }
.m-done { justify-self: start; background: #f1f1f2; color: #fff; border-radius: 8px; padding: 6px 14px; font-weight: 500; animation: tap 3s ease-in-out infinite; }
@keyframes tap { 0%, 60%, 100% { transform: scale(1); background: #f1f1f2; } 70% { transform: scale(.94); } 78% { background: #8d8f94; } 95% { background: #8d8f94; } }
.m-two { display: flex; gap: 8px; flex-wrap: wrap; }
.m-two .ok { animation: blink-ok 3.2s ease-in-out infinite; }
@keyframes blink-ok { 0%, 40%, 100% { box-shadow: none; } 55%, 80% { box-shadow: 0 0 0 2px #8d8f94; } }
.m-grid { display: grid; grid-template-columns: repeat(5, 44px); gap: 6px; font-size: 14px; text-align: center; }
.m-grid span { color: var(--ink); font-size: 13px; }
.m-grid i { padding: 8px 0; }
.m-grid i.flag { animation: flag 2.8s ease-in-out infinite; }
@keyframes flag { 0%, 30%, 100% { outline: 0 solid transparent; } 50%, 80% { outline: 2px solid #f1f1f2; } }
.m-rows { width: min(84%, 300px); display: grid; font-size: 14px; background: #1a1b1e; border-radius: 12px; padding: 4px 14px; }
.m-rows div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #2c2d31; }
.m-rows b { font-weight: 500; } .m-rows .warn { color: #f1f1f2; animation: flag 3s ease-in-out infinite; padding: 0 6px; border-radius: 6px; }
.mod--route { padding: 12px 20px; }
.m-bars { display: flex; align-items: end; gap: 10px; height: 130px; width: min(78%, 280px); border-bottom: 1px solid #2c2d31; }
.m-bars i { flex: 1; background: #f1f1f2; border-radius: 4px 4px 0 0; height: calc(var(--v) * 100%); transform-origin: bottom; animation: grow 3.6s ease-in-out infinite; }
.m-bars i:nth-child(odd) { background: #c9cacd; }
.m-bars i:nth-child(2) { animation-delay: .15s } .m-bars i:nth-child(3) { animation-delay: .3s } .m-bars i:nth-child(4) { animation-delay: .45s } .m-bars i:nth-child(5) { animation-delay: .6s } .m-bars i:nth-child(6) { animation-delay: .75s }
@keyframes grow { 0% { transform: scaleY(.2); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.2); } }
#modules .card h3 { margin-top: var(--s-4); }
@media (max-width: 639px) { #modules .panel { --p-h: 170px; } }

/* ---------- кейсы ---------- */
.cases__list { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.cases__list li { border-bottom: 1px solid var(--line); }
.cases__list button { all: unset; box-sizing: border-box; width: 100%; min-height: 56px; padding: var(--s-4) 0; cursor: pointer; font: 400 var(--t-lead)/1.3 var(--font-text); color: var(--muted); transition: color .2s; }
.cases__list button:hover, .cases__list .is-on button, .cases__list button.is-on { color: var(--ink); }
.cases__list button:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.cases__pane { position: relative; }
.case { background: #1a1b1e; border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-4); align-content: start; height: 100%; }
.case h3 { margin: 0; font: var(--display-weight) var(--t-h3)/1.15 var(--font-display); letter-spacing: -0.02em; }
.case p { margin: 0; max-width: 60ch; }
.case__art { background: #121315; border-radius: var(--r-md); padding: var(--s-4); }
.case__art svg { width: 100%; height: 120px; display: block; }
.case__facts { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-8); margin: var(--s-2) 0 0; }
.case__facts dt { color: var(--muted); font-size: 14px; } .case__facts dd { margin: 0; font: var(--display-weight) var(--t-stat)/1.1 var(--font-display); letter-spacing: -0.02em; }
.cyl rect { fill: #2a2b2f; stroke: #f1f1f2; stroke-width: 2; } .truck { fill: #1a1b1e; stroke: #f1f1f2; stroke-width: 2; } .wheel { fill: #f1f1f2; }
.pipe { fill: none; stroke: #8a93a3; stroke-width: 10; stroke-linecap: round; }
.joint circle { fill: #1a1b1e; stroke: #f1f1f2; stroke-width: 2; } .joint.done circle { fill: #8d8f94; stroke: #8d8f94; }
.duct rect { fill: #1a1b1e; stroke: #8a93a3; stroke-width: 2; } .duct rect.done { fill: #3a3b3f; stroke: #8d8f94; }
.flow rect { fill: #1a1b1e; stroke: #8a93a3; stroke-width: 2; rx: 6; } .flow rect.now { fill: #f1f1f2; stroke: #f1f1f2; } .arr { stroke: #f1f1f2; stroke-width: 2; }
.sheet { fill: #1a1b1e; stroke: #3a3b3f; } .line { fill: none; stroke: #f1f1f2; stroke-width: 2; } .tag circle { fill: #1a1b1e; stroke: #f1f1f2; stroke-width: 2; }
.case__art text { font: 500 11px var(--font-mono); text-anchor: middle; fill: #f1f1f2; }
.post rect { fill: #1a1b1e; stroke: #8a93a3; stroke-width: 2; } .post rect.now { stroke: #f1f1f2; fill: #2c2d31; } .plan { stroke: #3a3b3f; stroke-width: 8; stroke-linecap: round; } .fact { stroke: #f1f1f2; stroke-width: 8; stroke-linecap: round; }
@media (max-width: 1023px) { .cases__list { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); } .cases__list li { border: 0; } .cases__list button { font-size: 16px; min-height: 44px; padding: var(--s-2) 0; } }
@media (max-width: 639px) { #cases { --hm: 2; } .case { padding: var(--s-5); } .case__art svg { height: 90px; } }

/* ---------- запуск: Гант на 30 дней ---------- */
.gantt { --days: 30; display: grid; }
.gantt__scale, .gantt__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-6); }
.gantt__scale { position: relative; height: 24px; }
.gantt__scale > span, .gantt__ticks span { font: 400 13px/1 var(--font-mono); color: var(--p-inv-muted); white-space: nowrap; }
.gantt__ticks { position: relative; }
.gantt__ticks span { position: absolute; left: calc(100% * var(--d) / var(--days)); }
.gantt__row { padding: var(--s-3) 0; border-top: 1px solid rgb(238 240 243 / .16); align-items: center; }
.gantt__txt h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.gantt__txt p { margin: var(--s-1) 0 0; color: var(--p-inv-muted); }
.gantt__track { position: relative; height: 28px; background: repeating-linear-gradient(90deg, rgb(238 240 243 / .08) 0 1px, transparent 1px calc(100% / 30)); border-radius: 6px; }
.gantt__track i { position: absolute; top: 4px; bottom: 4px; left: calc(100% * var(--s) / 30); width: max(10px, calc(100% * (var(--e) - var(--s)) / 30)); background: #8d8f94; border-radius: 5px; }
.gantt__track i.run { background: linear-gradient(90deg, #8d8f94, #8d8f94 60%, rgb(31 157 85 / .25)); background-size: 200% 100%; animation: run 3s linear infinite; }
@keyframes run { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .gantt__track i.run, .m-done, .m-two .ok, .m-grid i.flag, .m-rows .warn, .m-bars i { animation: none; } }
@media (max-width: 639px) { .gantt__scale { display: none; } .gantt__row { grid-template-columns: 1fr; row-gap: var(--s-3); } }
.figs { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-9); margin-top: var(--s-8); }
.figs .t-stat { margin: 0; font: var(--display-weight) var(--t-stat)/1 var(--font-display); letter-spacing: var(--display-tracking); }
@media (max-width: 1023px) { #launch { --h: 2; } }


/* ---------- форма ---------- */
#request .section-head { align-content: start; }
.req-card { margin: var(--s-6) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); background: var(--p-bg); border-radius: var(--r-lg); padding: var(--s-6); }
.req-card dt { color: var(--muted); font-size: 14px; } .req-card dd { margin: var(--s-1) 0 0; }
a.tap { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 639px) { .req-card { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-3); } }
body.has-cookie { padding-bottom: 96px; } @media (max-width: 639px) { body.has-cookie { padding-bottom: 150px; } }
@media (max-width: 379px) { .nav__actions .btn { padding-inline: 12px; font-size: 14px; } .nav__actions .btn .m-arrow { display: none; } }
.req-phone a, a.inline { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
#request .form { display: grid; grid-template-columns: 1fr; gap: var(--s-4) var(--s-5); align-content: start; }
#request .form > .field:nth-of-type(n+4), #request .form > .btn-row, #request .form > .form__status { grid-column: 1 / -1; }
@media (max-width: 639px) { #request .form { grid-template-columns: 1fr; } }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--action); }
.field--check label { font-size: 14px; line-height: 1.5; }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#request textarea { min-height: 96px; }
@media (max-width: 1023px) { #request { --h: 2; } }
@media (max-width: 639px) { #request { --hm: 2; } }
.footer__req li { color: var(--muted); }

/* ---------- cookie ---------- */
.cookie { position: fixed; inset: auto 0 0 0; z-index: 20; background: var(--p-surface); border-top: 1px solid var(--line); padding: var(--s-4) 0; }
.cookie__in { display: flex; gap: var(--s-5); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { margin: 0; font-size: 14px; max-width: 70ch; }
.cookie .btn-row { flex-wrap: nowrap; gap: var(--s-3); }
@media (max-width: 639px) {
  .cookie { padding: var(--s-3) 0 calc(var(--s-3) + env(safe-area-inset-bottom)); }
  .cookie__in { gap: var(--s-3); }
  .cookie p { font-size: 13px; line-height: 1.45; }
  .cookie .btn-row { width: 100%; } .cookie .btn { flex: 1; width: auto; }
  .stages { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); }
  .stages li { font-size: 14px; grid-template-columns: 26px 1fr; gap: var(--s-2); }
  .stages li::after { display: none; }
}
.gantt__row { padding: var(--s-4) 0; } .gantt__track { height: 32px; }
@media (max-width: 639px) {
  .cookie .btn-row { flex-direction: row; }
  #ceh { --hm: 1; --ceh-h: 330px; }
  .ceh__note { display: none; }
}
.case h3, #modules h3 { hyphens: manual; }

.hero--triptych .hero__cta .btn { height: var(--btn-h, 44px); font-size: 16px; padding-inline: var(--s-6); }
#modules .panel { --p-h: 150px; }

.tg-card { background: var(--p-bg); border-radius: var(--r-lg); padding: var(--s-7); display: grid; gap: var(--s-5); align-content: start; }
.tg-card h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.tg-card ul { margin: 0; padding-left: 20px; display: grid; gap: var(--s-3); list-style: disc; }
@media (max-width: 639px) { .tg-card { padding: var(--s-5); } .tg-card .btn { width: 100%; } }
.tg-card { align-self: start; }

/* ---------- первый экран: 3D-цех ---------- */
.hero--ceh { position: relative; overflow: hidden; background: #0a0a0b; color: var(--p-inv-ink); }
.hero-ceh__stage { position: absolute; inset: 0; z-index: 0; }
.hero-ceh__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: pan-y; }
.hero-ceh__stage canvas:active { cursor: grabbing; }
.hero-ceh__stage .ceh__poster { position: absolute; right: 0; top: 50%; width: 62%; transform: translateY(-50%); }
.hero-ceh__stage.is-live .ceh__poster { visibility: hidden; }
.hero-ceh__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #0a0a0b 0%, rgb(10 10 11 / .92) 26%, rgb(10 10 11 / 0) 50%), linear-gradient(0deg, #0a0a0b 0%, rgb(10 10 11 / 0) 22%); }
.hero--ceh > .wrap { position: relative; z-index: 1; height: 100%; display: grid; grid-template-rows: 1fr auto; pointer-events: none; }
.hero--ceh .hero-text, .hero-ceh__strip { pointer-events: auto; }
.hero-ceh__text { align-self: center; max-width: 520px; }
.hero-ceh__text h1 { color: #fff; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; letter-spacing: var(--display-tracking-xl); margin: 0; }
.hero-ceh__text .hero__lead { color: #c9ced6; font-size: var(--t-lead); line-height: 1.5; margin: var(--s-5) 0 var(--s-6); max-width: 34ch; }
.hero-ceh__strip { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-5); align-items: center; padding-top: var(--s-4); border-top: 1px solid rgb(238 240 243 / .14); }
.hero-ceh__order { margin: 0; color: #c9ced6; font-size: 14px; white-space: nowrap; }
.hero--ceh .stages { display: flex; flex-wrap: nowrap; gap: var(--s-2); justify-content: space-between; }
.hero--ceh .stages li { display: flex; align-items: center; gap: var(--s-2); padding: 0; font-size: 14px; color: #8e95a0; white-space: nowrap; }
.hero--ceh .stages li::before { width: 22px; height: 22px; font-size: 12px; flex: none; }
.hero--ceh .stages li::after { display: none; }
.hero--ceh .stages li[data-state="now"] { color: #fff; }
.hero--ceh .ceh__pause { position: static; }
@media (max-width: 1279px) { .hero--ceh .stages li:not([data-state="now"]) { font-size: 0; gap: 0; } }
@media (max-width: 1023px) {
  .hero-ceh__stage { top: auto; height: 52%; }
  .hero-ceh__stage::after { background: linear-gradient(180deg, #0a0a0b 0%, rgb(10 10 11 / 0) 18%), linear-gradient(0deg, #0a0a0b 0%, rgb(10 10 11 / 0) 18%); }
  .hero-ceh__stage .ceh__poster { width: 100%; right: 0; }
  .hero--ceh > .wrap { grid-template-rows: auto 1fr auto; }
  .hero-ceh__text { align-self: start; }
}
@media (max-width: 639px) {
  .hero-ceh__stage { height: 46%; }
  .hero-ceh__text .hero__lead { font-size: 16px; margin: var(--s-4) 0 var(--s-5); }
  .hero-ceh__text .btn { width: 100%; }
  .hero-ceh__strip { grid-template-columns: 1fr auto; }
  .hero-ceh__order { display: none; }
}

/* ---------- стиль: монохром, хром, проволочные волны, широкий шрифт ---------- */
html, body { background: #0a0a0b; color: var(--p-ink); }
h1, h2, .case h3 { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.12; hyphens: manual; }
h2 { font-size: clamp(26px, 2.6vw, 40px); }
h2 .muted { color: #6f7176; }
.case h3 { font-size: clamp(18px, 1.5vw, 22px); }
.hero-ceh__text h1 { font-size: clamp(30px, 3.2vw, 50px); letter-spacing: 0.02em; line-height: 1.1; }
.nav { background: rgb(10 10 11 / .96); border-bottom-color: #222326; }
.nav__logo { font-family: var(--font-display); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; font-size: 17px; }
.mark { color: #f1f1f2; }
.btn--primary { background: #f1f1f2; color: #0a0a0b; }
.btn--secondary { color: #f1f1f2; box-shadow: inset 0 0 0 1px #3a3b3f; background: transparent; }
.ground-surface { background: linear-gradient(180deg, #121214, #0d0d0f); }
.ground-inverse { background: #000; }
/* метки над секциями, как MEASURE / ANALYZE / IMPLEMENT */
.tags { display: flex; gap: var(--s-7); font: 400 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: #8d8f94; margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.tags li:last-child { margin-left: auto; }
/* пиксельный значок-шахматка */
.px { display: inline-block; width: 22px; height: 12px; background:
  conic-gradient(#f1f1f2 25%, transparent 0 50%, #f1f1f2 0 75%, transparent 0) 0 0 / 8px 8px; opacity: .85; vertical-align: middle; }
/* проволочные волны в фоне секций */
.has-wave { position: relative; overflow: hidden; }
.has-wave::before { content: ""; position: absolute; pointer-events: none; z-index: 0; opacity: .32; background: url(wave-1.svg) center / contain no-repeat; }
#modules.has-wave::before { width: 760px; height: 480px; right: -160px; top: 40px; }
#launch.has-wave::before { width: 900px; height: 560px; left: -260px; bottom: -120px; background-image: url(wave-1.svg); opacity: .22; }
#faq.has-wave::before { width: 520px; height: 520px; left: -140px; bottom: -120px; background-image: url(wave-2.svg); opacity: .28; }
.has-wave > .wrap { position: relative; z-index: 1; }
.hero-ceh__wave { position: absolute; z-index: 0; right: -6%; top: 6%; width: 46%; aspect-ratio: 1; background: url(wave-2.svg) center / contain no-repeat; opacity: .18; pointer-events: none; }
.hero-ceh__ring { position: absolute; z-index: 0; left: 28%; top: 18%; width: 520px; height: 520px; border: 1px solid rgb(255 255 255 / .08); border-radius: 50%; pointer-events: none; }
/* карточки: графитовые градиенты вместо белых */
.card--open .panel, #modules .panel.mod { background: linear-gradient(160deg, #1d1e21, #111214); box-shadow: inset 0 0 0 1px #232427; }
.case { background: linear-gradient(160deg, #1b1c1f, #121315); box-shadow: inset 0 0 0 1px #26272a; }
.case__facts dd { font-family: var(--font-display); font-weight: 300; }
.case__facts > div { border-top: 1px solid #3a3b3f; padding-top: var(--s-3); min-width: 160px; }
.tg-card, .req-card { background: linear-gradient(160deg, #1b1c1f, #121315); box-shadow: inset 0 0 0 1px #26272a; }
.cases__list li { border-bottom-color: #26272a; }
.faq > :is(.faq__item, details) { border-bottom-color: #26272a; }
.gantt__track i { background: linear-gradient(90deg, #6f7176, #d9dadc); }
.gantt__track i.run { background: linear-gradient(90deg, #f1f1f2, #f1f1f2 60%, rgb(241 241 242 / .2)); background-size: 200% 100%; }
.m-done { color: #0a0a0b; }
.hero--ceh .stages li[data-state="now"]::before, .stages li[data-state="now"]::before { background: #f1f1f2; border-color: #f1f1f2; color: #0a0a0b; }
.hero--ceh .stages li[data-state="done"]::before, .stages li[data-state="done"]::before { background: #3a3b3f; border-color: #3a3b3f; color: #f1f1f2; }
.closing .btn--xl { background: #f1f1f2; color: #0a0a0b; }
.footer.closing { background: #000; }
.cookie { background: #161719; border-top-color: #26272a; }

.hero--ceh .hero-ceh__text { justify-self: start; margin: 0; width: min(540px, 100%); grid-column: auto; padding: 0; }
.hero--ceh .tags li:last-child { margin-left: 0; }
.hero--ceh > .wrap > .hero-text { height: auto; }
.hero.hero--ceh > .wrap { height: 100%; display: grid; grid-template-rows: 1fr auto; }
.hero.hero--ceh > .wrap > .hero-text.hero-ceh__text { margin: 0; padding: 0; justify-self: start; align-self: center; width: min(540px, 100%); max-width: none; transform: none; }
.hero.hero--ceh > .wrap { display: grid !important; grid-template-columns: minmax(0, 1fr); height: 100% !important; }
#modules .panel.mod { height: 190px !important; min-height: 0 !important; aspect-ratio: auto !important; }
.m-grid i { background: #26272a !important; color: #f1f1f2; }
.m-grid i.flag { background: #f1f1f2 !important; color: #0a0a0b; }
.m-two span { font-size: 14px; }
@media (max-width: 639px) { #modules .panel.mod { height: 160px !important; } }
#contact.has-wave::before { width: 620px; height: 620px; right: -120px; top: 200px; background-image: url(wave-2.svg); opacity: .22; }
#modules .panel.mod { flex: 0 0 auto !important; }
#modules .grid { align-items: start; align-content: start; }
#modules .panel.mod { height: 150px !important; }
#modules .group + .grid { margin-top: var(--s-6); }
#modules .card h3 { margin-top: var(--s-3); }
#modules .card p { margin-top: var(--s-1); }
@media (max-width: 1023px) { #modules { --h: 2; } }
@media (max-width: 639px) { #modules { --hm: 3; } }
#modules .m-phone, #modules .m-card { padding: 12px 14px; gap: 4px; }
#modules .m-rows div { padding: 7px 0; }
