/* Official Yandex Maps review widgets */
.reviews {
  background: #efe4d5;
  color: var(--coffee);
}

.reviews .section-heading {
  max-width: 760px;
}

.reviews .section-heading h2 {
  color: var(--coffee);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1504px;
  margin: 46px auto 0;
}

.review-card {
  min-width: 0;
}

.review-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.05;
}

.yandex-reviews-widget {
  position: relative;
  width: 100%;
  height: 560px;
  min-width: 300px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 55px #3a25131a;
}

.yandex-reviews-widget iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-sizing: border-box;
  background: #fff;
}

.yandex-widget-source {
  position: absolute;
  bottom: 8px;
  left: 0;
  z-index: 2;
  width: 100%;
  padding: 0 18px;
  box-sizing: border-box;
  color: #9c9c9c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 34px;
  }

  .review-card h3 {
    font-size: 32px;
  }
}

@media (max-width: 900px) {
  .reviews-grid {
    margin-top: 34px;
  }

  .yandex-reviews-widget {
    height: 520px;
  }
}

@media (max-width: 560px) {
  .reviews-grid {
    gap: 28px;
  }

  .review-card h3 {
    margin-bottom: 10px;
    font-size: 28px;
  }

  .yandex-reviews-widget {
    min-width: 0;
    height: 500px;
    border-radius: 12px;
  }

  .yandex-reviews-widget iframe {
    border-radius: 12px;
  }
}
