/* «Что говорят наши клиенты» — без фонового фото и анимаций, карусель как «Инфраструктура» (по просьбе).
   Имя — как «Heritage» (Raleway полужирный 32px), подпись «купил квартиру в ЖК RED» — как «ДЕВЕЛОПЕР»
   (Raleway полужирный 18px, прописные, бежевый), текст отзыва — как «Компания GEO 2020…» (Raleway 16/25). */
.hh-rev {
  --m: var(--hh-m, max(20px, calc((100% - 1160px) / 2)));
  background: #fff;
  padding-top: calc(140px * var(--hh-s, 1));
  padding-bottom: 45px;
}
.hh-rev__title {
  margin: 0 0 calc(20px * var(--hh-s, 1));
  padding: 0 var(--m);
  font-family: 'LiteratureDecor', Arial, sans-serif;
  font-weight: 400;
  font-size: calc(52px * var(--hh-s, 1));
  line-height: normal;
  text-transform: uppercase;
  color: #000;
}
.hh-rev__controls { height: 50px; display: flex; justify-content: space-between; }
.hh-rev__btn { width: 50px; height: 50px; padding: 0; cursor: pointer; }
.hh-rev__btn svg { width: 100%; height: 100%; display: block; }
.hh-rev__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 var(--m);
  scroll-padding: 0 var(--m);
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.hh-rev__track::-webkit-scrollbar { display: none; }
.hh-rev__card {
  flex: 0 0 416px;
  box-sizing: border-box;
  min-height: 360px;
  padding: 40px;
  background: #ece5db;
  user-select: none;
}
.hh-rev__name {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: #000;
}
.hh-rev__sub {
  margin: 10px 0 24px;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  color: #bb9775;
}
.hh-rev__sub strong { font-weight: inherit; }
.hh-rev__text {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #000;
}
@media (max-width: 959px) {
  .hh-rev { padding-top: calc(65px * var(--hh-s, 1)); }
  .hh-rev__title { font-size: calc(45px * var(--hh-s, 1)); }
  .hh-rev__controls { display: none; }
}
@media (max-width: 639px) {
  .hh-rev { padding-top: calc(49px * var(--hh-s, 1)); }
  .hh-rev__title { font-size: calc(30px * var(--hh-s, 1)); }
  .hh-rev__card { flex-basis: 280px; min-height: 0; padding: 24px; }
  .hh-rev__name { font-size: 22px; }
  .hh-rev__sub { font-size: 12px; margin: 8px 0 16px; }
}

/* Контурная фигура (Union-1.svg) в правом нижнем углу карточки, частично за краем — по макету */
.hh-rev__card { position: relative; overflow: hidden; }
.hh-rev__card > * { position: relative; z-index: 1; }
.hh-rev__card::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: 169px; height: 169px;
  right: -30px; bottom: -29px;
  background: url('union-outline-beige.svg') center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 639px) {
  .hh-rev__card::after { width: 114px; height: 114px; right: -20px; bottom: -20px; }
}
