/* =========================================================================
   Spillantini — Landing Contatti
   Effetto hero: GetLayers "Komorebi" (ombra di chioma + dischi di sole),
   tinto sul verde del marchio #078169.
   Tutto è racchiuso in .spl per non toccare il resto del tema (XStore).
   ========================================================================= */

.spl {
	--spl-green: #078169;
	--spl-green-d: #056553;
	--spl-green-t: #e3f1ec;
	--spl-deep: #03201a;
	--spl-deep-2: #062c24;
	--spl-ink: #0f1d19;
	--spl-muted: #52625c;
	--spl-paper: #fbf9f4;
	--spl-cream: #f3efe5;
	--spl-white: #ffffff;
	--spl-line: rgba(15, 29, 25, .12);
	--spl-sun: #f3d27a;
	--spl-sun-d: #e9c158;
	--spl-sun-ink: #1f1806;
	--spl-radius: 22px;
	--spl-ease: cubic-bezier(.2, .8, .2, 1);
	--spl-font-display: "Archivo", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--spl-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

	position: relative;
	font-family: var(--spl-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--spl-ink);
	background: var(--spl-paper);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.spl--full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

html:has(.spl--full),
body:has(.spl--full) {
	overflow-x: clip;
}

.spl *,
.spl *::before,
.spl *::after {
	box-sizing: border-box;
}

/* reset a specificità di una classe: batte il tema, perde contro le regole qui sotto */
.spl :where(h1, h2, h3, p, ul, ol, li, figure, figcaption) {
	margin: 0;
	padding: 0;
}

.spl :where(h1, h2, h3) {
	font-family: var(--spl-font-display);
	text-transform: none;
	letter-spacing: -0.02em;
	color: inherit;
}

.spl :where(ul, ol) {
	list-style: none;
}

.spl img {
	display: block;
	max-width: 100%;
	height: auto;
}

.spl a {
	text-decoration: none;
	color: inherit;
}

.spl .spl-ic {
	width: 1.25em;
	height: 1.25em;
	flex: 0 0 auto;
}

.spl-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 40px);
}

/* ---------- Pulsanti ---------- */

.spl .spl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 26px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--spl-font-display);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .35s var(--spl-ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--spl-ease);
}

.spl .spl-btn .spl-ic {
	width: 18px;
	height: 18px;
	transition: transform .35s var(--spl-ease);
}

.spl .spl-btn:hover {
	transform: translateY(-2px);
}

.spl .spl-btn:hover .spl-ic {
	transform: translateX(3px);
}

.spl .spl-btn:focus-visible,
.spl .spl-link:focus-visible,
.spl summary:focus-visible {
	outline: 3px solid var(--spl-sun);
	outline-offset: 3px;
}

.spl .spl-btn--sun {
	background: var(--spl-sun);
	color: var(--spl-sun-ink);
	box-shadow: 0 10px 30px -10px rgba(243, 210, 122, .7);
}

.spl .spl-btn--sun:hover {
	background: #f7dc93;
	color: var(--spl-sun-ink);
	box-shadow: 0 16px 36px -12px rgba(243, 210, 122, .85);
}

.spl .spl-btn--glass {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .28);
	color: #fff;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.spl .spl-btn--glass:hover {
	background: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
}

.spl .spl-btn--green {
	background: var(--spl-green);
	color: #fff;
	box-shadow: 0 12px 30px -14px rgba(7, 129, 105, .8);
}

.spl .spl-btn--green:hover {
	background: var(--spl-green-d);
	color: #fff;
}

.spl .spl-btn--line {
	border-color: var(--spl-ink);
	color: var(--spl-ink);
	background: transparent;
}

.spl .spl-btn--line:hover {
	background: var(--spl-ink);
	color: #fff;
}

/* reset dei pulsanti "nostri" contro gli stili globali del tema */
.spl .spl-link,
.spl .spl-video__sound,
.spl [data-spl-interest-clear] {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
	min-height: 0;
	height: auto;
	width: auto;
	font: inherit;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
	color: inherit;
	cursor: pointer;
}

/* ---------- Testi ricorrenti ---------- */

.spl-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--spl-font-display);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--spl-green);
}

.spl-eyebrow--light {
	color: rgba(255, 255, 255, .86);
}

.spl-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

.spl-eyebrow--light .spl-dot {
	background: var(--spl-sun);
	box-shadow: 0 0 0 4px rgba(243, 210, 122, .2);
}

.spl .spl-h2 {
	margin-top: 14px;
	font-size: clamp(32px, 3.7vw, 54px);
	font-weight: 800;
	line-height: 1.04;
	color: var(--spl-ink);
}

.spl .spl-h2 em,
.spl .spl-h3 em,
.spl .spl-final__title em {
	font-style: normal;
	color: var(--spl-green);
}

.spl .spl-h3 {
	margin-top: 12px;
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 800;
	line-height: 1.08;
}

.spl-lead {
	font-size: clamp(16px, 1.25vw, 18.5px);
	line-height: 1.6;
	color: var(--spl-muted);
	max-width: 56ch;
}

.spl-head {
	margin-bottom: clamp(36px, 4.5vw, 60px);
}

.spl-head--split {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 20px 64px;
	align-items: end;
}

