:root{--bg:#FFFFFF;--card:#F5F6FA;--ink:#121318;--ink-2:#3F4256;--muted:#6B6F85;--line:#E6E7F0;--accent:#4F46E5;--accent-2:#3B5BFF;--accent-3:#5B2BE6;--dark:#1B1B22;--dark-2:#232430;--ok:#22C55E;--warn:#F59E0B;--bad:#EF4444;--font:"Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif}
*{box-sizing:border-box} html,body{margin:0} body{background:var(--bg);color:var(--ink);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none} button{font:inherit;color:inherit;cursor:pointer}
.wrap{max-width:1320px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
.muted{color:var(--muted)}

/* шапка */
.hd{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid transparent}
.hd.scrolled{border-color:var(--line)}
.hd-in{display:flex;align-items:center;gap:20px;height:56px}
.logo{font-weight:900;font-size:22px;letter-spacing:-.03em;white-space:nowrap} .l-nd{color:var(--ink)} .l-ai,.t-ai{background:linear-gradient(90deg,var(--accent-2),var(--accent-3));-webkit-background-clip:text;background-clip:text;color:transparent}
.nav{display:flex;gap:22px;margin:0 auto} .nav a{color:var(--ink-2);font-size:15px;padding:8px 2px;border-bottom:2px solid transparent} .nav a:hover,.nav a.active{color:var(--ink);border-color:var(--accent)}
.hd-right{display:flex;align-items:center;gap:18px;margin-left:auto}
.lang{display:flex;gap:4px} .lang button{border:0;background:transparent;padding:6px 8px;border-radius:8px;color:var(--muted);font-weight:600} .lang button.active{color:var(--ink)} .lang button:hover{background:var(--line)}
.login-btn{border:0;background:transparent;color:var(--accent);font-weight:600;font-size:17px;padding:8px 6px;border-radius:10px} .login-btn:hover{background:#EEF0FF}
.login-btn.full{width:100%;justify-content:center;display:flex;gap:6px;border:1px solid var(--line);padding:12px}
.burger{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:var(--card);flex-direction:column;justify-content:center;align-items:center;gap:5px} .burger span{display:block;width:18px;height:2px;background:var(--ink);border-radius:2px}
.mnav{display:flex;flex-direction:column;gap:6px;padding:10px 20px 16px;border-top:1px solid var(--line);background:var(--bg)} .mnav a{padding:12px 10px;border-radius:12px;font-weight:600} .mnav a:hover{background:var(--line)} .mnav .lang{padding:4px 6px}
@media (max-width:860px){.nav{display:none} .hd-right .lang,.hd-right .login-btn{display:none} .burger{display:flex} .hd-in{height:64px}}
@media (min-width:861px){.mnav{display:none!important}}

/* герой */
.hero{text-align:center;padding-top:16px;padding-bottom:20px}
.status-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);font-size:13px;color:var(--ink-2)}
.status-pill .dot{width:9px;height:9px;border-radius:50%;background:#C7CAD9} .status-pill.ok .dot{background:var(--ok);box-shadow:0 0 0 4px rgba(34,197,94,.18)} .status-pill.warn .dot{background:var(--warn)} .status-pill.bad .dot{background:var(--bad)}
.title{margin:14px 0 6px;font-size:clamp(34px,4.2vw,52px);line-height:1;font-weight:900;letter-spacing:-.05em;text-wrap:balance} .t-nd{color:var(--ink)}
.sub{margin:0 auto;max-width:900px;font-size:clamp(16px,1.6vw,20px);color:var(--ink-2);font-weight:400;letter-spacing:-.01em;text-wrap:balance}
.counts{margin:8px 0 16px;font-size:14px;color:var(--muted)}

/* тёмная панель */
.panel{position:relative;text-align:left;background:var(--dark);border:2px solid var(--accent);border-radius:18px;padding:14px 18px 18px;box-shadow:0 0 0 6px rgba(79,70,229,.12),0 30px 80px rgba(20,22,60,.25);color:#fff;overflow:hidden}
.dots{display:flex;gap:7px;margin-bottom:12px} .dots i{width:10px;height:10px;border-radius:50%} .dots .r{background:#FF5F57} .dots .y{background:#FEBC2E} .dots .g{background:#28C840}
.panel-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px} .panel-top .dots{margin:0}
.all-btn{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:#C9CBE3;border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:600} .all-btn:hover{background:rgba(255,255,255,.09);color:#fff}
.depts{columns:4;column-gap:10px;margin:0} .dept{break-inside:avoid;margin-bottom:8px;display:block}
.dept{min-width:0;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);border-radius:12px;transition:background .2s,border-color .2s} .dept:hover{background:rgba(255,255,255,.06)} .dept.open{border-color:rgba(99,102,241,.55);background:rgba(79,70,229,.10)}
.dept-h{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:0;background:transparent;text-align:left;color:inherit;border-radius:12px} .dept-h svg:first-child{width:20px;height:20px;flex:none;stroke:#A5A8FF;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dept-name{flex:1;min-width:0;font-size:13.5px;font-weight:600;color:#F3F4FA;line-height:1.3} .dept-n{flex:none;font-size:11.5px;color:#A9ACC4;white-space:nowrap}
.chev{width:18px;height:18px;flex:none;stroke:#A9ACC4;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s} .dept.open .chev{transform:rotate(180deg)}
.agents{list-style:none;margin:0;padding:0 14px;display:flex;flex-direction:column;gap:0;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease} .dept.open .agents{max-height:900px;padding:2px 14px 14px;gap:7px}
.agents li{display:flex;align-items:flex-start;gap:10px;min-width:0}
.agents .st{width:8px;height:8px;border-radius:50%;background:#4B4E63;flex:none;margin-top:7px} .agents .st.on{background:var(--ok);box-shadow:0 0 0 3px rgba(34,197,94,.25)} .agents .st.off{background:#6366F1;opacity:.7}
.agents span:last-child{font-size:13.5px;color:#E9EAF4;line-height:1.3;min-width:0;overflow-wrap:anywhere} .agents li.is-lead span:last-child{font-weight:600;color:#fff} .agents li.human span:last-child::after{content:" · человек";color:#A9ACC4;font-size:12px}
html[lang=en] .agents li.human span:last-child::after{content:" · human"}
.lines{display:flex;flex-direction:column;gap:28px;margin:48px 40px 48px} .line{position:relative;height:2px;background:rgba(99,102,241,.35);border-radius:2px}
.line i{position:absolute;left:0;top:0;height:2px;width:var(--w);background:linear-gradient(90deg,rgba(91,91,255,.3),var(--accent-2));border-radius:2px}
.line i::after{content:"";position:absolute;right:-7px;top:-6px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px var(--accent-2),0 0 18px rgba(91,91,255,.9)}
.pulse{animation:flow 9s ease-in-out infinite;animation-delay:var(--d)} @keyframes flow{0%{width:14%}50%{width:var(--w)}100%{width:14%}}
@media (prefers-reduced-motion:reduce){.pulse{animation:none}}
.dirs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px} .dir{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:var(--dark-2);border:1px solid rgba(255,255,255,.08);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:#E6E7F2}
.dir svg{width:18px;height:18px;stroke:#CBD5FF;fill:none;stroke-width:1.8}
.note{color:var(--muted);font-size:13px;margin:10px auto 0;max-width:820px;text-align:center}
@media (max-width:1200px){.depts{columns:3}} @media (max-width:1000px){.depts{columns:2}}
@media (max-width:860px){.panel{padding:18px 18px 24px;border-radius:20px} .depts{columns:1} .dept{margin-bottom:10px} .dept-n{display:none} .lines{margin:30px 8px} .dirs{gap:10px} .dir{padding:10px 16px;font-size:13px} .hero{padding-top:12px} .title{margin-top:10px}}
@media (max-width:560px){.dept-h{padding:11px 12px} .dept-name{font-size:14.5px}}

/* секции */
.sec{padding:36px 20px 8px} .sec h2{font-size:clamp(22px,2.6vw,30px);margin:0 0 8px;letter-spacing:-.02em} .lead{color:var(--ink-2);max-width:720px;margin:0 0 22px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px} .card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:0 1px 2px rgba(20,22,60,.04)}
.card .v{font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1.1;font-variant-numeric:tabular-nums} .card .l{color:var(--ink-2);margin-top:4px;font-weight:600} .card .d{color:var(--muted);font-size:13px;margin-top:4px}
@media (max-width:860px){.cards{grid-template-columns:1fr 1fr} .card .v{font-size:30px}} @media (max-width:420px){.cards{grid-template-columns:1fr}}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:10px} .tdept{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px} .tdept h3{margin:0 0 10px;font-size:17px;display:flex;align-items:center;gap:10px} .tdept h3 svg{width:22px;height:22px;stroke:var(--accent);fill:none;stroke-width:1.8} .tdept ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px} .tdept li{display:flex;gap:8px;align-items:flex-start;font-size:14.5px;color:var(--ink-2)} .tdept li b{color:var(--ink);font-weight:600} .tdept li .k{font-size:11px;padding:2px 7px;border-radius:999px;background:#EEF0FF;color:var(--accent);white-space:nowrap}
@media (max-width:1000px){.team-grid{grid-template-columns:1fr 1fr}} @media (max-width:640px){.team-grid{grid-template-columns:1fr}}
.steps{counter-reset:s;list-style:none;padding:0;margin:14px 0 0;display:grid;grid-template-columns:repeat(2,1fr);gap:14px} .steps li{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 14px 14px 56px;position:relative} .steps li::before{counter-increment:s;content:counter(s);position:absolute;left:20px;top:20px;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--accent-2),var(--accent-3));color:#fff;display:grid;place-items:center;font-weight:800} .steps b{display:block;margin-bottom:4px} .steps p{margin:0;color:var(--ink-2);font-size:15px}
@media (max-width:760px){.steps{grid-template-columns:1fr}}
.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:10px} .about-grid p{margin:0;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;color:var(--ink-2);line-height:1.6}
@media (max-width:860px){.about-grid{grid-template-columns:1fr}}
.ft{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px;padding:28px 20px 24px;flex-wrap:wrap}

/* вход */
.modal-back{position:fixed;inset:0;background:rgba(18,19,24,.5);display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}
.modal{background:var(--card);border-radius:22px;padding:26px;width:min(440px,100%);box-shadow:0 20px 60px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:12px} .modal h2{margin:0;font-size:24px} .modal label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--ink-2)} .modal input{font:inherit;padding:12px 14px;border:1px solid #D4D6E4;border-radius:12px;outline:none} .modal input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #EEF0FF}
.modal .row{display:flex;justify-content:flex-end;gap:10px;margin-top:6px} .btn{padding:11px 18px;border-radius:12px;border:1px solid #D4D6E4;background:var(--card);font-weight:600} .btn.primary{background:var(--accent);border-color:var(--accent);color:#fff} .err{color:var(--bad);font-size:14px;margin:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[hidden]{display:none!important}

/* Имя + должность специалиста */
.agents li{align-items:baseline}
.agents .ag-nm{font-size:14.5px;color:#E9EAF4;font-weight:600;min-width:0;overflow-wrap:anywhere}
.agents .ag-rl{font-size:12px;color:#A9ACC4;margin-left:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dept.open .agents li{flex-wrap:wrap;gap:0 10px}
.tdept li .role-sub{font-size:12px;color:var(--muted);margin-left:6px}

/* Нагрузка по направлениям */
.loadbars{display:flex;flex-direction:column;gap:7px;margin:12px 2px 12px}
.lb-head{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9A9DB8;margin-bottom:2px}
.lb-top{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;margin-bottom:3px} .lb-nm{color:#E9EAF4;font-weight:600} .lb-v{color:#A9ACC4;white-space:nowrap}
.lb-bar{position:relative;height:6px;border-radius:6px;background:rgba(255,255,255,.07);overflow:hidden}
.lb-bar i{position:absolute;left:0;top:0;height:100%;border-radius:6px;background:linear-gradient(90deg,#4F46E5,#3B5BFF)}
.lb-bar b{position:absolute;left:0;top:0;height:100%;border-radius:6px;background:#28C840;box-shadow:0 0 10px rgba(40,200,64,.5)}
@media (max-width:560px){.loadbars{margin:20px 2px 22px} .lb-v{font-size:11.5px}}
