/* ============================================================
   Animaciones sutiles — Psicólogo Rosman Valenzuela
   Colores de marca: #2c5f7a (primario) y #3ec9b8 (acento)
   ============================================================ */

/* Fondo animado y muy sutil en cada sección */
section {
    position: relative;
    isolation: isolate;
}

section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(closest-side at 12% 22%, rgba(62, 201, 184, 0.16), transparent 78%),
        radial-gradient(closest-side at 88% 78%, rgba(44, 95, 122, 0.14), transparent 78%),
        radial-gradient(closest-side at 72% 12%, rgba(62, 201, 184, 0.09), transparent 80%);
    background-size: 170% 170%, 170% 170%, 170% 170%;
    background-position: 0% 0%, 100% 100%, 50% 50%;
    background-repeat: no-repeat;
    animation: psi-section-drift 30s ease-in-out infinite alternate;
}

@keyframes psi-section-drift {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 65% 35%, 35% 65%, 40% 80%;
    }
    100% {
        background-position: 100% 100%, 0% 0%, 60% 20%;
    }
}

/* Contenedor animado de las respuestas FAQ */
.faq-body {
    overflow: hidden;
    height: 0;
    will-change: height, opacity;
}

/* Accesibilidad: respeta "reducir movimiento" */
@media (prefers-reduced-motion: reduce) {
    section::before {
        animation: none;
    }
}
