/* Кастомные формы заявок (замена виджета Creatium) */
.lead-form{width:100%;box-sizing:border-box}
.lead-form *{box-sizing:border-box}
.lead-form__hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.lead-form__row{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch}
.lead-form__input{flex:1 1 180px;min-width:0;height:64px;padding:0 26px;border:none;border-radius:16px;background:#fff;
  font-family:inherit;font-size:18px;color:#1d1d23;box-shadow:0 6px 24px rgba(20,40,80,.08);outline:none}
.lead-form__input::placeholder{color:#9aa1ab}
.lead-form__input:focus{box-shadow:0 0 0 2px #1d1d23,0 6px 24px rgba(20,40,80,.10)}
.lead-form__btn{flex:0 0 auto;height:64px;padding:0 40px;border:none;border-radius:16px;background:#1d1d23;color:#fff;
  font-family:inherit;font-size:18px;font-weight:700;cursor:pointer;transition:background .18s,opacity .18s;white-space:nowrap}
.lead-form__btn:hover{background:#34343f}
.lead-form__btn[disabled]{opacity:.6;cursor:default}
.lead-form__consent{display:flex;align-items:flex-start;gap:9px;margin-top:14px;font-family:inherit;font-size:13px;line-height:1.4;color:#6b7280;cursor:pointer}
.lead-form__consent input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;cursor:pointer;accent-color:#1d1d23}
.lead-form__consent a{color:inherit;text-decoration:underline}
.lead-form__status{margin:10px 0 0;min-height:18px;font-family:inherit;font-size:14px;line-height:1.4}
.lead-form__status[data-state="error"]{color:#e23b3b}
.lead-form__status[data-state="ok"]{color:#1faa55}
@media (max-width:767px){
  .lead-form__row{flex-direction:column}
  .lead-form__input,.lead-form__btn{width:100%;flex:1 1 auto}
}

/* Блок отзывов: плоский грид карточек + «Показать ещё» (замена слайдера Creatium) */
.reviews-block{display:block;width:100%}
.reviews-grid{display:grid;grid-template-columns:1fr;gap:20px;max-width:1180px;margin:0 auto;padding:0 20px}
.rev-card{background:#fff;border-radius:16px;padding:28px 30px;box-shadow:0 6px 24px rgba(20,40,80,.08);text-align:left}
.rev-card__name{font-family:inherit;font-weight:700;font-size:20px;line-height:1.3;color:#1d1d23;margin:0 0 12px}
.rev-card__text{font-family:inherit;font-size:16px;line-height:1.6;color:#3a3f47;margin:0}
/* Лимит видимости: мобайл — 1 карточка, десктоп — 3; «Показать ещё» раскрывает все */
.reviews-grid .rev-card{display:none}
.reviews-grid .rev-card:first-child{display:block}
.reviews-grid.is-expanded .rev-card{display:block}
.reviews-more{text-align:center;margin-top:30px}
.reviews-more__btn{height:60px;padding:0 44px;border:2px solid #1d1d23;border-radius:16px;background:#fff;color:#1d1d23;
  font-family:inherit;font-size:17px;font-weight:700;cursor:pointer;transition:background .18s,color .18s}
.reviews-more__btn:hover{background:#1d1d23;color:#fff}
@media (min-width:768px){
  .reviews-grid{grid-template-columns:repeat(3,1fr)}
  .reviews-grid .rev-card:nth-child(2),
  .reviews-grid .rev-card:nth-child(3){display:block}
}

/* ===== Мобильные фиксы (Creatium рендерил мобильные секции серверно, бэкенда нет) ===== */
/* Мёртвая кнопка «Показать все» в ценах (data-action="none", видна только на xs) — скрыть */
.my-price-more{display:none!important}

/* Свой мобильный хедер (на десктопе скрыт) */
.m-header{display:none}
@media (max-width:767px){
  .m-header{display:flex;align-items:center;justify-content:space-between;gap:12px;
    position:sticky;top:0;z-index:1000;background:#fff;padding:9px 16px;
    box-shadow:0 2px 12px rgba(20,40,80,.10)}
  .m-header__logo{display:inline-flex;align-items:center;flex:0 1 auto;min-width:0;text-decoration:none}
  .m-header__logo img{height:34px;width:auto;display:block}
  .m-header__phone{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 16px;
    border-radius:12px;background:#1d1d23;color:#fff!important;font-family:inherit;font-weight:700;font-size:15px;
    text-decoration:none!important;white-space:nowrap}
  .m-header__phone:hover,.m-header__phone span{color:#fff!important;text-decoration:none!important}
  .m-header__phone svg{flex:0 0 auto;fill:#fff}

  /* Hero: слой формы css22 имеет xs-wide → форма впритык к краям. Возвращаем боковой отступ */
  .zero-layer.css22 .cont{padding-left:16px;padding-right:16px;box-sizing:border-box}

  /* Футер: двухколоночный грид (inline width 60/40%) не схлопывается на мобиле.
     Все колонки в столбик, весь текст по левому краю (метки css107 были text-align:right) */
  .my-footer .col{width:100%!important}
  .my-footer .grid .gridwrap{display:block}
  .my-footer p.textable{text-align:left!important}
  /* Метки (footer-item) имеют max-width:250px + margin-left:auto → прижаты вправо. Сбрасываем */
  .my-footer .footer-item p{margin-left:0!important;max-width:none!important}
  .my-footer .footer-item{margin-top:14px}
  /* Огромный отступ сверху футера (.padding_top = 170px) убираем на мобиле */
  .my-footer > .padding_top{padding-top:24px!important}
}