.spl-head--center {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.spl-head--center .spl-lead {
	margin-top: 16px;
}

.spl-center {
	margin-top: clamp(36px, 4vw, 52px);
	text-align: center;
}

.spl-sec {
	padding: clamp(76px, 9vw, 132px) 0;
}

/* ---------- Comparse ---------- */

.spl.is-js [data-spl-in] {
	opacity: 0;
	transform: translate3d(0, 26px, 0);
	filter: blur(6px);
	transition:
		opacity .7s var(--spl-ease) var(--d, 0s),
		transform 1.05s var(--spl-ease) var(--d, 0s),
		filter .9s var(--spl-ease) var(--d, 0s);
}

.spl.is-js [data-spl-in].is-in {
	opacity: 1;
	transform: none;
	filter: none;
}

.spl.is-js .spl-w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: .14em;
	margin-bottom: -.14em;
}

.spl.is-js .spl-w > span {
	display: inline-block;
	transform: translate3d(0, 108%, 0);
	opacity: 0;
	transition:
		transform 1.05s var(--spl-ease) calc(var(--i) * 52ms + 180ms),
		opacity .5s var(--spl-ease) calc(var(--i) * 52ms + 180ms);
}

.spl.is-js .spl-hero.is-on .spl-w > span {
	transform: none;
	opacity: 1;
}

/* =========================================================================
   HERO
   ========================================================================= */

.spl-hero {
	position: relative;
	isolation: isolate;
	min-height: min(940px, 100svh);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 9vw, 120px);
	background:
		radial-gradient(120% 80% at 80% 10%, rgba(111, 195, 160, .22), transparent 60%),
		radial-gradient(90% 70% at 10% 90%, rgba(7, 129, 105, .35), transparent 60%),
		var(--spl-deep);
	color: #fff;
	overflow: hidden;
}

.spl-fx {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
}

.spl-fx canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0;
	transform: scale(1.08);
	transition: opacity 1.6s var(--spl-ease), transform 2.6s var(--spl-ease);
}

.spl-fx.is-ready canvas {
	opacity: 1;
	transform: none;
}

.spl-fx.is-nogl canvas {
	display: none;
}

.spl-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(3, 32, 26, .86) 0%, rgba(3, 32, 26, .58) 42%, rgba(3, 32, 26, .18) 72%, rgba(3, 32, 26, .32) 100%),
		linear-gradient(180deg, rgba(3, 32, 26, .35) 0%, transparent 22%, transparent 70%, rgba(3, 32, 26, .7) 100%);
}

.spl-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.spl .spl-hero__title {
	margin-top: 22px;
	font-size: clamp(40px, 4.7vw, 74px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #fff;
	text-wrap: balance;
}

.spl .spl-hero__title em {
	font-style: normal;
	color: var(--spl-sun);
}

.spl-hero__text {
	margin-top: 24px;
	max-width: 54ch;
	font-size: clamp(16.5px, 1.3vw, 19px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .8);
}

.spl-checks {
	margin-top: 26px;
	display: grid;
	gap: 10px;
}

.spl-checks li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15.5px;
	color: rgba(255, 255, 255, .9);
}

.spl-checks .spl-ic {
	width: 26px;
	height: 26px;
	padding: 5px;
	border-radius: 50%;
	background: rgba(243, 210, 122, .16);
	color: var(--spl-sun);
	stroke-width: 2.2;
}

.spl-hero__actions {
	margin-top: 34px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.spl-hero__direct {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
}

.spl .spl-hero__direct a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-family: var(--spl-font-display);
	font-weight: 700;
	font-size: 17px;
	transition: opacity .2s;
}

.spl .spl-hero__direct a:hover {
	opacity: .8;
	color: #fff;
}

.spl-hero__direct .spl-ic {
	width: 44px;
	height: 44px;
	padding: 11px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25);
	background: rgba(255, 255, 255, .06);
}

.spl-hero__direct span {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.spl-hero__direct small {
	font-family: var(--spl-font);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}

.spl-scrollcue {
	position: absolute;
	left: 50%;
	bottom: 66px;
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border: 1.5px solid rgba(255, 255, 255, .4);
	border-radius: 14px;
}

.spl-scrollcue span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 3px;
	height: 8px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: #fff;
	animation: spl-cue 2s var(--spl-ease) infinite;
}

@keyframes spl-cue {
	0% { transform: translateY(0); opacity: 0; }
	30% { opacity: 1; }
	100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Card del modulo ---------- */

.spl-formcard {
	position: relative;
	padding: clamp(24px, 2.6vw, 36px);
	border-radius: 26px;
	background: rgba(251, 249, 244, .97);
	color: var(--spl-ink);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, .6) inset,
		0 40px 90px -30px rgba(0, 0, 0, .55),
		0 0 0 1px rgba(255, 255, 255, .12);
	scroll-margin-top: 110px;
}

.spl-formcard::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, rgba(243, 210, 122, .9), rgba(7, 129, 105, .2) 40%, transparent 70%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.spl-formcard.is-pulse {
	animation: spl-pulse 1.4s var(--spl-ease);
}

@keyframes spl-pulse {
	0% { box-shadow: 0 0 0 0 rgba(243, 210, 122, .0), 0 40px 90px -30px rgba(0, 0, 0, .55); }
	25% { box-shadow: 0 0 0 10px rgba(243, 210, 122, .45), 0 40px 90px -30px rgba(0, 0, 0, .55); }
	100% { box-shadow: 0 0 0 26px rgba(243, 210, 122, 0), 0 40px 90px -30px rgba(0, 0, 0, .55); }
}

