/* =====================================================================
   REESCRIBE TU SUBCONSCIENTE — Ingeniería de la Manifestación
   styles.css · Hoja compartida por las 5 páginas del embudo.
   Fuente de verdad: specs/00-sistema-de-diseno-y-tecnico.md
   Identidad: negro + oro + plata (partículas). Sin azules.
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS (variables CSS) — copiados del documento 00
   --------------------------------------------------------------------- */
:root {
  /* Fondos — la noche / el vacío */
  --night-900: #000000;   /* negro puro, base de página */
  --night-800: #0A0A0B;   /* secciones casi negras */
  --night-700: #141416;   /* superficies, tarjetas (carbón) */
  --night-600: #1E1E21;   /* tarjetas elevadas (interior del logo) */
  --night-500: #2A2A2E;   /* bordes activos, carbón claro */
  --line:      rgba(255,255,255,0.09); /* hairlines */

  /* Texto — blanco cálido (armoniza con el oro) */
  --text:      #F2F1EC;   /* principal */
  --text-muted:#A8A6A0;   /* secundario */
  --text-dim:  #6E6C68;   /* captions, labels */

  /* Oro — el acento de marca (transformación, lo valioso) */
  --gold:        #D4AF37;  /* oro principal */
  --gold-bright: #F0D27A;  /* brillo del resplandor / highlight metálico */
  --gold-deep:   #A87E2E;  /* lado en sombra del oro metálico */
  --gold-soft:   rgba(212,175,55,0.14); /* rellenos de glow, washes */

  /* Plata — las partículas / el dato (usar con moderación) */
  --silver:      #C8CBD0;
  --silver-soft: rgba(200,203,208,0.10);

  /* Error (estados de formulario) — rojo apagado del doc 00 */
  --error: #E0857A;

  /* Radios y sombras */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;
  --shadow-glow: 0 0 90px var(--gold-soft);

  /* Oro metálico para anillo y botones (no plano) */
  --grad-gold: linear-gradient(135deg, var(--gold-deep), var(--gold-bright) 45%, var(--gold));

  /* Tipografía */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Escala tipográfica responsiva (clamp) */
  --fs-hero:  clamp(2.5rem, 6vw, 4.5rem);    /* Fraunces 500, line-height 1.05 */
  --fs-h2:    clamp(1.75rem, 4vw, 2.75rem);  /* Fraunces 500, line-height 1.15 */
  --fs-h3:    clamp(1.25rem, 2.5vw, 1.6rem); /* Fraunces 500 */
  --fs-lead:  clamp(1.1rem, 2vw, 1.35rem);   /* Hanken 400, line-height 1.6 */
  --fs-body:  1.0625rem;                      /* Hanken 400, line-height 1.75 */
  --fs-label: 0.8125rem;                      /* JetBrains Mono, uppercase */

  /* Anchos de contenedor */
  --w-container: 1080px;  /* contenedor de sección */
  --w-text:      640px;   /* medida de lectura cómoda */
}

/* ---------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--night-900);
  /* Degradado radial dorado muy sutil anclado abajo-centro (glow del logo) */
  background-image: radial-gradient(
    120% 80% at 50% 115%,
    var(--gold-soft) 0%,
    transparent 60%
  );
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

/* Foco de teclado visible en TODO elemento interactivo (accesibilidad) */
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Utilidad: solo para lectores de pantalla */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------
   3. TIPOGRAFÍA
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}

h1, .h-hero { font-size: var(--fs-hero); line-height: 1.05; }
h2, .h2     { font-size: var(--fs-h2);   line-height: 1.15; }
h3, .h3     { font-size: var(--fs-h3);   line-height: 1.25; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
}

em, .em { font-style: italic; }

strong { font-weight: 600; color: var(--text); }

/* Eyebrow / label — JetBrains Mono, mayúsculas, tracking (codifica estructura) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin: 0 0 1.25rem;
  display: block;
}

/* Contador de noche/fase — NOCHE 01 / 21 (secuencia real, mono) */
.night-counter {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

/* Dato grande de anclaje visual (p. ej. el 95%) */
.stat-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  color: var(--gold);
  display: block;
}

/* ---------------------------------------------------------------------
   4. LAYOUT — contenedor y secciones
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

/* Medida de lectura estrecha y centrada para bloques de texto */
.measure {
  max-width: var(--w-text);
  margin-inline: auto;
}

/* Sección — padding vertical generoso; centrado.
   Nota de especificidad: solo la .section define su padding vertical;
   los hijos NO deben re-declarar padding vertical de sección. */
.section {
  padding-block: clamp(4rem, 10vw, 7rem);
  position: relative;
}
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

/* Superficie diferenciada (p. ej. sección de la ciencia) */
.section--surface { background: var(--night-800); }

.text-center { text-align: center; }

/* ---------------------------------------------------------------------
   5. HEADER y FOOTER (reutilizables)
   --------------------------------------------------------------------- */
