/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #20b859;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Eliminamos el color rojo cuando está activo */
.whatsapp-button.active {
    background-color: #25D366;  /* Mismo verde, no cambia a rojo */
}

.whatsapp-button.active:hover {
    background-color: #20b859;  /* Mismo hover verde */
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s;
}

.whatsapp-button.active img {
    transform: rotate(180deg);
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Resto del CSS igual... */
.contact-list {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: var(--color-blanco);
    border-radius: 15px 15px 10px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.contact-list.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.contact-header {
    background: #25D366;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    border-radius: 15px 15px 0 0;
    font-size: 16px;
}

.contact-description {
    padding: 12px;
    font-size: 13px;
    text-align: center;
    color: var(--color-texto);
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.contact {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.contact:hover {
    background: #f0f2f5;
}

.contact img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    color: var(--color-secundario);
    font-size: 14px;
    margin-bottom: 2px;
}

.contact-role {
    font-size: 12px;
    color: var(--color-texto);
}

.contact-status {
    font-size: 11px;
    color: #25D366;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.contact-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 480px) {
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button img {
        width: 28px;
        height: 28px;
    }
    
    .contact-list {
        bottom: 75px;
        right: 15px;
        width: 280px;
    }
    
    .contact img {
        width: 40px;
        height: 40px;
    }
}