.reviews {
  padding: 80px 0;
  background: #fafafa;
  text-align: center;
}

.reviews-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.reviews-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1000px; /* ограничиваем ширину */
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  flex: 0 0 320px;
  margin: 0 10px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.review-card .stars {
  color: #f4b400;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.review-card h4 {
  font-weight: 600;
  font-size: 1rem;
}

/* стрелки */
.reviews-arrow {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
  color: #21055E;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.reviews-arrow.left {
  left: 10px;
}

.reviews-arrow.right {
  right: 10px;
}

.reviews-arrow:hover {
  background: rgba(33, 5, 94, 0.1);
  color: #3b1a85;
}

/* адаптив */
@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .review-card {
    flex: 0 0 240px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .review-card {
    flex: 0 0 80%;
  }
  .reviews-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }
}
