/*
 * Contadores. Se usa el widget nativo "Contador" de Elementor (es gratis y ya anima al entrar).
 * La diseñadora configura número inicial, final, prefijo (+) y duración en el widget.
 * Para "1960 → 1997": número inicial 1960, final 1997, sin separador de miles.
 *
 *   Contenedor (grid)   → stats
 *     Contador          → stats__item
 */

.stats {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 0 !important;
	width: calc(100% - 2 * var(--wrap-pad));
	max-width: calc(var(--wrap-max) - 2 * var(--wrap-pad));
	margin: 48px auto 0;
	border-top: 1px solid rgba(255, 255, 255, .3);
}

.stats__item {
	min-width: 0;
	padding: 32px 12px 24px 0;
	border-right: 1px solid rgba(255, 255, 255, .3);
}
.stats__item:nth-child(even) { border-right: 0; padding-left: 16px; }

.stats__item .elementor-counter-number-wrapper {
	justify-content: flex-start;
	align-items: baseline;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(43px, 11.5vw, 62px);
	letter-spacing: -.065em;
	white-space: nowrap;
	line-height: 1;
	color: #fff;
}
.stats__item .elementor-counter-number-prefix {
	flex-grow: 0;
	font-size: .55em;
	color: #fff;
}
.stats__item .elementor-counter-title {
	width: 100%;
	justify-content: flex-start; /* Elementor centra el título del contador */
	margin-top: 10px;
	font-family: var(--font-body);
	font-size: clamp(13px, 3.7vw, 16px);
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
	color: #FFE3DF;
}

@media (min-width: 768px) {
	.stats { margin-top: 70px; }
	.stats__item { padding: 34px 24px 40px 0; }
	.stats__item:nth-child(even) { padding-left: 24px; }
	.stats__item .elementor-counter-number-wrapper { font-size: clamp(50px, 7vw, 78px); letter-spacing: -.05em; }
	.stats__item .elementor-counter-title { font-size: 16px; }
}

@media (min-width: 1025px) {
	.stats { grid-template-columns: repeat(4, 1fr); margin-top: clamp(58px, 7vw, 95px); }
	.stats__item .elementor-counter-number-wrapper { font-size: clamp(48px, 6vw, 96px); }
	.stats__item:nth-child(even) { border-right: 1px solid rgba(255, 255, 255, .3); }
	.stats__item + .stats__item { padding-left: 28px; }
	.stats__item:last-child { border-right: 0; }
}