.spl-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: var(--spl-green-t);
	color: var(--spl-green-d);
	font-family: var(--spl-font-display);
	font-size: 13px;
	font-weight: 700;
}

.spl-badge .spl-ic {
	width: 18px;
	height: 18px;
}

.spl .spl-formcard__title {
	margin-top: 16px;
	font-size: clamp(24px, 2vw, 30px);
	font-weight: 800;
	line-height: 1.1;
	color: var(--spl-ink);
}

.spl-formcard__text {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--spl-muted);
}

.spl-interest {
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px 10px 16px;
	border-radius: 14px;
	background: #fff6dc;
	border: 1px solid rgba(233, 193, 88, .6);
	font-size: 14px;
	color: #5a4610;
}

.spl-interest[hidden] {
	display: none;
}

.spl .spl-interest button {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 20px;
	line-height: 1;
	color: #5a4610;
	background: rgba(233, 193, 88, .25);
}

.spl-formcard__form {
	margin-top: 18px;
}

.spl-formcard__note {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--spl-muted);
}

.spl-formcard__note .spl-ic {
	width: 16px;
	height: 16px;
	color: var(--spl-green);
}

.spl-formcard__empty {
	padding: 16px;
	border: 1px dashed var(--spl-line);
	border-radius: 12px;
	font-size: 14px;
	color: var(--spl-muted);
}

/* WPForms dentro la card: variabili del tema "modern" + regole di sicurezza */
.spl .spl-formcard .wpforms-container,
.spl .spl-formcard .wpforms-container-full {
	--wpforms-field-border-radius: 12px;
	--wpforms-field-background-color: #ffffff;
	--wpforms-field-border-color: rgba(15, 29, 25, .16);
	--wpforms-field-border-size: 1px;
	--wpforms-field-text-color: #0f1d19;
	--wpforms-field-size-input-height: 50px;
	--wpforms-field-size-font-size: 15.5px;
	--wpforms-field-size-padding-h: 16px;
	--wpforms-label-color: #0f1d19;
	--wpforms-label-sublabel-color: #52625c;
	--wpforms-label-error-color: #c0392b;
	--wpforms-button-background-color: #078169;
	--wpforms-button-text-color: #ffffff;
	--wpforms-button-border-radius: 14px;
	--wpforms-button-size-height: 54px;
	--wpforms-button-size-font-size: 16px;
	--wpforms-page-break-color: #078169;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none;
}

.spl .spl-formcard .wpforms-form .wpforms-field {
	padding: 6px 0 !important;
}

.spl .spl-formcard .wpforms-form input[type="text"],
.spl .spl-formcard .wpforms-form input[type="email"],
.spl .spl-formcard .wpforms-form input[type="tel"],
.spl .spl-formcard .wpforms-form input[type="number"],
.spl .spl-formcard .wpforms-form select,
.spl .spl-formcard .wpforms-form textarea {
	width: 100% !important;
	max-width: 100% !important;
	height: 50px;
	padding: 0 16px !important;
	border: 1px solid rgba(15, 29, 25, .16) !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: none !important;
	font-family: var(--spl-font) !important;
	font-size: 15.5px !important;
	color: var(--spl-ink) !important;
	transition: border-color .2s, box-shadow .2s;
}

.spl .spl-formcard .wpforms-form textarea {
	height: 108px !important;
	min-height: 96px;
	padding: 13px 16px !important;
	line-height: 1.5 !important;
	resize: vertical;
}

.spl .spl-formcard .wpforms-form input::placeholder,
.spl .spl-formcard .wpforms-form textarea::placeholder {
	color: #7c8a85 !important;
	opacity: 1;
}

.spl .spl-formcard .wpforms-form input:focus,
.spl .spl-formcard .wpforms-form select:focus,
.spl .spl-formcard .wpforms-form textarea:focus {
	border-color: var(--spl-green) !important;
	box-shadow: 0 0 0 4px rgba(7, 129, 105, .14) !important;
	outline: none !important;
}

.spl .spl-formcard .wpforms-form .wpforms-field-label {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: var(--spl-ink) !important;
	margin-bottom: 6px !important;
}

.spl .spl-formcard .wpforms-form .wpforms-field-row {
	max-width: none !important;
}

.spl .spl-formcard .wpforms-form .wpforms-submit-container {
	margin-top: 10px !important;
	padding: 0 !important;
}

.spl .spl-formcard .wpforms-form button[type="submit"],
.spl .spl-formcard .wpforms-form .wpforms-submit {
	width: 100% !important;
	height: 56px !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--spl-green) !important;
	color: #fff !important;
	font-family: var(--spl-font-display) !important;
	font-size: 16.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	box-shadow: 0 14px 30px -14px rgba(7, 129, 105, .9) !important;
	transition: background-color .25s, transform .35s var(--spl-ease) !important;
	cursor: pointer;
}

.spl .spl-formcard .wpforms-form button[type="submit"]:hover,
.spl .spl-formcard .wpforms-form .wpforms-submit:hover {
	background: var(--spl-green-d) !important;
	transform: translateY(-1px);
}

.spl .spl-formcard .wpforms-form label.wpforms-error,
.spl .spl-formcard .wpforms-form em.wpforms-error {
	font-size: 12.5px !important;
	color: #c0392b !important;
}

