/* ==========================================================================
   REVIEWS.CSS — The Law Offices of Jimmy Cha, APC.
   Reviews & Testimonials (/reviews). Map the page ID to 'reviews' in functions.php.
   Hero (aggregate rating) · Google reviews carousel (reused from home) ·
   Yelp reviews grid · Featured quote (direct access) · CTA.

   Review displays are Trustindex embeds:
     - Carousel  = [trustindex no-registration=google]   (same as the homepage)
     - Grid      = [trustindex no-registration=yelp]
   NOTE: the wireframe's charge-type filter chips assume a custom-built grid; they
   cannot filter third-party Trustindex widgets, so they are omitted here.
   ========================================================================== */

@keyframes jcFadeUp {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO — Aggregate rating
   ========================================================================== */
.rev-hero {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	border-bottom: 1px solid var(--crimson-dim);
}
.rev-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
	padding-block: 96px 70px;
}
.rev-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--gold);
	padding: 9px 18px;
	border: 1px solid var(--gold-dim);
	border-radius: 50px;
	background: var(--gold-dim);
	margin-bottom: 22px;
	animation: jcFadeUp 0.7s ease both;
}
.rev-hero-title {
	font-size: clamp(32px, 4.6vw, 52px);
	font-weight: 700;
	color: var(--warm-white);
	line-height: 1.1;
	letter-spacing: -0.4px;
	margin-bottom: 22px;
	animation: jcFadeUp 0.7s ease 0.08s both;
}
.rev-hero-title em {
	font-style: italic;
	background: var(--grad-crimson);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
/* Aggregate rating badge */
.rev-aggregate {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 16px 26px;
	border: 1px solid var(--gunmetal);
	border-radius: 50px;
	background: var(--grad-surface);
	margin-bottom: 26px;
	animation: jcFadeUp 0.7s ease 0.16s both;
}
.rev-aggregate-score {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 700;
	color: var(--warm-white);
	line-height: 1;
}
.rev-aggregate-stars {
	color: var(--gold);
	font-size: 17px;
	letter-spacing: 2px;
}
.rev-aggregate-meta {
	display: flex;
	flex-direction: column;
	text-align: left;
	gap: 2px;
}
.rev-aggregate-count {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--silver);
}
.rev-aggregate-note {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.5px;
	color: var(--gray-300);
}
.rev-hero-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	animation: jcFadeUp 0.7s ease 0.24s both;
}

/* ==========================================================================
   REVIEW DISPLAYS — Trustindex widgets
   ========================================================================== */
/* Google carousel (reused from the homepage) sits on charcoal, like home. */
.rev-google-section {
	background: var(--charcoal);
}
/* Yelp grid sits on ink with a subtle gold wash. */
.rev-yelp-section {
	background:
		radial-gradient(60% 90% at 50% 0%, rgba(184, 148, 94, 0.08), transparent 60%),
		var(--ink);
	border-top: 1px solid var(--gold-dim);
}
/* Reviews-section headers are left-aligned (defaults); the widget sits below. */
.reviews-widget {
	margin-top: 14px;
}

/* ==========================================================================
   FEATURED QUOTE — Direct access (editorial gold treatment)
   ========================================================================== */
.rev-featured {
	background:
		radial-gradient(70% 100% at 50% 0%, rgba(184, 148, 94, 0.10), transparent 62%),
		var(--charcoal);
	border-block: 1px solid var(--gold-dim);
}
.rev-featured-inner {
	max-width: 920px;
	margin-inline: auto;
	text-align: center;
	position: relative;
}
.rev-featured-mark {
	font-family: var(--font-display);
	font-size: 96px;
	line-height: 0.6;
	color: rgba(184, 148, 94, 0.42);
	margin-bottom: 6px;
}
.rev-featured-quote {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(19px, 2.3vw, 26px);
	line-height: 1.5;
	color: var(--warm-white);
	text-align: center;
	max-width: 840px;
	margin: 0 auto 30px;
}
.rev-featured-quote em {
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-style: italic;
}
.rev-featured-cite {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	position: relative;
	padding-top: 24px;
}
/* Gold editorial divider above the attribution */
.rev-featured-cite::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 64px;
	height: 2px;
	background: var(--grad-gold);
}
.rev-featured-stars {
	color: var(--gold);
	font-size: 16px;
	letter-spacing: 2px;
}
.rev-featured-name {
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold);
}
.rev-featured-note {
	margin-top: 14px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.5px;
	color: var(--gray-300);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 680px) {
	.rev-hero-inner {
		padding-block: 68px 50px;
	}
	.rev-hero-actions .btn {
		width: 100%;
	}
	.rev-aggregate {
		gap: 12px;
		padding: 14px 20px;
	}
}
