/* =========================
   SOCIAL BAR PMK
========================= */

.social-bar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 10px 6px;

    z-index: 200;

    /* vidrio */
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);

    border: 1px solid rgba(255,255,255,0.15);
    border-left: none;
    border-radius: 0 14px 14px 0;

    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* BOTONES */
.social-item {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--dorado);
    font-size: 16px;

    border-radius: 10px;

    text-decoration: none;

    transition: all 0.3s ease;
}

/* hover elegante */
.social-item:hover {
    transform: translateX(6px) scale(1.05);
    background: rgba(212,175,55,0.15);
    color: #fff;
}

/* colores sutiles por red */
.social-item.instagram:hover {
    box-shadow: 0 0 12px rgba(225,48,108,0.6);
}

.social-item.whatsapp:hover {
    box-shadow: 0 0 12px rgba(37,211,102,0.6);
}

.social-item.facebook:hover {
    box-shadow: 0 0 12px rgba(24,119,242,0.6);
}

/* =========================
   MOBILE (lado derecho)
========================= */

@media (max-width: 768px) {

    .social-bar {
        top: 50%;
        left: auto;
        right: 0;

        transform: translateY(-50%);

        flex-direction: column;

        border-radius: 14px 0 0 14px;
        border-left: 1px solid rgba(255,255,255,0.15);
        border-right: none;

        padding: 10px 6px;
    }

    .social-item {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* efecto más suave en móvil */
    .social-item:hover {
        transform: translateX(-6px) scale(1.05);
    }
}

/* =========================
   POPUP MERENGONES
========================= */

.promo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
    z-index: 300;
}

.promo-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);

    width: 90%;
    max-width: 340px;

    padding: 2rem 1.5rem;

    text-align: center;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.5);

    color: #fff;

    opacity: 0;
    pointer-events: none;

    transition: all 0.4s ease;
    z-index: 310;
}

.promo-popup h2 {
    color: var(--dorado);
    margin-bottom: 0.8rem;
    letter-spacing: 0.1em;
}

.promo-popup p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.promo-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid var(--dorado);
    color: var(--dorado);
    text-decoration: none;
    transition: 0.3s ease;
}

.promo-btn:hover {
    background: var(--dorado);
    color: #1a0000;
}

/* botón cerrar */
.promo-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

/* ACTIVO */
.promo-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.promo-popup.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}