/* ==========================================================================
   COMPONENT: WhatsApp Floating CTA
   Premium dark aesthetic, subtle glass‑morphism, operational elegance.
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;

    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 211, 102, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3);

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.whatsapp-icon {
    width: 26px;
    height: 26px;
    fill: #25D366;
    /* operational green – not too bright */
    transition: fill 0.2s ease;
}

/* Hover / Focus states */
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: scale(1.05);
    border-color: rgba(37, 211, 102, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(37, 211, 102, 0.15);
}

.whatsapp-float:hover .whatsapp-icon,
.whatsapp-float:focus-visible .whatsapp-icon {
    fill: #2bd46c;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        transition: none;
    }
}

/* Mobile safe‑area + slightly smaller button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.8rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
}