/* Ecologika Elementor widgets — FTV TECH */

:root {
	--eco-el-lime: #7a9f2e;
	--eco-el-lime-dark: #6b8e23;
	--eco-el-deep: #1f3d2a;
	--eco-el-beige: #f7f7f2;
	--eco-el-ink: #1c1f1d;
	--eco-el-muted: #5f675f;
}

/* Full-bleed: niente padding Elementor intorno ai widget Ecologika */
.elementor-widget-ecologika_hero > .elementor-widget-container,
.elementor-widget-ecologika_stats > .elementor-widget-container,
.elementor-widget-ecologika_cta > .elementor-widget-container {
	padding: 0 !important;
}

.elementor-section:has(.eco-el-hero),
.elementor-section:has(.eco-el-stats),
.elementor-section:has(.eco-el-cta) {
	padding: 0 !important;
	margin: 0 !important;
}

.elementor-section:has(.eco-el-hero) > .elementor-container,
.elementor-section:has(.eco-el-stats) > .elementor-container,
.elementor-section:has(.eco-el-cta) > .elementor-container {
	max-width: 100% !important;
	padding: 0 !important;
}

.elementor-section:has(.eco-el-hero) .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
.elementor-section:has(.eco-el-stats) .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
.elementor-section:has(.eco-el-cta) .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 0 !important;
}

/* ===== HERO SLIDE — curva unica morbida ===== */
.eco-el-hero {
	display: grid;
	grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.22fr);
	min-height: clamp(540px, 76vh, 680px);
	background: var(--eco-el-beige);
	overflow: hidden;
	width: 100%;
}

.eco-el-hero__left {
	position: relative;
	display: flex;
	align-items: center;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 3.5vw, 3.25rem);
	z-index: 2;
	background: var(--eco-el-beige);
}

.eco-el-hero__left-inner {
	position: relative;
	z-index: 2;
	max-width: 34rem;
}

.eco-el-hero__title {
	margin: 0 0 1.15rem;
	font-family: Manrope, "Segoe UI", sans-serif;
	font-size: clamp(2.35rem, 1.45rem + 2.7vw, 3.85rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--eco-el-ink);
}

.eco-el-hero__accent {
	color: var(--eco-el-lime-dark);
}

.eco-el-hero__text {
	margin: 0 0 1.75rem;
	max-width: 30rem;
	color: var(--eco-el-muted);
	font-size: 1.05rem;
	line-height: 1.55;
	font-family: Manrope, "Segoe UI", sans-serif;
}

.eco-el-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.eco-el-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--eco-el-lime-dark);
	color: #fff !important;
	font-family: Manrope, "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 0.86rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none !important;
	padding: 0.95rem 1.4rem;
	border-radius: 6px;
	transition: background 0.2s ease;
}

.eco-el-btn:hover {
	background: #58751c;
	color: #fff !important;
}

.eco-el-video {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--eco-el-ink) !important;
	font-family: Manrope, "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none !important;
}

.eco-el-play {
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 50%;
	border: 1.7px solid var(--eco-el-lime-dark);
	display: inline-grid;
	place-items: center;
	position: relative;
	flex-shrink: 0;
}

.eco-el-play::after {
	content: "";
	border-style: solid;
	border-width: 5px 0 5px 8px;
	border-color: transparent transparent transparent var(--eco-el-lime-dark);
	margin-left: 2px;
}

.eco-el-hero__leaves {
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(280px, 55%);
	opacity: 0.13;
	color: #7a8a70;
	pointer-events: none;
}

.eco-el-hero__right {
	position: relative;
	min-height: clamp(540px, 76vh, 680px);
	overflow: hidden;
	background: #1a2e20;
}

.eco-el-hero__img {
	width: 100%;
	height: 100%;
	min-height: clamp(540px, 76vh, 680px);
	object-fit: cover;
	object-position: 55% 38%;
	display: block;
}

/*
 * Onda: UNA sola gobba morbida (cubic), niente zig-zag.
 * Il beige del pannello sinistro “entra” nell’immagine.
 */
.eco-el-hero__wave {
	position: absolute;
	left: -1px;
	top: 0;
	height: 100%;
	width: clamp(120px, 22%, 220px);
	z-index: 2;
	pointer-events: none;
	display: block;
}

.eco-el-hero__quote {
	position: absolute;
	top: 16%;
	right: 0;
	bottom: 16%;
	width: min(48%, 270px);
	z-index: 3;
	background: rgba(31, 61, 42, 0.88);
	border-radius: 72% 0 0 58% / 44% 0 0 42%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.75rem 1.4rem 1.75rem 2.6rem;
	color: #fff;
	box-sizing: border-box;
}

.eco-el-hero__qmark {
	display: block;
	font-size: 2.8rem;
	line-height: 0.75;
	color: #8fbf3a;
	font-weight: 700;
	margin-bottom: 0.5rem;
	font-family: Georgia, serif;
}

.eco-el-hero__quote p {
	margin: 0;
	font-family: Manrope, "Segoe UI", sans-serif;
	font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.12rem);
	line-height: 1.4;
	font-weight: 500;
}

/* ===== STATS ===== */
.eco-el-stats {
	background: var(--eco-el-beige);
	padding: 2.4rem 4%;
	width: 100%;
	border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.eco-el-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	max-width: 1160px;
	margin: 0 auto;
}

.eco-el-stat {
	text-align: center;
}

.eco-el-stat__icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 0.6rem;
	border-radius: 50%;
	border: 1.5px solid rgba(107, 142, 35, 0.4);
	color: var(--eco-el-lime-dark);
	display: grid;
	place-items: center;
}

.eco-el-stat__title {
	font-family: Manrope, "Segoe UI", sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--eco-el-ink);
}

.eco-el-stat__title strong {
	font-size: 1.35rem;
	margin-right: 0.15rem;
}

.eco-el-stat p {
	margin: 0.4rem 0 0;
	color: var(--eco-el-muted);
	font-size: 0.88rem;
	font-family: Manrope, "Segoe UI", sans-serif;
}

/* ===== CTA BANNER ===== */
.eco-el-cta {
	background: var(--eco-el-deep);
	padding: 2.75rem 4%;
	width: 100%;
}

.eco-el-cta__inner {
	max-width: 1160px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1.75rem 2rem;
	align-items: center;
}

.eco-el-cta__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.eco-el-cta__text {
	margin: 0;
	color: #fff;
	font-family: Manrope, "Segoe UI", sans-serif;
	font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem);
	font-weight: 700;
	line-height: 1.35;
}

.eco-el-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: #8fbf3a;
	color: var(--eco-el-deep) !important;
	font-family: Manrope, "Segoe UI", sans-serif;
	font-weight: 800;
	font-size: 0.86rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none !important;
	padding: 0.95rem 1.4rem;
	border-radius: 6px;
	white-space: nowrap;
}

.eco-el-cta__btn:hover {
	filter: brightness(1.06);
	color: var(--eco-el-deep) !important;
}

/* Responsive */
@media (max-width: 980px) {
	.eco-el-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.eco-el-hero__right {
		min-height: 420px;
		order: 2;
	}

	.eco-el-hero__left {
		order: 1;
		padding: 2.25rem 1.25rem;
	}

	.eco-el-hero__img {
		min-height: 420px;
	}

	.eco-el-hero__wave {
		display: none;
	}

	.eco-el-hero__quote {
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		border-radius: 0;
		padding: 1.25rem 1.5rem;
		background: rgba(31, 61, 42, 0.92);
	}

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

	.eco-el-cta__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.eco-el-stats__grid {
		grid-template-columns: 1fr;
	}
}
