@media screen and (max-width: 1140px) {
    .container {
        padding: 0 10px;
    }

    header .logo img {
        width: 190px;
    }

    .dogovor-attention__right::before {
        background-size: contain;
        left: -20px;
    }

    .footer__top ul li:nth-child(2n) {
        padding: 0 7%;
    }
}
@media screen and (max-width: 992px) {
    

    body {
        overflow-x: hidden;
    }

    header {
        height: 56px;
    }

    .header__button {
        width: 30px;
        height: 20px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transform: .5s;
    }


    .header__button span {
        width: 30px;
        height: 3px;
        background-color: #292929;
        transition: 0.5s;
        border-radius: 5px;
    }   


    .jsHeaderButton_active span:first-child {
        transform: rotate(45deg) translate(0px, -3px);
        transform-origin: 0%;
    }
    

    .jsHeaderButton_active span:nth-child(2) {
        opacity: 0;
        width: 0;
    }
    

    .jsHeaderButton_active span:last-child {
        transform: rotate(-45deg) translate(0px, 3px);
        transform-origin: 0%;
    }
    
    .overflow_h {
        overflow: hidden;
    }

    .dsp_f {
        display: flex !important;
        left: 0;
    }

    .mask {
        width: 100%;
        height: 9999px;
        background-color: black;
        opacity: 0.7;
        position: absolute;
        display: none;
        z-index: 99999;
    }





    header nav {

        right: -300px;
        position: absolute;
        top: 56px;
        background: #fff;
        height: 1000px;
        width: 300px;
        padding: 10px;
        display: block;
        transition: all ease .3s;
    }

    header .phone {
        right: -300px;
        display: block;
        position: absolute;
        top: 260px;
        transition: all ease .3s;
    }

    header nav ul {
        flex-direction: column;
    }
    header nav ul li {
        margin-bottom: 5px;
    }

    header.active nav {
        right: 0;

    }


    header.active .phone {
        right: 130px;
        top: 260px;
    }

    




    .container {
        padding: 0 10px;
    }


    .princip {
        height: auto;
    }

    .princip__list {
        flex-direction: column;
        align-items: center;
    }

    .princip__list-item {       
        display: flex;
        column-gap: 20px;
        width: 100%;
    }

    .princip__list-item:not(:last-child) {
        border-bottom: 1px solid #fff;
        margin-bottom: 30px;
        padding-bottom: 30px; 
    }

    .princip__list-item::after {
        display: none;
    }






    .social__calback-logo img:first-child {
        width: 70%;
    }

    .social__calback-logo img:last-child {
        width: 30%;
    }









    .finance__list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .finance__list-item:not(:last-child) {
        width: 50%;
        margin-bottom: 15px;
    }









    .dogovor-year__list {
        justify-content: space-between;
        column-gap: 35px;
    }
    .dogovor-attention {
        flex-direction: column;
    }
    .dogovor-attention__left {
        margin-bottom: 20px;
    }
    .dogovor-attention__right::before {
        display: none;
    }











    .docs__list {
        flex-wrap: wrap;
        column-gap: 0;
        row-gap: 20px;
    }

    .docs__list-item {
        width: 50%;
    }


    .footer__top ul li:nth-child(2n) {
        border-right: none;
        border-left: none;
        padding: auto;
    }
    
    .social__tabs-item__content-column__wrap {
        width: 100%;
    }


}


