/* ============================================================
   PROCESO — Timeline de 6 pasos
   ============================================================ */

.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.timeline-step {
  flex: 1;
  text-align: center;
  padding: 1rem;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1), filter 0.5s ease;
}
.timeline-step.active {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px var(--color-gold-subtle));
  z-index: 5;
}
.timeline-step .step-number, .timeline-step .step-title {
  transition: color 0.5s ease, text-shadow 0.5s ease;
}
.timeline-step.active .step-number {
  color: #ffffff;
  text-shadow: 0 0 15px var(--color-gold);
}
.timeline-step.active .step-title {
  color: var(--color-gold);
  text-shadow: 0 0 10px var(--color-gold-subtle);
}
.step-number {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}
.step-title { font-weight: 600; }
.timeline-line {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(200,169,107,0.3);
  z-index: 0;
}
.timeline-line .draw-line {
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
}

/* Responsive */
@media (max-width: 1024px) {
  .timeline-step { min-width: 30%; }
}
@media (max-width: 768px) {
  .timeline { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .timeline-line { display: none; }
  .timeline-step {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0;
    flex: none;
    width: 100%;
  }
  .step-number { margin-bottom: 0; font-size: 1.6rem; min-width: 3rem; }
}