.spl .spl-formcard .wpforms-confirmation-container-full,
.spl .spl-formcard div[submit-success] > .wpforms-confirmation-container-full {
	margin: 0 !important;
	padding: 22px 22px !important;
	border: 0 !important;
	border-radius: 16px !important;
	background: var(--spl-green-t) !important;
	color: var(--spl-green-d) !important;
	font-size: 16px;
}

.spl-formcard.is-sent .spl-formcard__note,
.spl-formcard.is-sent .spl-interest {
	display: none;
}

/* Cloudflare Turnstile: centrato e senza sbordare */
.spl .spl-formcard .wpforms-recaptcha-container {
	padding: 6px 0 0 !important;
	overflow: hidden;
}

/* =========================================================================
   VANTAGGI
   ========================================================================= */

.spl-benefits {
	position: relative;
	z-index: 2;
	margin-top: -46px;
}

.spl-benefits__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	background: #fff;
	border-radius: var(--spl-radius);
	box-shadow: 0 30px 60px -36px rgba(3, 32, 26, .45), 0 0 0 1px var(--spl-line);
	overflow: hidden;
}

.spl-benefits__list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 26px 22px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--spl-muted);
}

.spl-benefits__list li + li {
	border-left: 1px solid var(--spl-line);
}

.spl-benefits__list b {
	display: block;
	margin-bottom: 3px;
	font-family: var(--spl-font-display);
	font-size: 16px;
	color: var(--spl-ink);
}

.spl-benefits__ic {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--spl-green-t);
	color: var(--spl-green);
}

.spl-benefits__ic .spl-ic {
	width: 22px;
	height: 22px;
}

/* =========================================================================
   SOLUZIONI
   ========================================================================= */

.spl-sol__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 26px);
}

.spl-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--spl-radius);
	background: #fff;
	box-shadow: 0 0 0 1px var(--spl-line);
	overflow: hidden;
	transition: transform .5s var(--spl-ease), box-shadow .5s var(--spl-ease);
}

.spl-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 0 0 1px rgba(7, 129, 105, .25), 0 34px 60px -30px rgba(3, 32, 26, .45);
}

.spl-card__media {
	position: relative;
	aspect-ratio: 4 / 3.2;
	overflow: hidden;
	background: var(--spl-cream);
}

.spl .spl-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--spl-ease);
}

.spl-card:hover .spl-card__media img {
	transform: scale(1.06);
}

.spl-card__tag {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(3, 32, 26, .55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
}

.spl-card__num {
	position: absolute;
	right: 16px;
	bottom: 6px;
	font-family: var(--spl-font-display);
	font-size: 64px;
	font-weight: 800;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
	letter-spacing: -0.04em;
}

.spl-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	padding: 24px 26px 26px;
}

.spl .spl-card__body h3 {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--spl-ink);
}

.spl-card__body p {
	flex: 1;
	color: var(--spl-muted);
	font-size: 15.5px;
}

.spl .spl-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	align-self: flex-start;
	font-family: var(--spl-font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--spl-green);
	border-bottom: 1.5px solid rgba(7, 129, 105, .3);
	padding-bottom: 3px;
	transition: color .2s, border-color .2s;
}

.spl .spl-link:hover {
	color: var(--spl-green-d);
	border-color: var(--spl-green-d);
	background: none;
}

.spl .spl-link .spl-ic {
	width: 17px;
	height: 17px;
	transition: transform .35s var(--spl-ease);
}

.spl .spl-link:hover .spl-ic {
	transform: translateX(4px);
}

/* =========================================================================
   VIDEO
   ========================================================================= */

.spl-video {
	position: relative;
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(7, 129, 105, .45), transparent 60%),
		var(--spl-deep);
	color: #fff;
	overflow: hidden;
}

.spl-video__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.spl-video .spl-h2 {
	color: #fff;
}

.spl-video .spl-h2 em {
	color: var(--spl-sun);
}

.spl-video .spl-lead {
	margin: 18px 0 30px;
	color: rgba(255, 255, 255, .74);
}

.spl-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 24px;
	overflow: hidden;
	background: #021411;
	box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
}

.spl-video__frame.is-vertical {
	aspect-ratio: 9 / 16;
	max-height: 78vh;
	margin: 0 auto;
}

.spl-video__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.spl .spl-video__sound {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(3, 32, 26, .55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .3);
	color: #fff;
	transition: background-color .2s, transform .3s var(--spl-ease);
}

.spl .spl-video__sound:hover {
	background: rgba(3, 32, 26, .8);
	transform: scale(1.06);
}

.spl-video__sound .is-on,
.spl-video__frame.is-sound .spl-video__sound .is-off {
	display: none;
}

.spl-video__frame.is-sound .spl-video__sound .is-on {
	display: inline-flex;
}

.spl-video__sound .is-off {
	display: inline-flex;
}

/* =========================================================================
   REALIZZAZIONI + CASE STUDY
   ========================================================================= */

.spl-works__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 26px);
}

.spl-work {
	position: relative;
	aspect-ratio: 4 / 4.6;
	border-radius: var(--spl-radius);
	overflow: hidden;
	background: var(--spl-cream);
}

.spl .spl-work img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--spl-ease);
}

.spl-work:hover img {
	transform: scale(1.06);
}

