/* Animaciones: aparición y microinteracciones discretas */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  transition-delay: var(--reveal-delay, 0s);
}

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

@keyframes cue-drop {
  0% {
    top: -8px;
  }
  55% {
    top: 52px;
  }
  100% {
    top: 52px;
  }
}

@keyframes lb-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Cambio de idioma: fundido corto y una sola pasada de DOM */
html.lang-swapping body {
  opacity: 0.35;
  transition: opacity 0.14s ease;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .btn:hover {
    transform: none;
  }
}
