/**
 * Botón flotante de WhatsApp (OutBoxFactory)
 * - Fijo en pantalla mientras se scrollea
 * - Sin dependencias JS
 */

.obf-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;

    width: 56px;
    height: 56px;
    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.obf-whatsapp-float:hover,
.obf-whatsapp-float:focus {
    background: #1EBE57;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.30);
    color: #ffffff;
    text-decoration: none;
}

/* Ícono: usamos SVG local para no depender de Font Awesome (el del sitio es 4.1.0). */
.obf-whatsapp-float .obf-whatsapp-img {
    width: 30px;
    height: 30px;
    display: block;
}

/* Fallback por si quedara el span antiguo */
.obf-whatsapp-float .obf-whatsapp-icon {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -1px;
    transform: translateY(1px);
}

/* Accesibilidad: anillo de foco visible */
.obf-whatsapp-float:focus {
    outline: 3px solid rgba(37, 211, 102, 0.35);
    outline-offset: 3px;
}

/* Pequeño ajuste para móviles */
@media (max-width: 768px) {
    .obf-whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

    .obf-whatsapp-float .obf-whatsapp-img {
        width: 28px;
        height: 28px;
    }

    .obf-whatsapp-float .obf-whatsapp-icon {
        font-size: 17px;
    }
}
