/* British Fast Track - Customer Reviews Hub CSS */

.reviews-hero-section {
  position: relative;
  background: linear-gradient(rgba(1, 33, 105, 0.9), rgba(10, 28, 63, 0.95)),
              url('/img/webp/banner2.webp') center/cover no-repeat;
  padding: 60px 0 50px;
  color: #ffffff;
  text-align: center;
}

.reviews-hero-intro {
  max-width: 800px;
  margin: 0 auto;
}

.reviews-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #f1c40f;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.reviews-hero-intro h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  font-family: 'Barlow', sans-serif;
}

.reviews-hero-intro p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Aggregate Rating Summary Card */
.reviews-summary-section {
  padding: 0 0 50px;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

.summary-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7ecf3;
  padding: 36px 30px;
}

.score-box-col {
  text-align: center;
  border-right: 1px solid #edf2f7;
  padding-right: 24px;
}

.large-score-number {
  font-size: 4rem;
  font-weight: 900;
  color: #012169;
  line-height: 1;
  font-family: 'Barlow', sans-serif;
}

.stars-row {
  color: #f39c12;
  font-size: 1.35rem;
  margin: 10px 0 6px;
}

.total-reviews-count {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 600;
}

.progress-bars-col {
  padding: 0 24px;
  border-right: 1px solid #edf2f7;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: #475569;
}

.rating-bar-label {
  min-width: 48px;
  font-weight: 600;
}

.rating-progress-track {
  flex-grow: 1;
  height: 8px;
  background-color: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.rating-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  border-radius: 4px;
}

.rating-bar-percent {
  min-width: 36px;
  text-align: right;
  font-size: 0.82rem;
  color: #64748b;
}

.quality-badges-col {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.quality-metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-circle-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(1, 33, 105, 0.08);
  color: #012169;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.metric-text h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.metric-text span {
  font-size: 0.82rem;
  color: #27ae60;
  font-weight: 700;
}

/* Category Filter Tabs */
.reviews-filters-wrapper {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.review-filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
}

.review-filter-btn:hover {
  background: #f8fafc;
  border-color: #012169;
  color: #012169;
}

.review-filter-btn.active {
  background: #012169;
  border-color: #012169;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(1, 33, 105, 0.25);
}

/* Review Cards Grid */
.reviews-grid-section {
  padding-bottom: 60px;
}

.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #012169;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.google-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #3c4043;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #e8eaed;
}

.google-brand-badge i {
  color: #4285F4;
  font-size: 1rem;
}

.btn-google-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-google-primary {
  background: #ffffff;
  color: #1a73e8;
  border: 1px solid #dadce0;
}

.btn-google-primary:hover {
  background: #f8fafd;
  border-color: #1a73e8;
  color: #1557b0;
  box-shadow: 0 2px 6px rgba(66, 133, 244, 0.2);
}

.btn-google-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-google-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: #16a34a;
  font-weight: 600;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
}

.review-route-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
  width: fit-content;
}

.review-route-pill i {
  color: #012169;
}

.review-body-text {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.review-service-tag {
  font-weight: 600;
  color: #012169;
}

/* Call to Action Banner */
.reviews-cta-section {
  background: linear-gradient(135deg, #012169, #0a1c3f);
  color: #ffffff;
  padding: 50px 0;
  text-align: center;
}

.reviews-cta-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.reviews-cta-wrapper h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.reviews-cta-wrapper p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.reviews-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f1c40f;
  color: #012169;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}

.reviews-cta-btn:hover {
  background: #e2b714;
  color: #012169;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .score-box-col {
    border-right: none;
    border-bottom: 1px solid #edf2f7;
    padding-right: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .progress-bars-col {
    border-right: none;
    border-bottom: 1px solid #edf2f7;
    padding: 0 0 20px;
    margin-bottom: 20px;
  }

  .quality-badges-col {
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .reviews-hero-section {
    padding: 40px 0 35px;
  }

  .reviews-hero-intro h1 {
    font-size: 1.75rem;
  }

  .summary-card {
    padding: 24px 18px;
  }

  .large-score-number {
    font-size: 3.2rem;
  }

  .reviews-cards-grid {
    grid-template-columns: 1fr;
  }
}
