.ps-modal-suscripcion {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.ps-modal-suscripcion.is-active {
    display: block;
}

.ps-modal-suscripcion__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 10, 0.74);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .35s ease;
}

.ps-modal-suscripcion.is-active .ps-modal-suscripcion__overlay {
    opacity: 1;
}

.ps-modal-suscripcion__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(.97);
    width: min(1140px, calc(100% - 34px));
    min-height: 620px;
    max-height: calc(100vh - 34px);
    border-radius: 30px;
    overflow: hidden;
    background: #0d0d10;
    opacity: 0;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.42),
        0 12px 26px rgba(0, 0, 0, 0.24);
    transition:
        opacity .38s ease,
        transform .42s cubic-bezier(.2, .8, .2, 1);
}

.ps-modal-suscripcion.is-active .ps-modal-suscripcion__dialog {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* IMAGEN DE FONDO ÚNICA */
.ps-modal-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--ps-modal-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transform: scale(1.01);
}

/* CAPA OSCURA PARA LEGIBILIDAD */
.ps-modal-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(5, 5, 7, 0.92) 0%,
            rgba(6, 6, 8, 0.88) 18%,
            rgba(8, 8, 10, 0.74) 34%,
            rgba(8, 8, 10, 0.46) 54%,
            rgba(8, 8, 10, 0.28) 72%,
            rgba(8, 8, 10, 0.18) 100%);
}

/* BRILLOS SUAVES */
.ps-modal-bg-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,.08), transparent 22%),
        radial-gradient(circle at 80% 24%, rgba(255,255,255,.05), transparent 18%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,.04), transparent 20%);
    pointer-events: none;
}

.ps-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 6;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    transition:
        background .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.ps-modal-close:hover {
    background: rgba(255,255,255,.26);
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 12px 22px rgba(0,0,0,.26);
}

.ps-modal-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(360px, 430px) 1fr;
    width: 100%;
    min-height: 620px;
    height: 100%;
}

.ps-modal-left {
    display: flex;
    align-items: center;
    padding: 42px 34px;
}

.ps-modal-content-card {
    width: 100%;
    max-width: 390px;
    border-radius: 26px;
    padding: 30px 28px 24px;
    background: rgba(8, 8, 10, 0.72);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow:
        0 18px 40px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(12px);
}

.ps-modal-content {
    width: 100%;
    color: #fff;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .42s ease .10s,
        transform .46s cubic-bezier(.2,.8,.2,1) .10s;
}

.ps-modal-suscripcion.is-active .ps-modal-content {
    opacity: 1;
    transform: translateY(0);
}

.ps-modal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #111;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 8px 16px rgba(255,255,255,.10);
}

.ps-modal-content h2 {
    margin: 0 0 14px;
    font-size: clamp(34px, 3.4vw, 54px);
    line-height: .96;
    letter-spacing: -1.4px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0,0,0,.28);
    text-wrap: balance;
}

.ps-modal-description {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.74;
    color: rgba(255,255,255,.86);
}

.ps-modal-highlight {
    display: inline-block;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.10);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.ps-modal-benefits {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.ps-modal-benefits li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,.82);
}

.ps-modal-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

.psFormSuscripcion {
    width: 100%;
}

.ps-form-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ps-input {
    width: 100%;
    height: 58px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.97);
    color: #111;
    font-size: 15px;
    padding: 0 18px;
    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        transform .22s ease;
}

.ps-input::placeholder {
    color: #8a8a8a;
}

.ps-input:focus {
    outline: none;
    border-color: rgba(255,255,255,.56);
    box-shadow: 0 0 0 4px rgba(255,255,255,.08);
    transform: translateY(-1px);
}

.ps-btn-submit {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #eeeeee 100%);
    color: #111;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(255,255,255,.12);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.ps-btn-submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    box-shadow: 0 16px 34px rgba(255,255,255,.15);
}

.ps-btn-submit:disabled {
    opacity: .72;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ps-modal-response {
    min-height: 24px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
}

.ps-modal-response:empty {
    display: none;
}

.ps-modal-legal {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.72;
    color: rgba(255,255,255,.66);
}

.ps-modal-right {
    min-height: 100%;
}

.ps-modal-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .ps-modal-suscripcion__dialog {
        width: min(980px, calc(100% - 24px));
        min-height: 590px;
    }

    .ps-modal-layout {
        grid-template-columns: minmax(340px, 400px) 1fr;
        min-height: 590px;
    }

    .ps-modal-left {
        padding: 34px 24px;
    }

    .ps-modal-content-card {
        max-width: 360px;
        padding: 26px 24px 22px;
    }
}

@media (max-width: 860px) {
    .ps-modal-suscripcion__dialog {
        width: calc(100% - 16px);
        min-height: unset;
        max-height: calc(100vh - 16px);
        border-radius: 24px;
        overflow-y: auto;
    }

    .ps-modal-bg-image {
        background-position: center center;
    }

    .ps-modal-bg-layer {
        background:
            linear-gradient(180deg,
                rgba(8,8,10,.52) 0%,
                rgba(8,8,10,.58) 24%,
                rgba(8,8,10,.78) 52%,
                rgba(8,8,10,.90) 100%);
    }

    .ps-modal-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ps-modal-left {
        padding: 72px 16px 20px;
        align-items: flex-end;
        min-height: 100%;
    }

    .ps-modal-content-card {
        max-width: 100%;
        padding: 22px 18px 18px;
        border-radius: 22px;
        background: rgba(8, 8, 10, 0.76);
    }

    .ps-modal-content h2 {
        font-size: 34px;
        line-height: 1.02;
        letter-spacing: -1px;
    }

    .ps-modal-description {
        font-size: 14px;
        line-height: 1.68;
    }
}

@media (max-width: 560px) {
    .ps-modal-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .ps-modal-left {
        padding: 64px 12px 14px;
    }

    .ps-modal-content-card {
        padding: 18px 14px 16px;
        border-radius: 18px;
    }

    .ps-modal-badge {
        margin-bottom: 14px;
    }

    .ps-modal-content h2 {
        font-size: 28px;
    }

    .ps-modal-highlight {
        font-size: 12px;
        padding: 11px 12px;
    }

    .ps-modal-benefits {
        gap: 7px;
        margin-bottom: 16px;
    }

    .ps-input,
    .ps-btn-submit {
        height: 54px;
        border-radius: 14px;
    }

    .ps-modal-legal {
        font-size: 11px;
    }
}