/* =========================================================
   Botón flotante WhatsApp
   ========================================================= */

/* --- contenedor ancla fijo --- */
.whatsapp-fijo {
    position: fixed;
    right: 1.3rem; /* ⇒ abajo-derecha */
    bottom: 1.6rem;
    z-index: 1200; /* por encima de todo */
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease;
    overflow: hidden; /* recorta el PNG para que sea círculo */
}

/* --- el PNG dentro --- */
.whatsapp-icon {
    width: 65%; /* se acomoda dentro del círculo */
    height: auto;
    pointer-events: none; /* el hover se capta en el contenedor */
}

/* --- animación de “latido” al hover --- */
@keyframes wpp-beat {
    0%,
    100% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.15);
    }
    40% {
        transform: scale(0.95);
    }
    60% {
        transform: scale(1.1);
    }
}

.whatsapp-fijo:hover {
    animation: wpp-beat 0.8s infinite;
}

/* --- tamaño menor en móviles --- */
@media (max-width: 575.98px) {
    .whatsapp-fijo {
        left: 0.9rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
    }
