/* Giant4 IT · «ВАУ»-главная (15.10.2026). Цвет B «Графит и лайм» (владелец: «дерзко и технологично, норм»).
   Движок — sc/scrollcraft.*; здесь только страница. Шрифты свои: /css/fonts.css (Manrope, JetBrains Mono). */

:root {
  --sc-canvas: #202427;
  --sc-surface: #292e32;
  --sc-ink: #f2f4ef;
  --sc-ink-soft: #a9b0a7;
  --sc-accent: #c9f24a;
  --sc-accent-ink: #151a05;
  --line: #3a4045;
  --raise: #31373c;
  --warn: #e0775f;
  --sc-font-display: "Manrope", system-ui, sans-serif;
  --sc-font-text: "Manrope", system-ui, sans-serif;
  --sc-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --bar-h: 64px;
  --sc-shadow-color: 205 12% 6%;
  color-scheme: dark;
}

body { background: var(--sc-canvas); color: var(--sc-ink); font-family: var(--sc-font-text); margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em { font-style: normal; }
[hidden] { display: none !important; }

/* ── кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 1.25em; border-radius: 12px; border: 1px solid transparent;
  font: 700 .95rem/1 var(--sc-font-text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-base), border-color var(--sc-d-base), color var(--sc-d-base);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 52px; padding: 0 1.6em; font-size: 1rem; }
.btn--accent { background: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--accent:hover { background: #d6f86c; }
.btn--ghost { border-color: rgba(242, 244, 239, 0.26); color: var(--sc-ink); }
.btn--ghost:hover { border-color: var(--sc-ink); }

/* ── шапка ── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome); height: var(--bar-h);
  display: flex; align-items: center; gap: 2rem; padding-inline: var(--sc-gutter);
  background: linear-gradient(to bottom, rgba(32, 36, 39, 0.88), rgba(32, 36, 39, 0));
  transition: background-color var(--sc-d-slow);
}
.bar.is-solid { background: rgba(32, 36, 39, 0.96); box-shadow: 0 1px 0 var(--line); }
.mark { display: inline-flex; align-items: center; gap: .6rem; color: var(--sc-ink); text-decoration: none; font-weight: 800; letter-spacing: .04em; font-size: .95rem; }
.mark svg { width: 30px; height: 30px; }
.mark b { color: var(--sc-accent); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 1.75rem; margin-inline-start: auto; }
.nav a { color: var(--sc-ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color var(--sc-d-base); }
.nav a:hover { color: var(--sc-ink); }
.bar__cta { min-height: 40px; }
.lang { display: inline-flex; align-items: center; }
.lang select {
  -webkit-appearance: none; appearance: none; padding: .4rem 1.7rem .4rem .7rem; border-radius: 8px; border: 1px solid var(--line);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23A9B0A7' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .6rem center / 10px 6px;
  color: var(--sc-ink-soft); font: 600 .85rem/1.2 var(--sc-font-text); cursor: pointer;
}
.lang select:hover, .lang select:focus-visible { color: var(--sc-ink); border-color: var(--sc-ink-soft); }
.lang option { background: var(--sc-canvas); color: var(--sc-ink); }
[dir="rtl"] .lang select { padding: .4rem .7rem .4rem 1.7rem; background-position: left .6rem center; }
[dir="rtl"] .hero__plate { transform: scaleX(-1); }
[dir="rtl"] .hero__shade {
  background:
    linear-gradient(270deg, rgba(32, 36, 39, 0.92) 0%, rgba(32, 36, 39, 0.7) 34%, transparent 64%),
    linear-gradient(to top, var(--sc-canvas) 0%, transparent 22%);
}
.burger { display: none; }

/* ── ГЕРОЙ ── */
.hero__stage { padding: 0; }
.hero__plate { position: absolute; inset: -4% 0 0 0; }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform-origin: 62% 35%; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(32, 36, 39, 0.92) 0%, rgba(32, 36, 39, 0.7) 34%, transparent 64%),
    linear-gradient(to top, var(--sc-canvas) 0%, transparent 22%);
}
.hero__dim { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(32, 36, 39, 0.88), rgba(32, 36, 39, 0.55)); }
.hero__copy {
  position: absolute; z-index: 4; inset-inline-start: var(--sc-gutter); bottom: clamp(5rem, 16vh, 10rem);
  max-width: min(50rem, 60vw); will-change: transform, opacity;
}
.hero__h1 {
  margin: 0 0 1.25rem; font: 800 clamp(2.6rem, 1.2rem + 3.6vw, 4.6rem)/1.02 var(--sc-font-display);
  letter-spacing: -0.035em; text-wrap: balance;
}
.hero__h1 em { color: var(--sc-accent); }
.hero__eye { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.1rem; font: 600 .85rem/1.3 var(--sc-font-text); letter-spacing: .02em; color: var(--sc-ink-soft); }
.hero__eye i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-accent); box-shadow: 0 0 0 4px rgba(201, 242, 74, .18); }
.hero__sub { margin: 0 0 2rem; max-width: 36ch; color: #d5dad2; font-size: var(--sc-t-lg); line-height: 1.45; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__beat {
  position: absolute; z-index: 5; inset-inline: var(--sc-gutter); top: 50%; translate: 0 -50%; margin: 0;
  text-align: center; font: 800 clamp(2rem, 1.2rem + 3.4vw, 4rem)/1.08 var(--sc-font-display); letter-spacing: -0.03em;
  opacity: 0; pointer-events: none; will-change: opacity, transform;
}

