/* Стили, которых нет в сохранённом бандле темы wescle: блоки главной и страница отзывов. */
.scroll-up.is-hide{opacity:0;visibility:hidden;pointer-events:none}

body.home .main img{max-width:100%}
body.home .promo{padding-top:20px}
body.home .promo .slider-wrapper{position:relative}
body.home .promo__slider{position:relative;overflow:hidden;border-radius:14px}
body.home .promo__slide{display:none}
body.home .promo__slide:first-child{display:block}
body.home .promo__slider.pf-ready .promo__slide{display:none}
body.home .promo__slider.pf-ready .promo__slide.pf-active{display:block;animation:pf-fade .45s ease}
@keyframes pf-fade{from{opacity:.25}to{opacity:1}}
body.home .promo__item{position:relative;display:flex;align-items:center;overflow:hidden;min-height:320px}
body.home .promo__item::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(9,38,43,.74) 0%,rgba(9,38,43,.42) 50%,rgba(9,38,43,.04) 100%)}
body.home .item-promo__image{position:absolute;inset:0;margin:0}
body.home .item-promo__image picture,body.home .item-promo__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 25%}
body.home .item-promo__body{position:relative;z-index:2;width:100%;max-width:680px;padding:32px clamp(24px,5vw,72px)}
body.home .item-promo__title .title{margin:0 0 24px;color:#fff;font-size:clamp(26px,3.4vw,44px);line-height:1.18;font-weight:700}
body.home .item-promo__btn{display:inline-block;width:auto}
body.home .item-promo__link{position:absolute;inset:0;z-index:3}
body.home .promo .slider-buttons{position:absolute;right:20px;bottom:20px;z-index:4;display:flex;gap:8px}
body.home .pf-dots{position:absolute;left:clamp(24px,5vw,72px);bottom:24px;z-index:4;display:flex;gap:8px;margin:0;padding:0;list-style:none}
body.home .pf-dots button{display:block;width:11px;height:11px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer}
body.home .pf-dots .pf-on button{background:#fff}

body.home .advantages{padding:48px 0}
body.home .advantages__title{display:block!important;visibility:visible!important;margin:0 0 28px;color:#10292b!important;font-size:clamp(24px,3vw,34px)!important}
body.home .advantages__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
body.home .advantages__col{min-width:0;max-width:none;padding:0}
body.home .advantages-item{display:flex;align-items:flex-start;gap:16px;color:#10292b}
body.home .advantages-item__img{display:flex;align-items:center;justify-content:center;flex:0 0 72px;width:72px;height:72px;border-radius:14px;overflow:hidden}
body.home .advantages-item__img img{width:56px;height:56px;object-fit:contain}
body.home .advantages-item__title{margin-bottom:6px;font-size:17px;line-height:1.3;font-weight:700}
body.home .advantages-item__text{font-size:14.5px;line-height:1.45}

body.home .services{padding:56px 0}
body.home .services__top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
body.home .services__title{margin:0}
body.home .services__row,body.home .services__col{display:block;flex:none;width:100%;max-width:none;margin:0;padding:0}
body.home .services-items.row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0}
body.home .services-items__col.col{flex:none;width:auto;max-width:none;padding:0;min-width:0}
body.home .services-item{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#fff;border-radius:14px;box-shadow:0 4px 22px rgba(16,41,43,.11);color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
body.home .services-item:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(16,41,43,.17)}
body.home .services-item__image{position:relative;aspect-ratio:16/10;overflow:hidden;background:#dcecec}
body.home .services-item__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 25%}
body.home .services-item__body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:0 20px 22px}
body.home .services-item__price{position:relative;z-index:2;margin:-17px 0 14px}
body.home .services-item__title{margin-bottom:8px;color:#10292b;font-size:18px;line-height:1.3;font-weight:700}
body.home .services-item__text{display:-webkit-box;overflow:hidden;color:#4c5e60;font-size:14.5px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}

body.home .about{padding:52px 0}
body.home .about__col.col{flex:0 0 100%;max-width:880px}
body.home .about .btn{display:inline-block;width:auto;min-width:220px;margin-top:8px;text-align:center}

body.home .team{padding:56px 0}
body.home .team__top{margin-bottom:26px}
body.home .team__buttons{display:none}
body.home .team__slider{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,290px));gap:30px}
body.home .team__slide{min-width:0}
body.home .team-item__image{aspect-ratio:1/1;margin-bottom:14px;overflow:hidden;border-radius:14px;background:#dcecec}
body.home .team-item__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 15%}
body.home .team-item__name{color:#10292b;font-size:18px;line-height:1.3;font-weight:700}
body.home .team-item__position{margin-top:3px;color:#4c5e60;font-size:14.5px}
body.home .team-item__contacts{display:flex;gap:12px;margin:10px 0 0;padding:0;list-style:none}

body.home .contact-us{padding:52px 0}
body.home .contact-us__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px;align-items:start}
body.home .contact-us-info,body.home .contact-us-form{min-width:0}
body.home .contact-us-info img{display:block;height:auto;border-radius:12px}

.block-authors-info__row.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}
.block-authors-info__col.col{flex:none;width:auto;max-width:none;padding:0;min-width:0}
.block-authors-info .reviews-slider-item{height:100%;padding:22px;background:#fff;border:1px solid #dcecec;border-radius:14px}
.block-authors-info .reviews-slider-item__author{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.block-authors-info .author__photo{flex:0 0 48px;width:48px;height:48px;overflow:hidden;border-radius:50%}
.block-authors-info .author__photo img{display:block;width:100%;height:100%;object-fit:cover}
.block-authors-info .author__name{font-weight:700}
.block-authors-info .icon-quote{display:none}
.block-authors-info .reviews-slider-item__text{font-size:15px;line-height:1.55}

@media (max-width:1100px){
  body.home .advantages__row{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.home .services-items.row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  body.home .advantages__row,body.home .services-items.row,body.home .contact-us__grid,.block-authors-info__row.row{grid-template-columns:minmax(0,1fr)}
  body.home .team__slider{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  body.home .contact-us__grid{gap:24px}
  body.home .item-promo__body{padding:28px 22px 52px}
  body.home .promo .slider-buttons{display:none}
  body.home .about .btn{width:100%}
}
