/* Botón flotante de WhatsApp */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.float-whatsapp.position-left {
    left: 40px;
}

.float-whatsapp.position-right {
    right: 40px;
}

.float-whatsapp:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    animation: none;
}

.float-whatsapp svg {
    width: 30px;
    height: 30px;
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsivo para móviles */
@media screen and (max-width: 768px) {
    .float-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }

    .float-whatsapp.position-left {
        left: 20px;
    }

    .float-whatsapp.position-right {
        right: 20px;
    }

    .float-whatsapp svg {
        width: 25px;
        height: 25px;
    }
}