/* ── ДВЕ ПОЛОВИНЫ ── */
.split__stage { display: grid; grid-template-columns: 1fr 1fr; padding-top: var(--bar-h); background: var(--sc-canvas); }
.pane { position: relative; overflow: hidden; isolation: isolate; will-change: transform, opacity; }
.pane--old { background: #1b1e21; }
.pane--new { background: #22272a; }
.pane__head {
  position: absolute; z-index: 6; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1rem, 2.4vw, 2.25rem);
}
.pane__lbl { font: 800 .8rem/1 var(--sc-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft); }
.pane--new .pane__lbl { color: var(--sc-accent); }
.pane__meter { font: 500 .78rem/1.2 var(--sc-font-mono); color: var(--sc-ink-soft); }
.pane__meter b { display: inline-block; min-width: 2ch; color: var(--sc-ink); font-weight: 700; }
.pane--old .pane__meter b { color: var(--warn); }
.pane--new .pane__meter b { color: var(--sc-accent); }

.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--sc-ease-out), visibility 0s .5s; }
.scene.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--sc-ease-out), visibility 0s; }
.scene__photo {
  position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; z-index: -1;
  transform: scale(1.04); will-change: transform;
}
.scene__body {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; gap: 1.1rem;
  padding: clamp(4.4rem, 11vh, 6.5rem) clamp(1rem, 2.4vw, 2.25rem) 2rem;
  background: linear-gradient(to top, rgba(18, 20, 22, 0.7) 0%, transparent 46%);
}
.scene__cap { display: flex; align-items: baseline; gap: .9rem; }
.scene__cap .tm { font: 700 .85rem/1 var(--sc-font-mono); color: var(--sc-ink); padding: .35rem .55rem; border-radius: 6px; background: rgba(0, 0, 0, 0.4); font-variant-numeric: tabular-nums; }
.pane--new .scene__cap .tm { color: var(--sc-accent); }
.scene__cap h3 { margin: 0; font: 700 clamp(1.05rem, .8rem + .8vw, 1.45rem)/1.2 var(--sc-font-display); letter-spacing: -0.01em; }
.scene__out {
  margin: auto 0 0; min-height: 2.6em; text-wrap: balance; font: 700 clamp(1rem, .82rem + .62vw, 1.3rem)/1.3 var(--sc-font-display); letter-spacing: -0.01em; max-width: 30ch;
}
.pane--old .scene__out { color: #f4c4b6; }
.pane--new .scene__out { color: var(--sc-accent); }

[data-at] { opacity: 0; transform: translateY(6px); transition: opacity .35s var(--sc-ease-out), transform .35s var(--sc-ease-out); }
[data-at].is-in { opacity: 1; transform: none; }

.split__rule { position: absolute; z-index: 7; top: var(--bar-h); bottom: 0; left: 50%; width: 1px; background: var(--line); pointer-events: none; }
.split__final {
  position: absolute; z-index: 8; inset: var(--bar-h) 0 0 0; display: grid; place-items: center; pointer-events: none; opacity: 0;
  overflow: hidden; isolation: isolate; will-change: clip-path, opacity;
}
.split__finimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.split__final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 50%, rgba(32, 36, 39, 0.78), rgba(32, 36, 39, 0.3)); }
.split__final p { will-change: opacity; }
.split__final p { margin: 0; text-align: center; font: 800 clamp(2.6rem, 1.4rem + 5vw, 6rem)/1 var(--sc-font-display); letter-spacing: -0.04em; color: var(--sc-accent); }
.split__final small { display: block; margin-bottom: .35em; font-size: .42em; letter-spacing: -0.02em; color: var(--sc-ink-soft); }
@media (min-width: 861px) { .pane--old .scene, .pane--old .pane__head { inset-inline-end: auto; width: 50vw; } }

