/* ==========================================================================
   PROCESO — Cómo trabajamos
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 1.5rem;
  position: relative;
}

/* Línea que conecta los pasos en escritorio */
.process::before {
  content: '';
  position: absolute;
  top: 27px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent);
  z-index: 0;
}
@media (max-width: 900px) { .process::before { display: none; } }

.step { position: relative; z-index: 1; text-align: center; }

.step__num {
  width: 54px; height: 54px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.35s var(--ease-back), border-color 0.3s, box-shadow 0.3s;
}
:root.dark .step__num { background: var(--surface); color: var(--primary-lite); }

.step:hover .step__num {
  transform: translateY(-4px) scale(1.06);
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--glow);
}

.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p  { font-size: 0.86rem; line-height: 1.65; margin: 0; }
