/* MOS DIGITAL — правки поверх main.min.css (30.11.2026). Подключается в functions.php после основного стиля. */
/* Бегущая строка логотипов клиентов на первом экране: логотипы крупнее, строка уже */
.agency .leaders__running{max-width:30rem!important}
.agency .leaders__running-item,.agency .leaders__running-item img{height:2.25rem!important}
.agency .leaders__running-row{gap:3rem!important;padding-right:3rem!important}
@media (max-width:875px){
  .agency .leaders__running{max-width:16rem!important}
  .agency .leaders__running-item,.agency .leaders__running-item img{height:1.75rem!important}
  .agency .leaders__running-row{gap:2rem!important;padding-right:2rem!important}
}

/* Блок вместо цен (blocks/price-cta.php): призыв, кнопка на квиз, фраза, лента слайдов из кейсов */
.pcta{overflow:hidden}
.pcta__container{position:relative;z-index:3;max-width:62rem;margin:0 auto;padding:0 1.25rem;text-align:center;display:flex;flex-direction:column;align-items:center}
.pcta__title{margin:0}
.pcta__text{margin:1.25rem 0 0;opacity:.7}
.pcta__btn{margin-top:2rem}
.pcta .hreel{margin-top:clamp(1.5rem,4vh,3.5rem)}
.hreel{position:relative;width:100vw;margin-left:calc(50% - 50vw)}
.hreel__stage{position:relative;height:clamp(220px,30vw,420px)}
.hreel__cv{position:absolute;left:0;top:-22%;width:100%;height:144%;display:block;touch-action:pan-y;cursor:grab;opacity:0;transition:opacity .8s ease}
.hreel.is-gl .hreel__cv{opacity:1}
.hreel__fb{display:none}
.hreel.is-fb .hreel__cv{display:none}
.hreel.is-fb .hreel__fb{display:flex;justify-content:center;align-items:center;gap:10px;height:100%;overflow:hidden}
.hreel.is-fb .hreel__fb img{height:60%;width:auto;flex:none}
.hreel__cap{position:absolute;left:0;right:0;bottom:2px;z-index:1;pointer-events:none;display:flex;justify-content:center;align-items:baseline;gap:.9em;font-size:12px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.55)}
.hreel__n{color:#ff5a3c;font-variant-numeric:tabular-nums}
.hreel__t{color:rgba(255,255,255,.85)}
.white-theme .hreel__cap{color:rgba(12,14,17,.5)}
.white-theme .hreel__t{color:rgba(12,14,17,.85)}
.hreel__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;list-style:none}
@media (max-width:550px){.hreel__stage{height:60vw}.hreel__cap{display:none}}

/* Бегущая строка логотипов над кейсами («Сибур, Газпром, X5…») на главной и страницах услуг: уже, логотипы крупнее (30.11.2026) */
.direct-port .leaders__running{max-width:34rem!important}
.direct-port .leaders__running-item,.direct-port .leaders__running-item img{height:2.25rem!important}
.direct-port .leaders__running-row{gap:3rem!important;padding-right:3rem!important}
@media (max-width:875px){
  .direct-port .leaders__running{max-width:18rem!important}
  .direct-port .leaders__running-item,.direct-port .leaders__running-item img{height:1.75rem!important}
  .direct-port .leaders__running-row{gap:2rem!important;padding-right:2rem!important}
}

/* Кнопка на кейс внутри ответа FAQ (30.11.2026): вместо «Обсудить задачу» у этого вопроса, тот же красный стиль */
.item-quest__text .faq-case-btn{display:flex;width:max-content;margin-top:2rem}

/* FAQ: вопрос на всю ширину карточки, без узкой колонки (было padding-right 17.5rem — вопросы ломались на короткие строки) */
.quest .item-quest__title{padding-right:1.5rem!important}
.quest .item-quest__title{padding-right:.75rem!important}
.quest .item-quest__text b,.quest .item-quest__text strong{font-weight:inherit}
.quest__desc{margin-top:1.5rem;max-width:28rem;opacity:.7}
@media (min-width:891px){.quest .item-quest__title{padding-right:0!important;font-size:1.0625rem!important;letter-spacing:-.01em}}

