/* ================= COMO TRABAJAMOS ================= */

.workflow-section {
  padding: 60px 8%;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  margin-top: 50px;
}

/* Linea conectora para escritorio */
@media (min-width: 1024px) {
  .workflow-grid::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(37, 99, 235, 0.3);
    z-index: 0;
  }
}

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

.step-number {
  width: 50px;
  height: 50px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
  border: 4px solid #0b1a33;
}

.workflow-image {
  width: 100%;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.workflow-step:hover .workflow-image img {
  transform: scale(1.05);
}

.workflow-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.workflow-step p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}
