/* ============================
   ANIMACIONES ON-SCROLL
   ============================ */

/* Estado inicial: oculto y ligeramente desplazado */
.animate-in {
  opacity: 0;
  transform: translateY(14px);
  transition-property: opacity, transform;
  transition-duration: 0.6s;
  transition-timing-function: ease;
  will-change: opacity, transform; /* Optimización */
}

/* Estado visible cuando entra al viewport */
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays suaves para escalonar animaciones */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ============================
   EFECTOS GLOWS PREMIUM
   ============================ */

.glow-blue {
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.glow-orange {
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

/* Glow suave para elementos destacados */
.soft-glow {
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.35));
}

/* ============================
   HELPERS DE LAYOUT
   ============================ */

.center { text-align: center; }

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.hidden { display: none !important; }

/* ============================
   BORDES Y SUPERFICIES
   ============================ */

.border-blue { border: 1px solid var(--blue); }
.border-orange { border: 1px solid var(--orange); }

.surface {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

/* ============================
   ESPACIADOS
   ============================ */

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: .5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: .5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

/* ============================
   CURSOR Y TRANSICIONES
   ============================ */

.pointer { cursor: pointer; }

.transition {
  transition: all 0.25s ease;
  will-change: transform, opacity; /* Optimización */
}

/* ============================
   STACK TÉCNICO PREMIUM
   ============================ */

.value-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
}

