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

.reviews > h2,
.reviews > 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: var(--card-bg);
  color: var(--card-fg);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  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: var(--card-bg);
  color: var(--card-fg);
  border: 1px solid var(--border-soft);
  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(10, 16, 28, 0.88);
    color: var(--text);
    border: 1px solid var(--border-soft);
  }
}