.workflow-strip {
  padding: 40px 0;
  background: #ffffff;
}
/* Обертка и кнопки */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #9ca3af;
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #f3f4f6;
  color: #1DABC1;
  transform: scale(1.1);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

/* Трек: горизонтальная прокрутка */
.carousel-track {
  display: flex;
  overflow-x: auto;
  gap: 14px;
  padding: 8px;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}
.carousel-track::-webkit-scrollbar {
  display: none;               /* Chrome/Safari/Opera */
}

/* Фиксированный шаг: 300px + gap 14px = 314px */
.carousel-item {
  flex: 0 0 300px;             /* ширина блока */
  min-width: 300px;           /* чтобы не сжимался */
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

/* Круг */
.step-circle-wrap {
  flex: 0 0 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Активный круг: крупнее и цветной */
.carousel-item.active .step-number {
  width: 44px;
  height: 44px;
  background: #1DABC1;
  border-color: #1DABC1;
  color: white;
  font-size: 16px;
  transform: scale(1.08);
}

/* Текст: виден только у активных */
.step-content {
  flex: 1;
  min-width: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.carousel-item.active .step-content {
  opacity: 1;
  transform: translateX(0);
}

.step-desc {
  color: #334155;
  line-height: 1.4;
  margin: 0;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 260px;
    min-width: 260px;
    padding: 12px;
  }
  .carousel-btn {
    display: none; /* на мобильном можно оставить свайп */
  }
}
