/* PROCESO: línea de tiempo luminosa (avance en --pp, lo actualiza js/proceso.js) */
.proceso .wrap { padding-block: 110px 100px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 48px 0 0; margin: 0; list-style: none; --pp: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(90deg, var(--accent), var(--glow)); box-shadow: 0 0 14px var(--accent); transform: scaleX(var(--pp)); transform-origin: left; }
.nodo { position: relative; min-width: 0; }
.nodo::before { content: ""; position: absolute; top: -44px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line); transition: all .5s; }
.nodo.on::before { background: var(--glow); border-color: var(--glow); box-shadow: 0 0 18px 4px var(--accent); }
.nodo .n { font-family: var(--font-mono); font-size: .78rem; color: var(--cool); }
.nodo h3 { font-size: 1.6rem; font-weight: 800; margin: 6px 0 8px; }
.nodo p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 36px; }
  .timeline::before, .timeline::after { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .timeline::after { transform: scaleY(var(--pp)); transform-origin: top; }
  .nodo::before { top: 4px; left: -40px; }
}
