/* ───────────────────────────────────────────
   Milanesa — Animaciones, estilos base &
   color utilities (para evitar opacity
   modifiers rotos con OKLCH en CDN)
   ─────────────────────────────────────────── */

/* --- Custom animations --- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes entrance {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -15px) rotate(8deg); }
}

.animate-marquee {
  animation: marquee 28s linear infinite;
}

.animate-entrance {
  animation: entrance 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.animate-float {
  animation: float 7s ease-in-out infinite;
}

.animate-drift {
  animation: drift 12s ease-in-out infinite;
}

/* --- Nav --- */
.nav-blur {
  background-color: oklch(0.97 0.018 85 / 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* --- Text colors with opacity (modifiers rotos con OKLCH en CDN) --- */
.text-bg-muted {
  color: oklch(0.97 0.018 85 / 0.7);
}

.text-bg-subtle {
  color: oklch(0.97 0.018 85 / 0.5);
}

/* --- Border colors with opacity --- */
.border-fg-faint {
  border-color: oklch(0.22 0.012 50 / 0.05);
}

.border-fg-subtle {
  border-color: oklch(0.22 0.012 50 / 0.1);
}

.border-fg-muted {
  border-color: oklch(0.22 0.012 50 / 0.2);
}

.border-bg-faint {
  border-color: oklch(0.97 0.018 85 / 0.2);
}

.border-pfg-faint {
  border-color: oklch(0.98 0.01 85 / 0.2);
}

.border-pfg-muted {
  border-color: oklch(0.98 0.01 85 / 0.4);
}

/* --- Hover border (process items) --- */
.process-item {
  border-color: oklch(0.22 0.012 50 / 0.05);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.process-item:hover {
  border-color: oklch(0.66 0.18 45 / 0.4);
  background-color: oklch(0.97 0.018 85 / 0.4);
}

/* --- Base styles --- */
* {
  border-color: oklch(0.22 0.012 50 / 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: oklch(0.97 0.018 85);
  color: oklch(0.22 0.012 50);
  font-family: "Inter", sans-serif;
}
