/* Полоса «Как стать нашим дилером?» над футером (2026-10-27). Разметка и окно «Заказать звонок» не меняются. */
.footer_callback{
  position:relative;overflow:hidden;float:none!important;clear:both;
  background-color:#1d70d0!important;
  background-image:
    radial-gradient(600px 220px at 12% 0%,rgba(255,255,255,.14),rgba(255,255,255,0) 70%),
    radial-gradient(520px 240px at 92% 110%,rgba(10,40,100,.28),rgba(10,40,100,0) 70%),
    linear-gradient(110deg,#1a66c3 0%,#2278dc 55%,#1c6dd0 100%)!important}
/* медленный блик */
.footer_callback::after{
  content:"";position:absolute;top:-40%;bottom:-40%;left:-30%;width:22%;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.13),rgba(255,255,255,0));
  transform:skewX(-18deg);animation:ctaShine 9s ease-in-out infinite}
@keyframes ctaShine{0%,60%{left:-30%}100%{left:130%}}
.footer_callback > .container{position:relative;z-index:1}
.footer_callback .row{display:flex;align-items:center;flex-wrap:wrap;padding:30px 0}
.footer_callback .bg_block_footer,.footer_callback .block_footer,.footer_callback .col-sm-2{float:none;margin:0!important}
.footer_callback .bg_block_footer p{
  margin:0!important;padding:0!important;border:0!important;display:block;
  font:700 24px/1.25 Montserrat,Arial,sans-serif!important;color:#fff;letter-spacing:-.01em}
.footer_callback .block_footer p{margin:0!important;font:400 15px/1.55 Montserrat,Arial,sans-serif!important;color:rgba(255,255,255,.86)!important}
.footer_callback .register_button{
  float:none!important;display:inline-flex!important;align-items:center;justify-content:center;gap:10px;
  width:auto!important;max-width:none!important;height:50px!important;padding:0 26px!important;margin:0!important;
  background:#fff!important;border:0!important;border-radius:10px!important;
  color:#1d70d0!important;font:700 14px/1 Montserrat,Arial,sans-serif!important;text-transform:none!important;letter-spacing:.01em;
  box-shadow:0 8px 22px rgba(8,30,70,.22)!important;transition:transform .2s,box-shadow .2s,background-color .2s;white-space:nowrap}
.footer_callback .register_button::before{
  content:"";width:17px;height:17px;flex:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d70d0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16.5v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 1.1 3.7 2 2 0 0 1 3.1 1.5h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L7.1 9.4a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat}
.footer_callback .register_button:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(8,30,70,.3)!important;background:#f3f8ff!important}
.footer_callback .register_button:active{transform:translateY(0)}
@media (min-width:768px){
  .footer_callback .col-sm-2{display:flex;justify-content:flex-end}
  .footer_callback .bg_block_footer{width:32%}.footer_callback .block_footer{width:46%}.footer_callback .col-sm-2{width:22%}
}
@media (max-width:767px){
  .footer_callback .row{flex-direction:column;align-items:stretch;text-align:center;padding:28px 6px 30px;gap:12px}
  .footer_callback .bg_block_footer,.footer_callback .block_footer,.footer_callback .col-sm-2{width:100%;padding:0 6px}
  .footer_callback .bg_block_footer p{font-size:21px!important;text-align:center}
  .footer_callback .block_footer p{font-size:14px!important}
  .footer_callback .col-sm-2{margin-top:6px!important}
  .footer_callback .register_button{width:100%!important;height:48px!important}
}
@media (prefers-reduced-motion:reduce){.footer_callback::after{animation:none;display:none}}

/* ===== Футер (2026-10-27): аккуратнее, без глобальных изменений разметки ===== */
footer{position:relative;background-color:#2b2f36!important;
  background-image:radial-gradient(700px 260px at 85% 0%,rgba(37,125,227,.10),rgba(37,125,227,0) 70%)!important}
footer::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,rgba(37,125,227,0),#257de3 30%,#3ec6ff 50%,#257de3 70%,rgba(37,125,227,0))}
footer h5{position:relative;padding-bottom:12px;margin-bottom:18px!important;color:#fff!important;font-size:15px!important;letter-spacing:.01em}
footer h5::after{content:"";position:absolute;left:0;bottom:0;width:26px;height:2px;border-radius:2px;background:#257de3}
footer ul.list-unstyled li{margin-bottom:2px}
footer ul.list-unstyled a{color:#b7bec8;transition:color .2s,padding-left .2s}
footer ul.list-unstyled a:hover{color:#fff;padding-left:3px}

/* контакты */
footer a[href="https://wa.me/77022152262"],footer a[href^="tel"],footer li > a > svg{vertical-align:middle}
footer li > a > svg{fill:#7fb3f0!important}
footer .fa-whatsapp{color:#3ccf74!important}
footer .fa-envelope{color:#7fb3f0!important}

/* рассылка */
footer .footer_rassilka{border-radius:8px 0 0 8px!important;background:#363b44!important;border:1px solid #454c57!important;border-right:0!important;color:#fff!important;transition:border-color .2s,box-shadow .2s}
footer .footer_rassilka:focus{outline:0;border-color:#257de3!important;box-shadow:0 0 0 3px rgba(37,125,227,.25)}
footer .button_rassilka{border-radius:0 8px 8px 0!important;background:#257de3!important;transition:background-color .2s}
footer .button_rassilka:hover{background:#1b6bc9!important}

/* соцсети: плашки вместо мелких иконок (у ссылки Instagram inline max-height:2px!important — плашкой делаем саму иконку) */
footer li:has(> a[href*="instagram.com"]),footer li:has(> a[href*="youtube.com"]){display:flex;align-items:center;gap:12px;margin:0 0 12px!important;min-height:36px}
footer li > a[href*="instagram.com"]:first-child,footer li > a[href*="youtube.com"]:first-child{
  display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:36px;padding:0!important;margin:0!important;
  background:transparent!important;border-radius:0!important;font-size:0!important;position:relative}
footer li > a[href*="instagram.com"]:first-child i,footer li > a[href*="youtube.com"]:first-child i{
  display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:10px;
  font-size:19px!important;color:#fff!important;top:0!important;margin:0!important;line-height:1;transition:transform .2s,box-shadow .2s}
footer li > a[href*="instagram.com"]:first-child i{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%)}
footer li > a[href*="youtube.com"]:first-child i{background:#ff0033}
footer li > a[href*="youtube.com"]:first-child > span{display:none!important}
footer li > a[href*="instagram.com"]:first-child:hover i{transform:translateY(-2px);box-shadow:0 6px 16px rgba(214,36,159,.35)}
footer li > a[href*="youtube.com"]:first-child:hover i{transform:translateY(-2px);box-shadow:0 6px 16px rgba(255,0,51,.35)}
footer li > a[href*="instagram.com"] + a,footer li > a[href*="youtube.com"] + a{top:0!important;margin:0!important;color:#e6eaf0!important;font-size:14px}
footer li > a[href*="instagram.com"] + a:hover,footer li > a[href*="youtube.com"] + a:hover{color:#fff!important;padding-left:0}

/* нижняя строка */
footer hr{border-color:rgba(255,255,255,.08)!important}
footer .row:last-child span{color:#8d96a3;font-size:13px}
footer img[src*="cards.png"]{display:none!important}
@media (max-width:767px){footer h5{margin-top:18px}}
footer h5[style*="uppercase"]{text-transform:none!important}

/* футер на телефоне: раскрывающиеся колонки (класс ft-acc ставит /static/js/site-ui.js) */
@media (max-width:767px){
  footer .row:first-child{padding-top:16px!important;padding-bottom:16px!important}
  footer .ft-acc h5{display:flex;align-items:center;justify-content:space-between;cursor:pointer;
    margin:0!important;padding:15px 0!important;border-bottom:1px solid rgba(255,255,255,.08);-webkit-tap-highlight-color:transparent}
  footer .ft-acc h5::after{position:static;width:9px;height:9px;border-radius:0;background:none;
    border-right:2px solid #8fb6e8;border-bottom:2px solid #8fb6e8;transform:rotate(45deg) translate(-3px,-3px);transition:transform .25s}
  footer .ft-acc.is-open h5::after{transform:rotate(-135deg) translate(-2px,-2px)}
  footer .ft-acc ul{max-height:0;overflow:hidden;margin:0!important;transition:max-height .3s ease,padding .3s ease}
  footer .ft-acc.is-open ul{max-height:420px;padding:8px 0 12px}
  footer .ft-acc ul a{display:inline-block;padding:5px 0}
  footer .row > .col-sm-3:not(.ft-acc) h5{margin-top:26px!important}
}

/* ===== Плавающая кнопка WhatsApp (2026-10-27): скруглённый квадрат, «дыхание», при наведении — телефон, почта, B2B ===== */
#btnwhatsapp.fab > a{
  display:flex!important;align-items:center;justify-content:center;width:58px!important;height:58px!important;
  border:0!important;border-radius:18px!important;-webkit-border-radius:18px!important;
  background:linear-gradient(145deg,#2fe07a,#1fb85c)!important;color:#fff!important;
  box-shadow:0 8px 22px rgba(23,140,70,.35)!important;-webkit-box-shadow:0 8px 22px rgba(23,140,70,.35)!important;
  animation:fabBreath 3s ease-in-out infinite;transition:transform .2s,border-radius .25s}
#btnwhatsapp.fab > a i{font-size:30px!important;line-height:1}
#btnwhatsapp.fab:hover > a{transform:translateY(-2px)}
@keyframes fabBreath{
  0%,100%{box-shadow:0 8px 22px rgba(23,140,70,.35),0 0 0 0 rgba(47,224,122,0)}
  50%{box-shadow:0 8px 22px rgba(23,140,70,.35),0 0 0 8px rgba(47,224,122,.18)}}

#btnwhatsapp .fab-mini{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);padding-bottom:12px;
  display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:none}
#btnwhatsapp .fab-mini__a{position:relative;width:44px;height:44px;border-radius:50%;background:#fff;color:#257de3!important;
  display:grid;place-items:center;box-shadow:0 6px 18px rgba(20,40,80,.18);text-decoration:none!important;
  opacity:0;transform:translateY(14px) scale(.6);transition:opacity .22s ease,transform .25s cubic-bezier(.2,.8,.2,1),background-color .2s,color .2s;
  transition-delay:calc(var(--i) * 45ms)}
#btnwhatsapp .fab-mini__a i{font-size:17px}
#btnwhatsapp .fab-mini__a b{font:800 12px/1 Montserrat,Arial,sans-serif;letter-spacing:.02em}
#btnwhatsapp .fab-mini__a:hover{background:#257de3;color:#fff!important}
#btnwhatsapp .fab-mini__tip{position:absolute;right:calc(100% + 10px);top:50%;transform:translate(6px,-50%);white-space:nowrap;
  background:#1d2733;color:#fff;font:600 12px/1 Montserrat,Arial,sans-serif;padding:7px 10px;border-radius:7px;
  opacity:0;pointer-events:none;transition:opacity .15s,transform .15s}
#btnwhatsapp .fab-mini__a:hover .fab-mini__tip{opacity:1;transform:translate(0,-50%)}
@media (hover:hover){
  #btnwhatsapp.fab:hover .fab-mini{pointer-events:auto}
  #btnwhatsapp.fab:hover .fab-mini__a{opacity:1;transform:none}
}
@media (hover:none){#btnwhatsapp .fab-mini{display:none}}
@media (prefers-reduced-motion:reduce){#btnwhatsapp.fab > a{animation:none}}
/* блик по кнопке WhatsApp */
#btnwhatsapp.fab > a{position:relative;overflow:hidden}
#btnwhatsapp.fab > a::after{content:"";position:absolute;top:-30%;bottom:-30%;left:-80%;width:45%;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));
  transform:skewX(-20deg);animation:fabShine 4.5s ease-in-out infinite}
@keyframes fabShine{0%,70%{left:-80%}100%{left:140%}}
@media (prefers-reduced-motion:reduce){#btnwhatsapp.fab > a::after{animation:none;display:none}}

/* кнопка «наверх» слева: та же форма и высота, что у WhatsApp (показ/скрытие — штатным скриптом сайта) */
#toTop{left:50px!important;bottom:50px!important;width:58px!important;height:58px!important;padding:0!important;
  border:0!important;border-radius:18px!important;background:linear-gradient(145deg,#3a8ff0,#1f6fd6)!important;
  box-shadow:0 8px 22px rgba(25,90,190,.35)!important;cursor:pointer;transition:transform .2s,box-shadow .2s}
#toTop svg{display:block;margin:0 auto;position:relative;top:50%;transform:translateY(-50%)}
#toTop:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(25,90,190,.42)!important}
/* блик WhatsApp поживее */
#btnwhatsapp.fab > a::after{width:60%!important;left:-90%;
  background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 35%,rgba(255,255,255,.85) 50%,rgba(255,255,255,.25) 65%,rgba(255,255,255,0) 100%)!important;
  animation:fabShine2 3s ease-in-out infinite!important}
@keyframes fabShine2{0%,45%{left:-90%}100%{left:150%}}
@media (prefers-reduced-motion:reduce){#btnwhatsapp.fab > a::after{animation:none!important;display:none}}
/* футер одинаковый на всех страницах: на страницах с масштабом 100% (B2B-портал) — как на остальных (90%) */
.z100 footer,.z100 .footer_callback{zoom:.9}