.site-header {
  padding-block: 1.5rem;
  position: relative;
  z-index: 5;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center; /* logo centrado por defecto (páginas de embudo) */
}
.site-header__logo {
  display: inline-block;
  line-height: 0;
  border-radius: var(--r-pill);
  /* Resplandor sutil para "asentar" el badge sobre el negro */
  box-shadow: 0 0 60px var(--gold-soft);
}
.site-header__logo img {
  height: 92px; width: auto;   /* logo más presente (antes 56px) */
  border-radius: var(--r-pill);
}
/* Variante con navegación mínima (no usada en captura/checkout) */
.site-header--nav .container { justify-content: space-between; }

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: center;
}
.site-footer a { color: var(--text-muted); text-decoration: underline; }
.site-footer a:hover { color: var(--text); }

/* Pie legal mínimo (página de captura) */
.legal-line {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-align: center;
}

/* ---------------------------------------------------------------------
   6. BOTONES
   --------------------------------------------------------------------- */
.btn {
  /* Botón primario — único con relleno dorado fuerte (manda la atención) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;           /* área táctil accesible */
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--night-900);
  background: var(--grad-gold);
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 var(--gold-soft);
}
.btn:hover {
  color: var(--night-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--gold-soft), 0 0 60px var(--gold-soft);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Botón secundario — sin relleno, jerarquía menor */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--gold-deep); /* borde oro fino para CTA de marca */
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover {
  color: var(--text);
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.btn--block { display: flex; width: 100%; }

/* Microcopy que suele ir bajo un CTA */
.cta-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* ---------------------------------------------------------------------
   7. RESPLANDOR FIRMA y CAMPO DE PARTÍCULAS
   --------------------------------------------------------------------- */
/* Envoltura del héroe: contiene glow + canvas detrás del contenido */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero__inner { position: relative; z-index: 2; }

/* Resplandor dorado que respira (anclado abajo-centro, como el logo) */
.glow {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    var(--gold-bright) 0%,
    var(--gold-soft) 35%,
    transparent 70%
  );
  opacity: 0.45;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: respirar 4s ease-in-out infinite alternate;
}
.glow--top { top: -20%; bottom: auto; }        /* variante para cierre/secciones */
.glow--center { top: 50%; bottom: auto; transform: translate(-50%, -50%); }

@keyframes respirar {
  from { transform: translateX(-50%) scale(1); }
  to   { transform: translateX(-50%) scale(1.06); }
}
/* La variante centrada respira sin perder su centrado vertical */
.glow--center { animation-name: respirar-center; }
@keyframes respirar-center {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-50%, -50%) scale(1.06); }
}

/* Canvas del campo de partículas plata (dibujado por app.js) */
.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

/* Canvas del ROSTRO de partículas: la silueta de la cabeza hecha de puntos
   plata que se disuelven y se mueven suavemente (app.js la dibuja muestreando
   assets/rostro-particulas.png). Es el motivo firma del hero. */
.particle-head {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Motivo de marca: rostro de partículas como textura tenue (PNG tintado) */
.face-motif {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 460px);
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  /* El PNG es blanco: lo teñimos a plata/oro con filtros suaves */
  filter: brightness(1.4) sepia(0.2);
  mix-blend-mode: screen;
}

/* Marca de check con resplandor (páginas de gracias/acceso) */
.check-glow {
  width: 72px; height: 72px;
  margin: 0 auto 1.75rem;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 0 60px var(--gold-soft);
  font-size: 2rem;
}

/* ---------------------------------------------------------------------
   8. FORMULARIO (captura)
   --------------------------------------------------------------------- */
.form { max-width: 460px; margin-inline: auto; text-align: left; }

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--night-700);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: var(--text-dim); }
.input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
/* Estado de error del campo */
.field--error .input { border-color: var(--error); }
.field__error {
  display: none;
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 0.45rem;
}
.field--error .field__error { display: block; }

/* Mensaje de error general del formulario */
.form__error {
  display: none;
  color: var(--error);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  text-align: center;
}
.form__error.is-visible { display: block; }

/* ---------------------------------------------------------------------
   9. LISTAS DE BULLETS (beneficios) y VALUE STACK
   --------------------------------------------------------------------- */
.bullets { list-style: none; padding: 0; margin: 0 0 2rem; text-align: left; }
.bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  line-height: 1.6;
}
/* Check dorado a la izquierda */
.bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
.bullets--boxed {
  background: var(--night-700);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

/* Value stack: filas con check + nombre + valor a la derecha (mono) */
.stack {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--night-800);
}
.stack__row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.stack__row:last-child { border-bottom: none; }
.stack__name {
  flex: 1;
  font-weight: 500;
}
.stack__name::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  margin-right: 0.65rem;
}
.stack__value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-dim);
  white-space: nowrap;
}
/* Fila "Valor total" destacada */
.stack__row--total {
  background: var(--night-700);
  border-top: 1px solid var(--gold-deep);
}
.stack__row--total .stack__name {
  font-weight: 700;
  font-family: var(--font-body);
}
.stack__row--total .stack__name::before { content: ""; margin: 0; }
.stack__row--total .stack__value {
  color: var(--gold);
  font-weight: 500;
  font-size: 1.05rem;
}

