/* Оперобот — стиль по ролику студии: тёмно-синий фон, синий, зелёный, розовый, жёлтый. */
:root {
  --bg: #131522; --bg2: #171a2b; --panel: #1b1e30; --line: #2a2e45; --line2: #5a6080;
  --text: #fff; --mut: #b4bad2; --soft: #d5d9ea; --dim: #8e95b3;
  --blue: #2b40d4; --green: #2bd98f; --pink: #e88bfa; --yellow: #f2b632; --ink: #0b1020;
  --padx: clamp(20px, 5vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.5 'Montserrat', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: #fff; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; }
.sec { padding: 72px var(--padx); }
.sec.alt { background: var(--bg2); border-top: 1px solid #262a40; border-bottom: 1px solid #262a40; }
.col { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.row > * { flex: 1 1 420px; min-width: 0; }
.gap16 { gap: 16px; } .gap24 { gap: 24px; } .gap32 { gap: 32px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.eyebrow.pink { color: var(--pink); } .eyebrow.yellow { color: var(--yellow); }
h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 700; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--mut); max-width: 560px; }
.txt { font-size: 18px; color: var(--mut); }
.green { color: var(--green); } .yellow { color: var(--yellow); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 700 17px 'Montserrat', sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.pri { background: var(--green); color: var(--ink); border: 0; }
.btn.pri:hover { color: var(--ink); box-shadow: 0 10px 30px rgba(43, 217, 143, .25); }
.btn.sec2 { background: transparent; color: #fff; border: 1px solid var(--line2); }
.btn.sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--soft); }
.tick { display: flex; align-items: flex-start; gap: 8px; }
.tick svg { flex: none; margin-top: 3px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 5; background: rgba(19, 21, 34, .9); backdrop-filter: blur(10px); border-bottom: 1px solid #262a40; }
.top .wrap { padding: 12px var(--padx); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0 26px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--soft); text-decoration: none; padding: 11px 0; }
.nav a:hover { color: #fff; }

/* видео из ролика */
.clip { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.clip.fade { -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 76%); mask-image: radial-gradient(ellipse at center, #000 55%, transparent 76%); }
.frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: rgba(19, 21, 34, .88); border: 1px solid #3a3f5c; border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 1.4s ease-in-out infinite; }
.band { width: 100%; height: 200px; object-fit: cover; }

/* первый экран: три варианта */
.hero { padding: clamp(28px, 4vw, 56px) var(--padx) 40px; overflow: hidden; }
.hero-b { padding: 20px clamp(12px, 2vw, 20px) 24px; }
.hero-b .stage { position: relative; max-width: 1400px; margin: 0 auto; min-height: clamp(560px, 46vw, 700px); border-radius: 32px; overflow: hidden; display: flex; align-items: center; }
.hero-b video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(12%); }
.hero-b .shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(19, 21, 34, .94) 36%, rgba(19, 21, 34, 0) 64%); }
.hero-b .inner { position: relative; padding: clamp(28px, 5vw, 64px); max-width: 720px; gap: 24px; }
.hero-b h1 { font-size: clamp(36px, 4.6vw, 66px); }
.hero-c .wrap { max-width: 1000px; align-items: center; text-align: center; gap: 20px; }
.hero-c video { width: min(620px, 100%); margin-bottom: -24px; }
.hero-c h1 { font-size: clamp(40px, 5.4vw, 78px); line-height: 1; }
.hero-c .btns, .hero-c .ticks { justify-content: center; }
html[data-variant="a"] [data-v]:not([data-v~="a"]),
html[data-variant="b"] [data-v]:not([data-v~="b"]),
html[data-variant="c"] [data-v]:not([data-v~="c"]) { display: none !important; }

/* выбор отрасли */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: #fff; font: 600 17px 'Montserrat', sans-serif; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: transform .15s ease; }
.pill:hover { transform: translateY(-2px); color: #fff; }
.pill[aria-pressed="true"], .pill.on { background: #fff; color: var(--bg); border-color: #fff; font-weight: 700; }
.stage2 { display: flex; flex-wrap: wrap; gap: 24px; }
.stage2 > .left { flex: 3 1 480px; min-width: 0; gap: 18px; }
.stage2 > .right { flex: 2 1 380px; min-width: 0; }
.sit { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.pair { display: flex; flex-direction: column; gap: 8px; }
.pair div { display: flex; gap: 12px; align-items: baseline; }
.pair b { flex: none; width: 124px; font-size: 12px; letter-spacing: .08em; }
.pair .l b { color: var(--yellow); } .pair .l span { color: #f6d58a; }
.pair .w b { color: var(--green); } .pair .w span { color: #c8f6e2; }
.swap { animation: swap .5s ease-out both; }

/* разговор */
.dlg { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 24px; gap: 14px; }
.dlg .ttl { font-size: 24px; font-weight: 800; }
.dlg .meta { font-size: 13px; color: var(--mut); margin-top: 2px; }
.lines { display: flex; flex-direction: column; gap: 10px; height: 430px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #3a3f5c transparent; }
.msg { max-width: 88%; padding: 10px 14px; font-size: 15px; animation: ln .4s ease-out both; }
.msg small { display: block; font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.msg.c { align-self: flex-start; background: #fff; color: var(--bg); border-radius: 4px 18px 18px 18px; }
.msg.c small { color: var(--line2); }
.msg.b { align-self: flex-end; background: var(--blue); border-radius: 18px 4px 18px 18px; }
.msg.b small { color: #d5dbff; }
.msg.ok { align-self: stretch; max-width: none; background: var(--green); color: var(--ink); border-radius: 14px; font-size: 14px; font-weight: 700; padding: 12px 14px; }
.tasks { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--soft); }
.tasks strong { color: #fff; }
.note { font-size: 13px; color: var(--dim); }

/* расчёт потерь */
.calc { display: flex; flex-wrap: wrap; gap: 32px 56px; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 40px); }
.calc > * { flex: 1 1 360px; min-width: 0; }
.sl { display: flex; flex-direction: column; font-size: 15px; }
.sl div { display: flex; justify-content: space-between; gap: 12px; }
.sl output { font-weight: 700; white-space: nowrap; }
input[type=range] { width: 100%; height: 44px; margin: 0; accent-color: var(--green); cursor: pointer; }
.big { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.big.s { font-size: clamp(30px, 3.6vw, 48px); }
.cap { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* сравнение */
.cmp { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.cmp > div { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.cmp > div.hd { border-top: 0; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.cmp > div > * { flex: 1 1 280px; padding: 18px 16px; font-size: 16px; }
.cmp > div > :first-child { flex-basis: 200px; padding-left: 0; }
.cmp p:nth-child(2) { color: var(--mut); }
.cmp p:nth-child(3) { background: #16233a; }
.cmp .hd span:nth-child(2) { color: var(--mut); }
.cmp .hd span:nth-child(3) { background: var(--blue); border-radius: 14px 14px 0 0; }

.feats { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.feat { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--blue); }
.feat b { font-size: 13px; color: var(--pink); }
.feat p { font-size: 15px; color: var(--mut); }
.two { display: flex; flex-wrap: wrap; gap: 16px; }
.two .frame { flex: 1 1 200px; border-radius: 24px; }
.two video { aspect-ratio: 4 / 5; }
.list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--soft); }
.final { text-align: center; padding: 56px var(--padx) 72px; }
.final .wrap { max-width: 900px; align-items: center; gap: 20px; }
.final video { max-width: 720px; }
.final h2 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.foot { padding: 28px var(--padx); border-top: 1px solid #262a40; font-size: 14px; color: var(--mut); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.doc { max-width: 760px; margin: 0 auto; padding: 56px var(--padx) 96px; display: flex; flex-direction: column; gap: 18px; }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@keyframes ln { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes swap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
@media (max-width: 720px) { .nav { display: none; } .hero-b video { transform: none; opacity: .35; } .sec { padding: 56px var(--padx); } }

/* служебные классы вместо встроенных стилей (их запрещает политика безопасности сервера) */
.mw640 { max-width: 640px; } .mw720 { max-width: 720px; } .mw760 { max-width: 760px; } .mw820 { max-width: 820px; } .mw900 { max-width: 900px; }
.gap8 { gap: 8px; } .gap14 { gap: 14px; } .gap22 { gap: 22px; }
.jcc { justify-content: center; }
.soft { color: var(--soft); }
.h24 { font-size: 24px; }
.sub { font-size: 15px; color: var(--mut); }
.sep { border-top: 1px solid var(--line); padding-top: 20px; }
.pt56 { padding-top: 56px; } .pt24 { padding-top: 24px; }
.foot a { color: var(--soft); }
/* без скриптов (и для поисковиков) показываем один первый экран — вариант А */
html:not([data-variant]) [data-v]:not([data-v~="a"]) { display: none !important; }

/* разговор: пометка между звонками */
.msg.n { align-self: center; max-width: none; background: transparent; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 0; }
/* шапка: вход для клиентов */
.top-r { display: flex; align-items: center; gap: 18px; }
.login { color: var(--soft); font-size: 15px; font-weight: 600; text-decoration: none; padding: 11px 0; }
.login:hover { color: #fff; }
/* схема пути звонка */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; }
.node { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--soft); }
.node b { color: #fff; font-size: 17px; line-height: 1.25; }
.node span { font-size: 14px; color: var(--mut); }
.node img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-bottom: 8px; }
.node.hl { background: var(--blue); border-color: var(--blue); }
.node.hl span { color: #d5dbff; }
.link { flex: 0 0 44px; align-self: center; height: 3px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 16px); background-size: 16px 3px; animation: dash 0.8s linear infinite; }
@keyframes dash { to { background-position: 16px 0; } }
/* окно пульта, перерисованное с настоящего */
.win { border: 1px solid #3a3f5c; border-radius: 22px; overflow: hidden; background: #0e1020; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #1b1e30; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mut); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f5c; }
.win-bar i:nth-child(1) { background: var(--pink); } .win-bar i:nth-child(2) { background: var(--yellow); } .win-bar i:nth-child(3) { background: var(--green); }
.win-bar span { margin-left: 10px; font-weight: 700; color: var(--soft); }
.win-bar em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #2a2e45; color: var(--soft); }
.win-body { display: flex; }
.w-side { flex: 0 0 190px; display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; background: #131522; border-right: 1px solid var(--line); font-size: 14px; }
.w-side strong { font-size: 17px; font-weight: 800; padding: 0 10px 12px; }
.w-side span { padding: 9px 10px; border-radius: 10px; color: var(--mut); }
.w-side span.on { background: var(--blue); color: #fff; font-weight: 700; }
.w-main { flex: 1; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.w-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.w-head b { font-size: 22px; font-weight: 800; }
.w-tabs { display: flex; gap: 4px; background: #1b1e30; border-radius: 10px; padding: 4px; font-size: 13px; color: var(--mut); }
.w-tabs span { padding: 6px 12px; border-radius: 7px; } .w-tabs .on { background: #fff; color: var(--bg); font-weight: 700; }
.kpis { display: flex; flex-wrap: wrap; gap: 12px; }
.kpi { flex: 1 1 150px; background: #1b1e30; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { font-size: 13px; color: var(--mut); } .kpi b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.kpi i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--green); }
.w-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.w-card { flex: 1 1 240px; min-width: 0; background: #1b1e30; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.w-card.big { flex: 2 1 380px; }
.w-ttl { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; font-size: 15px; }
.w-ttl small { font-size: 12px; font-weight: 600; color: var(--mut); }
.w-chart { width: 100%; height: 130px; }
.w-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--soft); }
.w-row b { color: #fff; font-size: 16px; }
.warnc { color: var(--yellow) !important; } .okc { color: var(--green) !important; }
.w-card.call p { margin: 0; color: var(--soft); font-weight: 500; font-size: 14px; }
.w-card.call p b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 1px; }
.w-card.call .sum { background: #16233a; border-radius: 12px; padding: 10px 12px; color: #fff; }
@media (max-width: 720px) { .w-side { display: none; } .link { flex-basis: 100%; height: 26px; width: 3px; max-width: 3px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--green) 0 8px, transparent 8px 16px); animation: none; } }
@media (max-width: 720px) { .login { display: none; } }

.logo-img { width: 40px; height: 40px; border-radius: 10px; }

/* форма заявки */
.lead { width: 100%; max-width: 620px; display: flex; flex-direction: column; gap: 14px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 28px); }
.lead label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--soft); }
.lead input:not([type=checkbox]) { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: #fff; font: 500 17px 'Montserrat', sans-serif; }
.lead input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.lead input::placeholder { color: var(--dim); }
.f-row { display: flex; flex-wrap: wrap; gap: 14px; } .f-row label { flex: 1 1 220px; }
.lead .opt { font-weight: 500; color: var(--dim); }
.lead .chk { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14px; color: var(--mut); }
.lead .chk input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--green); }
.lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead button[disabled] { opacity: .6; cursor: default; }
.f-msg { min-height: 22px; font-size: 15px; color: var(--mut); }
.f-msg.ok { color: var(--green); font-weight: 700; } .f-msg.err { color: var(--yellow); }
/* уведомление о счётчике */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #1b1e30; border: 1px solid #3a3f5c; border-radius: 16px; padding: 14px 18px; font-size: 14px; color: var(--soft); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.cookie[hidden] { display: none; }

/* звук разговоров */
.dlg-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.play { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--green); color: var(--ink); font: 700 15px 'Montserrat', sans-serif; cursor: pointer; white-space: nowrap; transition: transform .15s ease; }
.play:hover { transform: translateY(-2px); }
.play[hidden] { display: none; }
.play.on { background: #fff; }
.play.big { align-self: center; min-height: 50px; padding: 0 24px; font-size: 16px; }
.dlgs { display: flex; flex-wrap: wrap; gap: 8px; }
.dlgs:empty { display: none; }
.dlgs button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--soft); font: 600 13px 'Montserrat', sans-serif; cursor: pointer; }
.dlgs button[aria-pressed="true"] { background: #2a2e45; color: #fff; border-color: #fff; }
.msg.now { box-shadow: 0 0 0 2px var(--green); }

/* голос на выбор заказчика */
.voice { display: flex; flex-wrap: wrap; gap: 24px 48px; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 36px); }
.voice > .col { flex: 1 1 280px; }
.voice-list { flex: 2 1 480px; display: flex; flex-wrap: wrap; gap: 20px 28px; }
.voice-list div { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.voice-list b { font-size: 17px; } .voice-list span { font-size: 15px; color: var(--mut); }
