/* =========================================================
   AJUSTES GLOBALES DE ACCESIBILIDAD
========================================================= */
html {
    scroll-behavior: smooth;
    font-size: 100%; /* Tamaño base restaurado para buena lectura */
}

body {
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 85px;
}

/* Foco visible para navegación con teclado */
*:focus-visible {
    outline: 2px solid #DD8462;
    outline-offset: 4px;
    border-radius: 4px;
}

/* =========================================================
   SCROLL REVEAL — Animación de aparición
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   MENÚ MÓVIL
========================================================= */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.mobile-menu.is-open {
    max-height: 500px;
}

/* =========================================================
   ACORDEÓN FAQ
========================================================= */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(45deg);
}

/* =========================================================
   BOTÓN FLOTANTE WHATSAPP
========================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1fb858;
    box-shadow: 0 20px 35px -5px rgba(37, 211, 102, 0.6);
}