/* ---------------------------------------------------------------------
   10. TARJETAS (fases, garantía, precio, oferta)
   --------------------------------------------------------------------- */
.card {
  background: var(--night-700);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 4vw, 2rem);
}

/* Grid de las 3 fases */
.phases {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

/* Bloque de precio destacado */
.price-block {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}
.price-anchor {
  /* Ancla de precio: $244 tachado en rojo para el contraste de precios */
  font-family: var(--font-mono);
  color: var(--error);
  text-decoration: line-through;
  text-decoration-color: var(--error);
}
.price-now {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1;
  display: inline-block;
}

/* Bloque de garantía con sello */
.guarantee {
  border: 1px solid var(--gold-deep);
  border-radius: var(--r-lg);
  background: var(--night-800);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  max-width: 680px;
  margin-inline: auto;
  position: relative;
}
.guarantee__seal {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Divisor con resplandor cálido al centro (página de gracias) */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
  color: var(--text-dim);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider__dot {
  width: 8px; height: 8px;
  border-radius: var(--r-pill);
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold-bright);
}

/* ---------------------------------------------------------------------
   11. ACORDEÓN FAQ (accesible por teclado)
   --------------------------------------------------------------------- */
.faq { max-width: 720px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq__icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
/* Panel de respuesta: transición de altura suave vía max-height */
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq__a-inner { padding: 0 0 1.25rem; color: var(--text-muted); }
.faq__item.is-open .faq__a { opacity: 1; } /* max-height la fija app.js */

/* ---------------------------------------------------------------------
   12. CONTADOR REGRESIVO
   --------------------------------------------------------------------- */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text);
}
.countdown__label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.countdown__time {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
/* Bloque de urgencia (se oculta al expirar el contador) */
.urgency.is-expired { display: none; }

/* Barra de contador pegada arriba (sticky): permanece fija al hacer scroll.
   Es el primer elemento del <body>, así que el header queda debajo. */
.countdown-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-block: 0.65rem;
  text-align: center;
}
.countdown-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.countdown-bar .countdown__time { font-size: 1.35rem; }
@media (max-width: 480px) {
  .countdown-bar .countdown { gap: 0.5rem; }
  .countdown-bar .countdown__label { font-size: 0.7rem; }
  .countdown-bar .countdown__time { font-size: 1.15rem; }
}

/* ---------------------------------------------------------------------
   13. BADGES DE CONFIANZA
   --------------------------------------------------------------------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.badges li { display: inline-flex; align-items: center; gap: 0.4rem; }
/* Separador de punto entre badges (excepto el primero) */
.badges li + li::before {
  content: "·";
  color: var(--text-dim);
  margin-right: 0.75rem;
}

/* ---------------------------------------------------------------------
   14. CTA FIJA MÓVIL (sticky-cta) — solo <768px, aparece tras el hero
   --------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;                 /* oculta por defecto; JS la muestra */
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__price {
  font-family: var(--font-mono);
  font-weight: 500;
}
.sticky-cta__price .old {
  color: var(--error);
  text-decoration: line-through;
  text-decoration-color: var(--error);
  margin-right: 0.4rem;
  font-size: 0.85em;
}
.sticky-cta__price .now { color: var(--gold); font-size: 1.2rem; }
.sticky-cta .btn { padding: 0.75rem 1.5rem; min-height: 44px; }

@media (min-width: 768px) {
  .sticky-cta { display: none !important; } /* nunca en desktop */
}
/* En móvil, cuando JS la activa, se muestra como flex */
.sticky-cta.is-active { display: flex; }

/* ---------------------------------------------------------------------
   15. REVELADO AL HACER SCROLL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   16. RESPONSIVE (mejoras en pantallas grandes)
   --------------------------------------------------------------------- */
@media (min-width: 768px) {
  .phases { grid-template-columns: repeat(3, 1fr); }
  .site-header__logo img { height: 112px; }
  /* Deja aire para que la sticky-cta no tape contenido: no aplica en desktop */
}

@media (min-width: 1024px) {
  .hero { min-height: auto; }
}

/* En móvil, reservar espacio inferior cuando la sticky-cta esté activa */
@media (max-width: 767px) {
  body.has-sticky { padding-bottom: 84px; }
}

/* ---------------------------------------------------------------------
   17. PREFERS-REDUCED-MOTION — desactiva respiración, partículas, reveals
   (obligatorio, doc 00). Todo aparece estático y visible.
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .glow { animation: none; }
  .particles { display: none; }      /* el canvas se desactiva */
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
