.popup-presentation {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.popup-presentation.is-open { display: flex; }

.popup-presentation__overlay {
    position: absolute;
    inset: 0;
    background: rgba(32, 32, 32, .6);
}

.popup-presentation__box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: var(--morei-main);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 24px 48px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.popup-presentation__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: var(--morei-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-presentation__close svg { width: 16px; height: 16px; }

.popup-presentation__step { display: none; }
.popup-presentation__step.is-active { display: flex; flex-direction: column; gap: 20px; }
.popup-presentation__step--success { align-items: center; text-align: center; }

.popup-presentation__image {
    display: block;
   
    max-width: 280px;
    height: auto;
    margin: 0 auto -20px;
    filter: drop-shadow(0 12px 20px rgba(0,0,0,.3));
}

.popup-presentation__head { text-align: center; }
.popup-presentation__title {
    margin: 0 0 6px;
    font-family: var(--morei-h3-font-family, "Montserrat", sans-serif);
    font-size: clamp(20px, 2.4vw, var(--morei-h3-font-size, 26px));
    font-weight: var(--morei-h3-font-weight, 600);
    text-transform: uppercase;
    color: var(--morei-white);
}
.popup-presentation__subtitle {
    margin: 0;
    font-family: var(--morei-button-font-family, "Montserrat", sans-serif);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--morei-white);
}
.popup-presentation__step--success .popup-presentation__subtitle {
    text-transform: none;
    font-weight: 400;
}

.popup-presentation__form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.popup-presentation__form input[type="tel"] {
    border: 1px solid #fff; border-radius: 10px;
    padding: 14px 18px; font-size: 15px; font-family: inherit;
    background: transparent; color: #fff;
}
.popup-presentation__form input::placeholder { color: #fff; opacity: .8; }

.popup-presentation__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
    cursor: pointer;
}
.popup-presentation__consent input { margin-top: 3px; flex-shrink: 0; width: 15px; height: 15px; }
.popup-presentation__consent a { color: #fff; text-decoration: underline; }

.popup-presentation__error { margin: 0; color: #ffb0b0; font-size: 13px; }

.popup-presentation__submit {
    background: var(--morei-activ);
    color: #fff;
    border: none;
    border-radius: 50px 0 50px 0;
    padding: 16px;
    font-family: var(--morei-button-font-family, "Montserrat", sans-serif);
    font-size: var(--morei-button-font-size, 18px);
    font-weight: var(--morei-button-font-weight, 600);
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .15s;
}
.popup-presentation__submit:hover { opacity: .88; }
.popup-presentation__submit:disabled { opacity: .6; cursor: default; }

.popup-presentation__success-icon { color: #b6ffb0; }

body.popup-presentation-open { overflow: hidden; }

@media (max-width: 480px) {
    .popup-presentation__box { padding: 24px 20px; }
}
