/**
 * Home — Sezione 4: I risultati parlano (4 stat affiancate, sfondo scuro).
 */

.home-results {
	padding: clamp(3.5rem, 10vw, 6.5rem) clamp(1rem, 5vw, 4rem);
	background-color: #111111;
	background-color: var(--color-results-bg, #111111);
	color: #ffffff;
	border-top: none;
	overflow-x: clip;
}

.home-results__inner {
	max-width: min(94vw, 84rem);
	margin: 0 auto;
	text-align: center;
}

.home-results__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 2.75rem);
}

@media (min-width: 40rem) {
	.home-results__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(2rem, 3.5vw, 3rem);
	}
}

@media (min-width: 75rem) {
	.home-results__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.25rem;
		align-items: start;
	}
}

.home-results__item {
	container-type: inline-size;
	min-width: 0;
	padding: 0 clamp(0.35rem, 1vw, 0.85rem);
}

.home-results__value {
	margin: 0 0 clamp(0.65rem, 1.5vw, 0.85rem);
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 10cqi, 3.25rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: #ffffff;
	text-wrap: balance;
	max-width: 100%;
}

.home-results__item--accent .home-results__value {
	color: var(--color-accent, #e42313);
}

.home-results__value-suffix {
	white-space: nowrap;
}

.home-results__item--medium .home-results__value {
	font-size: clamp(1.625rem, 8.5cqi, 2.75rem);
	line-height: 1.1;
}

.home-results__label {
	margin: 0 auto;
	max-width: 16rem;
	font-family: var(--font-body);
	font-size: clamp(0.875rem, 1vw, 0.9375rem);
	line-height: 1.5;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.72);
	text-wrap: pretty;
}

.home-results__footnote {
	margin: clamp(2rem, 5vw, 2.75rem) auto 0;
	font-family: var(--font-body);
	font-size: clamp(0.75rem, 0.9vw, 0.8125rem);
	line-height: 1.5;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.45);
	max-width: 36rem;
}

@media (min-width: 75rem) {
	.home-results__grid {
		gap: 1.5rem;
	}

	.home-results__item {
		overflow-x: clip;
	}

	.home-results__value {
		font-size: min(2.35rem, 8cqi);
		line-height: 1.08;
	}

	.home-results__item--stat-1 .home-results__value {
		font-size: min(2.05rem, 7.5cqi);
		letter-spacing: -0.04em;
	}

	.home-results__item--accent .home-results__value {
		font-size: min(2.1rem, 7.75cqi);
		white-space: nowrap;
		text-wrap: nowrap;
	}

	.home-results__item--medium .home-results__value {
		font-size: min(2.25rem, 8cqi);
	}

	.home-results__label {
		font-size: 1rem;
		line-height: 1.55;
		max-width: 14.5rem;
		color: rgba(255, 255, 255, 0.78);
	}

	.home-results__item:not(:last-child) {
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		padding-right: 0.85rem;
	}

	.home-results__item:not(:first-child) {
		padding-left: 0.85rem;
	}
}

@media (max-width: 39.99rem) {
	.home-results__item:not(:last-child) {
		padding-bottom: clamp(1.5rem, 4vw, 2rem);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
}

@media (min-width: 90rem) {
	.home-results__value,
	.home-results__item--stat-1 .home-results__value,
	.home-results__item--accent .home-results__value,
	.home-results__item--medium .home-results__value {
		font-size: min(2.5rem, 14cqi);
	}

	.home-results__label {
		font-size: 1.0625rem;
	}
}
