/**
 * reviews.css — Student Point Sikar 2026
 *
 * Reviews page design. Self-contained (:root tokens redeclared here, same
 * values as css/header.css) so this file loads correctly regardless of
 * enqueue order, matching the css/course-packages.css / css/cut-off.css
 * convention. .reviews-* namespace keeps selectors scoped to this page.
 *
 * Reuses the global .container (style.css). Fonts (Sora + DM Sans) and
 * FontAwesome are enqueued globally by the theme.
 */

:root {
	--primary: #1565c0;
	--primary-dark: #0d47a1;
	--primary-light: #1976d2;
	--accent: #f9d67b;
	--accent-dark: #f0c44a;
	--dark: #1a1a2e;
	--gray: #5a6a85;
	--light-gray: #eef4ff;
	--border: #d0def5;
	--white: #ffffff;
	--font-head: 'Sora', sans-serif;
	--font-body: 'DM Sans', sans-serif;
	--shadow-sm: 0 2px 12px rgba( 21, 101, 192, 0.08 );
	--shadow-md: 0 8px 32px rgba( 21, 101, 192, 0.14 );
	--shadow-lg: 0 16px 48px rgba( 21, 101, 192, 0.2 );
	--hero-grad: linear-gradient( 135deg, #0d47a1 0%, #1565c0 55%, #1976d2 100% );
	--radius: 12px;
	--radius-sm: 8px;
	--transition: all 0.3s ease;
}

.reviews-page {
	font-family: var( --font-body );
	color: var( --dark );
}

.reviews-page h1,
.reviews-page h2,
.reviews-page h3 {
	font-family: var( --font-head );
}

/* ---- shared primitives ---- */
.reviews-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 6px 16px;
	border: 1px solid rgba( 249, 214, 123, 0.5 );
	border-radius: 999px;
	background: rgba( 249, 214, 123, 0.2 );
	font-family: var( --font-head );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --primary );
}
.reviews-badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var( --accent-dark );
}
.reviews-badge-light {
	border-color: rgba( 249, 214, 123, 0.45 );
	background: rgba( 249, 214, 123, 0.18 );
	color: var( --accent );
}
.reviews-badge-light .reviews-badge-dot {
	background: var( --accent );
}

.reviews-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: var( --transition );
}
.reviews-btn:hover {
	transform: translateY( -2px );
}
.reviews-btn-accent {
	border-color: var( --accent );
	background: var( --accent );
	color: var( --primary );
}
.reviews-btn-accent:hover {
	background: var( --accent-dark );
	box-shadow: 0 8px 24px rgba( 249, 214, 123, 0.35 );
}
.reviews-btn-ghost {
	border-color: rgba( 255, 255, 255, 0.45 );
	color: var( --white );
}
.reviews-btn-ghost:hover {
	background: var( --white );
	color: var( --primary );
}

/* ---- HERO ---- */
.reviews-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 96px;
	text-align: center;
	background: var( --hero-grad );
}
.reviews-hero-ring {
	position: absolute;
	border-radius: 999px;
	border: 1px solid rgba( 255, 255, 255, 0.1 );
	pointer-events: none;
}
.reviews-hero-ring-1 {
	top: -176px;
	right: -96px;
	width: 430px;
	height: 430px;
}
.reviews-hero-ring-2 {
	bottom: -96px;
	left: 6%;
	width: 240px;
	height: 240px;
}
.reviews-hero-inner {
	position: relative;
	z-index: 1;
}
.reviews-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 20px;
	font-size: 13px;
	color: rgba( 255, 255, 255, 0.65 );
}
.reviews-breadcrumb a {
	color: rgba( 255, 255, 255, 0.65 );
	text-decoration: none;
	transition: color 0.2s ease;
}
.reviews-breadcrumb a:hover {
	color: var( --accent );
}
.reviews-breadcrumb-sep {
	font-size: 10px;
	color: rgba( 255, 255, 255, 0.35 );
}
.reviews-breadcrumb-current {
	font-weight: 600;
	color: var( --accent );
}
.reviews-hero-title {
	margin: 0 0 20px;
	font-family: var( --font-head );
	font-size: clamp( 34px, 5vw, 58px );
	font-weight: 800;
	line-height: 1.15;
	color: var( --white );
	text-transform: uppercase;
}
.reviews-hero-sub {
	max-width: 650px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.6;
	color: rgba( 255, 255, 255, 0.75 );
}
.reviews-hero-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	margin-top: 48px;
}
.reviews-hero-stat strong {
	display: block;
	font-family: var( --font-head );
	font-size: 36px;
	font-weight: 800;
	color: var( --white );
}
.reviews-hero-stat strong span {
	font-size: 18px;
	font-weight: 600;
	color: rgba( 255, 255, 255, 0.7 );
}
.reviews-hero-stat p {
	margin: 6px 0 0;
	font-size: 13px;
	color: rgba( 255, 255, 255, 0.65 );
}
.reviews-hero-stat p i {
	color: var( --accent-dark );
}

