/* ============================================================
   Eldessouky Law — Reviews Page CSS
   Loaded only on reviews.php template
   ============================================================ */

/* ========= HERO ========= */
.hero {
  margin-top: 140px;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: var(--darker);
  text-align: center;
}
.hero::before { display: none; }
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.hero .breadcrumb a { color: var(--gold); }
.hero .breadcrumb span { color: var(--gray); margin: 0 0.5rem; }
.hero-eyebrow {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-sub {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ========= SVG SIZING ========= */
.star svg,
.star-filled svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}
.review-star svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}
.google-badge-icon {
  width: 24px;
  height: 24px;
}
.review-platform-icon {
  width: 16px;
  height: 16px;
}
.verified-item svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* ========= RATING SUMMARY ========= */
.rating-summary-section {
  padding: 5rem 0;
  max-width: 1720px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.rating-summary-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: start;
}
.rating-summary-card {
  background: var(--darker);
  border: 1px solid rgba(208, 169, 37, 0.1);
  padding: 3rem 2.5rem;
  text-align: center;
}
.rating-score-block {
  margin-bottom: 1.5rem;
}
.rating-number {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stars-row {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.stars-row .star svg,
.stars-row .star-filled svg {
  width: 28px;
  height: 28px;
}
.rating-source {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.rating-divider {
  height: 1px;
  background: rgba(208, 169, 37, 0.12);
  margin: 2rem 0;
}
.rating-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rating-stat { text-align: center; }
.rating-stat-number {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.rating-stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  line-height: 1.3;
}

/* Rating breakdown bars */
.rating-breakdown { width: 100%; }
.rating-breakdown h4 {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.breakdown-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.breakdown-label {
  font-size: 0.85rem;
  color: var(--gray);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}
.breakdown-bar-wrap {
  flex: 1;
  height: 10px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.breakdown-bar-fill {
  height: 100%;
  background: var(--gold);
  transition: width 0.6s ease;
}
.breakdown-count {
  font-size: 0.8rem;
  color: var(--gray);
  width: 30px;
  flex-shrink: 0;
}

/* Right detail column */
.rating-detail {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.rating-cta {
  background: var(--darker);
  border: 1px solid rgba(208, 169, 37, 0.1);
  padding: 2.5rem;
}
.rating-cta p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--light-gray);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.rating-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

/* Google badge */
.google-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray);
}
.google-badge-icon { flex-shrink: 0; }
.google-badge-text span {
  color: var(--white);
  font-weight: 500;
}

/* ========= VERIFIED STRIP ========= */
.verified-strip {
  max-width: 1720px;
  margin: 2rem auto 0;
  padding: 0 2.5rem;
}
.verified-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(208, 169, 37, 0.08);
  border-bottom: 1px solid rgba(208, 169, 37, 0.08);
  justify-content: center;
}
.verified-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========= REVIEWS LIST ========= */
.reviews-section {
  padding: 5rem 0;
  max-width: 1720px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.reviews-header {
  margin-bottom: 3rem;
}
.reviews-section h2,
.reviews-header h2 {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.reviews-count {
  font-size: 0.9rem;
  color: var(--gray);
}
.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.review-card {
  background: var(--darker);
  border: 1px solid rgba(208, 169, 37, 0.08);
  border-left: 3px solid var(--gold);
  padding: 2.5rem;
  transition: border-color 0.3s;
}
.review-card:hover {
  border-color: rgba(208, 169, 37, 0.2);
  border-left-color: var(--gold);
}
.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.review-stars {
  display: flex;
  gap: 0.2rem;
}
.review-platform {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray);
}
.review-platform-name {
  color: var(--gray);
}
.review-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--light-gray);
  margin-bottom: 1.75rem;
  font-weight: 300;
}
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reviewer-name {
  font-weight: 500;
  color: var(--white);
  font-size: 0.95rem;
}
.reviewer-case {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.15rem;
}
.review-date {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========= PRACTICE STRIP ========= */
.practice-strip {
  padding: 3rem 0;
  max-width: 1720px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  border-top: 1px solid rgba(208, 169, 37, 0.08);
}
.practice-strip-inner h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.practice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.practice-tag {
  font-size: 0.85rem;
  color: var(--gold);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(208, 169, 37, 0.15);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.practice-tag:hover {
  background: var(--gold);
  color: var(--black);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .rating-summary-inner { grid-template-columns: 1fr; }
  .rating-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .rating-stats { grid-template-columns: 1fr 1fr; }
  .review-card { padding: 2rem; }
  .review-card-top { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .review-footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .rating-summary-section,
  .reviews-section,
  .practice-strip { padding-left: 1.5rem; padding-right: 1.5rem; }
  .verified-strip { padding-left: 1.5rem; padding-right: 1.5rem; }
  .verified-inner { gap: 1rem; }
}

/* ========= LIGHT MODE ========= */
[data-theme="light"] .review-card { border: 1px solid rgba(0,0,0,0.08); border-left: 3px solid var(--gold); }
[data-theme="light"] .breakdown-bar-wrap { background: rgba(0,0,0,0.06); }
[data-theme="light"] .rating-summary-card { border-color: rgba(184,148,31,0.15); }
[data-theme="light"] .rating-cta { border-color: rgba(184,148,31,0.15); }
[data-theme="light"] .verified-inner { border-color: rgba(184,148,31,0.12); }
[data-theme="light"] .practice-tag { border-color: rgba(184,148,31,0.2); }

/* ============================================================
   EVOLUTION PASS — reviews.css
   Hand-tuned for the Evolution design system (Oswald/Lato,
   navy + gold). Overrides sit below the base rules on purpose.
   ============================================================ */
.google-badge { border-radius: 0; border: 1px solid rgba(208, 169, 37, 0.25); background: var(--darker); }
.google-badge-text b { font-family: var(--serif); font-weight: 700; }
.breakdown-bar-fill { background: var(--gold); }
.breakdown-label, .breakdown-count { font-family: var(--sans); font-weight: 700; }
.practice-tag { font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; border-radius: 0; border: 1px solid rgba(208, 169, 37, 0.3); }
.rating-cta { border-radius: 0; }
[data-theme="light"] .google-badge { background: #ffffff; border-color: rgba(0, 0, 0, 0.1); }

/* ── EVOLUTION: aggregate proof card (replaces the star breakdown) ── */
.review-proof { padding: 1.8rem 0 0.5rem; }
.review-proof-score { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 0.8rem; }
.review-proof-number { font-family: var(--serif); font-weight: 700; font-size: 3.2rem; color: var(--gold); line-height: 1; }
.review-proof-stars { color: var(--gold); font-size: 1.25rem; letter-spacing: 0.18em; }
.review-proof-line { font-size: 1.02rem; color: var(--light-gray); margin-bottom: 0.5rem; }
.review-proof-line strong { color: var(--white); }
.review-proof-sub { font-size: 0.85rem; color: var(--gray); }

.reviewer-info { display: flex; flex-direction: column; }
