/* ══════════════════════════════════════════════════════════
   MODALES — LUXURY DARK · ELECTRIC BLUE · GOLD ACCENTS
   ══════════════════════════════════════════════════════════ */

   .px-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 14, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.px-modal.active { display: flex; }

/* Box */
.px-modal-box {
    position: relative;
    width: 100%;
    max-width: 540px;
    background: linear-gradient(160deg, #060c1c 0%, #04080f 100%);
    border: 1px solid rgba(1,128,235,0.22);
    border-radius: 4px;
    overflow: hidden;
    animation: modalSlideIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 0 0 1px rgba(1,128,235,0.07),
        0 32px 80px rgba(0,0,0,0.85),
        0 0 80px rgba(1,128,235,0.07),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.92) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Gold line top */
.px-modal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #0180eb 40%, #40aaff 50%, #0180eb 60%, transparent 100%);
    z-index: 2;
}

/* Subtle corner glow */
.px-modal-box::after {
    content: '';
    position: absolute;
    top: -40px; left: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(1,128,235,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Close button */
.px-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(1,128,235,0.07);
    border: 1px solid rgba(1,128,235,0.25);
    color: rgba(1,128,235,0.7);
    font-size: 14px;
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
    z-index: 10;
    transition: all 0.2s ease;
    font-family: 'VT323', monospace;
    letter-spacing: 0;
}
.px-modal-close:hover {
    background: rgba(1,128,235,0.15);
    border-color: rgba(1,128,235,0.6);
    color: #0180eb;
    box-shadow: 0 0 12px rgba(1,128,235,0.25);
}

/* Header */
.px-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 22px 16px;
    border-bottom: 1px solid rgba(1,128,235,0.1);
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(1,128,235,0.05) 0%, transparent 100%);
}

.px-modal-icon {
    font-size: 2.2rem;
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(1,128,235,0.5)) drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    flex-shrink: 0;
}

.px-modal-num {
    font-family: 'VT323', monospace;
    font-size: 0.82rem;
    color: rgba(1,128,235,0.5);
    letter-spacing: 0.14em;
    line-height: 1;
    margin-bottom: 3px;
}

.px-modal-title {
    font-family: 'VT323', monospace;
    font-size: 1.65rem;
    font-weight: 400;
    color: #dde8ff;
    margin: 0;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(1,128,235,0.25);
}

/* Body */
.px-modal-body {
    padding: 18px 22px 22px;
    position: relative;
    z-index: 1;
}

/* Features 2-col grid */
.px-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.px-feat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, rgba(1,128,235,0.06), rgba(1,128,235,0.02));
    border: 1px solid rgba(1,128,235,0.1);
    border-radius: 3px;
    padding: 11px 12px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.px-feat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(1,128,235,0.25), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}
.px-feat:hover {
    background: linear-gradient(135deg, rgba(1,128,235,0.12), rgba(1,128,235,0.05));
    border-color: rgba(1,128,235,0.25);
    box-shadow: 0 4px 16px rgba(1,128,235,0.08);
    transform: translateY(-1px);
}
.px-feat:hover::before { opacity: 1; }

.px-feat-icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.px-feat strong {
    display: block;
    font-family: 'VT323', monospace;
    font-size: 0.95rem;
    font-weight: 400;
    color: #c8d8f5;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-bottom: 2px;
}

.px-feat p {
    font-size: 0.72rem;
    color: rgba(180,200,255,0.32);
    margin: 0;
    line-height: 1.45;
}

/* Footer */
.px-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(1,128,235,0.1);
    padding-top: 16px;
}

/* Price */
.px-price {
    font-family: 'VT323', monospace;
    font-size: 1.35rem;
    color: #0180eb;
    letter-spacing: 0.04em;
    line-height: 1;
    text-shadow: 0 0 20px rgba(1,128,235,0.4);
}
.px-price span {
    font-size: 0.85rem;
    color: rgba(1,128,235,0.45);
}
.px-price--consult {
    font-size: 1.2rem;
    color: rgba(1,128,235,0.75);
    text-shadow: 0 0 16px rgba(1,128,235,0.25);
}

/* WhatsApp button */
.px-wsp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1db954, #128C7E);
    color: #fff;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    padding: 9px 16px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(29,185,84,0.25);
    position: relative;
    overflow: hidden;
}
.px-wsp-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
}
.px-wsp-btn:hover::before { left: 100%; }
.px-wsp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(29,185,84,0.4);
    filter: brightness(1.1);
}
.px-wsp-btn svg {
    width: 15px; height: 15px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 560px) {
    .px-features { grid-template-columns: 1fr; }
    .px-modal-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .px-wsp-btn { justify-content: center; }
    .px-modal-box { border-radius: 3px; }
}