@media (max-width: 1360px){
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    header {
        padding: 8px 0;
    }
    .modal{
        width: calc(100% - 80px);
        padding: 20px;
    }
    .modal .title{
        font-size: 16px;
        padding-right: 15px;
    }
    .close-modal{
        right: 15px;
        top: 15px;
    }
    .modal .sub-title {
        margin: 20px 0;
    }
}
@media (max-width: 1250px) {
    .error-modal{
        right: auto;
        left: 50%;
        margin-left: -154px;
        z-index: 9;
        bottom: 130px;
        top: auto;
    }
    .error-modal + .d-content-wrap{
        min-height: 450px;
    }
}
@media (max-width: 990px) {
    .modal-h2{
        padding: 0 50px 0 20px;
        text-align: left;
        margin-bottom: 36px;
    }
    .link-modal-wrap{
        gap: 20px;
    }
    .link-modal-wrap a{
        width: 270px;
        font-size: 20px;
    }
    .container{
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    header .container{
        flex-direction: row;
        justify-content: space-between
    }
    .left-info{
        margin: 0;
    }
    h1{
        font-size: 30px;
        margin-bottom: 20px;
    }
}
@media (max-width: 520px) {
    .right-content{
        width: 100%;
    }
    .progress-line{
        min-width: auto;
        margin-bottom: 28px;
        height: 2px;
    }
    .step-item{
        font-weight: 500;
        font-size: 13px;
        line-height: 140%;
        padding: 38px 10px 0 ;
        text-align: center;
    }
    .step-item:after{
        width: 114px;
        height: 2px;
        background-color: #D9D9D9;
        right:-61px;
        bottom: 0;
        top: 15px;
        left: auto;
    }
    .step-item-active:after {
        background: #3893FF;
    }
    .step-item:before{
        top: 0;
        left: 50%;
        margin-left: -15px;
        z-index: 2;
    }
    .left-info{
        max-width: 100%;
    }
    .step-wrap {
        max-width: 344px;
        margin: 0 auto;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    .d-content-wrap {
        padding: 20px 20px 115px;
    }
    .top-phone span{
        font-size: 14px;
    }
    .top-phone span:before{
        background-size: 85%;
        width: 14px;
        height: 14px;
        left: -16px;
    }
    .intobr .intobr-logo{
        max-width: 200px;
    }
    .logo-text{
        display: none;
    }
    .file-list-item{
        font-size: 14px;
        margin-bottom: 20px;
    }
    .right-content .title{
        font-size: 16px;
    }
    input{
        height: 52px;
        line-height: 52px;
    }
    .btn{
        min-width: 140px;
        max-width: 140px;
        font-size: 14px;
    }
    .btn-tinkoff {
        min-width: 140px;
        max-width: 190px;
        font-size: 14px;
    }
    .bottom-block{
        padding-bottom: 20px;
    }
    .d-content-wrap{
        width: calc(100% - 40px);
    }
    .summ{
        font-size: 24px;
    }
    .summ .error {
        bottom: -30px;
    }
}
@media (max-width: 450px) {
    .w-50{
        width: 100%;
    }
    .input-50 {
        width: calc(100% - 30px);
    }
    .star{
        width: 40px;
        height: 40px;
        background-size: 100%;
    }
    .star:hover{
        background-size: 100%;
    }
}
@media (max-width: 360px) {
    .btn{
        min-width: 120px;
        max-width: 120px;
    }
    .fix{
        display: none;
    }
}