/* The original source hero was pre-darkened. Preserve its contrast without modifying the photo. */
.first__bg .main-bg{filter:brightness(.40)}

/* R5: retain source geometry; restore readable text on the new right-weighted portraits. */
.get-consultation{background-size:cover;background-position:center;color:#fff}
.get-consultation h2,.get-consultation p,.get-consultation label,.get-consultation .form-checkbox p{color:#fff}
.get-consultation input,.get-consultation select{color:#243c30;background:#fff}
.team__slide .slide-img{object-fit:cover;object-position:center top}
.reviews2__block-img{filter:brightness(.66)}
.reviews2__block .video-block__btn span{color:#fff;font-size:14px}
@media(max-width:767px){.get-consultation{background-image:linear-gradient(#26372be8,#26372be8),url('team-consultation.webp')!important;background-position:70% center}}

/* R6 review corrections; applied once to the shared blocks on every page. */
.first:not(.md-thanx-page) .first__bg .main-bg{filter:brightness(.86)}
.first:not(.md-thanx-page) .first__bg:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(14,28,21,.65),rgba(14,28,21,.08) 70%)}
.download-price[data-r6-catalog] .download-price__container{position:relative;min-height:38vw}
.download-price[data-r6-catalog] .download-price__content{position:relative;width:49%;z-index:3}
.download-price[data-r6-catalog] .download-price__title{max-width:100%}
.download-price[data-r6-catalog] .download-price__img-large{width:49%;height:100%;left:auto;right:0;top:0;bottom:0;overflow:visible}
.download-price[data-r6-catalog] .download-price__img-large img{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center;transform:none}
.get-consultation[data-r6-centered-person]{background-color:#263b30;background-image:linear-gradient(90deg,#263b30 18%,transparent 37%,transparent 64%,#263b30 82%),url('team-anna.webp')!important;background-repeat:no-repeat;background-position:center;background-size:100% 100%,auto 100%}
.get-consultation[data-r6-centered-person] .get-consultation__info{width:29%}
.get-consultation[data-r6-centered-person] .get-consultation__form{width:29%;padding:1.2vw;background:rgba(24,43,32,.78);border-radius:16px}
.r6-team-grid .our-team__slider,.r6-team-grid .swiper-container{height:auto;overflow:visible}
.r6-team-grid .swiper-wrapper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;transform:none!important}
.r6-team-grid .swiper-slide{width:auto!important;margin:0!important;height:auto}
.r6-team-grid .swiper-slide img{height:auto;aspect-ratio:3/4;object-fit:cover;object-position:top;width:100%;border-radius:14px}
.r6-team-caption{font-size:16px;line-height:1.5;margin-top:12px;text-align:center}
.contacts,.contacts__form{background-image:none!important}
.contacts__map .map-container{height:380px;overflow:hidden;border-radius:16px}
@media(max-width:767px){
 .download-price[data-r6-catalog] .download-price__container{display:flex;flex-direction:column;padding-bottom:0;min-height:0}
 .download-price[data-r6-catalog] .download-price__content{width:100%}
 .download-price[data-r6-catalog] .download-price__img-large{position:relative;order:2;inset:auto;width:100%;height:78vw;margin:24px 0 0}
 .get-consultation[data-r6-centered-person]{background-image:linear-gradient(#263b30e8,#263b30e8),url('team-anna.webp')!important}
 .get-consultation[data-r6-centered-person] .get-consultation__info,.get-consultation[data-r6-centered-person] .get-consultation__form{width:100%;padding:20px}
 .r6-team-grid .swiper-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 .r6-team-caption{font-size:13px}
}
.download-price[data-r6-catalog] .form-container{flex-wrap:wrap;gap:12px}
.download-price[data-r6-catalog] .form-container .form-select,.download-price[data-r6-catalog] .form-container .form-input{width:calc(50% - 6px);margin:0}
.download-price[data-r6-catalog] .form-container .form-btn{width:100%;margin:0}
.download-price[data-r6-catalog] .download-price__circle{left:auto;right:0;top:10px}
@media(max-width:767px){.download-price[data-r6-catalog] .form-container .form-select,.download-price[data-r6-catalog] .form-container .form-input{width:100%}.download-price[data-r6-catalog] .download-price__circle{top:auto;bottom:20px;right:10px}}
.download-price[data-r6-catalog]{background-image:linear-gradient(90deg,rgba(20,35,27,.94),rgba(20,35,27,.68)),url('photo-1617596225496-1d9da33a144b.jpg')!important;background-position:center;background-size:cover}

/* R7: real image box, not a background, so the consultant's head cannot be cropped. */
.download-price[data-r6-catalog] .download-price__img-large{width:54%;right:-2%;height:106%;top:-3%;bottom:auto}
.download-price[data-r6-catalog] .download-price__content{width:46%}
.get-consultation[data-r7-person]{background:#263b30!important;overflow:visible}
.get-consultation[data-r7-person] .get-consultation__container{position:relative;min-height:510px;height:auto}
.get-consultation[data-r7-person] .get-consultation__content{position:relative;z-index:2;min-height:510px}
.r7-consultant{position:absolute;z-index:1;left:50%;bottom:0;transform:translateX(-50%);width:32%;height:94%;object-fit:contain;object-position:center bottom;border-radius:18px 18px 0 0;pointer-events:none}
.get-consultation[data-r7-person] .get-consultation__info,.get-consultation[data-r7-person] .get-consultation__form{width:29%}
.contacts__bg{display:none!important;background:none!important}
@media(max-width:767px){
 .download-price[data-r6-catalog] .download-price__img-large{width:100%;height:85vw;inset:auto}
 .download-price[data-r6-catalog] .download-price__content{width:100%}
 .get-consultation[data-r7-person] .get-consultation__container,.get-consultation[data-r7-person] .get-consultation__content{min-height:0}
 .r7-consultant{position:relative;left:auto;bottom:auto;transform:none;display:block;width:80%;height:420px;margin:0 auto 20px;object-fit:contain}
 .get-consultation[data-r7-person] .get-consultation__info,.get-consultation[data-r7-person] .get-consultation__form{width:100%}
}

/* R7 promotions: photographic right side, readable gradient left on every page. */
.promotions__item{position:relative;overflow:hidden;background:#20372a!important;isolation:isolate}
.promotions__item .promotions__item-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-2;opacity:1;transform:none}
.promotions__item:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,35,25,.97) 0%,rgba(18,35,25,.88) 38%,rgba(18,35,25,.2) 75%,rgba(18,35,25,0));z-index:-1;pointer-events:none}
.promotions__item-blur{display:none}
.promotions__item-content{width:62%;position:relative;z-index:2}
.promotions__item-content,.promotions__item-content p,.promotions__item-content span{color:white!important}
.download-price[data-r6-catalog] .download-price__img-large{top:0;height:100%;bottom:0}
@media(max-width:767px){.promotions__item-content{width:70%}.download-price[data-r6-catalog] .download-price__img-large{height:85vw;inset:auto}}

/* R8 — targeted review fixes */
.download-price[data-r6-catalog] .download-price__img-large{right:0!important;width:49%!important;top:20px!important;height:calc(100% - 40px)!important;transform:none!important;overflow:visible!important}
.download-price[data-r6-catalog] .download-price__img-large img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important}
.get-consultation[data-r7-person] .r7-consultant{height:100%!important;width:36%!important;object-fit:contain!important;object-position:center bottom!important}
[data-r8-credit] .articles-typical__img{height:440px!important;background:#eee9e1}
[data-r8-credit] .articles-typical__img img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center top!important}
[data-r8-thanks] .first__bg:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,34,25,.85),rgba(18,34,25,.45) 50%,transparent)}
[data-r8-thanks] .first__content{position:relative;z-index:2;color:white!important;max-width:52%}
[data-r8-thanks] .first__content *{color:white!important}
[data-r8-quiz]{background:white!important}
[data-r8-quiz] .header{position:relative!important;background:white!important;color:#263b30!important}
[data-r8-quiz] .header a,[data-r8-quiz] .header p{color:#263b30!important}
[data-r8-quiz] .first{margin:24px auto 0!important;max-width:1400px;min-height:390px!important;padding:50px 0!important;overflow:hidden;border-radius:18px}
[data-r8-quiz] .first__bg img{object-fit:cover!important;object-position:center!important}
[data-r8-quiz] .first__title{font-size:clamp(30px,3vw,48px)!important;line-height:1.08!important}
[data-r8-quiz] .first__title br{display:none}
[data-r8-quiz] .first__content{max-width:52%;padding:0!important}
.r8-price{font-size:28px!important;padding-top:20px}
.r8-tariff{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:24px;font-size:18px;line-height:1.6}
.r8-tariff img{width:100%;height:280px;object-fit:cover;border-radius:12px}
.calc-banner__img img{object-fit:contain!important;transform:none!important}
@media(max-width:767px){
.download-price[data-r6-catalog] .download-price__img-large{position:relative!important;width:100%!important;height:280px!important;right:auto!important;top:auto!important;margin:16px auto!important}
.get-consultation[data-r7-person] .r7-consultant{height:380px!important;width:90%!important}
[data-r8-quiz] .first{margin:12px!important;min-height:340px!important;padding:32px 0!important}
[data-r8-quiz] .first__content,[data-r8-thanks] .first__content{max-width:100%!important;width:100%!important}
.r8-tariff{grid-template-columns:1fr;padding:12px}.r8-tariff img{height:220px}
[data-r8-credit] .articles-typical__img{height:360px!important}
}
[data-r8-quiz]{padding-top:0!important}
[data-r8-quiz] .header a span{color:#263b30!important}
[data-r8-quiz] .header__calc{border-color:#b3bdab!important}
.calc-price__title{opacity:1!important;transform:none!important}
.calc-banner:not(.md-calc-banner-fixed) .calc-banner__container{min-height:420px!important;padding:65px 5%!important;position:relative;overflow:hidden}
.calc-banner:not(.md-calc-banner-fixed) .calc-banner__img{position:absolute!important;left:auto!important;right:2%!important;top:10%!important;bottom:auto!important;width:48%!important;height:80%!important;transform:none!important}
.calc-banner:not(.md-calc-banner-fixed) .calc-banner__img img{width:100%!important;height:100%!important;object-fit:contain!important}
.calc-banner:not(.md-calc-banner-fixed) .calc-banner__title,.calc-banner:not(.md-calc-banner-fixed) .calc-banner__text{max-width:47%!important}
[data-r8-thanks] .first__buttons span{color:#493d30!important}
@media(max-width:767px){.calc-banner:not(.md-calc-banner-fixed) .calc-banner__container{padding:30px 20px!important}.calc-banner:not(.md-calc-banner-fixed) .calc-banner__img{position:relative!important;right:auto!important;top:auto!important;width:100%!important;height:240px!important;margin:0 0 25px!important}.calc-banner:not(.md-calc-banner-fixed) .calc-banner__title,.calc-banner:not(.md-calc-banner-fixed) .calc-banner__text{max-width:100%!important}}
.calc-banner:not(.md-calc-banner-fixed) .calc-banner__img img{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:0!important}
