/* =============================================================
   AJ Studio — hoja de estilos única
   Fotografía y vídeo · estética editorial en blanco, negro y grises
   =============================================================

   ÍNDICE
   1. Tokens
   2. Reset y base
   3. Utilidades
   4. Tipografía
   5. Cursor personalizado
   6. Navegación
   7. Botones y formularios
   8. Hero (vídeo)
   9. Secciones home
   10. Footer
   11. Página Biografía
   13. Página Contacto
   14. Efectos / revelado al scroll
   15. Responsive
   16. Motion reducido (solo lo intrusivo)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Superficies */
  --bg: #ffffff;
  --bg-soft: #f3f3f1;
  --bg-dark: #0a0a0a;
  --bg-dark-2: #141412;

  /* Tinta */
  --ink: #0a0a0a;
  --ink-soft: #333331;
  --ink-mute: #6f6f6b;
  --cream: #f4f4f1;          /* texto sobre fondo oscuro — nunca #fff puro */
  --cream-mute: #9d9d97;

  /* Líneas */
  --line: rgba(10, 10, 10, 0.12);
  --line-dark: rgba(244, 244, 241, 0.16);

  /* Único acento — gris cálido muy sutil, solo para hover/foco */
  --hover: #83786a;

  /* Tipografía */
  --display: "Philosopher", "Georgia", serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 76px;
}

@property --grain-shift {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

/* =============================================================
   2. Reset y base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* NUNCA 'hidden': rompería position:sticky */
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1; letter-spacing: -0.01em; }
ul { list-style: none; padding: 0; }
::selection { background: var(--ink); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--hover);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Todas las imágenes/vídeos del sitio se fuerzan a blanco y negro:
   así la paleta se mantiene estrictamente monocroma aunque el
   material fotográfico original tenga color. */
img, video, .has-media-bw {
  filter: grayscale(1) contrast(1.04);
}
.card:hover img,
a:hover .has-media-bw {
  filter: grayscale(0.82) contrast(1.08);
  transition: filter 0.6s var(--ease-out);
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.7rem 1.1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 3px; font-weight: 500; font-size: 0.9rem;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 960px) { .container { padding-inline: 3rem; } }

.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;
}

.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: currentColor;
}
.section-dark .kicker { color: var(--cream-mute); }

/* =============================================================
   4. Tipografía
   ============================================================= */
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 16ch;
}
.eyebrow-lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ink-mute);
  max-width: 42ch;
  line-height: 1.7;
}
.section-dark .eyebrow-lead { color: var(--cream-mute); }

/* =============================================================
   5. Cursor personalizado (solo dispositivos con puntero fino)
   ============================================================= */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s var(--ease-out), width 0.25s var(--ease-out), height 0.25s var(--ease-out);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--ink); border-radius: 50%;
}
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--ink); border-radius: 50%;
  mix-blend-mode: difference;
}
html.cursor-ready .cursor-dot,
html.cursor-ready .cursor-ring { opacity: 1; }
html.cursor-ready.cursor-hover .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* =============================================================
   6. Navegación
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center;
  height: 55px;
}
.nav-brand img {
  height: 100%; width: auto;
  filter: none; /* el logo ya es monocromo — no forzar grayscale/contraste extra */
}