/* 30.11.2026: форма обратной связи — кнопка и согласие по левому краю полей, явный ховер, нажатие, «Заявка отправлена» */
.connect__human-title:empty{display:none}
.connect__form-bot{align-items:flex-start;margin-left:0;margin-right:0}
.connect__personal-data{text-align:left}
.connect__button{transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,filter .25s,background-color .25s}
.connect__form-bot:hover .connect__button,.connect__button:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(255,69,51,.55);filter:brightness(1.12) saturate(1.1)}
.connect__button:active{transform:translateY(1px) scale(.96)!important;box-shadow:0 4px 12px rgba(255,69,51,.4)!important;transition-duration:.08s}
.connect__button.is-sent{pointer-events:none;transform:none!important;box-shadow:0 0 0 6px rgba(255,69,51,.18),0 12px 36px rgba(255,69,51,.35)!important;transition:box-shadow .8s ease,transform .6s cubic-bezier(.2,.8,.2,1),filter .6s}
@keyframes mos-sent{0%{transform:scale(.94)}60%{transform:scale(1.04)}100%{transform:scale(1)}}

/* 30.11.2026: отступ заголовок → описание в «Вопросах и ответах» как у остальных блоков страницы (.title-big.m-b + p) */
.quest__desc{margin-top:clamp(1.875rem,1.22788rem + 2.65487vw,3.75rem)}
.connect__button.is-sent{opacity:1!important;filter:none!important}
.quest__desc{margin-top:calc(clamp(1.875rem,1.22788rem + 2.65487vw,3.75rem) + .625rem)}

/* 30.11.2026: контакты — плашка «Мы онлайн» не уезжает вверх, а держится слева внизу экрана, пока идёт блок */
@media (min-width:891px){
  .desc-case__item-left:has(> .desc-case__item-row .desc-box-online){display:flex;flex-direction:column;justify-content:flex-end}
  .desc-case__item-row:has(.desc-box-online){top:auto!important;bottom:1.5rem}
}

/* 30.11.2026: адрес в контактах — две строки, как задано переносом */
@media (min-width:400px){.item-contacts__link.address{white-space:nowrap}}

/* 30.11.2026: слоган в подвале — плотнее межстрочный */
.footer__accent-text, .footer__accent-text span{line-height:.9!important}

/* 30.11.2026: слоган в подвале — строки по одной правой линии, смайлик висит правее неё */
.footer__accent-text{padding-right:1.15em}
.footer__accent-text span{position:relative}
.footer__accent-text .hang{position:absolute;left:100%;bottom:0;margin-left:.12em;font-style:normal;line-height:inherit}
.item-contacts__link.address{font-size:clamp(1.0625rem,1rem + .55vw,1.5rem)!important}