.spl-work figcaption {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 70px 22px 22px;
	background: linear-gradient(180deg, transparent, rgba(3, 20, 16, .88));
	color: #fff;
}

.spl-work figcaption b {
	font-family: var(--spl-font-display);
	font-size: 21px;
	line-height: 1.15;
}

.spl-work__kind {
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--spl-sun);
	color: var(--spl-sun-ink);
	font-size: 12px;
	font-weight: 700;
}

.spl-work__place {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: rgba(255, 255, 255, .78);
}

.spl-work__place .spl-ic {
	width: 16px;
	height: 16px;
}

.spl-case {
	margin-top: clamp(56px, 7vw, 100px);
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(40px, 6vw, 90px);
	align-items: center;
}

.spl-case__media {
	position: relative;
	padding-bottom: 56px;
}

.spl-case__a {
	aspect-ratio: 16 / 10.5;
	border-radius: var(--spl-radius);
	overflow: hidden;
}

.spl-case__b {
	position: absolute;
	right: -18px;
	bottom: 0;
	width: 44%;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	overflow: hidden;
	border: 7px solid var(--spl-paper);
	box-shadow: 0 30px 60px -30px rgba(3, 32, 26, .55);
	will-change: transform;
}

.spl .spl-case__a img,
.spl .spl-case__b img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.spl-case__copy > p:not(.spl-eyebrow) {
	margin: 18px 0 28px;
	color: var(--spl-muted);
	font-size: 16.5px;
}

/* =========================================================================
   PROCESSO
   ========================================================================= */

.spl-proc {
	background: var(--spl-cream);
}

.spl-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
}

.spl-steps__rail {
	position: absolute;
	top: 28px;
	left: calc(100% / var(--n, 4) / 2);
	right: calc(100% / var(--n, 4) / 2);
	height: 2px;
	background: rgba(15, 29, 25, .12);
	border-radius: 2px;
}

.spl-steps__rail span {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--spl-green), #2fb08f);
	transform-origin: left center;
	transform: scaleX(var(--p, 0));
	border-radius: inherit;
}

.spl-step {
	position: relative;
	text-align: center;
	padding: 0 6px;
}

.spl-step__n {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: var(--spl-paper);
	border: 2px solid rgba(15, 29, 25, .14);
	font-family: var(--spl-font-display);
	font-size: 20px;
	font-weight: 800;
	color: var(--spl-ink);
	transition: background-color .5s, border-color .5s, color .5s, transform .6s var(--spl-ease);
}

.spl-step.is-in .spl-step__n {
	background: var(--spl-green);
	border-color: var(--spl-green);
	color: #fff;
	transition-delay: calc(var(--d, 0s) + .3s);
}

.spl .spl-step h3 {
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--spl-ink);
}

.spl-step p {
	margin-top: 8px;
	font-size: 15px;
	color: var(--spl-muted);
}

/* =========================================================================
   FAQ
   ========================================================================= */

.spl-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 6vw, 90px);
	align-items: start;
}

.spl-faq__contact {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	color: var(--spl-muted);
}

.spl-faq__contact p {
	width: 100%;
	font-size: 15px;
}

.spl .spl-faq__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--spl-font-display);
	font-weight: 700;
	color: var(--spl-green);
}

.spl .spl-faq__contact a:hover {
	color: var(--spl-green-d);
}

.spl-faq__list {
	border-top: 1px solid var(--spl-line);
}

.spl-qa {
	border-bottom: 1px solid var(--spl-line);
	interpolate-size: allow-keywords;
}

.spl-qa summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--spl-font-display);
	font-size: clamp(17px, 1.4vw, 20px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--spl-ink);
}

.spl-qa summary::-webkit-details-marker {
	display: none;
}

.spl-qa summary i {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--spl-green-t);
	color: var(--spl-green);
	transition: transform .45s var(--spl-ease), background-color .3s, color .3s;
}

.spl-qa[open] summary i {
	transform: rotate(45deg);
	background: var(--spl-green);
	color: #fff;
}

.spl-qa::details-content {
	block-size: 0;
	overflow: clip;
	transition: block-size .5s var(--spl-ease), content-visibility .5s allow-discrete;
}

.spl-qa[open]::details-content {
	block-size: auto;
}

.spl-qa__a p {
	padding: 0 56px 24px 0;
	color: var(--spl-muted);
	font-size: 16px;
}

/* =========================================================================
   CHIUSURA
   ========================================================================= */

.spl-final {
	position: relative;
	isolation: isolate;
	padding: clamp(96px, 12vw, 170px) 0;
	background:
		radial-gradient(80% 90% at 50% 0%, rgba(7, 129, 105, .5), transparent 70%),
		#021712;
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.spl-final::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(60% 70% at 50% 50%, rgba(2, 23, 18, .7), rgba(2, 23, 18, .15) 75%);
	pointer-events: none;
}