.nav-links {
  display: none;
  align-items: center; gap: 2.4rem;
}
@media (min-width: 720px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--cream);
  position: relative; padding-block: 0.3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right 0.35s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav.is-solid,
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
@supports not (backdrop-filter: blur(1px)) {
  .nav.is-solid, .nav.is-scrolled { background: rgba(10, 10, 10, 0.96); }
}

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; z-index: 600;
}
@media (min-width: 720px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; height: 1.5px; width: 100%; background: var(--cream);
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out), background-color 0.4s var(--ease-out);
}
html.menu-open .nav-toggle span { background: var(--cream) !important; }
html.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
html.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
html.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
  clip-path: circle(0% at calc(100% - 34px) 38px);
  transition: clip-path 0.7s var(--ease-out);
  visibility: hidden;
}
html.menu-open .nav-overlay {
  clip-path: circle(150% at calc(100% - 34px) 38px);
  visibility: visible;
}
.nav-overlay-links {
  display: flex; flex-direction: column; gap: 1.4rem; text-align: center;
}
.nav-overlay-links a {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.4rem, 10vw, 4.2rem); color: var(--cream);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
html.menu-open .nav-overlay-links a {
  opacity: 1; transform: none;
  transition-delay: calc(var(--i, 0) * 70ms + 120ms);
}
.nav-overlay-links a:hover { color: var(--cream-mute); }
.nav-overlay-meta {
  position: absolute; bottom: 2.4rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 1.6rem;
  font-family: var(--sans); font-size: 0.78rem; color: var(--cream-mute);
}
.nav-overlay-meta a:hover { color: var(--cream); }

html.menu-open { overflow: hidden; }

/* =============================================================
   7. Botones y formularios
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.3s var(--ease-out);
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--hover); border-color: var(--hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--hover); color: var(--hover); transform: translateY(-2px); }
.section-dark .btn-outline { color: var(--cream); border-color: var(--cream); }
.section-dark .btn-outline:hover { border-color: var(--hover); color: var(--hover); }
.section-dark .btn-primary { background: var(--cream); color: var(--bg-dark); }

/* =============================================================
   8. Hero (vídeo)
   ============================================================= */
.hero {
  position: relative;
  height: 100svh; min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
/* Imagen de respaldo únicamente — hijo directo de .hero-media.
   (Selector acotado a > para no afectar a las imágenes, de tamaño
   fijo en px, dentro de la animación .hero-anim). */
.hero-media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: none; /* la imagen del hero conserva su color original */
}

/* --- Animación de revelación de marca (sustituye al vídeo) ---
   Dos composiciones distintas (misma guía de formatos y logo,
   reencuadradas): "web" en horizontal 1920×1080 para ≥720px, y
   "mobile" en vertical 1080×1920 para <720px. Cada una se escala
   por JS en modo "cover" para llenar el hero sin bandas negras;
   solo una está visible (y en marcha) a la vez según el ancho. */
.hero-anim {
  position: absolute; inset: 0; overflow: hidden;
  background: #201e1d;
}
.hero-anim--web { display: none; }
.hero-anim--mobile { display: block; }
@media (min-width: 720px) {
  .hero-anim--web { display: block; }
  .hero-anim--mobile { display: none; }
}

/* Versión web — stage 1920×1080 */
.hero-anim-cover {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  margin-left: -960px; margin-top: -540px;
  transform-origin: center center;
  will-change: transform;
}
.hero-anim-camera {
  position: absolute; inset: 0;
  transform-origin: 960px 540px;
  will-change: transform, opacity;
}
.hero-anim-frame {
  position: absolute; inset: 0;
  width: 1920px; height: 1080px;
  opacity: 0; /* defensivo: si el JS falla, no quedan apiladas y visibles */
  transform-origin: 960px 540px;
  filter: none;
}
.hero-anim-logo {
  position: absolute; left: 50%; top: 50%;
  width: 380px; height: 380px;
  margin-left: -190px; margin-top: -190px;
  opacity: 0; /* defensivo */
  filter: none;
}

/* Versión móvil — stage 1080×1920. El bloque de guías (1920×1080)
   vive descentrado dentro del stage vertical para que su centro
   coincida con el centro del stage; el logo vive fuera del grupo
   con cámara, fijo en pantalla, para que nunca pierda legibilidad. */
