.form-banner {
    display: flex;
    justify-content: end;
    padding: 64px 0 52px;
    position: relative;
    background-color: #fff;
}

.form-banner__container {
    width: 784px;
    margin-right: 155px;
    position: relative;
    z-index: 10;
}

.form-banner__title {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 500;
    color: #2b3063;
}

.form-banner__text {
    margin-bottom: 135px;
    font-size: 20px;
    font-weight: 500;
    color: #2b3063;
}

.form-banner__bottom {
    display: flex;
    align-items: center;
    gap: 35px;
}

.form-banner__open-form-btn {
    text-transform: uppercase;
}

.form-banner__phone-number {
    font-size: 16px;
    font-weight: 600;
    color: #122d4e;
}


/* PATTERNS */

.form-banner__dots {
    display: flex;
    align-items: end;
    gap: 15px;
    position: absolute;
    top: 64px;
    left: 156px;
}

.form-banner__dots-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-banner__dots-svg {
    display: block;
}



.form-banner__chevrons {
    display: flex;
    opacity: .3;
    position: absolute;
    bottom: 52px;
    left: 40px;
}

.form-banner__chevron:not(:first-child) {
    margin-left: -10px;
}

.form-banner__chevron-svg {
    display: block;
}


.form-banner__dots-separate {
    position: absolute;
    right: 208px;
    bottom: 76px;
}

.form-banner__polygon {
    position: absolute;
    right: -50px;
    bottom: 116px;
}

.form-banner__polygon-svg {
    display: block;
}
.modal-title {
    color:  #0A192B;
    font-size: 24px;
    font-weight: 800;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.sub__title{
    color: #122D4E;
    font-size: 25px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.course-form {
    display: none;
    border-radius: 10px;
    background: #FFF;
    padding: 40px;
    margin: 0 auto;
    max-width: 640px;
    width: 100%;
    max-height: 560px;
    position: fixed;
    z-index: 22;
    left: 30%;
    top: 20%;

}
.modal-show {
    display: block;
}
.course-form-close,
.question-form-close {
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.course-form__full-name{
    display: flex;
    gap: 10px;
}
.course-form__input-wrap{
    width: 100%;
}
.course-form__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.course-form__personal-text {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
}
.course-form__checkbox-wrapper {
    gap: 4px;
    margin: 10px 0;
}
/*.course-form__submit {*/
/*   border: none;*/
/*}*/
.course-btn {
    width: 100%;
    border-radius: 6px!important;
    border: 1px solid #2B3063!important;
    cursor: pointer!important;
}

.course-form__submit input {
    padding: 16px 0;
    background: #fff;
    color: #2B3063;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #2B3063;
}
.course-form__input-text input{
    width: 100%;
    color: #2B3063;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    border: 1px solid #E6E7EC;
    border-radius: 6px;
    padding: 20px 20px 60px 20px;

}
.course-form__submit button {
    width: 100%;
    border-radius: 6px;
    background: #FFF;
    padding: 16px 24px;
    text-transform: uppercase;
    cursor: pointer;
}

.course-form__input-text input:focus {
    outline: none;
    border-color: #2B3063;
}
.modal-wrapper-course,
.modal-wrapper,
.modal-wrapper-send,
.modal-wrapper-error{
    width: 100%;
    height: 100%;
    display: none;
}
.modal-wrapper.active,
.modal-wrapper-course.active,
.modal-wrapper-send.active,
modal-wrapper-error.active{
    display: block;
}

.modal-window,
.modal-window-send,
.modal-window-error{
    max-width: 640px;
    width: 100%;
    height: auto;
    max-height: 700px;
    padding: 40px;
    border-radius: 10px;
    background: #FFF;
}
.modal-window-question,
.modal-window-send,
.modal-window-error{
    position: fixed;
    z-index: 22;
    transform: translate(-50%,-75%);
    left: 50%;
    top: 70%;
}
.modal-window-send,
.modal-window-error{
    top: 60%;
}

.overlay {
    position: fixed;
    background: rgba(0, 0, 0, 0.70);
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* ======== */

@media (max-width: 1070px) {

    .form-banner__container {
        margin-right: auto;
    }
    
    .form-banner__chevrons {
        display: none;
    }

    .form-banner__dots {
        left: -44px;
    }

    .form-banner__dots-separate {
        display: none;
    }

    .form-banner__polygon {
        right: -164px;
    }
    
}

@media (max-width: 768px) {

    .form-banner {
        padding: 50px 0;
    }

    .form-banner__title {
        margin-bottom: 28px;
    }

    .form-banner__text {
        margin-bottom: 50px;
    }

    .form-banner__dots {
        top: 20px;
    }
    .sub__title {
        font-size: 18px;
    }
    .modal-title {
        font-size: 20px;
    }
    .modal-window {
        padding: 22px;
        max-height: 100%;
    }
    .course-form__form {
        gap: 5px;
    }
}

/*.modal-window-send,*/
/*.modal-wrapper-error{*/
/*    position: fixed;*/
/*    z-index: 22;*/
/*    transform: translate(-50%,-75%);*/
/*    left: 50%;*/
/*    top: 70%;*/
/*}*/