.spl-final__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.spl .spl-final__title {
	max-width: 17ch;
	font-size: clamp(34px, 4.8vw, 68px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: #fff;
	text-wrap: balance;
}

.spl .spl-final__title em {
	color: var(--spl-sun);
}

.spl-final__text {
	margin-top: 20px;
	max-width: 56ch;
	font-size: clamp(16px, 1.3vw, 19px);
	color: rgba(255, 255, 255, .78);
}

.spl-final__actions {
	margin-top: 36px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.spl-final__addr {
	margin-top: 34px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
}

.spl-final__addr .spl-ic {
	width: 16px;
	height: 16px;
}

/* =========================================================================
   BARRA CONTATTI MOBILE
   ========================================================================= */

.spl-bar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 9990;
	display: none;
	gap: 8px;
	padding: 8px;
	border-radius: 20px;
	background: rgba(3, 32, 26, .92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
	transform: translateY(calc(100% + 30px));
	transition: transform .55s var(--spl-ease);
}

.spl-bar.is-on {
	transform: none;
}

.spl .spl-bar__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 66px;
	height: 54px;
	padding: 0 10px;
	border-radius: 14px;
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	background: rgba(255, 255, 255, .07);
}

.spl .spl-bar__btn:hover {
	color: #fff;
}

.spl .spl-bar__btn--main {
	flex: 1;
	flex-direction: row;
	gap: 8px;
	background: var(--spl-sun);
	color: var(--spl-sun-ink);
	font-family: var(--spl-font-display);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.spl .spl-bar__btn--main:hover {
	color: var(--spl-sun-ink);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1180px) {
	.spl-benefits__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1px;
		background: var(--spl-line);
	}
	.spl-benefits__list li {
		background: #fff;
	}
	.spl-benefits__list li + li {
		border-left: 0;
	}
	.spl-benefits__list li:last-child {
		grid-column: span 2;
	}
}

@media (max-width: 1024px) {
	.spl-hero {
		min-height: 0;
	}
	.spl-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.spl-hero__shade {
		background:
			linear-gradient(180deg, rgba(3, 32, 26, .72) 0%, rgba(3, 32, 26, .5) 40%, rgba(3, 32, 26, .78) 100%);
	}
	.spl-formcard {
		max-width: 620px;
	}
	.spl-scrollcue {
		display: none;
	}
	.spl-bar {
		display: flex;
	}
	.spl.has-bar .spl-final {
		padding-bottom: calc(clamp(96px, 12vw, 170px) + 60px);
	}
	.spl-video__grid,
	.spl-case,
	.spl-faq__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.spl-video__frame {
		order: -1;
	}
	.spl-head--split {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.spl-sol__grid,
	.spl-works__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.spl-works__grid {
		grid-auto-flow: column;
		grid-auto-columns: 82%;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
		padding: 0 clamp(16px, 4vw, 40px) 4px;
	}
	.spl-works__grid::-webkit-scrollbar {
		display: none;
	}
	.spl-work {
		scroll-snap-align: center;
	}
	.spl-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		max-width: 520px;
		margin: 0 auto;
	}
	.spl-steps__rail {
		top: 28px;
		bottom: 28px;
		left: 27px;
		right: auto;
		width: 2px;
		height: auto;
	}
	.spl-steps__rail span {
		transform-origin: center top;
		transform: scaleY(var(--p, 0));
	}
	.spl-step {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		column-gap: 20px;
		text-align: left;
		padding: 0 0 30px;
	}
	.spl-step__n {
		grid-row: span 2;
		margin: 0;
	}
	.spl .spl-step h3 {
		align-self: end;
		padding-top: 4px;
	}
	.spl-step p {
		margin-top: 4px;
	}
}

@media (max-width: 640px) {
	.spl .spl-hero__title {
		font-size: clamp(34px, 10vw, 46px);
	}
	.spl-checks li {
		font-size: 15px;
	}
	.spl-hero__actions .spl-btn {
		width: 100%;
	}
	/* su telefono il modulo arriva prima: via il secondo pulsante */
	.spl-hero__actions .spl-btn--glass {
		display: none;
	}
	.spl-hero__direct {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.spl .spl-hero__direct a {
		font-size: 15px;
	}
	.spl-hero__direct .spl-ic {
		width: 38px;
		height: 38px;
		padding: 9px;
	}
	.spl-hero__direct {
		gap: 14px 22px;
	}
	.spl-benefits {
		margin-top: -32px;
	}
	.spl-benefits__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-radius: 18px;
	}
	.spl-benefits__list li {
		flex-direction: column;
		gap: 10px;
		padding: 18px 16px;
		font-size: 13px;
	}
	.spl-benefits__list li:last-child {
		grid-column: span 2;
		flex-direction: row;
		align-items: center;
	}
	.spl-benefits__list b {
		font-size: 15px;
	}
	.spl-benefits__ic {
		width: 36px;
		height: 36px;
		border-radius: 10px;
	}
	.spl-case__b {
		right: -6px;
		width: 52%;
	}
	.spl-qa__a p {
		padding-right: 0;
	}
	.spl-final__actions .spl-btn {
		width: 100%;
	}
	.spl .spl-card__num {
		font-size: 52px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spl *,
	.spl *::before,
	.spl *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
	.spl.is-js [data-spl-in] {
		filter: none;
		transform: none;
	}
}

/* Editor Elementor: niente larghezza forzata dentro l'anteprima */
.elementor-editor-active .spl--full {
	width: auto;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/* =========================================================================
   1.1 — HERO CON FOTO / VIDEO
   ========================================================================= */

.spl-hero__media {
	position: absolute;
	inset: 0;
	z-index: -3;
	overflow: hidden;
	background: var(--spl-deep);
}

.spl .spl-hero__media img,
.spl-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--spl-focus, 50% 40%);
	transform: scale(1.12);
	transition: transform 3.2s var(--spl-ease);
}

.spl-hero.is-on .spl-hero__video {
	transform: scale(1.03);
	animation: spl-drift 28s ease-in-out 3.2s infinite alternate;
}

@keyframes spl-drift {
	from { transform: scale(1.03) translate3d(0, 0, 0); }
	to { transform: scale(1.09) translate3d(-1.2%, -1%, 0); }
}

/* l'ombra di foglie si posa sulla foto */
.spl-fx--shade {
	mix-blend-mode: multiply;
	opacity: .9;
}

.spl-hero--media .spl-hero__shade {
	background:
		linear-gradient(90deg, rgba(3, 32, 26, .88) 0%, rgba(3, 32, 26, .66) 32%, rgba(3, 32, 26, .14) 60%, rgba(3, 32, 26, 0) 100%),
		linear-gradient(180deg, rgba(3, 32, 26, .3) 0%, transparent 20%, transparent 70%, rgba(3, 32, 26, .65) 100%);
}

@media (max-width: 1024px) {
	.spl-hero--media .spl-hero__shade {
		background: linear-gradient(180deg, rgba(3, 32, 26, .55) 0%, rgba(3, 32, 26, .7) 38%, rgba(3, 32, 26, .9) 100%);
	}
}

/* =========================================================================
   1.1 — CATALOGO
   ========================================================================= */

.spl-cat {
	background:
		radial-gradient(60% 80% at 0% 50%, rgba(7, 129, 105, .1), transparent 70%),
		var(--spl-cream);
	overflow: hidden;
}

.spl-cat__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}

