/* Capa propia sobre styles.css (Tailwind compilado del sitio original) */
html { scroll-behavior: smooth; }

/* Animaciones de entrada al hacer scroll */
[data-reveal] {
  opacity: 0;
  transform: var(--rv, translateY(24px));
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1),
              border-color .35s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1) !important;
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none !important; }
}

/* Cabecera */
header { transition: background-color .5s, backdrop-filter .5s, border-color .5s, box-shadow .5s; }

/* Mega menús */
.mm-panel { animation: mmIn .28s cubic-bezier(.16,1,.3,1); }
@keyframes mmIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Menú móvil */
.mobile-menu { animation: fadeIn .25s ease; }
.mobile-menu nav > a, .mobile-menu .mm-acc { animation: mmIn .45s cubic-bezier(.16,1,.3,1) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Tarjetas de dispensadores: hover */
article.rounded-\[24px\]:hover { border-color: rgba(92,196,255,.55) !important; box-shadow: 0 30px 60px -24px rgba(0,163,255,.45) !important; }

/* Filtro */
.is-filtered-out { display: none !important; }

/* Errores del formulario */
.field-error { color: #E5484D; font-size: 12px; margin-top: 2px; }
.form-ok { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(0,163,255,.08); color: #14214D; font-size: 14px; }
