#steps {
  padding: 40px 0;
}

.cooperation-steps {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.cooperation-steps h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.steps-container {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 18px;
  background: #f8f9fa;
  border: 1px solid #f0f0f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.step:last-child {
  margin-bottom: 0;
}

/* Необязательный этап: нужен, только если лекало не отработано. */
.step-list,
.step-tags {
  margin-top: 10px;
}

.step-note {
  margin-top: 10px;
}

.step-optional {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef2f7;
  border: 1px solid #dde3ea;
  color: #6b7684;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  vertical-align: middle;
  white-space: nowrap;
}

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 123, 255, 0.25);
  transition: transform 0.2s ease;
}

.step:hover .step-number {
  transform: scale(1.05);
}

.step-content {
  flex: 1;
  padding-top: 2px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.step-description {
  font-size: 15px;
  line-height: 1.6;
  color: #495057;
  margin: 0;
}

@media (max-width: 768px) {
  .cooperation-steps {
    padding: 0 15px;
  }

  .cooperation-steps h2 {
    text-align: left;
  }

  .steps-container {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .step {
    padding: 18px 16px;
    gap: 16px;
    margin-bottom: 16px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 12px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-description {
    font-size: 14px;
  }
}