.spl-cat__visual {
	perspective: 1400px;
	display: flex;
	justify-content: center;
}

.spl .spl-cat__book {
	position: relative;
	display: block;
	width: min(420px, 82%);
	aspect-ratio: 3 / 4;
	transform-style: preserve-3d;
	transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 4deg));
	transition: transform .8s var(--spl-ease);
}

.spl-cat__cover,
.spl-cat__page {
	position: absolute;
	inset: 0;
	border-radius: 6px 16px 16px 6px;
}

.spl-cat__page {
	background: #fff;
	box-shadow: 0 0 0 1px rgba(15, 29, 25, .08);
}

.spl-cat__page--2 {
	transform: translate3d(10px, 8px, -14px);
}

.spl-cat__page--3 {
	transform: translate3d(20px, 16px, -28px);
	background: #f2efe8;
}

.spl-cat__cover {
	overflow: hidden;
	background: var(--spl-deep);
	box-shadow: 0 50px 80px -30px rgba(3, 32, 26, .55), inset 6px 0 10px -6px rgba(0, 0, 0, .35);
}

.spl .spl-cat__cover img {
	width: 100%;
	height: 128%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 0;
}

.spl-cat__cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(3, 32, 26, 0) 40%, rgba(3, 32, 26, .85) 100%);
}

.spl-cat__label {
	position: absolute;
	left: 26px;
	right: 26px;
	bottom: 24px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	color: #fff;
	font-family: var(--spl-font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .04em;
}

.spl-cat__label b {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
	margin-bottom: 6px;
	color: var(--spl-sun);
}

.spl-cat__shine {
	position: absolute;
	inset: 0;
	z-index: 3;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 48%, transparent 60%);
	transform: translateX(-120%);
	transition: transform 1.1s var(--spl-ease);
	pointer-events: none;
}

.spl-cat__book:hover .spl-cat__shine {
	transform: translateX(120%);
}

.spl-cat__chips {
	margin: 24px 0 30px !important;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.spl-cat__chips li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px 9px 10px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--spl-line);
	font-size: 14px;
	font-weight: 600;
	color: var(--spl-ink);
}

.spl-cat__chips .spl-ic {
	width: 18px;
	height: 18px;
	color: var(--spl-green);
	stroke-width: 2.2;
}

.spl-cat__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.spl-cat__copy .spl-lead {
	margin-top: 18px;
}

.spl-cat__note {
	margin-top: 14px;
	font-size: 13px;
	color: var(--spl-muted);
}

@media (max-width: 900px) {
	.spl-cat__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.spl .spl-cat__book {
		width: min(300px, 70%);
	}
}

@media (max-width: 640px) {
	.spl-cat__actions .spl-btn {
		width: 100%;
	}
}

/* =========================================================================
   1.1 — PULSANTI FISSI (WhatsApp + Richiedi info), anche su desktop
   ========================================================================= */

.spl-bar {
	display: flex;
}

.spl .spl-bar__btn--wa {
	flex-direction: row;
	gap: 8px;
	min-width: 0;
	padding: 0 18px;
	background: #1f8f5a;
	font-family: var(--spl-font-display);
	font-size: 15px;
	font-weight: 700;
}

.spl .spl-bar__btn--wa .spl-ic {
	width: 20px;
	height: 20px;
}

@media (min-width: 1025px) {
	.spl-bar {
		left: auto;
		right: 24px;
		bottom: 24px;
		border-radius: 999px;
		padding: 6px;
	}
	.spl .spl-bar__btn {
		height: 48px;
		border-radius: 999px;
	}
	.spl .spl-bar__btn--main {
		flex: 0 0 auto;
		padding: 0 22px;
	}
}

