@media screen and (min-width: 865px) {
    .nav__hamburger{
        display: none;
    }
}
.btn-yellow{
    padding: 1.375rem 0;
    border-radius: 3.125rem;
    background: #FFCE66;
    box-shadow: 2px 2px 10px 0 rgba(255, 215, 131, 0.50);
    color: #121516;
    text-align: center;
    font-size: 1rem;
    text-decoration: unset;
    transition: .3s;
    cursor: pointer;
}
.btn-clear{
    padding: 1.375rem 0;
    border-radius: 3.125rem;
    border: 1px solid #FFF;
    text-align: center;
    color: #FFF;
    font-size: 1rem;
    text-decoration: unset;
    transition: .5s;
    cursor: pointer;
}
@media screen and (min-width: 865px) {
    .btn-yellow:hover{
        color: #FFF;
    }
    .btn-clear:hover{
        background: #FFF;
        color: #40474F;
    }
}
.headerContacts .nav__text{
    height: fit-content;
    border-radius: 12.5rem;
    background: #FFCE66;
    padding: 1.25rem;
    color: #121516;
}
.newHeader .headerContacts .nav__text,
.newHeader .headerContacts .nav__text:hover {
    color: #121516;
}

/* логотип: высота фиксирована, ширина по пропорции SVG */
.newHeader .nav__link {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin-right: 0;
    flex-shrink: 0;
    line-height: 0;
}
.newHeader .nav__img,
.newHeader .nav__link .nav__img {
    display: block;
    height: 70px !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    object-fit: contain;
}
.header{
    padding: 0;
}

.constructor__right-btn{
    position: unset;
    max-width: 16rem;
    margin-left: 0;
}

.constructor__right-prices-link:before{
    content: '';
    display: block;
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    aspect-ratio: 1/1;
    transition: .3s;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('data:image/svg+xml,<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(%23filter0_d_1533_2742)"><rect x="4" width="40" height="40" rx="20" fill="white"/><path d="M32.8536 20.3536C33.0488 20.1583 33.0488 19.8417 32.8536 19.6464L29.6716 16.4645C29.4763 16.2692 29.1597 16.2692 28.9645 16.4645C28.7692 16.6597 28.7692 16.9763 28.9645 17.1716L31.7929 20L28.9645 22.8284C28.7692 23.0237 28.7692 23.3403 28.9645 23.5355C29.1597 23.7308 29.4763 23.7308 29.6716 23.5355L32.8536 20.3536ZM14 20V20.5H32.5V20V19.5H14V20Z" fill="black"/></g><defs><filter id="filter0_d_1533_2742" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="2"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1533_2742"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1533_2742" result="shape"/></filter></defs></svg>');
}
.constructor__right-prices-link:hover:before{
    right: -1.5rem;
}
.constructor__right-prices-link p {
    margin-top: .87rem;
    color: #FFF;
    font-size: 0.875rem;
    line-height: 120%;
    opacity: .8;
}
.constructor__right-prices-title{
    opacity: .8;
}

.blog__content{
    margin: 0;
    display: flex;
    flex-direction: column;
    width: max-content;
}
.blog__block:not(:last-child){
    margin-bottom: 2.5rem;
}
.blog__body{
    margin-top: 2.5rem ;
    display: flex;
    gap: 6.25rem;
}