.hero-anim-cover-m {
  position: absolute; left: 50%; top: 50%;
  width: 1080px; height: 1920px;
  margin-left: -540px; margin-top: -960px;
  transform-origin: center center;
  will-change: transform;
}
.hero-anim-stage-m { position: absolute; inset: 0; will-change: opacity; }
.hero-anim-camera-m {
  position: absolute; left: -420px; top: 420px;
  width: 1920px; height: 1080px;
  transform-origin: 960px 540px;
  will-change: transform;
}
.hero-anim-frame-m {
  position: absolute; inset: 0;
  width: 1920px; height: 1080px;
  opacity: 0;
  transform-origin: 960px 540px;
  filter: none;
}
.hero-anim-logo-m {
  position: absolute; left: 310px; top: 730px;
  width: 460px; height: 460px;
  opacity: 0;
  filter: none;
}
/* Velo oscuro semitransparente para dar contraste al texto de posicionamiento
   y al indicador de scroll — deliberadamente sutil para no tapar el logo que
   el propio vídeo revela en su secuencia central. */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.08) 28%,
    rgba(10,10,10,0.08) 66%,
    rgba(10,10,10,0.72) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 2.4rem 1.5rem 3.2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 2.4rem;
}
@media (min-width: 960px) { .hero-content { padding: 3rem 3rem 3.6rem; } }
.hero-tagline {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--cream);
  letter-spacing: 0.01em;
}
.hero-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream-mute);
}
.hero-scroll-line {
  width: 1px; height: 40px; background: var(--line-dark);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--cream);
  animation: scrollDrip 2.2s var(--ease-soft) infinite;
}
@keyframes scrollDrip {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* =============================================================
   9. Secciones home
   ============================================================= */
.section { position: relative; padding: 6.5rem 0; }
@media (min-width: 960px) { .section { padding: 9rem 0; } }
.section-light { background: var(--bg); color: var(--ink); }
.section-soft { background: var(--bg-soft); color: var(--ink); }
.section-dark { background: var(--bg-dark); color: var(--cream); }

.section-head {
  display: flex; flex-direction: column; gap: 1.4rem;
  margin-bottom: 3.4rem;
}
@media (min-width: 960px) {
  .section-head {
    flex-direction: row; align-items: flex-end; justify-content: space-between;
    margin-bottom: 4.6rem;
  }
}
.section-head-text { display: flex; flex-direction: column; gap: 1.1rem; }

/* --- Frame a frame: galería de fotografía deportiva (color original) --- */
.frame-gallery {
  columns: 1; column-gap: 0.9rem;
  margin-top: 3rem;
}
@media (min-width: 720px) { .frame-gallery { columns: 2; } }
@media (min-width: 1280px) { .frame-gallery { columns: 3; } }
.frame-gallery-item {
  break-inside: avoid; margin-bottom: 0.9rem;
  overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line);
}
.frame-gallery-item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.7s var(--ease-out);
  filter: none; /* fotografía deportiva: color original, no monocromo */
}
.frame-gallery-item:hover img { transform: scale(1.045); }

/* --- El eco del movimiento: vídeo en reproducción automática --- */
.eco-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 960px) { .eco-grid { grid-template-columns: repeat(4, 1fr); } }
.eco-item {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--bg-dark-2);
  border: 1px solid var(--line-dark);
}
.eco-item video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: none; /* los clips de vídeo conservan su color original */
}

/* --- ¿Comunicamos? CTA --- */
.cta-section { text-align: center; }
.cta-section .section-title { max-width: none; margin-inline: auto; }
.cta-inner {
  display: flex; flex-direction: column; align-items: center; gap: 2.2rem;
  max-width: 760px; margin-inline: auto;
}
.cta-video {
  width: 100%; max-width: 420px;
  aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--bg-soft);
}
.cta-video video {
  width: 100%; height: 100%; object-fit: cover;
  filter: none; /* conserva el color original, igual que el resto de vídeos */
}

/* --- Lo que entra por los ojos: galería de gastronomía --- */
.eyes-gallery {
  columns: 1; column-gap: 0.9rem;
  margin-top: 3rem;
}
@media (min-width: 720px) { .eyes-gallery { columns: 2; } }
@media (min-width: 1280px) { .eyes-gallery { columns: 3; } }
.eyes-gallery-item {
  break-inside: avoid; margin-bottom: 0.9rem;
  overflow: hidden; background: var(--bg-dark-2);
  border: 1px solid var(--line-dark);
}
.eyes-gallery-item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.7s var(--ease-out);
  filter: none; /* gastronomía: color original, no monocromo */
}
.eyes-gallery-item:hover img { transform: scale(1.045); }

