/* ============================================
 * BOTÓN FLOTANTE WHATSAPP - CUSCO NEXT TOUR
 * ============================================ */

.cnt-whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: none !important;
    animation: cnt-whatsapp-glow 2.5s infinite ease-in-out;
}

.cnt-whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #ffffff !important;
    color: #ffffff !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), fill 0.3s ease;
    position: relative;
    z-index: 2;
    animation: cnt-whatsapp-icon-wiggle 6s infinite ease-in-out;
}

.cnt-whatsapp-float:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    background: #20BA5A;
    color: #ffffff !important;
    outline: none !important;
}

.cnt-whatsapp-float:hover svg {
    transform: scale(1.08) rotate(15deg) !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    animation-play-state: paused !important;
}

.cnt-whatsapp-float:focus,
.cnt-whatsapp-float:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.5) !important;
    color: #ffffff !important;
}

.cnt-whatsapp-float:active {
    transform: scale(0.95) !important;
    outline: none !important;
}

@keyframes cnt-whatsapp-glow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7);
    }
}

@keyframes cnt-whatsapp-icon-wiggle {
    0%, 80%, 100% {
        transform: rotate(0deg) scale(1);
    }
    83% {
        transform: rotate(-12deg) scale(1.1);
    }
    86% {
        transform: rotate(12deg) scale(1.1);
    }
    89% {
        transform: rotate(-8deg) scale(1.1);
    }
    92% {
        transform: rotate(8deg) scale(1.1);
    }
    95% {
        transform: rotate(0deg) scale(1.05);
    }
}

@media (max-width: 768px) {
    .cnt-whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .cnt-whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
