/* ==========================================
   WrenchUp — Reviews Page
   ========================================== */

/* ---- TOPBAR NAV ---- */
.topbar-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.topbar-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-nav a:hover,
.topbar-nav a.active {
  color: var(--text-primary);
}

.topbar-book {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0c0c14;
  background: var(--amber);
  border-radius: 8px;
  padding: 8px 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.topbar-book:hover { opacity: 0.85; }

/* ---- HERO ---- */
.reviews-hero {
  background: var(--bg-dark);
  padding: 160px 40px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews-hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.reviews-hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.reviews-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.05;
}

.reviews-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}

/* ---- STATS BAR ---- */
.reviews-stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(245,158,11,0.15);
  width: 100%;
}

.reviews-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.reviews-stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
}

.reviews-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- AGGREGATE SUMMARY ---- */
.reviews-summary {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(245,158,11,0.15);
  width: 100%;
}

.reviews-summary-rating {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
}

.reviews-summary-count {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- CARD META: LOCATION ---- */
.testimonial-location {
  font-size: 12px;
  color: #6b6b7a;
}

/* ---- REVIEWS GRID SECTION ---- */
.reviews-grid-section {
  background: #fff;
  padding: 100px 40px;
}

.reviews-grid-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.reviews-section-header .section-label {
  color: var(--amber);
}

.reviews-section-header .section-title {
  color: var(--text-dark);
}

/* ---- CTA ---- */
.reviews-cta {
  background: var(--bg-dark);
  padding: 100px 40px;
  text-align: center;
}

.reviews-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.reviews-cta h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
}

.reviews-cta p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}

.reviews-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.reviews-back-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.reviews-back-link:hover {
  color: var(--text-primary);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .topbar { padding: 14px 20px; }
  .topbar-nav { display: none; }

  .reviews-hero { padding: 120px 20px 64px; }

  .reviews-stats {
    flex-direction: column;
    gap: 20px;
  }

  .reviews-summary {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .reviews-grid-section { padding: 64px 20px; }

  .reviews-cta { padding: 64px 20px; }
}

/* ---- LIVE REVIEWS FEED ---- */
.reviews-feed-section {
  background: var(--bg-dark);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.reviews-feed-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.reviews-feed-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.reviews-feed-inner .section-label {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.reviews-feed-inner .section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
}

.reviews-feed-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 48px;
}

.reviews-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.reviews-feed-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 24px 22px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.reviews-feed-card:hover {
  transform: translateY(-2px);
}

.reviews-feed-google {
  border-color: rgba(66, 133, 244, 0.35);
}
.reviews-feed-google:hover {
  border-color: rgba(66, 133, 244, 0.7);
}

.reviews-feed-yelp {
  border-color: rgba(211, 35, 35, 0.35);
}
.reviews-feed-yelp:hover {
  border-color: rgba(211, 35, 35, 0.7);
}

.reviews-feed-platform {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.reviews-feed-google .reviews-feed-platform { color: #4285F4; }
.reviews-feed-yelp .reviews-feed-platform   { color: #d32323; }

.reviews-feed-line {
  font-size: 14px;
  color: var(--text-muted);
}

.reviews-feed-card:hover .reviews-feed-line {
  color: var(--text-primary);
}

@media (max-width: 700px) {
  .reviews-feed-section { padding: 64px 20px; }

  .reviews-feed-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}
