/* ── Steps block ── */
.steps-section {
  margin: 30px auto;
  padding: 64px 24px;
}

.seo .steps-section__title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  color: #1e1e1e;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ── Grid ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 60px;
  left: calc(60px + 10%);
  right: calc(60px + 10%);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(245, 166, 35, 0.22) 0,
    rgba(245, 166, 35, 0.22) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

/* ── Step card ── */
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__circle {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(245, 166, 35, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.step:hover .step__circle {
  border-color: #f5a623;
  box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.12);
}

.step__circle svg {
  width: 52px;
  height: 52px;
  color: #f5a623;
  transition: transform 0.3s ease;
}

.step:hover .step__circle svg {
  transform: scale(1.08);
}

.step__number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5a623;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(245, 166, 35, 0.45);
  line-height: 1;
}

.step__text {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a4a4a;
  max-width: 220px;
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
  }
  .steps-grid::before {
    display: none;
  }
  .step__text {
    max-width: 200px;
  }
}

@media (max-width: 640px) {
  .steps-section {
    padding: 40px 16px;
  }
  .steps-section__title {
    margin-bottom: 36px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    flex-direction: row;
    text-align: left;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .step:last-child {
    border-bottom: none;
  }

  .step__circle {
    width: 72px;
    height: 72px;
  }
  .step__circle svg {
    width: 34px;
    height: 34px;
  }

  .step__number {
    width: 22px;
    height: 22px;
    font-size: 11px;
    top: -2px;
    right: -2px;
  }

  .step__text {
    margin-top: 0;
    margin-left: 18px;
    max-width: none;
    font-size: 0.88rem;
  }
}
