/* ===============================
REVIEWS SECTION - Modern Carousel Design
=============================== */

.section--reviews {
  padding: 100px 0;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.reviews-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Reviews Wrapper */
.reviews-wrapper {
  position: relative;
  margin-top: 60px;
}

/* Reviews Carousel */
.reviews-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* Review Tracks */
.reviews-track {
  display: flex;
  gap: 20px;
  animation: scroll-reviews 40s linear infinite;
  padding: 10px 0;
}

.reviews-track:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 45s;
  margin-top: 30px;
}

@keyframes scroll-reviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

/* Review Cards */
.review-card {
  flex: 0 0 420px;
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #f5f5f5;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 200px;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(175, 45, 44, 0.1);
}

/* Review Header */
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.review-date {
  font-size: 0.75rem;
  color: #999;
}

/* Review Rating */
.review-rating {
  display: flex;
  gap: 1px;
  margin-bottom: 12px;
}

.review-rating svg {
  width: 14px;
  height: 14px;
  fill: #ffd700;
}

/* Review Content */
.review-text {
  color: #555;
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
  display: block;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Google Rating Badge */
.google-rating-badge {
  position: absolute;
  top: -30px;
  right: 5%;
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--brand-red);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out 0.6s both;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-stars svg {
  width: 24px;
  height: 24px;
  fill: #ffd700;
}

.rating-text {
  display: flex;
  flex-direction: column;
}

.rating-score {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
}

.rating-source {
  font-size: 0.875rem;
  color: #666;
  margin-top: 4px;
}

/* Mobile Responsive */

/* JavaScript Integration Styles */
.review-card.loaded {
  opacity: 1;
}

.review-card:not(.loaded) {
  opacity: 0.3;
  background: #f5f5f5;
}

/* Pause on hover */
.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

/* Accessibility */
