/* Выбор мессенджера + панель для ПК */
.msgbar{display:none}
.msgm{position:fixed;inset:0;z-index:160;display:grid;place-items:end center;padding:0}
.msgm[hidden]{display:none}
.msgm__back{position:absolute;inset:0;background:rgba(5,4,3,.82);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:msgfade .25s}
.msgm__card{position:relative;width:min(480px,100%);max-height:calc(100svh - 16px);overflow:auto;padding:26px 20px calc(22px + env(safe-area-inset-bottom));border:1px solid #c99a58;border-radius:24px 24px 0 0;background:radial-gradient(ellipse at 50% 0,#3a1218 0,#17110e 55%,#0e0b09 100%);color:#f1e3c8;box-shadow:0 -20px 60px rgba(0,0,0,.7);animation:msgup .3s cubic-bezier(.2,.8,.2,1)}
.msgm__x{position:absolute;right:10px;top:10px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(201,154,88,.45);background:rgba(0,0,0,.4);color:#f4d7a8;font-size:28px;line-height:1;display:grid;place-items:center;cursor:pointer}
.msgm h2{margin:0 52px 6px 0;font-size:22px;line-height:1.2;color:#fff}
.msgm__sub{margin:0 0 16px;color:#c9b595;font-size:15px;line-height:1.4}
.msgm__list{display:grid;gap:10px}
.msgm__b{display:flex;align-items:center;gap:14px;min-height:64px;padding:10px 16px;border-radius:18px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#fff;font-weight:800;font-size:18px;text-decoration:none;cursor:pointer;transition:transform .15s,background .2s}
.msgm__b:hover,.msgm__b:focus-visible{background:rgba(255,255,255,.1);transform:translateY(-1px)}
.msgm__ico{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;color:#fff}
.msgm__ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.msgm__b small{display:block;font-weight:500;font-size:13px;color:#c9b595;margin-top:1px}
.c-wa{background:#1fa855}.c-tg{background:#229ed9}.c-max{background:linear-gradient(135deg,#3b7bff,#9b4dff)}
.msgm__tip{margin:14px 0 0;padding:12px 14px;border-radius:14px;background:rgba(0,0,0,.35);border:1px dashed rgba(201,154,88,.4);font-size:14px;color:#d9c9a6;line-height:1.45}
.msgm__copy{margin-top:10px;width:100%;min-height:48px;border-radius:14px;border:1px solid rgba(201,154,88,.5);background:transparent;color:#f4d7a8;font-weight:700;font-size:15px;cursor:pointer}
.msgm__steps{margin:0 0 14px;padding:0;list-style:none;display:grid;gap:6px;font-size:14px;color:#d9c9a6}
.msgm__steps li{display:flex;gap:10px;align-items:flex-start}.msgm__steps b{flex:none;width:24px;height:24px;border-radius:50%;background:#d3202c;color:#fff;display:grid;place-items:center;font-size:13px}
@keyframes msgfade{from{opacity:0}}@keyframes msgup{from{transform:translateY(40px);opacity:0}}
@media(min-width:600px){.msgm{place-items:center;padding:16px}.msgm__card{border-radius:24px;padding-bottom:24px}}
@media(prefers-reduced-motion:reduce){.msgm__back,.msgm__card{animation:none}}
/* панель на ПК */
@media(min-width:961px){
 .msgbar{position:fixed;z-index:60;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;padding:8px 8px 8px 18px;border-radius:99px;background:rgba(14,12,10,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(201,154,88,.5);box-shadow:0 14px 40px rgba(0,0,0,.6)}
 .msgbar[hidden]{display:none}
 .msgbar__t{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#f1e3c8;white-space:nowrap}
 .msgbar a{position:relative;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;transition:transform .2s}
 .msgbar a:hover,.msgbar a:focus-visible{transform:translateY(-3px) scale(1.06)}
 .msgbar a svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
 body.inner .gift-float{bottom:96px}
}
@media(min-width:961px) and (max-width:1100px){.msgbar__t{display:none}.msgbar{padding-left:8px}}
.est__steps{list-style:none;margin:14px 0;padding:0;display:grid;gap:10px}.est__steps li{display:flex;gap:12px;align-items:flex-start}.est__steps b{flex:none;width:30px;height:30px;border-radius:50%;background:#d3202c;color:#fff;display:grid;place-items:center}
.toc{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 22px}.toc a{min-height:44px;display:inline-flex;align-items:center;padding:8px 14px;border-radius:99px;border:1px solid rgba(201,154,88,.45);color:#f1e3c8;font-size:14px;text-decoration:none}.toc a:hover{background:rgba(201,154,88,.12)}
.art h2{margin-bottom:10px}.art p{line-height:1.65;max-width:70ch}.art .list{max-width:70ch;line-height:1.55}
.art{scroll-margin-top:84px}
@media(min-width:961px){body.page-home .msgbar{right:max(430px,calc(100vw - 1000px));padding-left:8px}body.page-home .msgbar__t{display:none}}
.art .list{margin-bottom:16px}.art p{margin:0 0 12px}
/* реквизиты и cookie */
.rq:has(.req-empty){display:none}.ft__req:has(.req-empty){display:none}.ft__req p,.req p{margin:0 0 6px}.ft__req{grid-column:1/-1;color:#c9b595;font-size:14px}
.ckb{position:fixed;z-index:120;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));max-width:720px;margin:0 auto;padding:14px 16px;border-radius:18px;background:rgba(14,12,10,.96);border:1px solid rgba(201,154,88,.55);box-shadow:0 14px 40px rgba(0,0,0,.6);color:#f1e3c8;display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:14px;line-height:1.4}
.ckb p{margin:0;flex:1 1 260px}.ckb a{color:#ffd98a;text-decoration:underline}.ckb div{display:flex;gap:8px}.ckb button{min-height:46px;padding:0 18px;border-radius:12px;border:1px solid rgba(201,154,88,.55);background:transparent;color:#f1e3c8;font-weight:700;font-size:14px;cursor:pointer}.ckb button[data-y]{background:#d3202c;border-color:#d3202c;color:#fff}
@media(max-width:960px){.ckb{bottom:calc(96px + env(safe-area-inset-bottom))}}
/* недоступные (скоро) */
.msgm__b.is-soon{opacity:.55}.msgm__b.is-soon .msgm__ico{filter:grayscale(.5)}
.msgbar a.is-soon{opacity:.5}
/* анимации привлечения внимания */
@keyframes mlWob{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(-14deg)}92%{transform:rotate(12deg)}95%{transform:rotate(-8deg)}98%{transform:rotate(5deg)}}
@keyframes mlRing{0%{box-shadow:0 0 0 0 rgba(224,33,47,.55)}70%,100%{box-shadow:0 0 0 14px rgba(224,33,47,0)}}
@keyframes mlShine{0%{transform:translateX(-120%) skewX(-18deg)}60%,100%{transform:translateX(260%) skewX(-18deg)}}
@keyframes mlFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes mlBeat{0%,100%{transform:scale(1)}8%{transform:scale(1.07)}16%{transform:scale(1)}24%{transform:scale(1.05)}32%{transform:scale(1)}}
.btn[data-estimate]{position:relative;overflow:hidden;isolation:isolate}
.btn[data-estimate]::after{content:"";position:absolute;top:0;bottom:0;left:0;width:36%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:translateX(-120%) skewX(-18deg);animation:mlShine 4.2s 2s ease-in-out infinite;pointer-events:none;z-index:-1}
.all-services[data-estimate]{animation:mlBeat 5s 3s ease-in-out infinite}
.dock__b[data-wa] .ic,.dock2 [data-wa] .ic{transform-origin:50% 80%;animation:mlWob 6s 3s ease-in-out infinite}
.msgbar{animation:mlFloat 4.5s ease-in-out infinite}
.msgbar a.c-max{animation:mlRing 2.8s 1.5s ease-out infinite;box-shadow:0 0 0 0 rgba(224,33,47,.55)}
.hd__call,.dock2__call{animation:mlBeat 6s 2.5s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.btn[data-estimate]::after,.all-services[data-estimate],.dock__b[data-wa] .ic,.dock2 [data-wa] .ic,.msgbar,.msgbar a.c-max,.hd__call,.dock2__call{animation:none!important}}
/* крупные значки на телефоне */
@media(max-width:960px){
 body .dock,body .dock2{padding:8px;gap:6px;border-radius:28px}
 body .dock__b,body .dock2 a:not(.dock2__call){min-height:68px;font-size:11.5px}
 body .dock__b .ic,body .dock2 a:not(.dock2__call) .ic{width:32px;height:32px}
 body .dock__call,body .dock2__call{min-height:68px;height:68px;font-size:15px}
 body .dock__call .ic,body .dock2__call .ic{width:30px;height:30px}
 body .hd__call{width:56px;height:56px}body .hd__call .ic{width:28px;height:28px}
 body .hd__burger{width:56px;height:56px}body .hd__burger .ic{width:30px;height:30px}
 body .seal__ring{width:46px;height:46px}body .seal .ic{width:26px;height:26px}
 body .chip .ic{width:28px;height:28px}
 body .btn .ic{width:24px;height:24px}
 .msgm__ico{width:52px;height:52px}.msgm__ico svg{width:30px;height:30px}
}
@media(max-width:400px){body .dock,body .dock2{left:8px;right:8px;gap:4px;padding:6px}body .dock__b span,body .dock2 a span{font-size:10px}}
@media(max-width:960px){
 body .gift-float{bottom:calc(118px + env(safe-area-inset-bottom))}body.page-home .gift-float{bottom:auto}
 body .dock__call,body .dock2__call{font-size:14px;letter-spacing:.03em;gap:8px;padding:0 6px;white-space:nowrap}
 body .dock__call .ic,body .dock2__call .ic{width:26px;height:26px;flex:none}
 body .dock{grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){body .links{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}}
@media(max-width:360px){body .dock__call,body .dock2__call{font-size:12.5px;letter-spacing:0}}
