/* ===== БЛОК ОТЗЫВОВ ===== */
.reviews-section {
  padding: 60px 0;
  background: #DED6C0;  /* ← вот здесь меняется фон только для этого блока */
}

.reviews-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.reviews-header {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.reviews-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #3E6259;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.reviews-eyebrow::before,
.reviews-eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: #3E6259;
  display: inline-block;
}

.reviews-title {
  font-family: 'PT Serif', serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
  text-align: center;
  color: #211F1A;
}

.reviews-subtitle {
  font-family: 'Manrope', sans-serif;
  color: #58544A;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== КАРТОЧКА ОТЗЫВА ===== */
.review-card {
  background: #FBF9F3;
  border: 1px solid #C9C2AC;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 2px;
}

.review-mark {
  font-family: 'PT Serif', serif;
  font-size: 32px;
  color: #6C9086;
  line-height: 1;
}

.review-text {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #58544A;
  flex-grow: 1;
}

.review-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #211F1A;
}

/* ===== ВИДЕО ===== */
.video-wrapper {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 для вертикального видео */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #58544A;
  text-align: center;
  margin-top: 10px;
}

/* ===== КАРУСЕЛЬ ВИДЕООТЗЫВОВ ===== */
.video-carousel-wrap {
  margin-top: 56px;
  position: relative;
}

.video-carousel-title {
  font-family: 'PT Serif', serif;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  color: #211F1A;
  margin-bottom: 26px;
}

.video-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center; /* ← центрирует карточки, когда их мало */
}

.video-carousel::-webkit-scrollbar { height: 6px; }
.video-carousel::-webkit-scrollbar-track {
  background: #DED6C0;
  border-radius: 3px;
}
.video-carousel::-webkit-scrollbar-thumb {
  background: #C9C2AC;
  border-radius: 3px;
}

.video-card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: center;
  background: #FBF9F3;
  border: 1px solid #C9C2AC;
  border-radius: 2px;
  overflow: hidden;
}

.video-card .video-wrapper {
  border-radius: 0;
}

.carousel-hint {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #58544A;
  margin-top: 4px;
}

/* ===== АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ ===== */
@media (max-width: 860px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ===== АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ ===== */
@media (max-width: 520px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-section {
    padding: 40px 0;
  }

  .reviews-container {
    padding: 0 16px;
  }

  .reviews-title {
    font-size: 26px;
  }

  .review-card {
    padding: 20px 16px;
  }

  .review-text {
    font-size: 13px;
  }

  .video-card {
    width: 240px;
  }
}