.popup-wrapper {
    display: none;
}

.popup-wrapper .banner {
    max-width: 500px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .popup-wrapper .banner {
        max-width: 90%;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .popup-wrapper .banner {
        max-width: 100%;
        min-height: 100vh;
        border-radius: 0;
    }
}

.content {
    position: relative;
    z-index: 2;
    padding: 30px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.headline-top {
    font-family: 'Roboto', sans-serif;
    font-size: 42px;
    color: #061b3a;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
}

.headline-accent {
    font-family: 'Roboto', sans-serif;
    font-size: 42px;
    color: #009966;
    font-weight: 600;
    line-height: 1.2;
}

.line {
    width: 52px;
    height: 5px;
    background: #009966;
    border-radius: 20px;
    margin-top: 20px;
}

.subtext {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.55;
    color: #667085;
    max-width: 260px;
}

.form {
    margin-top: auto;
}

.input {
    width: 100%;
    height: 46px;
    border: 1px solid #dde3ea;
    border-radius: 5px;
    background: rgba(255,255,255,0.92);
    padding: 0 15px;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 10px;
    outline: none;
    transition: 0.2s;
}

.input:focus {
    border-color: #009966;
    box-shadow:
            0 0 0 3px rgba(0,153,102,0.08);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.checkbox {
    width: 12px;
    height: 12px;
    margin-top: 2px;
    accent-color: #009966;
}

.checkbox-label {
    font-size: 12px;
    line-height: 1.4;
    color: #667085;
}

.button {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 4px;

    background: linear-gradient(
            90deg,
            #009966 0%,
            #00aa72 100%
    );

    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.button:hover {
    transform: translateY(-1px);

    box-shadow:
            0 8px 20px rgba(0,153,102,0.18);
}

.button:active {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    z-index: 10000;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;

    border: none;
    border-radius: 10%;

    background-color: rgba(255, 255, 255, 0.5);;
    color: #3b3f45;

    font-size: 24px;
    line-height: 1;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: 0.2s ease;
}

.modal__close:hover {
    background: #ffffff;
    transform: scale(1.05);
}


/* mobile.css */

@media (max-width: 768px) {


    .banner {
        width: 80%;
        max-width: 80%;
        border-radius: 18px;
        background-position: 68% center;
    }

    .content {
        padding: 50px;
    }

    .headline-top {
        font-size: 32px;
        line-height: 1.08;
    }

    .headline-accent {
        font-size: 32px;
        line-height: 1.08;
    }

    .line {
        width: 44px;
        height: 4px;
        margin-top: 18px;
    }

    .subtext {
        font-size: 16px;
        line-height: 1.5;

        margin-top: 20px;
        margin-bottom: 22px;

        max-width: 220px;
    }

    .input {
        height: 50px;
        font-size: 15px;

        padding: 0 16px;

        margin-bottom: 10px;
    }

    .checkbox-row {
        gap: 10px;
        margin-bottom: 14px;
    }

    .checkbox {
        width: 16px;
        height: 16px;

        margin-top: 1px;
        flex-shrink: 0;
    }

    .checkbox-label {
        font-size: 12px;
        line-height: 1.45;
    }

    .button {
        height: 54px;
        font-size: 17px;

        border-radius: 10px;
    }

    .modal__close {
        width: 34px;
        height: 34px;

        top: 14px;
        right: 14px;

        font-size: 22px;
    }
}


/* SMALL MOBILE */

@media (max-width: 480px) {


    .banner {
        border-radius: 0;
        border: none;
        /* min-height: auto; */

        background:
                linear-gradient(
                        180deg,
                        rgba(255,255,255,0.92) 0%,
                        rgba(255,255,255,0.82) 38%,
                        rgba(255,255,255,0.74) 100%
                ),
    }

    .content {
        padding: 50px;
    }

    .headline-top {
        font-size: 28px;
    }

    .headline-accent {
        font-size: 28px;
    }

    .subtext {
        font-size: 14px;
        max-width: 200px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .form {
        margin-top: 20px;
    }

    .input {
        height: 40px;
        border-radius: 12px;
    }

    .button {
        height: 40px;
        font-size: 14px;
    }

    .checkbox-label {
        font-size: 10px;
    }

    .modal__close {
        width: 32px;
        height: 32px;

        top: 12px;
        right: 12px;

        font-size: 20px;
    }
}