/* ============================================================
   REVIEWS — отзывы клиентов
   ============================================================ */
.reviews {
  background: #F5F3EE;
  padding: var(--section-py-lg) 0;
  position: relative;
}

.reviews__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ───── ШАПКА ───── */
.reviews__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.reviews__eyebrow {
  display: inline-block;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5C5C56;
  margin-bottom: 18px;
}

.reviews__title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #14140F;
  margin: 0 0 18px;
}

.reviews__title span {
  font-style: italic;
  font-weight: 300;
  color: #14140F;
  position: relative;
}

.reviews__lead {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.5;
  color: #5C5C56;
  max-width: 480px;
  margin: 0;
}

/* ───── БЕЙДЖ АВИТО ───── */
.reviews__badge {
  display: none;
  grid-template-columns: auto auto auto auto;
  align-items: center;
  gap: 12px 14px;
  background: #fff;
  border: 1px solid rgba(20, 20, 15, 0.08);
  border-radius: 18px;
  padding: 16px 22px;
  text-decoration: none;
  color: #14140F;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(20, 20, 15, 0.04);
}

.reviews__badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(20, 20, 15, 0.10);
  border-color: rgba(20, 20, 15, 0.14);
}

.reviews__badge-stars {
  color: #C5F056;
  font-size: 16px;
  letter-spacing: 1px;
  text-shadow: 0 0 1px #14140F;
  -webkit-text-stroke: 0.5px #14140F;
}

.reviews__badge-rating {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  color: #14140F;
}

.reviews__badge-meta {
  display: flex;
  flex-direction: column;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #14140F;
  line-height: 1.3;
}

.reviews__badge-count {
  font-size: 11px;
  color: #5C5C56;
  font-weight: 400;
  margin-top: 2px;
}

.reviews__badge-arrow {
  color: #14140F;
  transition: transform 0.25s ease;
}

.reviews__badge:hover .reviews__badge-arrow {
  transform: translate(2px, -2px);
}

/* ───── СЕТКА ───── */
.reviews__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ───── КАРТОЧКА ОТЗЫВА ───── */
.review {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(20, 20, 15, 0.05);
}

.review:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20, 20, 15, 0.08);
}

.review--accent {
  background: #14140F;
  color: #F5F3EE;
  border-color: transparent;
}

.review--accent .review__text {
  color: #F5F3EE;
}

.review--accent .review__name {
  color: #fff;
}

.review--accent .review__project {
  color: rgba(245, 243, 238, 0.6);
}

.review--accent .review__quote-mark {
  color: #C5F056;
}

/* Декоративная кавычка */
.review__quote-mark {
  font-family: 'Sora', Georgia, serif;
  font-size: 80px;
  line-height: 0.8;
  color: #C5F056;
  position: absolute;
  top: 24px;
  right: 28px;
  font-weight: 700;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}

.review__text {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #14140F;
  margin: 0 0 28px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.review__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 20, 15, 0.08);
}

.review--accent .review__footer {
  border-top-color: rgba(245, 243, 238, 0.12);
}

.review__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review__name {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #14140F;
  letter-spacing: -0.01em;
}

.review__project {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #5C5C56;
  letter-spacing: 0.01em;
}

.review__stars {
  color: #C5F056;
  font-size: 13px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.4px #14140F;
  flex-shrink: 0;
}

.review--accent .review__stars {
  -webkit-text-stroke: 0.4px #C5F056;
}

/* ───── НИЖНИЙ CTA ───── */
.reviews__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 56px);
}

.reviews__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #14140F;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 18px 32px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid #14140F;
  transition: all 0.25s ease;
}

.reviews__cta:hover {
  background: #14140F;
  color: #fff;
  transform: translateY(-2px);
}

.reviews__cta svg {
  transition: transform 0.25s ease;
}

.reviews__cta:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1100px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .reviews__badge {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review {
    padding: 32px 24px 24px;
    min-height: auto;
  }

  .review__quote-mark {
    font-size: 64px;
    top: 16px;
    right: 22px;
  }

  .reviews__badge {
    padding: 14px 18px;
    gap: 10px;
  }

  .reviews__badge-rating {
    font-size: 20px;
  }

  .reviews__cta {
    width: 100%;
    justify-content: center;
  }
}

/* ───── Уважаем prefers-reduced-motion ───── */
@media (prefers-reduced-motion: reduce) {
  .review,
  .reviews__badge,
  .reviews__cta,
  .reviews__cta svg,
  .reviews__badge-arrow {
    transition: none !important;
    transform: none !important;
  }
}