/* ============================================================
   1-reset.css — Normalize & Reset
   Prácticas Energéticas Cuánticas · Método 5L
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  /* La web está diseñada SOLO en claro. Sin esta declaración, el
     auto-oscurecido de Chrome/Android (usuarios con tema oscuro del
     sistema) invierte la paleta por su cuenta: textos oscuros sobre
     negro, blancos sobre blanco e incoherencia entre secciones. */
  color-scheme: only light;
  /* ARQUITECTURA DE SCROLL (P0 producción): el <html> es SIEMPRE el
     contenedor de scroll. Antes, body{overflow-x:hidden} forzaba
     overflow-y:auto computado y el body se convertía en el scroller
     en algunos motores → window.scrollTo no movía la página y los
     CTAs hacia #eventos parecían no funcionar. */
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  /* Compensa la navbar fija en navegación directa por hash (#reservar, etc.) */
  scroll-padding-top: var(--navbar-height, 72px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* overflow-x:clip corta desbordes horizontales SIN convertir al body
     en contenedor de scroll (hidden sí lo hacía). En navegadores sin
     soporte de clip, el recorte lo hace el html de arriba. */
  overflow-x: clip;
}

img, video, iframe {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  line-height: 1.2;
}

blockquote {
  quotes: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Focus visible para accesibilidad */
:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Red de seguridad de AOS: aos.css oculta todo [data-aos] con
   opacity:0. Si aos.js no llega a inicializarse (CDN bloqueado, red
   móvil), main.js añade .no-aos al <html> y el contenido se muestra
   igualmente. Con reducción de movimiento, el contenido se muestra
   directamente sin animación. */
html.no-aos [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Scroll suave reducido si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
