/* ════ NEUROMARKETING LAYER v2 ════ */

/* Trust Bar ya está en main.css */

/* ── Social Proof in dark bg ── */
.sp-bar.sp-bar--dark .sp-text{color:rgba(255,255,255,.85)}

/* ── Urgencia badge ── */
.urgencia-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(74,222,128,.1);border:1.5px solid rgba(74,222,128,.3);color:#16a34a;font-size:13px;font-weight:700;padding:7px 15px;border-radius:999px;margin-bottom:16px}
.urgencia-badge .dot{width:8px;height:8px;border-radius:50%;background:#16a34a;animation:pulse 1.5s ease-in-out infinite}

/* ── Proceso 3 Pasos ── */
.proceso-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0;
}
@media (max-width: 900px) {
    .proceso-grid {
        grid-template-columns: 1fr;
    }
}
.proceso-step {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--r);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.proceso-step:hover {
    border-color: var(--orange);
    box-shadow: var(--sh);
    transform: translateY(-4px);
}
.proceso-num {
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(13,31,60,0.2);
}
.proceso-step h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}
.proceso-step p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ── Loss Aversion Block ── */
.loss {
    background: #fff8f1;
    border-left: 4px solid var(--orange);
    padding: 24px;
    border-radius: 4px var(--r) var(--r) 4px;
    display: flex;
    gap: 16px;
    margin: 32px 0;
    align-items: flex-start;
}
.loss p {
    font-size: 15px;
    color: var(--navy);
    margin: 0;
    line-height: 1.6;
}
.loss strong {
    color: var(--orange-dk);
}

/* ── Sidebar Premium ── */
.sidebar-premium {
    background: var(--white);
    padding: 32px;
    border-radius: var(--r-lg);
    border: 2px solid var(--navy);
    box-shadow: 0 12px 50px rgba(13,31,60,0.15);
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}
.sidebar-premium h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--navy);
    line-height: 1.2;
}
.sidebar-price-box {
    background: var(--off-2);
    padding: 24px 20px;
    border-radius: var(--r);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
}
.s-label { font-size: 13px; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.s-value { font-size: 42px; font-weight: 900; color: var(--orange); line-height: 1; }
.s-note { font-size: 14px; color: var(--gray-400); margin-top: 8px; }

.sidebar-trust-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}
.sidebar-trust-items li {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-trust-items .icon {
    width: 18px;
    height: 18px;
    color: var(--orange);
    flex-shrink: 0;
}

/* ── Exit Intent Overlay ── */
.exit-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13,31,60,0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}
.exit-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.exit-modal {
    background: var(--white);
    max-width: 480px;
    width: 90%;
    padding: 48px;
    border-radius: var(--r-xl);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.exit-overlay.active .exit-modal {
    transform: scale(1);
}
.exit-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    font-size: 32px; color: var(--gray-400);
    cursor: pointer;
}
.exit-modal h2 { font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.exit-modal p { font-size: 16px; color: var(--gray-600); line-height: 1.6; margin-bottom: 32px; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* ════ VISUAL PASS 2026-08-28 — componentes de confianza y conversión ════ */
.urgencia-badge{
    color:var(--green-accessible);
    border-color:rgba(21,128,61,.24);
    background:rgba(74,222,128,.10);
}
.urgencia-badge .dot{background:var(--green-accessible)}
.proceso-grid{align-items:stretch}
.proceso-step{box-shadow:0 4px 18px rgba(13,31,60,.06)}
.proceso-step:focus-within{border-color:var(--orange-accessible);box-shadow:0 0 0 3px rgba(194,65,12,.14),0 8px 24px rgba(13,31,60,.12)}
.proceso-num{background:linear-gradient(135deg,var(--navy-2),var(--navy-3))}
.loss{border-left-color:var(--orange-accessible);box-shadow:0 3px 16px rgba(13,31,60,.05)}
.sidebar-premium{border-color:var(--navy-2);box-shadow:0 16px 44px rgba(13,31,60,.14)}
.sidebar-premium:focus-within{box-shadow:0 0 0 3px rgba(194,65,12,.16),0 16px 44px rgba(13,31,60,.14)}
.sidebar-price-box{border:1px solid rgba(148,163,184,.22)}
.s-value{color:var(--orange-accessible)}
.exit-close:focus-visible{outline:3px solid var(--orange-accessible);outline-offset:3px;border-radius:8px}

@media(max-width:600px){
    .proceso-grid{gap:12px;margin:26px 0}
    .proceso-step{padding:20px 18px}
    .sidebar-premium{padding:24px 20px;border-radius:var(--r-lg)}
    .exit-modal{padding:36px 24px}
}
