.reviews {
  color: white;
  background: linear-gradient(to bottom, #2C4545);
  padding: 60px 15px;
  overflow: hidden;
  position: relative;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

p {
  text-align: center;
}

.reviews-slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  align-items: center;
  transition: transform 0.4s ease;
}

/* 🔥 головне */
.review-card {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}

.review-card-inner {
  width: 100%;
  max-width: 500px; /* ← обмеження */
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align: center;
}

.video-preview {
  position: relative;
  cursor: pointer; 
}

video {
  max-height: 350px;
}

.video-preview img {
  width: 100%;
  border-radius: 12px;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
}

.review-card h3 {
  margin: 15px 0 5px;
}

.review-card p {
  font-size: 14px;
  opacity: 0.8;
}

/* кнопки */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.prev { left: 0px; }
.next { right: 0px; }

.video-preview {
  position: relative;
  cursor: pointer;
}

.video-preview img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
}



@media (max-width: 760px) {
  .prev,.next {  
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
  }
}