.blog__channels{
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 26rem;
}
.blog__channels-block{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}
.blog__channels img{
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.questions{
    padding: 3rem 0;
}
.contact__request{
    margin-left: 3rem;
}
.ask__span, .ask__tittle, .question_contacts a, .ask__info_text,
.ask__city, .ask__text{
    color: #465157;
}


.nav__content_block:not(:last-child) {
    margin-right: 0;
}
.nav__btn{
    padding: 0 2.5rem;
    margin: 0;
}
.nav__content_list{
    padding: .75rem 1.25rem 1.25rem 1.25rem;
}
.nav__content_link{
    color: #121516;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.nav__content_block .nav__content_span{
    font-size: 0.875rem;
}
.headerContacts{
    gap: 1.25rem;
}
.nav{
    padding: 0;
    align-items: center;
    justify-content: center;
}
.nav__content{
    gap: 1.88rem;
}
.nav__body{
    padding: .5rem 3rem;
    width: 100%;
    max-width: 120rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__btn {
    display: flex;
}

@media screen and (max-width: 1800px){
    .nav__body{
        padding: 0 1.5rem;
    }
    .nav__btn{
        padding: 0 1.5rem;
    }
    .nav__content {
        gap: 1rem;
    }
}
@media screen and (max-width: 1600px){
    .nav__btn{
        height: 50px;
    }
}
.nav__btn {
    display: flex !important;
}
.headerContacts{
    display: flex !important;
}
/* внутренние страницы: отступ под фиксированный новый хедер */
body:not(.home) {
    padding-top: 90px;
}
@media screen and (max-width: 575.98px) {
    body:not(.home) {
        padding-top: 50px;
    }
}
@media screen and (max-width: 1200px) {
    .nav__btn {
        display: none !important;
    }
    .newHeader .headerContacts .nav__text{
        width: fit-content;
    }
    .hero__poster-image{
        /*right: -12rem;*/
        height: 80%;
    }
    .headerContacts{
        margin-left: auto;
    }
    .nav__hamburger {
        display: flex !important;
    }
    .newHeader .nav__img,
    .newHeader .nav__link .nav__img {
        height: 56px !important;
        width: auto !important;
    }
}

@media screen and (max-width: 575.98px) {
    .newHeader .nav__img,
    .newHeader .nav__link .nav__img {
        height: 44px !important;
        width: auto !important;
    }
}

@media screen and (max-width: 991px) {
    .headerContacts{
        display: none !important;
    }
    .hero__content{
        padding: 3rem 0 5rem 0;
    }
    .questions {
        background-image: unset !important;
    }
    .contact__request {
        margin: 3rem auto 0 auto;
    }
    .hero__progress{
        gap: 1rem;
    }
    .hero__progress-title{
        font-size: 2rem;
    }
    .hero__service{
        flex-direction: column;
        align-items: flex-start;
        width: min-content;
    }
    .hero__poster-image{
        height: 60%;
        right: -5rem;
    }
    .blog__body{
        gap: 2.5rem;
        flex-direction: column;
    }
    .blog__channels{
        gap: 1.5rem;
    }

}
@media screen and (max-width: 768px) {
    .hero__title{
        font-size: 1.75rem;
        line-height: 120%;
    }
    .hero__descr{
        font-size: 1rem;
        line-height: 110%;
    }
    .hero__top-info{
        gap: 1rem;
    }
    .hero__btns{
        margin-top: 1rem;
        flex-direction: column;
        gap: .5rem;
        width: 100%;
        max-width: 100%;
    }
    .hero__btns a{
        width: 100%;
        max-width: 100%;
    }
    .btn-yellow, .btn-clear{
        padding: 1rem 0;
        border-radius: 1.125rem;
    }
    .hero__content{
        gap: 1.81rem;
        padding: 3rem 0 ;
    }
    .hero__progress-title{
        font-size: 1.75rem;
    }
    .hero__progress-text{
        font-size: .875rem;
    }
    .hero__poster-image{
        right: -5rem;
        height: 50%;
    }
    .hero__poster-image span{
        max-width: 9rem;
        left: calc(50% - 4rem);
    }
    .hero__service-title{
        font-size: 1.25rem;
    }
    .hero__service-descr{
        font-size: .875rem;
    }
    .hero__service-item{
        min-width: 11rem;
        padding: 1rem;
    }
    .constructor__btns{
        margin-top: 1.5rem;
    }
    .blog__main{
        margin: 0;
        padding: 0;
    }
    .blog__channels-block{
        gap: 1.25rem;
    }
    .blog__content{
        width: 100%;
    }
}

.section-service__lists{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.section-service__card{
    border-radius: 1.25rem;
    background: #7F7F7F;
    height: 20.625rem;
    padding: 2rem;
    display: flex;
    align-items: end;
    position: relative;
    overflow: hidden;
}
.section-service__card:hover .section-service__card-text{
    color: #FFCE66;
}
.section-service__card:hover .section-service__card-description{
    max-height: 100rem;
}
.section-service__card:after{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.60);
}
.section-service__card-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.section-service__card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-service__card-info{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition: .3s;
}
.section-service__card-text{
    transition: .3s;
    color: #FFF;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.section-service__card-description{
    max-height: 0;
    transition: .7s;
}
.section-service__card-description p{
    transition: .5s;
    padding-top: 1.69rem;
    color: #FFF;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}
@media screen and (max-width: 991px){
    .section-service__lists{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 768px){
    .nav__body{
        padding: .65rem;
    }
    .section-service__card-text{
        font-size: 1.25rem;
        line-height: 110%;
    }
    .section-service__card-description{
        max-height: 10rem;
    }
    .section-service__card-description p{
        font-size: .875rem;
        padding-top: 1rem;
        line-height: 110%;
    }
    .section-service__card{
        padding: 1rem;
        height: 16.625rem;
    }
}
@media screen and (max-width: 768px){
    .section-service__lists{
        grid-template-columns: repeat(1, 1fr);
    }
    .section-service__card{
        height: 13.625rem;
    }
}