.floating-contact {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 100050;
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #000;
    box-shadow: none;
    cursor: pointer;
    mix-blend-mode: difference;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.3s ease;
}

.floating-contact:hover {
    transform: translateY(-2px);
}

.floating-contact:focus-visible {
    outline: 2px solid #D86DBE;
    outline-offset: 4px;
}

.floating-contact svg {
    display: block;
    width: 1.58rem;
    height: 1.58rem;
    fill: currentColor;
}

.floating-contact[data-contact-channel="whatsapp"] svg {
    width: 1.68rem;
    height: 1.68rem;
}

/* El estado pendiente no se atenua: con mix-blend-mode difference cualquier
   opacidad < 1 rompe la inversion pura y el boton se ve gris. */
@media (max-width: 900px) {
    .floating-contact {
        right: 0.75rem;
        bottom: 0.75rem;
        width: 2.35rem;
        height: 2.35rem;
    }

    .floating-contact svg {
        width: 1.42rem;
        height: 1.42rem;
    }

    .floating-contact[data-contact-channel="whatsapp"] svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}
