/* Aparición al hacer scroll (la clase .is-visible la agrega js/main.js).
   Solo se oculta el contenido si hay JavaScript disponible. */
@media (scripting: enabled) {
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.categories .reveal:nth-child(2),
.gallery .reveal:nth-child(2),
.clients .reveal:nth-child(2),
.about__points .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.categories .reveal:nth-child(3),
.gallery .reveal:nth-child(3),
.clients .reveal:nth-child(3),
.about__points .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.categories .reveal:nth-child(4),
.gallery .reveal:nth-child(4),
.clients .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.categories .reveal:nth-child(5),
.gallery .reveal:nth-child(5),
.clients .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

/* Hero: entrada escalonada */
.hero__title.reveal {
  transition-delay: 0.1s;
}

.hero__lead.reveal {
  transition-delay: 0.2s;
}

.hero__actions.reveal {
  transition-delay: 0.3s;
}
}

.hero__media img {
  animation: slow-zoom 22s ease-in-out infinite alternate;
}

.hero__scroll span {
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes slow-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