@media screen and (max-width: 768px) {

    h2 {
        font-size: 28px;
    }

    header {
        height: 56px;
    }

    /* .firstscreen .container {
        height: 1040px;
    } */

    .logo img {
        width: 151px;
    }


    .firstscreen__block-logo {
        width: 150px;
    }

    .firstscreen__block-title span:first-child {
        display: none;
    }

    .firstscreen__block-title span:last-child {
        font-size: 47px;
    }
    
    .firstscreen__block-description {
        font-size: 23px;
    }

    .firstscreen__block-list {
        flex-direction: column;
    }

    .firstscreen__block-list__item:not(:last-child) {
        margin-bottom: 30px;
    }




    .dogovor__list {
        flex-direction: column;
    }
    .dogovor__list-item:not(:last-child) {
        margin-bottom: 30px;
    }

    .dogovor-year__list {
        flex-direction: column;
    }
    
    .dogovor-year__list-item {
        width: 100%;
    }

    .dogovor-year__list-item:not(:last-child) {
        margin-bottom: 20px;
    }



    .social__calback-logo {
        flex-direction: column;
        align-items: center;
    }

    .social__calback-logo img:first-child {
        width: 100%;
    }
    .social__calback-logo img:last-child {
        width: 60%;
    }

    .social__calback-logo img {
        width: 100%;
    }

    .social__info {
        flex-direction: column;
    }

    .social__info img {
        margin-bottom: 20px;
    }

    .social__info ul {
        order: 2;
    }

    .social__tabs-item__title {
        font-size: 14px;
        column-gap: 10px;
        background-color: transparent;
    }

    .social__tabs-item__content-column {
        width: 100%;
        align-items: stretch;
        padding: 0;
    }

    .social__tabs-item__content-column__wrap {
        flex-direction: column;
    }



    .social__tabs-item__content-column button {
        margin: 23px auto;
    }

    .social__tabs-item__content-column__title img {
        display: block;
    }

    .social__tabs-item__content-column__title {
        background-color: #f2f2f2;
        padding: 20px 10px;
        display: flex;
        justify-content: space-between;
    }

    .social__tabs-item__content-column__title img {
        transition: all ease .5s;
    }

    .social__tabs-item__content-column__title:not(:last-child) {
        margin: 0 0 10px;
    }

    .social__tabs-item__content-column__total {
        display: none;
    }

    .social__tabs-item__content-column:not(.active) .social__tabs-item__content-column__list, .social__tabs-item__content-column:not(.active) button {
        display: none;
    }

    .social__tabs-item__content-column.active .social__tabs-item__content-column__title img {
        transform: rotate(45deg);
    }







    .advatages__list-item__left {
        column-gap: 10px;
    }
    .advatages__list-item__left img {
        width: 60px;
    }
    .advatages__list-item__right {
        display: none;
    }

    .advatages__list-item__left-text__title {
        font-size: 20px;
    }

    .advatages__list-item__left-text__description {
        font-size: 14px;
    }


    
    .garant h2 {
        margin-bottom: 20px;
    }

    .garant__info {
        flex-wrap: no-wrap;
        flex-direction: column;
    }
    
    .garant__info p {
        width: 100%;
    }
    
    .garant__info svg {
        width: 100%;
    }


    .garant__logos {
        flex-direction: column;
        align-items: flex-start;
    }

    .garant__logos-item:not(:last-child) {
        margin-bottom: 15px;
    }


    .footer__top ul {
        flex-direction: column;
    }
    .footer__top ul li:not(:last-child) {
        margin-bottom: 25px;
    }

    .footer__top ul li:nth-child(2n) {
        border-right: none;
        border-left: none;
        padding: auto;
    }

}


@media screen and (max-width: 500px) { 
    .finance__list-item {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
        flex-wrap: wrap;
        height: auto;
        column-gap: 10px;
    }

    .finance__list-item__text {
        width: calc(100% - 110px);
    }

    .finance__list-item:not(:last-child) {
        width: 100%;
    }

    .finance__list-item__imgwrap {
        width: 70px;
        margin-bottom: 0;
    }

    .finance__list-item__imgwrap img {
        width: 50px;
    }


    .docs__list {
        flex-wrap: wrap;
        column-gap: 0;
        row-gap: 20px;
    }
    
    .docs__list-item {
        width: 100%;
    }    
}






#payment-form {
    position: relative;
    overflow: visible !important;
}

