/**
 * Stats band — honey gradient strip with a row of big numbers.
 *
 * Shared by the homepage ("Každý deň pre vás vyrobíme") and the About page
 * ("Každý mesiac…"), so it lives here rather than in pages/home.css. Class
 * names keep the .home- prefix they were generated with. See DESIGN-SYSTEM.md §5.
 */

.home-stats {
	position: relative;
	background: linear-gradient( 160deg, var( --c-honey-300 ) 0%, var( --c-honey-500 ) 78% );
	overflow: hidden;
	text-align: center;
}

.home-stats__inner {
	position: relative;
	/* needed_tokens: --space-78, --space-86 (not in tokens.css yet) — fallback matches mockup exactly. */
	padding-top: var( --space-78 );
	padding-bottom: var( --space-86 );
}

.home-stats__title {
	margin-bottom: var( --space-8 );
	color: var( --c-cocoa-900 );
}

.home-stats__title em {
	font-style: italic;
	font-weight: var( --fw-540 );
	color: var( --surface-page );
}

.home-stats__since {
	display: inline-block;
	margin-bottom: var( --space-52 );
	padding: var( --space-8 ) var( --space-20 );
	border-radius: var( --radius-pill );
	background: var( --c-white-a50 );
	box-shadow: var( --ring-cocoa9-soft );
	font-weight: var( --fw-black );
	font-size: var( --fs-14 );
	letter-spacing: var( --ls-label );
	text-transform: uppercase;
	color: var( --c-cocoa-900 );
}

.home-stats__grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: var( --space-26 );
}

.home-stats__item {
	padding: var( --space-8 );
}

.home-stats__num {
	font-family: var( --font-display );
	font-weight: var( --fw-620 );
	font-size: var( --fs-d1 );
	color: var( --c-cocoa-900 );
	line-height: 1;
	text-shadow: var( --shadow-inset-top );
}

.home-stats__label {
	margin-top: var( --space-8 );
	font-weight: var( --fw-black );
	font-size: var( --fs-15 );
	color: var( --color-heading );
}

.home-stats__rule {
	width: var( --space-56 );
	height: var( --space-4 );
	margin: var( --space-14 ) auto 0;
	border-radius: var( --radius-pill );
	background: var( --c-cocoa9-a22 );
}

@media ( max-width: 767px ) {

	.home-stats__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 479px ) {

	.home-stats__grid {
		grid-template-columns: 1fr;
	}
}