/* =============================================================
   10. Footer
   ============================================================= */
.site-footer {
  background: var(--bg-dark); color: var(--cream);
  padding: 4.5rem 0 2rem;
}
.footer-top {
  display: flex; flex-direction: column; gap: 2.6rem;
  padding-bottom: 3rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 960px) {
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.footer-brand { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); }
.footer-cta a { font-size: 1.1rem; }
.footer-cta a:hover { color: var(--hover); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 3rem 4rem; }
.footer-col h3 {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cream-mute); margin-bottom: 0.9rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a:hover { color: var(--hover); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 0.8rem;
  font-family: var(--sans); font-size: 0.76rem; color: var(--cream-mute);
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom a:hover { color: var(--cream); }

/* =============================================================
   11. Página Biografía
   ============================================================= */
.bio-hero {
  padding-top: calc(var(--nav-h) + 3.5rem);
  display: grid; gap: 2.6rem;
}
@media (min-width: 960px) {
  .bio-hero { grid-template-columns: 0.9fr 1.1fr; align-items: end; gap: 4rem; }
}
.bio-portrait-group {
  display: grid; grid-template-columns: 2fr 1fr; gap: 0.9rem; align-items: end;
}
.bio-portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-soft); }
.bio-portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio-portrait--secondary { aspect-ratio: 3 / 4; }
.bio-intro-text { display: flex; flex-direction: column; gap: 1.6rem; }

.bio-body {
  padding-top: 5rem; padding-bottom: 2rem;
  display: flex; flex-direction: column; gap: 3.4rem;
  max-width: 760px; margin-inline: auto;
}
.bio-block h2 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1.2rem;
}
.bio-block p { color: var(--ink-mute); line-height: 1.75; }
.bio-block p + p { margin-top: 1rem; }
.bio-closing {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: -0.01em;
  text-align: center; color: var(--ink); margin-top: 1rem;
}

/* =============================================================
   13. Página Contacto
   ============================================================= */
.contact-head { padding-top: calc(var(--nav-h) + 3.5rem); }

.contact-simple { margin-top: 3.4rem; padding-bottom: 6rem; }
.contact-cards {
  display: flex; flex-direction: column; gap: 1.2rem;
  max-width: 640px;
}
@media (min-width: 720px) { .contact-cards { flex-direction: row; gap: 1.6rem; } }
.contact-card {
  display: flex; align-items: center; gap: 1.3rem;
  flex: 1; padding: 1.7rem 1.8rem;
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; flex-shrink: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink);
}
.contact-card-icon svg { width: 21px; height: 21px; flex-shrink: 0; }
.contact-card-text { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.contact-card-label {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-mute);
}
.contact-card-value { font-size: 1.1rem; color: var(--ink); }

.contact-extra {
  margin-top: 2.6rem; display: flex; flex-direction: column; gap: 0.6rem;
  font-size: 0.98rem; color: var(--ink-mute);
}
.contact-extra a:hover { color: var(--hover); }

/* =============================================================
   15. Efectos / revelado al scroll
   ============================================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensivo: si algún elemento combina reveal con split-text, nunca queda invisible */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.23s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.30s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.37s; }

/* =============================================================
   16. Responsive — breakpoints fijos
   ============================================================= */
@media (min-width: 540px) { /* teléfono grande / tablet pequeña */ }
@media (min-width: 720px) { /* tablet vertical */ }
@media (min-width: 960px) { /* tablet horizontal / portátil pequeño */ }
@media (min-width: 1280px) { /* portátil / escritorio */ }
@media (min-width: 1600px) { /* escritorio grande */
  .container { max-width: 1560px; }
}

/* =============================================================
   17. Motion reducido — SOLO efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line::after { animation: none; }
  /* NO se desactivan: hover, reveal, tilt, transiciones de nav ni cursor */
}
