﻿/* ==========================================================================
   STATS SECTION — 2-column split (copy + 2×2 cards)
   Markup lives in: page-templates/home.php (section "5. STATS SECTION")
   Background comes from the section-bg engine (color / image / gradient).
   ========================================================================== */

.stats-section {
	position: relative;
	padding: 80px 0;
	color: var(--color-text-dark);
}

.stats-section__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: center;
}

.stats-section__subtitle {
	color: var(--color-primary, #03193C);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 12px;
}

.stats-section__title {
	font-family: var(--font-heading, var(--font-display));
	font-size: var(--fs-h2);
	font-weight: 800;
	color: #111827;
	margin: 0 0 16px;
	line-height: 1.2;
}

.stats-section__accent {
	color: var(--color-accent, #FE5C08);
	font-style: italic;
	font-weight: 600;
}

.stats-section__desc {
	color: var(--color-text-muted, #6b7280);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 520px;
}

.stats-section .btn {
	box-shadow: none;
	filter: none;
}

/* ---------------- 2×2 cards ---------------- */
.stats-section__cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.stat-card {
	background: #2b2b2b;
	border-radius: 12px;
	padding: 28px 20px;
	text-align: center;
	color: #ffffff;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.stat-card__number {
	display: block;
	font-family: var(--font-heading, var(--font-display));
	font-size: 38px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 8px;
	color: inherit;
	font-variant-numeric: tabular-nums;
}

.stat-card__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	transition: color 0.3s ease;
}

.stat-card:hover {
	background-color: var(--color-accent, #FE5C08);
	color: #ffffff;
	transform: translateY(-4px);
}

.stat-card:hover .stat-card__label {
	color: #ffffff;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
	.stats-section {
		padding: 56px 0;
	}

	.stats-section__grid {
		grid-template-columns: 1fr;
		gap: var(--space-lg);
	}

	.stats-section__title {
		font-size: 32px;
	}
}

@media (max-width: 480px) {
	.stats-section__cards {
		grid-template-columns: 1fr;
	}
}