@media (max-width: 1024px) {
	.spl .spl-bar__btn--wa {
		flex: 0 0 auto;
		padding: 0 14px;
	}
	.spl .spl-bar__btn--main {
		flex: 1 1 auto;
	}
}


/* =========================================================================
   1.2 — SLIDER HERO
   ========================================================================= */

.spl-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.8s ease;
}

.spl-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.spl .spl-hero__slide img {
	transform: scale(1.1);
	transition: none;
}

.spl-hero.is-on .spl-hero__slide.is-active img {
	animation: spl-kb 9s ease-out forwards;
}

@keyframes spl-kb {
	from { transform: scale(1.1) translate3d(0, 0, 0); }
	to { transform: scale(1.02) translate3d(-1%, -0.6%, 0); }
}

.spl-hero__dots {
	position: absolute;
	right: clamp(16px, 4vw, 40px);
	bottom: 70px;
	z-index: 3;
	display: flex;
	gap: 8px;
}

.spl .spl-hero__dot {
	-webkit-appearance: none;
	appearance: none;
	width: 38px;
	height: 18px;
	padding: 7px 0;
	margin: 0;
	min-height: 0;
	border: 0;
	background: none;
	box-shadow: none;
	cursor: pointer;
}

.spl-hero__dot span {
	display: block;
	position: relative;
	height: 3px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .35);
	overflow: hidden;
}

.spl-hero__dot span::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--spl-sun);
	transform: scaleX(0);
	transform-origin: left center;
}

.spl-hero__dot.is-active span::after {
	animation: spl-dot var(--spl-slide, 6s) linear forwards;
}

.spl-hero__dot.is-done span::after {
	transform: scaleX(1);
	animation: none;
}

@keyframes spl-dot {
	to { transform: scaleX(1); }
}

@media (max-width: 1024px) {
	.spl-hero__dots {
		right: auto;
		left: clamp(16px, 4vw, 40px);
		bottom: 22px;
	}
}

/* =========================================================================
   1.2 — REALIZZAZIONI: frecce + scorrimento automatico (mobile)
   ========================================================================= */

.spl-works__carousel {
	position: relative;
}

.spl .spl-works__arrow {
	display: none;
}

@media (max-width: 900px) {
	.spl-works__grid {
		scroll-behavior: smooth;
	}
	.spl .spl-works__arrow {
		position: absolute;
		top: 42%;
		z-index: 3;
		display: grid;
		place-items: center;
		width: 46px;
		height: 46px;
		padding: 0;
		margin: 0;
		min-height: 0;
		border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, .55);
		background: rgba(3, 32, 26, .62);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		color: #fff;
		box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
		cursor: pointer;
		transition: opacity .25s, transform .25s;
	}
	.spl .spl-works__arrow .spl-ic {
		width: 20px;
		height: 20px;
	}
	.spl .spl-works__arrow--prev {
		left: 4px;
	}
	.spl .spl-works__arrow--prev .spl-ic {
		transform: rotate(180deg);
	}
	.spl .spl-works__arrow--next {
		right: 4px;
	}
	.spl .spl-works__arrow:active {
		transform: scale(.92);
	}
	.spl .spl-works__arrow[disabled] {
		opacity: .35;
	}
}

/* pulsante fisso su mobile: il testo lungo va su due righe se serve */
@media (max-width: 1024px) {
	.spl .spl-bar__btn--main {
		white-space: normal;
		line-height: 1.15;
		text-align: left;
		font-size: 14px;
		padding: 0 12px 0 16px;
	}
}

/* =========================================================================
   1.2.1 — MOBILE: modulo a cavallo tra hero e pagina
   Lo sfondo dell'hero si ferma a metà della card (--spl-cut, calcolato in JS).
   ========================================================================= */

@media (max-width: 1024px) {
	.spl-hero {
		background: transparent;
		padding-bottom: 0;
	}
	.spl-hero::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: var(--spl-cut, 0px);
		z-index: -4;
		background:
			radial-gradient(90% 70% at 10% 90%, rgba(7, 129, 105, .35), transparent 60%),
			var(--spl-deep);
	}
	.spl-hero__media,
	.spl-hero .spl-fx,
	.spl-hero__shade {
		bottom: var(--spl-cut, 0px);
	}
	.spl-hero .spl-fx {
		overflow: hidden;
	}
	.spl-hero__dots {
		top: 14px;
		bottom: auto;
		left: auto;
		right: clamp(16px, 4vw, 40px);
	}
	.spl-hero__direct {
		margin-bottom: 8px;
	}
	.spl-formcard {
		margin: 0 auto;
		width: 100%;
		box-shadow:
			0 1px 0 rgba(255, 255, 255, .6) inset,
			0 30px 60px -24px rgba(3, 32, 26, .55),
			0 0 0 1px rgba(15, 29, 25, .08);
	}
	.spl-benefits {
		margin-top: 28px;
	}
}

/* 1.2.1 — se il tema mostra la sua barra fissa in basso (XStore), i nostri pulsanti stanno sopra */
@media (max-width: 1024px) {
	body:has(.et-mobile-panel-wrapper) .spl-bar {
		bottom: calc(68px + env(safe-area-inset-bottom, 0px));
	}
}

/* il "torna su" del tema non copre i pulsanti fissi della landing */
body:has(.spl-bar.is-on) #back-top {
	opacity: 0 !important;
	pointer-events: none !important;
}
