.reviews-section {
  padding: 80px 20px;
}

.reviews-wrapper {
  display: flex;
  align-items: end;
  gap: 40px;
  width: 100%;
  position: relative;
}

.reviews-wrapper h2 {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.1;
}

.avatars-track {
  display: flex;
  gap: 20px;
}
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  background-size: cover;
  background-position: center top;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.6;
}
.avatar.active {
  transform: scale(1.1);
  opacity: 1;
  border: 2px solid #ccc;
}

.review-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.review-image {
  width: 150px;
  height: 300px;
  border-radius: 16px;
  background-size: cover;
  background-position: center center;
}
.review-text h3 {
  margin: 0;
  font-size: 18px;
}
.review-text .rating {
  font-size: 16px;
  margin: 8px 0;
}

.review-text .rating img {
  width: 24px;
  margin-right: 10px;
}

.review-text p {
  font-size: 14px;
  max-width: 300px;
}

.review-controls {
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  color: #A68F7D;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.review-controls img {
  width: 24px;
}

.review-controls a {
  background: none;
  border: none;
  color: #7d5a4f;
  cursor: pointer;
}

@media (max-width: 768px) {
  .reviews-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .reviews-wrapper h2 {
    position: static;
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
  }

  .avatars-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .avatar {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  .review-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .review-image {
    width: 120px;
    height: 240px;
  }

  .review-text h3 {
    font-size: 16px;
  }

  .review-text .rating {
    justify-content: center;
  }

  .review-text p {
    font-size: 13px;
    max-width: 100%;
    padding: 0 10px;
  }

  .review-controls {
    margin-top: 16px;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
  }

  .review-controls img {
    width: 20px;
  }
}
