/* Botón flotante de WhatsApp */
.btn-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 90px; /* Deja espacio para el aviso de cookies */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    z-index: 10000;
    transition: transform 0.2s ease, background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background-color: #128c7e;
    color: #fff !important;
    text-decoration: none !important;
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
}

.btn-whatsapp:focus {
    outline: 3px solid rgba(18, 140, 126, 0.45);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .btn-whatsapp {
        right: 16px;
        bottom: 105px;
        width: 54px;
        height: 54px;
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-whatsapp {
        transition: none;
    }

    .btn-whatsapp:hover,
    .btn-whatsapp:focus {
        transform: none;
    }
}
