/* ==========================================================
   CARDS
   ========================================================== */

.card {
  padding: 1rem;

  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;

  background: var(--surface-color);
  box-shadow: none;
}

.card h3 {
  margin: 0.4rem 0 0.25rem;

  font-size: 1.05rem;
}

.card p {
  margin: 0;

  opacity: 0.9;
}


/* ==========================================================
   STEPS
   ========================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  counter-reset: step;
}


/* ==========================================================
   PASO
   ========================================================== */

.step {
  position: relative;

  min-width: 0;
  padding: 1.5rem 2rem;

  border: 0;
  border-radius: 0;

  background: transparent;
  box-shadow: none;
}


/* Separación entre columnas */

.step + .step {
  border-left: 1px solid var(--section-divider-color);
}


/* Pequeña línea de acento */

.step::after {
  content: "";

  position: absolute;
  top: 0;
  left: 2rem;

  width: 3rem;
  height: 3px;

  background: var(--menta-accent);
}


/* Número */

.step::before {
  counter-increment: step;
  content: counter(step);

  position: static;

  display: grid;
  place-items: center;

  width: 2rem;
  height: 2rem;
  margin-bottom: 1.25rem;

  border-radius: 50%;

  background: var(--menta-accent);
  color: var(--surface-color);

  font-size: 0.9rem;
  font-weight: 700;

  transition:
    box-shadow .22s ease,
    transform .22s ease;
}

.step:hover::before {
  transform: scale(1.08);

  box-shadow: 0 0 0 6px var(--menta-accent-soft);
}

/* Contenido */

.step h3 {
  margin: 0 0 0.75rem;

  color: var(--text-color);

  font-size: 1.15rem;
  line-height: 1.3;
}

.step p {
  margin: 0;

  color: var(--text-color);

  line-height: 1.55;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 980px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 1.5rem 0;
  }

  .step + .step {
    border-top: 1px solid var(--section-divider-color);
    border-left: 0;
  }

  .step::after {
    left: 0;
  }
}


/* ==========================================================
   NOTES
   ========================================================== */

.note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;

  border: 1px dashed var(--border-subtle);
  border-radius: 0.5rem;

  background: var(--soft-color);

  font-size: 0.95rem;
  opacity: 0.9;
}