/* Reset básico */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
/* Fondo con imagen */
body {
    background-image: url('img/fondo-pc.jpg');
    background-size: cover;
    background-position: center 65%;
    background-repeat: no-repeat;
}

/* Versión móvil */
@media (max-width: 768px) {
    body {
        background-image: url('img/fondo-movil.webp');
        background-position: center;
    }
    .whatsapp-btn {
        bottom: 25px;
        left: 25px;
    }

    .whatsapp-btn img {
        width: 85px;
        height: 85px;
    }
}

/* Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
}

/* Imagen */
.whatsapp-btn img {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;

    /* Animación */
    animation: latido 1.5s infinite;
    transition: transform 0.3s;
}

/* Hover (PC) */
.whatsapp-btn img:hover {
    transform: scale(1.2);
}

/* 🔥 Animación tipo latido */
@keyframes latido {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}
.whatsapp-btn img:hover {
    animation: none;
    transform: scale(1.2);
}