/* WhatsApp Float Button - Hotel de Su Merced */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    text-decoration: none;
}

.whatsapp-float:focus {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 2px;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Responsive: móviles y tablets */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* Animación de entrada */
@keyframes whatsappBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.whatsapp-float.animate-in {
    animation: whatsappBounce 0.6s ease-out;
}

/* Estados de accesibilidad */
.whatsapp-float:active {
    transform: scale(0.95);
}

/* Para dispositivos que prefieren movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        transition: none;
    }
    
    .whatsapp-float:hover {
        transform: none;
    }
    
    .whatsapp-float.animate-in {
        animation: none;
    }
}