/* ============================================================
   Reviews — page.css
   Extends ../style.css — shared tokens and components defined there
   line-height for headings: Inter metric = 1.15
   ============================================================ */


/* ── Breadcrumb (shared pattern from service pages) ─────────── */
.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.svc-bc-home {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s;
}

.svc-bc-home:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.svc-bc-current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.875rem;
  background: var(--accent);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  white-space: nowrap;
}

.svc-bc-arrow {
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.8;
}


/* ── Reviews Hero ────────────────────────────────────────────── */
.rev-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  padding-top: 4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.rev-hero-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.rev-hero-center {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-example-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  align-self: center;
}

.hero-example-img img {
  width: 100%;
  height: auto;
  display: block;
}

.rev-h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-size: clamp(2.5rem, min(5.5vw, 9svh), 4.25rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 0 0 1.125rem;
}

.rev-sub {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 2.5rem;
}


/* ── Aggregate rating block ──────────────────────────────────── */
.rev-aggregate {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.375rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
}

.rev-agg-stars {
  font-size: 1.625rem;
  color: #f59e0b;
  letter-spacing: 0.05em;
  line-height: 1;
  flex-shrink: 0;
}

.rev-agg-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rev-agg-score {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}

.rev-agg-outof {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.rev-agg-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.rev-agg-count {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1;
}


/* ── Reviews section ─────────────────────────────────────────── */
.rev-section {
  background: var(--surface);
}

.rev-section-head {
  margin-bottom: 4rem;
  max-width: 640px;
}

.rev-section-sub {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  color: var(--muted);
  line-height: 1.75;
  margin-top: -0.5rem;
}


/* ── Review grid ─────────────────────────────────────────────── */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;
}


/* ── Review card ─────────────────────────────────────────────── */
.rev-card {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.rev-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: var(--bg);
  transform: translateY(-2px);
}

.rev-card-stars {
  font-size: 1.125rem;
  color: #f59e0b;
  letter-spacing: 0.06em;
  line-height: 1;
  flex-shrink: 0;
}

.rev-quote {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
  quotes: none;
  position: relative;
  padding-left: 1.125rem;
  border-left: 2px solid var(--border2);
  transition: border-color 0.2s;
}

.rev-card:hover .rev-quote {
  border-left-color: rgba(59, 130, 246, 0.5);
}

.rev-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.rev-author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.rev-author-role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ── Active nav link ──────────────────────────────────────────── */
a.nav-active,
.mob-menu a.nav-active {
  color: var(--accent);
}


/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .rev-hero-center {
    display: block;
  }

  .hero-example-img {
    display: none;
  }

  .rev-aggregate {
    gap: 1rem;
    padding: 1.125rem 1.375rem;
  }
}

@media (max-width: 640px) {
  .rev-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rev-card {
    padding: 1.75rem;
  }

  .rev-agg-stars {
    font-size: 1.25rem;
  }
}