.payment-form__close {
    content: '';
    display: block;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    background-size: cover;
    z-index: 9999999999999999999;
    position: absolute;
    right: calc(50% - 230px);
    top: calc(50% - 160px);
    opacity: 0;
    transition: all ease 1s;
}

.social__tabs-item__content-column {
    height: calc(100% - 54px);
}

.social__tabs-item__content-column.active__buy {
    background-color: #f2f2f2;
}

.payment-form__close {
    position: absolute;
}

.tabs-pay {
    display: flex;        
    border-top: 5px solid #4472c4;
    text-align: center;  
    margin-bottom: 20px;                      
}
.tab-pay {
    width: 50%;
    padding: 20px 0;
    background-color: #4472c4;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    transition: all ease .3s;
}
.tab-pay.active {
    background-color: #326fdd;
}

.installment {
    margin-bottom: 40px;
}

.installment h2 {
    margin-bottom: 90px;
}

.installment h2 span {
    color: #E5007D;
}

.installment__block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.installment__left-item {
    color: #fff;
    /*
    width: 394px;
    height: 187px;
    */
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px;
    justify-content: space-between;
}

.installment__left-item:first-child {
    background-color: #E5007E;
    margin-bottom: 20px;
}

.installment__left-item:nth-child(2n) {
    background-color: #522079;
    margin-bottom: 20px;
}

.installment__left-item:last-child {
    background-color: #0F70B7;
}        

.installment__left-item__title {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 10px;
}

.installment__left-item__list {
    font-size: 20px;
    font-weight: 500;
    margin-left: 20px;
}

.installment__left-item__list li:not(:last-child) {
    margin-bottom: 5px;
}

.installment p {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 30px;
}

.installment button {
    background-color: #E5007D;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    font-size: 26px;
    color: #fff;
    border-radius: 12px;
    border: none;
}        

.installment__block {
    margin-bottom: 65px;
}

.installment__block p {
    margin-bottom: 30px;
}


.installment__block svg {
    width: 668px; 
    height: 565px;
    padding-left: 30px;
}
@media screen and (max-width: 1140px) {
    .installment__block svg {
        width: 500px; 
        /*height: 565px;*/
    }
    .installment__left-item__title {
        font-size: 20px;
    }
    .installment__left-item__list {
        font-size: 16px;
    }
    /*
    .installment__left-item {
        width: 370px;
        height: 170px;
    }
    */
}
@media screen and (max-width: 992px) {
    /*
    .installment__left-item {
        width: 325px;
        height: 150px;
    }
    */
    .installment__block svg {
        width: 400px; 
    }            
}
@media screen and (max-width: 768px) {
    .installment h2 {
        margin-bottom: 40px;
    }
    .installment__block {
        align-items: center;
        flex-direction: column;
    }
    .installment__left {
        order: 2;
    }
    .installment__left-item {
        width: 100%;
    }
    .installment__block svg {
        width: 400px; 
        height: 345px;
        margin-bottom: 30px;
    }    
    
    .social__tabs-item__content-column {
        height: auto;
    }

    .social__tabs-item__content-column:not(.active) .articul {
        display: none;
    }  

    .social__tabs-item__content-column__wrap:first-child {
        border-right: none;
    }  
} 

.jsResponsTabsMenuItemPrice__item {
    width: 50%;
    text-align: center;
}

.articul {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.payment-form__wrap {
    position: fixed;
    top:100vh;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
}
#payment-form {
    width: 400px !important;
    height: 250px !important;
}

.social__tabs-item--blue .social__tabs-item__content-column__total, .social__tabs-item--pink .social__tabs-item__content-column__total {
    display: none !important;
}

form.jsOrder__form {
    transition: all ease .3s;
}

form.jsOrder__form.active {
    opacity: 0.2;
}

.oferta__wrap .order-form__field_w30{
    width: 100%;
}

