/* ===== Google-style Reviews ===== */

.google-reviews-section {
  background: #f4efe8; /* same beige tone as your site */
  padding: 120px 20px;
}

.google-reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.google-reviews-header {
  text-align: center;
  margin-bottom: 60px;
}

.google-reviews-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.google-reviews-header p {
  font-size: 18px;
  color: #666;
}

.google-reviews-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 16px;
}

.review-scroll-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.review-scroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.google-reviews-grid {
  display: flex;
  gap: 24px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.google-review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  min-width: 280px;
  scroll-snap-align: start;
  position: relative;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff994f, #fa6d86);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.review-stars {
  font-size: 18px;
  color: #f4b400; /* Google star color */
  letter-spacing: 2px;
  margin-bottom: 0;
}

.review-text {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 24px;
}

.review-author {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-reviews-footer {
  text-align: center;
  margin-top: 40px;
}

.google-reviews-link {
  font-size: 14px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  padding-bottom: 2px;
}

.google-reviews-link:hover {
  opacity: 0.7;
}

.review-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.review-read-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.review-popup {
  position: fixed;
  inset: 0;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.review-popup.is-open {
  display: flex;
}

.review-popup__dialog {
  width: min(90vw, 780px);
  max-height: 80vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.review-popup__close {
  align-self: flex-end;
  border: none;
  background: none;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  padding: 6px 8px;
}

.review-popup__text {
  margin: 0;
  color: #222;
  line-height: 1.7;
  font-size: 16px;
  white-space: pre-line;
  text-align: left;
  word-break: break-word;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .google-reviews-controls {
    justify-content: center;
    margin-bottom: 20px;
  }

  .google-reviews-grid {
    gap: 16px;
  }

  .google-review-card {
    min-width: 260px;
  }
}

@media (max-width: 600px) {
  .google-reviews-section {
    padding: 64px 16px;
  }

  .google-review-card {
    min-width: 240px;
    padding: 24px;
  }

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

  .review-scroll-btn {
    width: 38px;
    height: 38px;
  }
}
