/* Purpose: Numbered process cards. */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-22);
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-32) var(--space-26);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) ease, border-color var(--duration-base) ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.step__num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-primary);
  font-family: var(--font-heading);
  display: grid;
  place-items: center;
  font-weight: var(--weight-black);
  font-size: var(--fs-17);
  margin-bottom: var(--space-20);
  transition: background var(--duration-base) ease, color var(--duration-base) ease;
}

.step:hover .step__num {
  background: var(--color-primary);
  color: var(--color-text);
}

/* Sits under the section H2, so it stays an H3 for hierarchy but takes H4 styling. */
.step__title {
  margin-bottom: var(--space-10);
  color: var(--color-navy);
  font-size: var(--fs-19);
  font-weight: var(--weight-bold);
  line-height: var(--leading-h4);
}

.step__text {
  font-size: var(--fs-15-5);
  line-height: var(--leading-card);
  color: var(--color-text-muted);
  margin: 0;
}

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

@media (min-width: 1081px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