/* ---- REVIEWS GRID ---- */
.reviews-list {
	padding: 80px 0;
	background: var( --light-gray );
}
.reviews-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 24px;
}
.reviews-card {
	padding: 24px;
	border: 1px solid var( --border );
	border-radius: var( --radius );
	background: var( --white );
	box-shadow: var( --shadow-md );
}
.reviews-stars {
	margin-bottom: 16px;
	font-size: 14px;
	color: var( --accent-dark );
}
.reviews-quote {
	margin: 0 0 24px;
	line-height: 1.75;
	color: var( --gray );
}
.reviews-person {
	display: flex;
	align-items: center;
	gap: 12px;
}
.reviews-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var( --light-gray );
	font-family: var( --font-head );
	font-weight: 700;
	color: var( --primary );
}
.reviews-avatar-img {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	object-fit: cover;
	flex-shrink: 0;
}
.reviews-person h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
}
.reviews-person p {
	margin: 0;
	font-size: 12px;
	color: var( --gray );
}

/* ---- CTA ---- */
.reviews-cta {
	padding: 80px 0;
	background: var( --white );
}
.reviews-cta-panel {
	position: relative;
	overflow: hidden;
	padding: 40px;
	border-radius: var( --radius );
	background: var( --hero-grad );
	box-shadow: var( --shadow-lg );
}
.reviews-cta-ring {
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
}
.reviews-cta-ring-1 {
	top: -80px;
	right: -64px;
	width: 224px;
	height: 224px;
	border: 1px solid rgba( 255, 255, 255, 0.1 );
}
.reviews-cta-ring-2 {
	bottom: -80px;
	left: 40px;
	width: 176px;
	height: 176px;
	border: 1px solid rgba( 249, 214, 123, 0.2 );
}
.reviews-cta-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 40px;
}
.reviews-cta-title {
	margin: 0 0 16px;
	font-family: var( --font-head );
	font-size: clamp( 28px, 4vw, 44px );
	font-weight: 800;
	line-height: 1.2;
	color: var( --white );
}
.reviews-cta-sub {
	max-width: 620px;
	margin: 0;
	font-size: 16px;
	line-height: 1.75;
	color: rgba( 255, 255, 255, 0.75 );
}
.reviews-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

/* ---- scroll reveal (visibility toggled by js/header.js) ---- */
.reviews-page .sp-anim {
	opacity: 0;
	transform: translateY( 24px );
	transition: opacity 0.55s ease, transform 0.55s ease;
}
.reviews-page .sp-anim.sp-visible {
	opacity: 1;
	transform: none;
}

/* ---- responsive ---- */
@media ( max-width: 992px ) {
	.reviews-grid {
		grid-template-columns: 1fr 1fr;
	}
	.reviews-cta-inner {
		grid-template-columns: 1fr;
	}
	.reviews-cta-actions {
		justify-content: flex-start;
	}
}

@media ( max-width: 600px ) {
	.reviews-grid {
		grid-template-columns: 1fr;
	}
	.reviews-hero-stats {
		gap: 24px;
	}
}
