﻿/* ===================================================================
   MODAL VIP: EXPOSITORES (Diseño "Perfil Centrado")
   =================================================================== */
#expoModal.modal-overlay {
    position: fixed !important;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6); /* Fondo azul noche oscuro */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

    #expoModal.modal-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

#expoModal .modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 440px; /* Angosto para perfiles */
    border-radius: 32px;
    padding: 40px 32px 32px;
    position: relative;
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.2);
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Borde superior dinámico */
    border-top: 6px solid var(--modal-color, #2F5D73);
}

#expoModal.active .modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#expoModal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
}

    #expoModal .modal-close:hover {
        background: #FEE2E2;
        color: #EF4444;
        transform: scale(1.05) rotate(90deg);
    }

    #expoModal .modal-close svg {
        width: 18px;
        height: 18px;
        stroke-width: 2.5;
    }

/* Header Centrado */
#expoModal .modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

#expoModal .modal-logo-h {
    width: 88px;
    height: 88px;
    border-radius: 24px; /* Squircle grande */
    background: color-mix(in srgb, var(--modal-color) 12%, #fff);
    color: var(--modal-color);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--modal-color) 15%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    #expoModal .modal-logo-h svg {
        width: 44px;
        height: 44px;
        fill: currentColor;
    }

#expoModal #modalNombre {
    font-size: 26px;
    color: #0F172A;
    margin: 0 0 10px 0;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

#expoModal #modalMeta {
    font-size: 13px;
    font-weight: 700;
    color: var(--modal-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: color-mix(in srgb, var(--modal-color) 8%, #fff);
    padding: 6px 16px;
    border-radius: 999px;
    display: inline-block;
    margin: 0;
}

/* Cuerpo Centrado */
#expoModal .modal-intro {
    font-size: 16px;
    color: #334155;
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
}

#expoModal .modal-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E2E8F0, transparent);
    margin: 24px 0;
}

#expoModal .modal-subtitle {
    font-size: 11px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 12px 0;
    text-align: center;
    font-weight: 800;
}

#expoModal .modal-text {
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

/* Redes Sociales */
#expoModal .modal-footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}

#expoModal .social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--icon-bg, #F1F5F9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color, #64748B);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    #expoModal .social-icon svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        fill: none;
    }

    #expoModal .social-icon:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 16px var(--icon-bg);
    }
