.vf-flow * { box-sizing: border-box; margin: 0; padding: 0; }

.vf-flow {
  font-family: 'DM Sans', -apple-system, sans-serif;
  width: 100%;
  overflow: hidden;
}



/* ── Timeline horizontal ── */
.vf-timeline {
  position: relative;
  display: flex;
  gap: 0;
  align-items:stretch;
}

/* Línea horizontal que conecta los dots */
.vf-line {
  position: absolute;
  top: 19px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(to right, #bfdbfe, #e2e8f0, #bfdbfe);
  border-radius: 2px;
  z-index: 0;
}

/* ── Cada paso ── */
.vf-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  position: relative;
  padding: 0 8px;
  
}

/* Dot encima de la línea */
.vf-dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #2563eb;
  transition: background 0.2s, border-color 0.2s;
}

.vf-step:hover .vf-dot {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}

/* Card debajo del dot */
.vf-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-evenly;
}

.vf-step:hover .vf-card {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.10);
  border-color: #bfdbfe;
}


.vf-step-title {
  font-family: "Inter", Sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.vf-desc {
    font-family: "Inter", Sans-serif;
    font-size: 15px;
    font-weight: 400;
}

/* ── Responsive: vuelve a vertical en móvil ── */
@media (max-width: 768px) {
  .vf-timeline { flex-direction: column; align-items: flex-start; gap: 0; }
  .vf-line { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: linear-gradient(to bottom, #bfdbfe, #e2e8f0); }
  .vf-step { flex-direction: row; align-items: flex-start; padding: 0 0 24px 0; gap: 16px; }
  .vf-step:last-child { padding-bottom: 0; }
  .vf-card { padding: 16px 18px; }
  .vf-step:hover .vf-card { transform: translateX(4px); }
}