/* --- COMPONENTE SUMMARY CONTACTO --- */
.redes-module {
    box-sizing: border-box;
    height: 347px;
    padding: 20px;
    background: transparent; /* Fondo transparente solicitado */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: sans-serif; /* Ajustar a la fuente de tu matriz */
}

.section-sub {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.redes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    justify-content: center;
}

.redes-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 4px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    background: transparent;
    font-size: 1.4rem;
}

.redes-item:hover {
    opacity: 0.7;
    transform: translateX(3px);
}

.redes-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.buttons-right {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
}

/* Estilos base para botones del summary (pueden ser heredados de tu UI Kit) */
.btn-outline {
    opacity: 0.6;
}

/* --- VENTANA EMERGENTE (POPUP) --- */
.ct-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Capa oscura sutil de fondo */
    backdrop-filter: blur(4px); /* Efecto esmerilado elegante */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999; /* Asegura que esté por encima de la matriz */
}

/* Clase activa controlada por JS */
.ct-popup-overlay.ct-active {
    opacity: 1;
    pointer-events: auto;
}

.ct-popup-content {
    background: #ffffff; /* Ajustar según tu paleta (claro u oscuro) */
    color: #111111;
    padding: 40px;
    border-radius: 4px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.ct-popup-overlay.ct-active .ct-popup-content {
    transform: scale(1);
}

.ct-popup-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    opacity: 0.6;
}

.ct-popup-info {
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    font-weight: 600;
    word-break: break-all;
}

.ct-popup-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 25px 0;
    opacity: 0.5;
}

/* Botones del Popup */
.ct-popup-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ct-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111111; /* Botón bien grande e imponente */
    color: #ffffff;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s;
}

.ct-btn-main:hover {
    background: #333333;
    transform: translateY(-2px);
}

.ct-btn-close {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    color: #111111;
    width: 54px; /* Proporcional a la altura del botón principal */
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.4;
    transition: opacity 0.2s, background 0.2s;
}

.ct-btn-close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.05);
}