/* ==========================================================================
   Customer Reviews & Google Slider Styles (reviews.css)
   ========================================================================== */

.reviews-section {
  background-color: #ffffff;
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
}
.reviews-header {
  margin-bottom: 2.75rem;
}
.reviews-eyebrow-badge {
  display: inline-block;
  background-color: #fef3c7;
  color: #d97706;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.15rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}
.reviews-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  margin: 0;
}
.reviews-layout-fixed {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
}
.reviews-summary-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 185px;
  min-width: 185px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.reviews-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.reviews-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 5;
  transition: all var(--trans-fast);
}
.reviews-nav-btn:hover {
  background-color: #d97706;
  color: #ffffff;
  border-color: #d97706;
  transform: scale(1.08);
}
.reviews-carousel-track-container {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  width: 100%;
  padding: 0.5rem 0.25rem 1rem 0.25rem;
}
.reviews-carousel-track-container::-webkit-scrollbar {
  display: none;
}
.reviews-carousel-track {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
}
.google-logo-svg {
  width: 40px;
  height: 40px;
  margin-bottom: 0.65rem;
}
.stars-row-lg {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.score-num-lg {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.reviews-count-main {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.reviews-count-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}
.review-item-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 270px;
  min-width: 250px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}
.review-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.review-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-author-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.review-author-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}
.review-time-ago {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}
.review-stars-row {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.85rem;
}
.review-body-text {
  font-size: 0.835rem;
  color: #334155;
  line-height: 1.5;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
  text-align: left;
}
.review-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
}
.google-badge-sm {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.link-reviews-google {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 2px solid #d97706;
  padding-bottom: 2px;
  margin-top: 2.25rem;
  transition: color var(--trans-fast), border-color var(--trans-fast);
}
.link-reviews-google:hover {
  color: #b45309;
  border-color: #b45309;
}

@media (max-width: 1024px) {
  .reviews-layout-fixed {
    flex-direction: column;
    align-items: center;
  }
  .reviews-summary-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .reviews-cards-grid {
    grid-template-columns: 1fr;
  }
}
