/* ==========================================================================
   CIELO CAFE AND RESTRO - DINER REVIEWS & TESTIMONIALS
   ========================================================================== */

.reviews-section {
  padding: 4rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

@media (min-width: 640px) {
  .reviews-section {
    padding: 5.5rem 0;
  }
}

@media (min-width: 1024px) {
  .reviews-section {
    padding: 7rem 0;
  }
}

.reviews-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .reviews-header {
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 3.5rem;
  }
}

.reviews-title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 350;
  letter-spacing: -0.025em;
  color: var(--text-espresso);
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .reviews-title {
    font-size: 3rem;
  }
}

.rating-summary-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.stars-row {
  display: flex;
  align-items: center;
  color: var(--accent-terracotta);
}

.star-icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.rating-score {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-espresso);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-espresso-faint);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Review Card (Elevated editorial styling) */
.review-card {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

@media (min-width: 640px) {
  .review-card {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .review-card {
    padding: 1.75rem;
  }
}

.review-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-date {
  font-size: 0.625rem;
  color: var(--text-espresso-faint);
}

.review-quote {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-espresso-muted);
  font-style: italic;
}

.review-card-footer {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-author {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-espresso);
}

.review-badge {
  font-size: 0.625rem;
  color: var(--accent-sky-deep);
  font-weight: 600;
  display: block;
}

.review-dish-tag {
  font-size: 0.5625rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--border-radius-full);
  background-color: rgba(27, 21, 17, 0.05);
  color: var(--text-espresso-muted);
  border: 1px solid var(--border-light);
  max-width: 8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