/* 30.11.2026: окно «Готово! Ваша заявка у нас» — компактнее по высоте */
.popup-thanks__img{height:auto!important;margin:-1.75rem auto .25rem!important;width:15.5rem!important;max-width:80%}
.popup-thanks__img img{width:100%!important;height:auto!important}
.popup-thanks__body{padding-bottom:1.75rem!important}
.popup-thanks__title{margin-bottom:.75rem!important}
.popup-thanks__text{margin-bottom:1.5rem!important}
@media (max-width:600px){.popup-thanks__body{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.popup-thanks__title{margin-bottom:.625rem!important}.popup-thanks__text{margin-bottom:1.25rem!important}}

/* 30.11.2026: окно «спасибо» — ракета дрожит на старте и взлетает, из-под неё идёт пар */
.popup-thanks__img{position:relative}
.popup-thanks.is-open .popup-thanks__img img{animation:rkLaunch 3.2s cubic-bezier(.45,0,.3,1) .2s both}
@keyframes rkLaunch{
  0%{transform:translate(0,0)}
  4%{transform:translate(-1px,1px)}8%{transform:translate(1px,-1px)}12%{transform:translate(-1px,0)}16%{transform:translate(1px,1px)}
  20%{transform:translate(0,-1px)}24%{transform:translate(-1px,1px)}28%{transform:translate(1px,0)}
  45%{transform:translate(6px,-8px)}
  70%{transform:translate(3px,-4px)}
  100%{transform:translate(0,0)}}
.popup-thanks__img .steam{position:absolute;left:24%;top:46%;width:0;height:0;pointer-events:none;z-index:2}
.popup-thanks__img .steam i{position:absolute;left:0;top:0;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;opacity:0;
  background:radial-gradient(circle at 40% 40%,rgba(255,255,255,.95),rgba(255,255,255,.55) 45%,rgba(255,255,255,0) 70%);filter:blur(1.5px)}
.popup-thanks.is-open .popup-thanks__img .steam i{animation:rkSteam 2.4s ease-out infinite}
.popup-thanks__img .steam i:nth-child(1){--x:-70px;--y:30px;animation-delay:.2s!important}
.popup-thanks__img .steam i:nth-child(2){--x:-40px;--y:55px;animation-delay:.55s!important}
.popup-thanks__img .steam i:nth-child(3){--x:-95px;--y:8px;animation-delay:.9s!important}
.popup-thanks__img .steam i:nth-child(4){--x:-20px;--y:70px;animation-delay:1.25s!important}
.popup-thanks__img .steam i:nth-child(5){--x:-80px;--y:45px;animation-delay:1.6s!important}
.popup-thanks__img .steam i:nth-child(6){--x:-55px;--y:-6px;animation-delay:1.95s!important}
.popup-thanks__img .steam i:nth-child(7){--x:-110px;--y:32px;animation-delay:2.3s!important}
@keyframes rkSteam{
  0%{opacity:0;transform:translate(0,0) scale(.25)}
  15%{opacity:.95}
  100%{opacity:0;transform:translate(var(--x),var(--y)) scale(1.9)}}
@media (prefers-reduced-motion:reduce){.popup-thanks__img img,.popup-thanks__img .steam i{animation:none!important}}
/* пар: точка выхода — облако у экрана ноутбука, клубы плотнее и ярче */
.popup-thanks__img .steam{left:33%;top:56%;z-index:3}
.popup-thanks__img .steam i{width:34px;height:34px;margin:-17px 0 0 -17px;filter:blur(.6px);
  background:radial-gradient(circle at 38% 35%,#fff 0,#f4f4f6 38%,rgba(235,235,240,.85) 55%,rgba(235,235,240,0) 72%)}
.popup-thanks__img .steam i:nth-child(1){--x:-46px;--y:18px}
.popup-thanks__img .steam i:nth-child(2){--x:-26px;--y:36px}
.popup-thanks__img .steam i:nth-child(3){--x:-64px;--y:2px}
.popup-thanks__img .steam i:nth-child(4){--x:-12px;--y:44px}
.popup-thanks__img .steam i:nth-child(5){--x:-56px;--y:30px}
.popup-thanks__img .steam i:nth-child(6){--x:-36px;--y:-8px}
.popup-thanks__img .steam i:nth-child(7){--x:-74px;--y:20px}
@keyframes rkSteam{0%{opacity:0;transform:translate(0,0) scale(.3)}12%{opacity:1}70%{opacity:.7}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(1.5)}}

/* 30.11.2026: виджет соцсетей не показываем на оранжевом блоке подвала */
.fixed-social{transition:opacity .35s ease,transform .35s ease}
html.accent-in-view .fixed-social{opacity:0!important;transform:translateY(12px);pointer-events:none!important}

/* 30.11.2026 hreel-z: лента слайдов на первом экране (canvas выше своей полосы на 22%) перекрывала кнопку «Рассчитать стоимость» — кнопка и текст под ней поверх ленты */
.about .hreel{z-index:1}
@media (min-width:551px){.about .about__button-row,.about .about__text-bot{position:relative;z-index:5}}

/* 30.11.2026: на страницах кейсов без значка кавычек у цитаты */
.desc-case__item-stap{display:none!important}

/* 30.11.2026 other-case-gap: на страницах кейсов отступ перед «Другими проектами» меньше (был 272px) */
section.other-case{padding-top:clamp(4rem,1.5rem + 6vw,8rem)!important}
