/* ===== БЛОК ОТЗЫВОВ START ===== */
.reviews-section {
  padding: 40px 16px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: inherit;
  color: #e6e6e6;
}

.reviews-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: 0.2px;
}

.reviews-subtitle {
  text-align: center;
  color: #9ca3af;
  font-size: 15px;
  margin: 0 0 28px;
}

/* Заголовок рейтинга */
.reviews-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a2a20 0%, #101a12 100%);
  border: 1px solid #234e33;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.reviews-rating-score {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.reviews-rating-number {
  font-size: 40px;
  font-weight: 800;
  color: #22c55e;
  line-height: 1;
}

.reviews-rating-count {
  color: #9ca3af;
  font-size: 14px;
}

.reviews-add-btn {
  background: #22c55e;
  color: #0a1a0f;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  box-shadow: 0 4px 14px rgba(34, 197, 94, .25);
}
.reviews-add-btn:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, .35);
}

/* Звёзды */
.reviews-stars { display: inline-flex; gap: 3px; }
.reviews-stars--big { font-size: 22px; }
.star { color: #3a3a3a; font-size: 18px; line-height: 1; }
.star.filled { color: #fbbf24; }
.star.half {
  background: linear-gradient(90deg, #fbbf24 50%, #3a3a3a 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Сетка карточек */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: linear-gradient(180deg, #141b16 0%, #0d130e 100%);
  border: 1px solid #1f3a28;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: #2e6a44;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.review-card--hidden { display: none; }

.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 700; color: #fff; font-size: 15px; }
.review-date { color: #6b7280; font-size: 12.5px; }

.review-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #d1d5db;
}

.review-tag {
  align-self: flex-start;
  font-size: 12.5px;
  color: #22c55e;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .3);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Кнопка "ещё" */
.reviews-more-wrap {
  text-align: center;
  margin-top: 26px;
}
.reviews-more-btn {
  background: transparent;
  color: #22c55e;
  border: 1px solid #22c55e;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.reviews-more-btn:hover { background: #22c55e; color: #0a1a0f; }
.reviews-more-btn[disabled] { opacity: .4; cursor: default; }

/* Модалка */
.review-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.review-modal[aria-hidden="false"] { display: flex; }
.review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(3px);
}
.review-modal__content {
  position: relative;
  background: #121815;
  border: 1px solid #234e33;
  border-radius: 16px;
  padding: 26px;
  width: 100%;
  max-width: 440px;
  margin: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.review-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}
.review-modal__close:hover { color: #fff; }
.review-modal__title {
  color: #fff;
  margin: 0 0 16px;
  font-size: 20px;
}

.review-form { display: flex; flex-direction: column; gap: 14px; }
.review-form__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #9ca3af;
}
.review-form__input,
.review-form__textarea {
  background: #0a120d;
  border: 1px solid #234e33;
  border-radius: 8px;
  padding: 10px 12px;
  color: #e6e6e6;
  font-size: 14.5px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color .15s;
}
.review-form__input:focus,
.review-form__textarea:focus { border-color: #22c55e; }

.review-form__stars { display: inline-flex; gap: 6px; font-size: 26px; cursor: pointer; }
.review-form__stars .star { color: #3a3a3a; transition: color .1s; }
.review-form__stars .star.active,
.review-form__stars .star:hover { color: #fbbf24; }

.review-form__submit {
  background: #22c55e;
  color: #0a1a0f;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s;
}
.review-form__submit:hover { background: #16a34a; }

/* Мобилка */
@media (max-width: 600px) {
  .reviews-title { font-size: 22px; }
  .reviews-rating { flex-direction: column; align-items: stretch; text-align: center; }
  .reviews-rating-score { justify-content: center; }
  .reviews-rating-number { font-size: 32px; }
  .reviews-grid { grid-template-columns: 1fr; }
}
/* ===== БЛОК ОТЗЫВОВ END ===== */