.split__demo { position: absolute; z-index: 7; inset-inline-end: 1rem; bottom: .8rem; margin: 0; font: 500 .75rem/1 var(--sc-font-mono); color: var(--sc-ink-soft); }
.split__steps { position: absolute; z-index: 9; inset: var(--bar-h) 0 auto 0; display: flex; gap: 4px; padding: 0 clamp(1rem, 2.4vw, 2.25rem); pointer-events: none; }
.split__steps i { flex: 1; height: 3px; border-radius: 2px; background: rgba(242, 244, 239, 0.16); overflow: hidden; }
.split__steps i::after { content: ""; display: block; height: 100%; background: var(--sc-accent); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
[dir="rtl"] .split__steps i::after { transform-origin: 100% 50%; }

/* ── экраны (демо-данные) ── */
.screen { position: relative; width: 100%; max-width: 46em; font-size: clamp(11px, .96vw, 14px); line-height: 1.35; }
.captcha [data-at]:not(.is-in), .inp [data-at]:not(.is-in) { display: none; }
.typed::after { content: ""; }
.typed.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-inline-start: 1px; vertical-align: -.15em; background: currentColor; animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* рабочий стол «как сейчас» */
.desk { aspect-ratio: 16 / 11; }
.win {
  position: absolute; display: flex; flex-direction: column; border-radius: 6px; overflow: hidden;
  background: #f4f5f6; color: #22262a; box-shadow: var(--sc-e2); transition: filter .25s, transform .25s var(--sc-ease-out);
  filter: brightness(.62) saturate(.7);
}
.win.is-front { z-index: 5; filter: none; transform: translateY(-2px); box-shadow: var(--sc-e3); }
.win__bar { flex: none; display: flex; align-items: center; gap: .35em; height: 2em; padding: 0 .7em; background: #d9dde1; font-size: .92em; color: #4b5258; }
.win__bar i { width: .7em; height: .7em; border-radius: 50%; background: #b9bfc5; }
.win__bar span { margin-inline-start: .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__bar--1c { background: #f1e4a6; color: #5b4d16; }
.win__body { flex: 1; padding: .8em; overflow: hidden; }
.w-site { left: 0; top: 0; width: 68%; height: 70%; }
.w-1c { left: 24%; top: 12%; width: 76%; height: 84%; background: #fbfaf4; }
.w-mail { left: 6%; top: 28%; width: 66%; height: 58%; }
.w-tg { left: 48%; top: 52%; width: 50%; height: 34%; background: #1f2529; color: var(--sc-ink); }
.w-tg .win__bar { background: #2b3238; color: #b9c2c9; }
.adm__h { display: flex; justify-content: space-between; margin-bottom: .6em; }
.adm__h span { color: #6b7278; }
.adm__t, .t1c { width: 100%; border-collapse: collapse; }
.adm__t td { padding: .32em .2em; border-bottom: 1px solid #e3e6e9; }
.adm__t td:nth-child(n+2) { text-align: right; white-space: nowrap; color: #50575d; }
.f1c { display: flex; align-items: center; gap: .6em; margin-bottom: .6em; }
.f1c label { color: #6b6450; }
.inp { display: inline-block; min-width: 14em; min-height: 1.6em; padding: .2em .45em; border: 1px solid #c9c3ab; background: #fff; border-radius: 2px; }
.t1c th { text-align: left; font-weight: 600; color: #6b6450; background: #f3edd2; padding: .3em .4em; }
.t1c td { padding: .3em .4em; border-bottom: 1px solid #ebe6d2; height: 1.9em; }
.b1c { display: flex; gap: .5em; margin-top: .7em; }
.b1c span { padding: .3em .8em; border: 1px solid #c9c3ab; border-radius: 3px; background: #f7f3e2; }
.b1c span:first-child { background: #f5d64a; border-color: #d9b929; font-weight: 600; }
.err1c {
  position: absolute; left: 50%; top: 48%; width: 78%; translate: -50% -50%; z-index: 3; padding: .9em 1em;
  background: #fffdf3; border: 1px solid #d8cfa6; border-radius: 4px; box-shadow: var(--sc-e3);
}
.err1c.is-in { transform: none; }
.err1c b { display: block; margin-bottom: .3em; }
.err1c p { margin: 0 0 .7em; color: #9b2f1d; font-weight: 600; }
.err1c span { padding: .2em 1em; border: 1px solid #c9c3ab; border-radius: 3px; }
.mrow { display: grid; grid-template-columns: 11em 1fr auto; gap: .6em; padding: .45em .2em; border-bottom: 1px solid #e3e6e9; }
.mrow b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4b5258; }
.mrow .tm { color: #7c8389; font-variant-numeric: tabular-nums; }
.adm__more { color: #7c8389; font-style: italic; }
.mrow--hot span { color: #9b2f1d; font-weight: 600; }
.mrow--out { background: #eef6dc; }
.tgm { max-width: 92%; padding: .55em .75em; border-radius: .8em .8em .8em .2em; background: #2b3238; color: var(--sc-ink); }
.tgm b { display: block; color: #8fc1ff; margin-bottom: .15em; }
/* Alt+Tab как в Windows 11: тёмная панель, превью окон с иконкой и заголовком, выбранное — в белой рамке */
.alttab {
  position: absolute; z-index: 9; left: 50%; top: 50%; translate: -50% -50%;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .35em; width: max-content; max-width: 96%; padding: .7em;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(32, 33, 36, .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55); opacity: 0; transition: opacity .12s; pointer-events: none;
}
.alttab.is-on { opacity: 1; }
.at { padding: .4em .4em .45em; border: 2px solid transparent; border-radius: 8px; }
.at.is-cur { border-color: #fff; background: rgba(255, 255, 255, .07); }
.at__h { display: flex; align-items: center; gap: .45em; margin-bottom: .4em; color: #f2f2f2; font: 400 .78em/1.2 "Segoe UI", system-ui, sans-serif; }
.at__h span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at__ic { flex: none; display: grid; place-items: center; width: 1.35em; height: 1.35em; border-radius: 4px; font: 800 .7em/1 var(--sc-font-text); font-style: normal; }
.at__ic svg { width: 78%; height: 78%; }
.at__ic--site { background: #2f6fe0; border-radius: 50%; }
.at__ic--onec { background: #f5d64a; color: #c0261d; }
.at__ic--mail { background: #1f6fd1; }
.at__ic--tg { background: #2aa3e8; border-radius: 50%; }
.at__p { position: relative; width: 9em; height: 5.8em; overflow: hidden; border-radius: 4px; background: #2b2e31; }
.at__h { width: 11.5em; }
.at__p .win { position: absolute; inset: 0 auto auto 0; width: 36em; height: 23.2em; transform: scale(.25); transform-origin: 0 0; filter: none; box-shadow: none; transition: none; }

/* телефон */
.phone { max-width: 19em; margin-inline: auto; }
.ph {
  position: relative; display: flex; flex-direction: column; gap: .7em; height: 31em; padding: 1em; overflow: hidden;
  border-radius: 2em; border: .55em solid #0f1113; background: #f5f6f7; color: #22262a; box-shadow: var(--sc-e3);
}
.ph__top { text-align: center; font-weight: 700; color: #6b7278; font-size: .9em; padding-bottom: .4em; border-bottom: 1px solid #e3e6e9; }
.ph__prod { display: grid; grid-template-columns: 4.5em 1fr; gap: .2em .8em; align-items: center; }
.ph__img { grid-row: span 3; width: 4.5em; height: 4.5em; border-radius: .6em; background: linear-gradient(135deg, #2c3136, #4b5459); position: relative; }
.ph__img::after { content: ""; position: absolute; left: 12%; right: 12%; top: 46%; height: 8%; border-radius: 4px; background: #f6e8b0; box-shadow: 0 0 12px #f6e8b0; }
.ph__prod span { color: #4b5258; }
.ph__btn { justify-self: start; display: inline-block; padding: .35em .9em; border-radius: .5em; background: #3d6fd8; color: #fff; font-weight: 600; font-size: .9em; }
.ph__btn--grey { background: #c4c9ce; color: #4b5258; }
.ph__form { display: flex; flex-direction: column; gap: .5em; padding: .8em; border: 1px solid #e3e6e9; border-radius: .7em; background: #fff; }
.ph__form .inp { min-width: 0; width: 100%; min-height: 2.6em; border-color: #d5d9dd; }
.captcha { display: flex; align-items: center; gap: .6em; }
.captcha s { padding: .2em .6em; font: italic 700 1.1em/1 var(--sc-font-mono); letter-spacing: .2em; color: #57606a; background: repeating-linear-gradient(45deg, #dfe3e7 0 4px, #cfd4d9 4px 8px); transform: skewX(-12deg); text-decoration: line-through; }
.inp--sm { min-width: 6em !important; width: 6em !important; }
.ph__err { margin: 0; color: #b23a24; font-weight: 600; font-size: .9em; }
.ph__ok { margin: 0; color: #4b5258; font-size: .9em; }
.ph__left { position: absolute; z-index: 3; left: .8em; right: .8em; top: 3.4em; padding: .8em; border-radius: .7em; background: #2b3035; color: #e8ebed; text-align: center; font-weight: 600; box-shadow: var(--sc-e3); }
.ph--chat { background: #1a1e21; color: var(--sc-ink); gap: .55em; justify-content: flex-end; padding-top: 3em; }
.ph--chat .ph__top .ai { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-inline-end: .45em; border-radius: 50%; background: var(--sc-accent); color: var(--sc-accent-ink); font: 800 .7em/1 var(--sc-font-text); font-style: normal; vertical-align: .1em; }
.cm__who { display: block; margin-bottom: .2em; font-size: .78em; font-weight: 700; color: var(--sc-accent); }
.ph--chat .ph__top { position: absolute; z-index: 2; inset: 0 0 auto 0; padding: 1em 1em .6em; background: #1a1e21; color: var(--sc-ink-soft); border-color: #2f363b; }
.ph--chat [data-at]:not(.is-in) { display: none; }
.ph--chat .ph__top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 2.4em; background: linear-gradient(#1a1e21, rgba(26, 30, 33, 0)); }
.ph--chat .cm.is-in { animation: msg-in .32s var(--sc-ease-out); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.cm { max-width: 86%; padding: .55em .75em; border-radius: .9em; font-size: .95em; }
.cm.me { align-self: flex-end; background: var(--sc-accent); color: var(--sc-accent-ink); border-bottom-right-radius: .25em; }
.cm.bot { align-self: flex-start; background: #2c3338; border-bottom-left-radius: .25em; }
.cm.bot.ok { box-shadow: inset 0 0 0 1px var(--sc-accent); }
.cm.voice { display: flex; align-items: center; gap: .6em; font: 600 .9em/1 var(--sc-font-mono); }
.wave { width: 6.5em; height: 1.4em; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(90deg, #000, #000); mask: radial-gradient(ellipse at 50% 50%, #000 40%, rgba(0,0,0,.35) 75%); opacity: .8; }
.cm.dots { display: flex; gap: .3em; background: #2c3338; }
.cm.dots i { width: .45em; height: .45em; border-radius: 50%; background: var(--sc-ink-soft); animation: dot 1s infinite; }
.cm.dots i:nth-child(2) { animation-delay: .15s; } .cm.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .3; } }

/* почта */
.inbox { padding: .9em; border-radius: 8px; background: #f4f5f6; color: #22262a; box-shadow: var(--sc-e3); }
.ib__h { display: flex; align-items: center; gap: .5em; font-weight: 700; margin-bottom: .5em; }
.ib__n { padding: .05em .55em; border-radius: 1em; background: var(--warn); color: #fff; font-size: .85em; }
.ib__list { display: flex; flex-direction: column; }
.ib__r { padding: .5em .4em; border-bottom: 1px solid #e3e6e9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .3s; }
.ib__r.sp { color: #6b7278; }
.ib__r.cl { font-weight: 700; }
.ib__r.cl.is-marked { background: #eef6dc; }
.ib__r.cl.is-marked::before { content: "✓ "; color: #4f7d12; }
.ib__r.cl--miss::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-inline-end: .45em; border-radius: 50%; background: var(--warn); }
.tgm--float { position: absolute; inset-inline-end: -1em; bottom: -1.2em; max-width: 16em; box-shadow: var(--sc-e3); }

/* экран блокировки */
.lock { max-width: 19em; margin-inline: auto; padding: 1.2em 1em 1.6em; border-radius: 2em; border: .55em solid #0f1113; background: linear-gradient(170deg, #2a3136, #15181b); box-shadow: var(--sc-e3); min-height: 27em; }
.lk__t { text-align: center; font: 300 3.6em/1 var(--sc-font-text); margin: .2em 0 .5em; letter-spacing: -.02em; }
.lk__n { margin-top: .55em; padding: .7em .8em; border-radius: .9em; background: rgba(242, 244, 239, 0.13); }
.lk__n b { display: block; font-size: .85em; color: var(--sc-ink-soft); margin-bottom: .1em; }

/* одно окно: CRM */
.crm { display: grid; grid-template-columns: 7.5em 1fr; min-height: 27em; border-radius: 10px; overflow: hidden; background: #1a1e21; box-shadow: var(--sc-e3); outline: 1px solid #343b40; }
.crm__side { display: flex; flex-direction: column; gap: .2em; padding: .8em .5em; background: #15181b; }
.crm__side i { padding: .45em .6em; border-radius: 6px; color: var(--sc-ink-soft); font-style: normal; }
.crm__side i.on { background: rgba(201, 242, 74, 0.16); color: var(--sc-accent); font-weight: 700; }
.crm__main { display: flex; flex-direction: column; gap: .8em; padding: .8em; min-width: 0; }
.crm__cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; min-height: 9em; }
.col { padding: .45em; border-radius: 7px; background: #22282c; }
.col b { display: block; font-size: .85em; color: var(--sc-ink-soft); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card {
  --col: 0; --dir: 1; position: absolute; top: 2.3em; inset-inline-start: .3em; width: calc((100% - 1.5em) / 4 - .6em);
  transform: translateX(calc(var(--col) * (100% + 1.1em) * var(--dir)));
  display: flex; flex-direction: column; gap: .15em; padding: .55em .6em; border-radius: 7px; background: #2f373c;
  box-shadow: var(--sc-e2); transition: transform .55s var(--sc-ease-in-out);
}
[dir="rtl"] .card { --dir: -1; }
.card b { color: var(--sc-ink); }
.card span { font-size: .85em; color: var(--sc-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { margin-top: .25em; align-self: flex-start; max-width: 100%; padding: .1em .5em; border-radius: .7em; font-size: .78em; line-height: 1.25; font-weight: 700; background: rgba(201, 242, 74, 0.18); color: var(--sc-accent); }
.crm__docs { display: flex; flex-wrap: wrap; gap: .4em; }
.doc { padding: .3em .65em; border-radius: 6px; background: #262c30; outline: 1px solid #353c41; font-size: .88em; }
.doc::before { content: "✓ "; color: var(--sc-accent); }
.crm__chat { display: flex; flex-direction: column; gap: .4em; padding: .6em; border-radius: 8px; background: #20262a; }
.msg { max-width: 88%; padding: .45em .65em; border-radius: .7em; font-size: .92em; }
.msg b { display: block; font-size: .8em; color: var(--sc-ink-soft); font-weight: 600; margin-bottom: .1em; }
.msg.in { background: #2c3338; }
.msg.out { align-self: flex-end; background: rgb(66, 79, 48); }

/* одно окно: переписки */
.chats { padding: .9em; border-radius: 10px; background: #1a1e21; box-shadow: var(--sc-e3); outline: 1px solid #343b40; }
.ch__h { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: .5em; }
.ch__ok { padding: .15em .6em; border-radius: 1em; font: 700 .85em/1.4 var(--sc-font-mono); background: rgba(201, 242, 74, 0.18); color: var(--sc-accent); }
.ch__r { display: grid; grid-template-columns: 5.6em 9.5em 1fr; gap: .6em; align-items: center; padding: .55em .4em; border-bottom: 1px solid #2c3338; }
.ch__r b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch__r span { color: var(--sc-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch__r--act { background: rgba(201, 242, 74, 0.09); border-radius: 6px; }
.src { font-style: normal; font-size: .78em; padding: .15em .5em; border-radius: 1em; background: #2c3338; color: var(--sc-ink-soft); text-align: center; }
.ch__spam { margin-top: .7em; font: 500 .9em/1 var(--sc-font-mono); color: var(--sc-ink-soft); }
.ch__spam b { color: var(--sc-ink); }

/* одно окно: утренняя сводка */
.digest { max-width: 30em; padding: 1.2em; border-radius: 12px; background: #1a1e21; box-shadow: var(--sc-e3); outline: 1px solid #343b40; }
.dg__h { font-weight: 700; margin-bottom: .9em; font-size: 1.1em; }
.dg__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; }
.dg__k { padding: .8em .6em; border-radius: 8px; background: #22282c; }
.dg__k b { display: block; font: 800 2.2em/1 var(--sc-font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dg__k span { font-size: .85em; color: var(--sc-ink-soft); }
.dg__k--zero b { color: var(--sc-accent); }
.dg__note { margin-top: .9em; color: var(--sc-ink-soft); }

/* ── всё в одном окне ── */
.one { padding-block: var(--sc-section); }
.one__h { margin: 0 0 clamp(2rem, 5vw, 4rem); font: 800 var(--sc-t-3xl)/1.02 var(--sc-font-display); letter-spacing: -0.035em; }
.one__h em { color: var(--sc-accent); }
.one__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 5rem); }
.one__list li { position: relative; padding-block: 1.05rem; padding-inline-start: 2.1rem; border-top: 1px solid var(--line); font-size: var(--sc-t-lg); line-height: 1.35; }
.one__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.35rem; width: 1.05rem; height: .55rem; border-left: 2.5px solid var(--sc-accent); border-bottom: 2.5px solid var(--sc-accent); transform: rotate(-45deg); }

/* ── заявка ── */
.contact { padding-block: var(--sc-section); background: #1b1f22; border-top: 1px solid var(--line); }
.contact__in { display: grid; grid-template-columns: 1fr minmax(0, 34rem); grid-template-areas: "lead chat" "chan chat"; column-gap: clamp(2rem, 6vw, 6rem); row-gap: 2rem; align-items: start; }
.contact__lead { grid-area: lead; }
.contact__in > .tgc { grid-area: chat; }
.contact__in > .chan { grid-area: chan; }
.contact__h { margin: 0 0 1.25rem; font: 800 var(--sc-t-3xl)/1.02 var(--sc-font-display); letter-spacing: -0.035em; }
.contact__sub { margin: 0 0 1rem; max-width: 40ch; color: var(--sc-ink-soft); font-size: var(--sc-t-lg); line-height: 1.5; }
.contact__since { margin: 0 0 2rem; color: var(--sc-ink); font-weight: 600; }
.chan { display: flex; flex-direction: column; gap: .5rem; }
.chan__t { font-size: .85rem; color: var(--sc-ink-soft); margin-bottom: .25rem; }
.chan a { display: inline-flex; align-items: baseline; gap: .7rem; color: var(--sc-ink); text-decoration: none; font-size: 1.1rem; font-weight: 700; }
.chan a span { font-size: .8rem; font-weight: 500; color: var(--sc-ink-soft); min-width: 5.5rem; }
.chan a:hover b { color: var(--sc-accent); }
.form { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--sc-r-lg); background: var(--sc-surface); box-shadow: var(--sc-e2), var(--sc-edge); }
.fld { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; color: var(--sc-ink-soft); }
.req { color: var(--sc-accent); }
.fld input, .fld textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: #1f2427; color: var(--sc-ink); font-size: 1rem;
  transition: border-color var(--sc-d-base);
}
.fld textarea { resize: vertical; min-height: 7rem; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--sc-accent); }
.fld .invalid { border-color: var(--warn); }
.fld__err { font-style: normal; font-size: .82rem; color: #f4c4b6; }
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.consent { position: relative; display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--sc-ink-soft); cursor: pointer; line-height: 1.45; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .box { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .05rem; border-radius: 5px; border: 1.5px solid #5a6268; background: #1f2427; display: grid; place-items: center; transition: background-color var(--sc-d-fast), border-color var(--sc-d-fast); }
.consent input:checked + .box { background: var(--sc-accent); border-color: var(--sc-accent); }
.consent input:checked + .box::after { content: ""; width: .55rem; height: .3rem; border-left: 2px solid var(--sc-accent-ink); border-bottom: 2px solid var(--sc-accent-ink); transform: translateY(-1px) rotate(-45deg); }
.consent input:focus-visible + .box { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.consent.need .box { border-color: var(--warn); }
.consent a { color: var(--sc-ink); }
.form__err { margin: 0; color: #f4c4b6; font-size: .9rem; }
.form__err a { color: var(--sc-accent); }
.form__done { display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border-radius: 12px; background: rgba(201, 242, 74, 0.14); }
.form__done b { color: var(--sc-accent); font-size: 1.1rem; }
.form.is-done .fld, .form.is-done .consent, .form.is-done button { display: none; }

/* ── подвал ── */
.foot { padding: 3rem 0 2rem; border-top: 1px solid var(--line); color: var(--sc-ink-soft); font-size: .85rem; line-height: 1.55; }
.foot__in { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 2rem; }
.foot p { margin: 0 0 .35rem; }
.foot a { color: var(--sc-ink-soft); }
.foot a:hover { color: var(--sc-ink); }
.foot__mark { font-weight: 800; color: var(--sc-ink); letter-spacing: .04em; }
.foot__mark b { color: var(--sc-accent); }
.foot__h { color: var(--sc-ink); font-weight: 700; }
.foot__rights { margin-top: 2rem !important; }

.cookie {
  position: fixed; z-index: calc(var(--sc-z-chrome) + 1); inset-inline-start: 1rem; bottom: 1rem; max-width: 23rem;
  display: flex; gap: .9rem; align-items: center; justify-content: space-between; padding: .7rem .8rem .7rem 1rem; border-radius: 12px;
  background: var(--sc-surface); box-shadow: var(--sc-e3); font-size: .78rem; line-height: 1.4; color: var(--sc-ink-soft);
}
.cookie .btn { min-height: 36px; padding: 0 .9rem; font-size: .85rem; }
.cookie a { color: var(--sc-ink); }

/* ── страница услуг ── */
.svc-page { padding: calc(var(--bar-h) + clamp(2rem, 6vw, 5rem)) 0 var(--sc-section); }
.svc-page__h { margin: 0 0 1rem; font: 800 var(--sc-t-3xl)/1.02 var(--sc-font-display); letter-spacing: -0.035em; }
.svc-page__sub { margin: 0 0 2rem; max-width: 52ch; color: var(--sc-ink-soft); font-size: var(--sc-t-lg); line-height: 1.5; }
.svc-page__acts { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.svc-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.svc-group__h { margin: 0 0 .5rem; font: 800 var(--sc-t-xl)/1.15 var(--sc-font-display); letter-spacing: -0.02em; color: var(--sc-accent); }
.svc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.svc-item h3 { margin: 0; font: 700 var(--sc-t-lg)/1.25 var(--sc-font-display); }
.svc-item__price { font: 700 1rem/1.3 var(--sc-font-mono); color: var(--sc-ink); white-space: nowrap; text-align: end; }
.svc-item p { grid-column: 1 / -1; margin: 0; max-width: 75ch; color: var(--sc-ink-soft); line-height: 1.6; }
.svc-item p b { color: var(--sc-ink); font-weight: 600; }

/* ── телефон и узкие окна ── */
@media (max-width: 860px) {
  :root { --bar-h: 56px; }
  .bar { gap: 1rem; }
  .bar__cta { display: none; }
  .burger { display: inline-grid; place-content: center; gap: 6px; margin-inline-start: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
  .burger i { display: block; width: 22px; height: 2px; background: var(--sc-ink); transition: transform var(--sc-d-base); }
  .burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--bar-h) 0 auto 0; flex-direction: column; gap: 0; padding: .5rem var(--sc-gutter) 1.25rem;
    background: var(--sc-canvas); box-shadow: 0 12px 24px -12px #000; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--sc-d-base), transform var(--sc-d-base), visibility 0s var(--sc-d-base);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--sc-d-base), transform var(--sc-d-base); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--sc-ink); }
  .nav .lang { padding: .9rem 0 .2rem; }
  .nav .lang select { font-size: 1rem; padding-block: .55rem; }

  .hero__plate img { object-position: 50% 22%; }
  .hero__shade { background: linear-gradient(to top, rgba(24, 27, 30, 0.97) 0%, rgba(24, 27, 30, 0.88) 34%, rgba(24, 27, 30, 0) 60%), linear-gradient(to bottom, rgba(24, 27, 30, 0.5) 0%, rgba(24, 27, 30, 0) 16%); }
  .hero__copy { left: 16px; right: 16px; top: auto; bottom: calc(5vh + env(safe-area-inset-bottom, 0px)); max-width: none; }
  .hero__eye { font-size: .8rem; margin-bottom: .8rem; }
  .hero__h1 { font-size: clamp(1.7rem, 8.1vw, 3.2rem); margin-bottom: .9rem; }
  .hero__sub { font-size: 1.02rem; margin-bottom: 1.25rem; }
  .hero__cta .btn { flex: 1 1 100%; }

  .split__stage { grid-template-columns: 1fr; }
  .pane { grid-area: 1 / 1; }
  .pane--new { clip-path: inset(0 0 0 100%); }
  .split__rule { left: 100%; width: 2px; background: var(--sc-accent); opacity: 0; }
  .scene__body { padding: 3.6rem 16px 1.6rem; gap: .8rem; justify-content: flex-start; }
  .scene__cap h3 { font-size: 1.05rem; }
  .screen { font-size: clamp(9px, 2.9vw, 12px); }
  .desk { aspect-ratio: 4 / 5; }
  .w-site { left: 0; top: 0; width: 82%; height: 46%; }
  .w-1c { left: 10%; top: 18%; width: 90%; height: 54%; }
  .w-mail { left: 3%; top: 46%; width: 86%; height: 34%; }
  .w-tg { left: 28%; top: 72%; width: 72%; height: 24%; }
  .at__p { width: 8.6em; height: 5.6em; }
  .at__h { width: 11em; }
  .at__p .win { width: 34.4em; height: 22.4em; }
  .crm { grid-template-columns: 1fr; min-height: 0; }
  .crm__side { display: none; }
  .ph--chat { height: 30em; }
  .ph { height: 28em; }
  .tgm--float { inset-inline-end: .2em; bottom: -2.2em; }
  .scene__out { margin-top: auto; font-size: 1.05rem; }
  .split__demo { inset-inline-end: 16px; }
  .one__list { grid-template-columns: 1fr; }
  .contact__in { grid-template-columns: 1fr; grid-template-areas: "lead" "chat" "chan"; }
  .foot__in { grid-template-columns: 1fr; gap: 1.25rem; }
  .svc-item { grid-template-columns: 1fr; }
  .svc-item__price { text-align: start; }
  .ch__r { grid-template-columns: auto 1fr; row-gap: .2em; }
  .ch__r span { grid-column: 1 / -1; white-space: normal; }
  .cookie { inset-inline: 12px; bottom: 12px; max-width: none; padding: .55rem .6rem .55rem .85rem; font-size: .74rem; }
  .split__steps { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene, .scene.is-on, [data-at] { transition-duration: .15s; transform: none !important; }
  .hero__plate img { transform: none !important; }
  .card { transition: none; }
  .typed.is-typing::after, .cm.dots i { animation: none; }
}
