
/* красно-белая палитра: образец, на боевой не включена */
:root{--navy:#2b2b2b;--blue:#d12c2c;--blue-d:#a81f1f;--steel:#b85c5c;--mist:#fcf6f6;--mist2:#f7e6e6;--line:#efdcdc;--text:#3a3232;--muted:#7c6c6c}
.btn{border-color:var(--blue)}
.btn.fill:hover{background:#b82424}
.hero{background:radial-gradient(circle at 80% 20%,#fffafa,transparent 55%),linear-gradient(135deg,#fbe9e9,#f4d3d3)}
.hero::before{background-image:url(img/hero-shapes-red.svg)}
.hero h1{color:#a81f1f}
.ic{background:linear-gradient(135deg,#d12c2c,#e8625a);box-shadow:0 8px 18px rgba(209,44,44,.22)}
.band{background:url(img/band-shapes.svg) right center/auto 140% no-repeat,linear-gradient(135deg,#b82626,#e0524b)}
.card:hover{box-shadow:0 14px 34px rgba(209,44,44,.14)}
.fact{background:#fcf6f6}
.cl-b{background:#fdeceb;color:#b42318}
.cl-bar{background:#d12c2c}
.cl-i input{accent-color:#d12c2c}
.price{background:#f7e6e6;color:#a81f1f}
.rows .rp{background:#f7e6e6;color:#a81f1f}
footer{background:#2b2b2b;color:#d9cfcf}
footer a:hover{color:#fff}
.lead-ok{background:#e8f6ee}
.cookie{box-shadow:0 12px 36px rgba(43,43,43,.18)}

/* черный в палитре */
:root{--navy:#141414}
.band{background:url(img/band-shapes.svg) right center/auto 140% no-repeat,linear-gradient(135deg,#0f0f0f,#2b2b2b)}
.band .step{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
.band .step b{color:#ff6b61}
.band .step span{color:#d8cfcf}
footer{background:#111;color:#cfc6c6}
.gos-strip{background:#141414;border-color:#141414}
.hero h1{color:#a81f1f}

/* IT-изображения вместо кружков */
.hero::before{background-image:url(img/hero-it.svg);opacity:1}
.band{background:url(img/band-it.svg) right center/auto 100% no-repeat,linear-gradient(135deg,#0f0f0f,#2b2b2b)}

/* шапка: добавлен пункт Нейросети, меню стало шире */
header.main .wrap{max-width:1320px;gap:18px}

/* кнопка консультации под телефоном: компактная, без отдельной колонки в шапке */
header.main .hcontact{align-items:flex-start;gap:5px}
header.main .hcontact .hbtn{padding:4px 13px;font-size:12.5px;line-height:1.25;font-weight:600;border-width:1.5px}

/* счетчик услуг в заголовке группы */
.grp-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 4px}
.grp-top h3{margin:0}
.gc{font-size:12.5px;font-weight:600;color:var(--muted);background:var(--mist2);border-radius:999px;padding:2px 10px;white-space:nowrap}

/* вход и регистрация в шапке; после входа в панель вместо них плашка «Вы вошли» */
.hauth{display:flex;align-items:center;gap:12px;flex:none}
.hauth-out{display:flex;align-items:center;gap:12px}
.hauth .hlogin{font-size:14px;font-weight:600;color:var(--navy);white-space:nowrap}
.hauth .hlogin:hover{color:#d12c2c}
header.main .hauth .hreg{padding:6px 15px;font-size:13.5px;line-height:1.25}
.hauth-in{display:none;align-items:center;gap:7px;padding:6px 13px;border:1.5px solid #bfe3cc;background:#e8f6ee;color:#1d6b3f;border-radius:999px;font-size:13.5px;font-weight:600;white-space:nowrap;text-decoration:none}
.hauth-in:hover{background:#dcf1e5}
.hdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2fb26b;box-shadow:0 0 0 3px rgba(47,178,107,.25);flex:none}
.hauth-name{display:inline-block;max-width:120px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;font-weight:700}
html:not(.co-in) header.main .hauth-in{display:none!important}
html.co-in header.main .hauth-out{display:none!important}
html.co-in header.main .hauth .hauth-in{display:inline-flex}
.hauth-m{display:flex;flex-direction:column;gap:10px}
.hauth-m .hauth-out{flex-direction:column;align-items:stretch}
header.main nav.open .nav-mob .hauth-in{justify-content:center}
@media(max-width:1360px){.hauth{display:none}}

/* блок только для гостей (скрывается после входа в панель) и компактные кнопки */
html.co-in .guest-only{display:none}
.btn.btn-sm{padding:8px 18px;font-size:14px;line-height:1.3}
.guest-only .btn-sm{margin-right:6px}

.user-only{display:none}
html.co-in .user-only{display:block}
