.curtain-modal .v-section {
    display: flex;
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 74px;
    max-height: 496px;
    box-sizing: content-box;
    gap: 0 4px;
    padding: 0;
}

.curtain-modal .v-section {
    margin-bottom: 0;
}

._below-fixed-banner .v-section {
    margin: 0 auto;
    padding: 42px 0;
}

.v-section_reverse {
    flex-direction: row-reverse;
}

.v-section>.v-section__body {
    flex: 0 1 420px;
}

.v-section>.v-section__image {
    flex: calc(40% - 2px);
}

.v-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.v-section__image_top img {
    object-position: top;
}

.v-section__image_center img {
    object-position: center;
}

.v-section__image_bottom img {
    object-position: bottom;
}

.v-section__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 24px;
    padding: 48px;
    transition: var(--transition-cond);
}

.v-section__title,
.v-section__foorm-footer,
.v-section__link {
    text-align: left;
}


.v-section__title h2 {
    font-family: Mulish;
    font-size: 32px;
    font-weight: 300;
    line-height: 28px;
    margin: 0;
}
.v-section__title h2 .accent,
.v-section__title .v-section__descr .accent {
    color: #DC0000;
}

.v-section__title .v-section__descr {
    font-size: 16px;
    padding-top: 1.5em;
    line-height: 1.25em;
    font-weight: 400;
}

.v-section__foorm-footer {
    max-width: 400px;
}

.v-section__foorm-footer,
.v-section__foorm-footer span,
.v-section__foorm-footer a {
    font-size: 12px;
    line-height: 14px;
    color: #000;
    text-decoration: none;
}

.v-section__foorm-footer a,
.v-section__link a {
    text-underline-offset: 2px;
    transition: var(--transition-cond);
}

.v-section__link a {
    font-size: 14px;
    line-height: 18px;
}

.v-section__form,
.v-section__form form {
    width: 100%;
}

.v-section__form form {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.v-section__form .form-group input[type="text"]::placeholder {
	color: rgba(0,0,0,.5);
}

.v-section__form .form-group input[type=text],
.v-section__form button.btn {
    height: 48px;
}

#subscribe .form-group {
    display: grid;
}

.v-section__form button {
    font-family: Mulish;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.v-section__form button.btn {
    flex: 1 1 150px;
    max-width: 200px;
    cursor: pointer;
}

@media (max-width: 1576px) {
    ._below-fixed-banner .v-section {
        margin: 0;
        padding: 42px 48px;
    }
}

@media (max-width: 1199px) {
    ._below-fixed-banner .v-section {
        margin: 0;
        padding: 24px 24px;
    }
    .v-section__form button {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    
    .v-section {
        padding: 0;
        flex-direction: column;
        max-height: 100%;
    }
    ._below-fixed-banner .v-section {
        margin: 0;
        padding: 24px 0;
    }

    .v-section_reverse {
        flex-direction: column-reverse;
    }

    .v-section__body {
        padding: 24px 12px;
        gap: 16px;
        align-items: center;
    }

    .curtain-modal .v-section__body {
        padding: 24px;
    }

    .v-section__title,
    .v-section__foorm-footer,
    .v-section__link {
        text-align: center;
    }
    
    .v-section__form button.btn {
        max-width: 100%;
    }
    .v-section__image,
    .v-section__image img {
        max-height: 242px;
        object-position: 0 20%;
    }

    .v-section__image {
        order: -1;
    }

    .v-section>.v-section__body {
        flex: 0 1 100%;
    }
}
@media (max-width: 640px) {
    .curtain-modal__window,
    .curtain-modal__window-final {
        overflow-y: auto;
    }

    .curtain-modal__window-final {
        padding: 24px !important;
    }
}
@media (max-width: 414px) {
    .v-section__form button {
        flex: 1;
        min-width: 0;
    }

    .v-section__title,
    .v-section__foorm-footer,
    .v-section__link {
        text-align: left;
    }
}




.curtain-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fade-wrapper-bg);
    z-index: 100;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    z-index: 996;
}

.curtain-modal__window {
    background-color: #fff;
    max-width: 760px;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow: -moz-scrollbars-none;
}

.curtain-modal__window::-webkit-scrollbar { display: none; width: 0; }

.curtain-modal form#subscribe {
    display: grid;
    grid-template-rows: auto;
}

.curtain-modal form#subscribe button {
    width: 100%;
    max-width: 100%;
    display: block;
    text-transform: none;
    font-size: 16px;
    line-height: 1.5em;
}

.curtain-modal .v-section__foorm-footer {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.curtain-modal .form-group input,
.curtain-modal .v-section__foorm-footer span,
.curtain-modal .v-section__foorm-footer .block_1,
.curtain-modal .v-section__foorm-footer .block_2 {
    text-transform: none !important;
    color: rgba(0, 0, 0, .5);
    opacity: 1 !important;
    font-weight: 300;
}

.curtain-modal .form-group input {
    font-size: 16px !important;
}

.curtain-modal .v-section__foorm-footer a {
    color: rgba(0, 0, 0, 1);
    text-transform: none !important;
    opacity: 1 !important;
}

.curtain-modal .v-section__foorm-footer {
    opacity: 1;
}

.curtain-modal .v-section__foorm-footer a:hover {
    color: rgba(0, 0, 0, .7);
}

#subscribe .form-group.error span {
    position: static;
    padding-bottom: 10px;
}


.curtain-modal__window-final {
    background-color: #fff;
    padding: 48px;
    max-width: 420px;
    position: relative;
}


.window-final__title {
    font-family: Mulish;
    font-size: 32px;
    font-weight: 300;
    line-height: 28px;
    text-align: left;
    padding-bottom: 24px;
}

.window-final__descr {
    font-family: Mulish;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    padding-bottom: 24px;
}

.window-final__descr .accent {
    color: #DC0000;
}


.window-final__promo {
    font-family: Mulish;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

    height: 48px;
    padding: 12px;
    background-color: #F3F3F3;
    color: #DC0000;
}

.window-final__btn-copy {
    height: 48px;
    width: 100%;
    padding: 8px 24px;
    border: 0.5px solid #000;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    margin-top: 4px;
}

.window-final__btn-copy::after,
.window-final__btn-copy::before {
    
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: Mulish;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    opacity: 1;

    transition: 
        opacity 300ms ease-in-out,
    ;
}

.window-final__btn-copy[data-not-copy]::before {
    content: attr(data-not-copy);
}

.window-final__btn-copy[data-is-copy]::after {
    content: attr(data-is-copy);
}

.window-final.is-copy .window-final__btn-copy::before {
    opacity: 0;
}
.window-final:not(.is-copy) .window-final__btn-copy::after {
    opacity: 0;
}

.window-final__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;

    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    background-color: transparent;
    border: none;

    transition: transform 300ms ease-in-out;
}

.window-final__close:hover svg {
    transform: scale(1.1);
}


.curtain-modal__window,
.curtain-modal__window-final {
    cursor: default;
    margin: 24px;
    max-height: 90%;
}

