/* ==========================================================================
   2-LINE REVIEWS MARQUEE (Compact for Desktop and Mobile)
   ========================================================================== */

.reviews-section {
  padding: 3.5rem 0;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
}

.reviews-header-compact {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 1.8rem;
  padding: 0 1rem;
}

.reviews-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 93, 4, 0.1);
  color: #e85d04;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.reviews-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.reviews-section-subtitle {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
}

/* Dual Marquee Track Wrappers */
.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  overflow: hidden;
}

.marquee-row {
  display: flex;
  width: max-content;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

/* Row 1: Left to Right / Reverse scroll */
.marquee-row-1 .marquee-track {
  animation-name: marqueeScrollLeft;
  animation-duration: 48s;
}

/* Row 2: Reverse scroll or staggered speed */
.marquee-row-2 .marquee-track {
  animation-name: marqueeScrollRight;
  animation-duration: 52s;
}

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

@keyframes marqueeScrollLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marqueeScrollRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Compact Review Card */
.review-card-compact {
  width: 320px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.review-card-compact:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

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

.review-stars {
  color: #f59e0b;
  font-size: 0.72rem;
  display: flex;
  gap: 2px;
}

.review-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
}

.review-google-badge i {
  color: #4285f4;
  font-size: 0.75rem;
}

.review-quote-text {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.42;
  margin: 0 0 0.55rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.45rem;
  margin-top: auto;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}

.reviewer-avatar-mini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.reviewer-avatar-mini.accent-orange {
  background: #e85d04;
}

.reviewer-avatar-mini.accent-blue {
  background: #0284c7;
}

.reviewer-avatar-mini.accent-emerald {
  background: #059669;
}

.reviewer-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

.reviewer-suburb {
  font-size: 0.65rem;
  color: #64748b;
}

.review-service-pill {
  font-size: 0.64rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Mobile Adjustments for Reviews */
@media (max-width: 768px) {
  .reviews-section {
    padding: 2.2rem 0;
  }

  .review-card-compact {
    width: 260px;
    padding: 0.75rem 0.85rem;
  }

  .review-quote-text {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }

  .reviews-section-title {
    font-size: 1.2rem;
  }

  .marquee-container {
    gap: 0.75rem;
  }
}
