/* =========================================================================
   Vision Ecosystem
   L'idea: i segnali della strada. Il blu dei cartelli d'indicazione (vicino al RAL 5017),
   il giallo dei segnali e della luce (vicino al RAL 1003) usato solo per la luce
   e per le avvertenze, Overpass (nato dall'alfabeto delle autostrade) per titoli
   e cartelli, Atkinson Hyperlegible Next per leggere bene.
   ====================================================================== */

@font-face {
	font-family: "Overpass";
	src: url("../fonts/overpass.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--blu: #005387;
	--blu-chiaro: #0a659f;
	--blu-notte: #003a60;
	--giallo: #f6b500;
	--giallo-tenue: #fff3cc;
	--inchiostro: #1c2630;
	--asfalto: #4a5560;
	--metallo: #7a8691;
	--linea: #c9d1d7;
	--carta: #eef2f5;
	--cielo: #e1e9ef;
	--bianco: #fff;

	--titoli: "Overpass", "Arial Narrow", Arial, sans-serif;
	--testo: "Atkinson Hyperlegible Next", "Segoe UI", Arial, sans-serif;

	--largo: 1180px;
	--margine: clamp(16px, 4vw, 40px);
	--respiro: clamp(56px, 8vw, 104px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bianco);
	color: var(--inchiostro);
	font-family: var(--testo);
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-wrap: break-word;
}

img,
svg {
	max-width: 100%;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--titoli);
	line-height: 1.12;
	letter-spacing: -0.01em;
}

h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.8rem);
	font-weight: 800;
	max-width: 22ch;
}

h3 {
	font-size: 1.35rem;
	font-weight: 800;
}

h4 {
	font-size: 1.05rem;
	font-weight: 700;
}

p {
	margin: 0;
}

a {
	color: var(--blu);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--blu-notte);
}

:focus-visible {
	outline: 3px solid var(--giallo);
	outline-offset: 3px;
}

.vse-nascosto {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.vse-salta {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 20;
	padding: 10px 16px;
	background: var(--inchiostro);
	color: var(--bianco);
	font-weight: 700;
	border-radius: 6px;
}

.vse-salta:focus {
	top: 12px;
	color: var(--bianco);
}

/* ---------- Pulsanti ---------- */

.vse-pulsanti {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.vse-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid var(--blu);
	border-radius: 6px;
	background: var(--blu);
	color: var(--bianco);
	font-family: var(--titoli);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.vse-btn:hover {
	background: var(--blu-notte);
	border-color: var(--blu-notte);
	color: var(--bianco);
}

.vse-btn--vuoto {
	background: transparent;
	color: var(--blu);
}

.vse-btn--vuoto:hover {
	background: var(--blu);
	border-color: var(--blu);
	color: var(--bianco);
}

.vse-btn--piccolo {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 0.95rem;
}

/* ---------- Barra ---------- */

.vse-barra {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 10px var(--margine);
	background: var(--bianco);
	border-bottom: 1px solid var(--linea);
}

.vse-marchio {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--inchiostro);
	font-family: var(--titoli);
	font-size: 1.15rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.vse-segno {
	width: 34px;
	height: 34px;
	flex: none;
}

.vse-menu {
	display: flex;
	gap: 22px;
	margin-left: auto;
}

.vse-menu a {
	color: var(--inchiostro);
	white-space: nowrap;
	font-family: var(--titoli);
	font-weight: 600;
	text-decoration: none;
}

.vse-menu a:hover {
	color: var(--blu);
	text-decoration: underline;
}

.vse-barra .vse-btn {
	margin-left: 8px;
}

@media (max-width: 1080px) {
	.vse-menu {
		display: none;
	}

	.vse-barra .vse-btn {
		margin-left: auto;
	}
}

@media (max-width: 420px) {
	.vse-marchio span {
		font-size: 1rem;
	}

	.vse-barra .vse-btn--piccolo {
		display: none;
	}
}

/* ---------- Sezioni ---------- */

/* Il contenuto è largo al massimo --largo: lo stabilisce il margine interno, così ogni blocco parte dal bordo sinistro. */
.vse-sezione {
	padding: var(--respiro) max(var(--margine), calc((100% - var(--largo)) / 2));
}

.vse-sezione > h2 {
	margin-bottom: 20px;
}

.vse-intro {
	max-width: 62ch;
	margin-bottom: 40px;
	color: var(--asfalto);
	font-size: 1.15rem;
}

.vse-nota {
	color: var(--asfalto);
	font-size: 0.95rem;
	max-width: 66ch;
}

.vse-grande {
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
	line-height: 1.45;
}

.vse-elenco {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vse-elenco li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 10px;
}

.vse-elenco li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--blu);
}

/* ---------- Apertura: il cartello ---------- */

.vse-apertura {
	position: relative;
	padding: clamp(36px, 6vw, 72px) var(--margine) 0;
	background: var(--cielo);
}

/* La strada: asfalto con la mezzeria. */
.vse-apertura::after {
	content: "";
	display: block;
	height: 22px;
	background:
		repeating-linear-gradient(90deg, var(--bianco) 0 40px, transparent 40px 76px) center / 100% 3px no-repeat,
		var(--asfalto);
}

.vse-apertura__dentro {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: end;
	max-width: var(--largo);
	margin: 0 auto;
}

.vse-segnale {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.vse-cartello {
	position: relative;
	padding: clamp(24px, 3.4vw, 36px) clamp(22px, 3.4vw, 38px) clamp(16px, 2.4vw, 24px);
	border-radius: 18px;
	background: var(--blu);
	color: var(--bianco);
	box-shadow: 0 2px 0 var(--blu-notte);
}

/* Il bordo bianco interno dei cartelli. */
.vse-cartello::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 3px solid var(--bianco);
	border-radius: 12px;
	pointer-events: none;
}

.vse-cartello__nome {
	font-size: clamp(2.4rem, 6.2vw, 4.6rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.vse-cartello__motto {
	margin-top: 12px;
	font-family: var(--titoli);
	font-size: clamp(1.1rem, 1.9vw, 1.4rem);
	font-weight: 600;
	line-height: 1.3;
	max-width: 30ch;
}

.vse-cartello__righe {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	border-top: 3px solid var(--bianco);
}

.vse-cartello__righe li + li {
	border-top: 2px solid rgba(255, 255, 255, 0.55);
}

.vse-cartello__righe a {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 34px;
	gap: 16px;
	align-items: center;
	padding: 12px 6px;
	margin: 0 -6px;
	border-radius: 6px;
	color: var(--bianco);
	text-decoration: none;
}

.vse-cartello__righe a:hover {
	background: var(--blu-chiaro);
	color: var(--bianco);
}

.vse-cartello__righe a:hover .vse-freccia {
	transform: translateX(4px);
}

.vse-cartello__righe .vse-pitto {
	width: 48px;
	height: 48px;
	padding: 5px;
	border-radius: 6px;
	background: var(--bianco);
	color: var(--blu);
}

.vse-cartello__meta strong {
	display: block;
	font-family: var(--titoli);
	font-size: clamp(1.25rem, 2.2vw, 1.6rem);
	font-weight: 800;
	line-height: 1.1;
}

.vse-cartello__meta span {
	display: block;
	font-size: 0.98rem;
	line-height: 1.35;
	opacity: 0.92;
}

.vse-freccia {
	width: 34px;
	height: 34px;
	color: var(--bianco);
	transition: transform 0.2s ease;
}

/* Il pannello integrativo, appeso sotto il cartello. */
.vse-integrativo {
	align-self: center;
	margin-top: 10px;
	padding: 8px 20px;
	border: 3px solid var(--inchiostro);
	border-radius: 8px;
	background: var(--bianco);
	font-family: var(--titoli);
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	font-weight: 800;
	text-align: center;
}

/* I due sostegni fino alla strada. */
.vse-sostegni {
	display: block;
	height: clamp(48px, 7vw, 88px);
	margin: 0 18%;
	background:
		linear-gradient(var(--metallo), var(--metallo)) left / 12px 100% no-repeat,
		linear-gradient(var(--metallo), var(--metallo)) right / 12px 100% no-repeat;
}

.vse-apertura__testo {
	padding-bottom: clamp(48px, 7vw, 88px);
}

.vse-attacco {
	font-size: clamp(1.15rem, 1.7vw, 1.3rem);
	line-height: 1.5;
	margin-bottom: 28px;
}

.vse-avviso {
	margin-top: 28px;
	padding-left: 14px;
	border-left: 4px solid var(--giallo);
	color: var(--asfalto);
	font-size: 0.95rem;
}

.vse-promotore {
	margin-top: 18px;
	font-family: var(--titoli);
	font-weight: 700;
	color: var(--asfalto);
}

@media (max-width: 860px) {
	.vse-apertura__dentro {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.vse-apertura__testo {
		padding: 32px 0 44px;
	}

	.vse-sostegni {
		display: none;
	}
}

@media (max-width: 480px) {
	.vse-cartello__righe a {
		grid-template-columns: 40px minmax(0, 1fr) 26px;
		gap: 12px;
	}

	.vse-cartello__righe .vse-pitto {
		width: 40px;
		height: 40px;
		padding: 4px;
	}

	.vse-freccia {
		width: 26px;
		height: 26px;
	}
}

/* ---------- Il punto luce ---------- */

.vse-palo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}

.vse-palo__testo > p {
	margin-top: 18px;
	max-width: 54ch;
}

.vse-palo__testo h2 {
	margin-bottom: 0;
}

.vse-scelta {
	display: inline-flex;
	flex-wrap: wrap;
	margin-top: 28px;
	border: 2px solid var(--blu);
	border-radius: 8px;
	overflow: hidden;
}

.vse-scelta__voce {
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	background: var(--bianco);
	color: var(--blu);
	font-family: var(--titoli);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.vse-scelta__voce + .vse-scelta__voce {
	border-left: 2px solid var(--blu);
}

.vse-scelta__voce:hover {
	background: var(--carta);
}

.vse-scelta__voce[aria-pressed="true"] {
	background: var(--blu);
	color: var(--bianco);
}

.vse-scelta__voce:focus-visible {
	outline-offset: -5px;
}

.vse-palo__spiega {
	min-height: 5.2em;
	margin-top: 18px;
	font-size: 1.1rem;
}

.vse-palo__spiega strong {
	font-family: var(--titoli);
}

.vse-palo .vse-nota {
	margin-top: 18px;
}

.vse-palo__disegno {
	padding: clamp(12px, 2vw, 24px);
	border: 1px solid var(--linea);
	border-radius: 10px;
	background:
		linear-gradient(var(--carta) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, var(--carta) 1px, transparent 1px) 0 0 / 24px 24px,
		var(--bianco);
}

.vse-palo__disegno svg {
	display: block;
	width: 100%;
	max-width: 440px;
	height: auto;
	margin: 0 auto;
	overflow: visible;
}

.vse-palo__disegno figcaption {
	margin-top: 8px;
	color: var(--asfalto);
	font-size: 0.85rem;
	text-align: right;
}

.vse-d-terra { stroke: var(--inchiostro); stroke-width: 3; }
.vse-d-tratteggio { stroke: var(--linea); stroke-width: 2; stroke-dasharray: 10 8; }
.vse-d-palo { fill: var(--metallo); }
.vse-d-braccio { fill: none; stroke: var(--metallo); stroke-width: 7; stroke-linecap: round; }
.vse-d-testa { fill: var(--inchiostro); }
.vse-d-cono { fill: url(#vse-cono); }
.vse-d-pezzo { fill: var(--blu); }
.vse-d-pezzo-linea { fill: none; stroke: var(--blu); stroke-width: 4; stroke-linecap: round; }
.vse-d-onda { fill: none; stroke: var(--blu); stroke-width: 2.6; stroke-linecap: round; }
.vse-d-lamelle,
.vse-d-righe { fill: none; stroke: var(--bianco); stroke-width: 2; stroke-linecap: round; }
.vse-d-bottone { fill: var(--giallo); }
.vse-d-filo { fill: none; stroke: var(--asfalto); stroke-width: 1.2; }

.vse-d-etichetta {
	fill: var(--inchiostro);
	font-family: var(--titoli);
	font-size: 14px;
	font-weight: 700;
}

.vse-d-etichetta--cono {
	font-size: 15px;
}

/* Le parti non comprese nella configurazione restano in trasparenza: si vede cosa si potrebbe aggiungere. */
.js .vse-parte {
	opacity: 0.16;
	transition: opacity 0.45s ease;
}

.js .vse-parte.is-on {
	opacity: 1;
}

/* Il momento della pagina: quando il disegno entra nello schermo, il punto luce si accende. */
.js .vse-d-cono {
	opacity: 0;
	transition: opacity 1.4s ease 0.2s;
}

.js .is-acceso .vse-d-cono {
	opacity: 1;
}

.vse-palo__spiega p[hidden] {
	display: none;
}

html:not(.js) .vse-scelta {
	display: none;
}

html:not(.js) .vse-palo__spiega p[hidden] {
	display: block;
	margin-top: 8px;
}

@media (max-width: 860px) {
	.vse-palo {
		grid-template-columns: 1fr;
	}

	.vse-scelta {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.vse-scelta__voce + .vse-scelta__voce {
		border-left: 0;
	}

	.vse-scelta__voce:nth-child(even) {
		border-left: 2px solid var(--blu);
	}

	.vse-scelta__voce:nth-child(n + 3) {
		border-top: 2px solid var(--blu);
	}
}

/* ---------- Perché ---------- */

.vse-perche {
	background: var(--carta);
}

.vse-perche__corpo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	margin-top: 32px;
}

.vse-perche__corpo .vse-elenco {
	margin-top: 16px;
}

@media (max-width: 860px) {
	.vse-perche__corpo {
		grid-template-columns: 1fr;
	}
}

/* ---------- Moduli ---------- */

.vse-modulo {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 12px clamp(28px, 5vw, 64px);
	padding: 44px 0;
	border-top: 3px solid var(--inchiostro);
}

.vse-modulo:last-child {
	padding-bottom: 0;
}

.vse-modulo__testa {
	grid-row: span 2;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.vse-modulo__segno {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	background: var(--blu);
	color: var(--bianco);
}

.vse-modulo__segno::before {
	content: "";
	position: absolute;
	inset: 4px;
	border: 2px solid var(--bianco);
	border-radius: 7px;
}

.vse-modulo__segno .vse-pitto {
	width: 44px;
	height: 44px;
}

.vse-modulo__testa h3 {
	font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.vse-modulo__testa p {
	margin-top: 4px;
	color: var(--asfalto);
	font-family: var(--titoli);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1.3;
}

.vse-modulo__cosa {
	font-size: 1.18rem;
	line-height: 1.55;
	max-width: 62ch;
}

.vse-modulo__colonne {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px;
	margin-top: 18px;
	align-items: start;
}

.vse-modulo__colonne h4 {
	margin-bottom: 12px;
}

.vse-limiti {
	padding: 20px 22px 12px;
	border-left: 5px solid var(--giallo);
	border-radius: 0 8px 8px 0;
	background: var(--giallo-tenue);
}

.vse-limiti .vse-elenco li::before {
	background: var(--inchiostro);
	border-radius: 50%;
}

@media (max-width: 860px) {
	.vse-modulo {
		grid-template-columns: 1fr;
	}

	.vse-modulo__testa {
		grid-row: auto;
		flex-direction: row;
		align-items: center;
	}

	.vse-modulo__colonne {
		grid-template-columns: 1fr;
	}
}

/* ---------- Architettura ---------- */

.vse-architettura {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	background: var(--carta);
}

.vse-architettura__testo p {
	margin-top: 16px;
	max-width: 56ch;
}

.vse-architettura__testo h2 {
	margin-bottom: 4px;
}

.vse-strati {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vse-strati li {
	display: grid;
	grid-template-columns: 9.5rem minmax(0, 1fr);
	gap: 4px 18px;
	padding: 18px 22px;
	border-radius: 6px;
}

.vse-strati strong {
	grid-row: span 2;
	font-family: var(--titoli);
	font-size: 1.2rem;
	font-weight: 800;
}

.vse-strati__chi {
	font-size: 0.93rem;
	opacity: 0.88;
}

/* Dal più leggero (le regole) al più pesante (il campo, la strada). */
.vse-strati li:nth-child(1) { background: #dbe4ea; }
.vse-strati li:nth-child(2) { background: #b5c4cf; }
.vse-strati li:nth-child(3) { background: #66737f; color: var(--bianco); }
.vse-strati li:nth-child(4) { background: var(--asfalto); color: var(--bianco); border-bottom: 6px solid var(--inchiostro); }

@media (max-width: 860px) {
	.vse-architettura {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.vse-strati li {
		grid-template-columns: 1fr;
	}

	.vse-strati strong {
		grid-row: auto;
	}
}

/* ---------- Tabelle ---------- */

.vse-tabella {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.vse-tabella th,
.vse-tabella td {
	padding: 16px 18px 16px 0;
	border-bottom: 1px solid var(--linea);
	text-align: left;
	vertical-align: top;
}

.vse-tabella thead th {
	padding-top: 0;
	border-bottom: 3px solid var(--inchiostro);
	color: var(--asfalto);
	font-family: var(--titoli);
	font-size: 0.95rem;
	font-weight: 700;
}

.vse-tabella tbody th {
	font-family: var(--titoli);
	font-size: 1.08rem;
	font-weight: 800;
	width: 28%;
}

.vse-sigla {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 2px 10px;
	border-radius: 4px;
	background: var(--blu);
	color: var(--bianco);
	font-family: var(--titoli);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.vse-sigla:hover {
	background: var(--blu-notte);
	color: var(--bianco);
}

@media (max-width: 720px) {
	.vse-tabella thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.vse-tabella tr,
	.vse-tabella th,
	.vse-tabella td {
		display: block;
		width: auto;
	}

	.vse-tabella tr {
		padding: 16px 0;
		border-bottom: 1px solid var(--linea);
	}

	.vse-tabella tbody th,
	.vse-tabella td {
		padding: 0;
		border: 0;
	}

	.vse-tabella td {
		margin-top: 6px;
	}

	.vse-tabella td[data-etichetta]::before {
		content: attr(data-etichetta) ": ";
		color: var(--asfalto);
		font-family: var(--titoli);
		font-weight: 700;
	}
}

.vse-pilota {
	margin-top: 40px;
	padding: clamp(20px, 3vw, 32px);
	border: 2px solid var(--blu);
	border-radius: 10px;
}

.vse-pilota p {
	margin-top: 10px;
	max-width: 76ch;
}

/* ---------- Percorso ---------- */

.vse-percorso {
	background: var(--carta);
}

/* Il percorso come una linea di fermate: è una sequenza vera. */
.vse-passi {
	counter-reset: passo;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.vse-passi li {
	counter-increment: passo;
	position: relative;
	padding: 62px 14px 0 0;
}

/* La linea. */
.vse-passi li::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 20px;
	height: 6px;
	background: var(--blu);
}

.vse-passi li:last-child::before {
	right: auto;
	width: 40px;
}

/* La fermata con il numero. */
.vse-passi li::after {
	content: counter(passo);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 5px solid var(--blu);
	border-radius: 50%;
	background: var(--bianco);
	color: var(--blu);
	font-family: var(--titoli);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1;
}

.vse-passi strong {
	display: block;
	font-family: var(--titoli);
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.2;
}

.vse-passi span {
	display: block;
	margin-top: 6px;
	color: var(--asfalto);
	font-size: 0.95rem;
	line-height: 1.45;
}

.vse-percorso__dopo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	margin-top: 56px;
}

.vse-percorso__dopo p {
	margin-top: 10px;
}

@media (max-width: 1020px) {
	.vse-passi {
		grid-template-columns: 1fr;
		max-width: 640px;
		margin-left: 0;
	}

	.vse-passi li {
		padding: 4px 0 26px 68px;
		min-height: 46px;
	}

	.vse-passi li::before {
		left: 20px;
		right: auto;
		top: 0;
		bottom: 0;
		width: 6px;
		height: auto;
	}

	.vse-passi li:last-child::before {
		width: 6px;
		bottom: auto;
		height: 24px;
	}

	.vse-passi strong {
		padding-top: 8px;
	}
}

@media (max-width: 860px) {
	.vse-percorso__dopo {
		grid-template-columns: 1fr;
	}
}

/* ---------- Privacy e sicurezza ---------- */

.vse-citazione {
	margin: 24px 0 40px;
	padding: 0;
}

.vse-citazione p {
	max-width: 40ch;
	color: var(--blu);
	font-family: var(--titoli);
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 700;
	line-height: 1.22;
}

.vse-tutela__colonne {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
}

.vse-tutela__colonne h3 {
	margin-bottom: 14px;
}

.vse-spunte {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vse-spunte li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 12px;
}

.vse-spunte li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.3em;
	width: 8px;
	height: 15px;
	border: solid var(--blu);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

@media (max-width: 860px) {
	.vse-tutela__colonne {
		grid-template-columns: 1fr;
	}
}

/* ---------- Misure ---------- */

.vse-misure {
	background: var(--carta);
}

/* ---------- Tappe ---------- */

.vse-linea {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 40px 0 28px;
	padding: 0;
	list-style: none;
}

.vse-linea li {
	position: relative;
	padding: 44px 18px 0 0;
}

.vse-linea li::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 11px;
	height: 4px;
	background: var(--linea);
}

.vse-linea li::after {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border: 4px solid var(--metallo);
	border-radius: 50%;
	background: var(--bianco);
}

.vse-linea li.is-fatta::before,
.vse-linea li.is-ora::before {
	background: var(--blu);
}

.vse-linea li.is-fatta::after {
	border-color: var(--blu);
	background: var(--blu);
}

.vse-linea li.is-ora::after {
	border-color: var(--blu);
	box-shadow: 0 0 0 5px rgba(0, 83, 135, 0.2);
}

/* Il lancio: la luce si accende. */
.vse-linea li.is-lancio::after {
	left: -5px;
	top: -2px;
	width: 30px;
	height: 30px;
	border-color: var(--inchiostro);
	background: var(--giallo);
}

.vse-linea__quando {
	display: block;
	color: var(--asfalto);
	font-family: var(--titoli);
	font-size: 0.95rem;
	font-weight: 700;
}

.vse-linea strong {
	display: block;
	margin-top: 2px;
	font-family: var(--titoli);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
}

.vse-linea li.is-lancio strong {
	font-size: 1.45rem;
}

.vse-linea li > span:not(.vse-linea__quando):not(.vse-stato) {
	display: block;
	margin-top: 6px;
	font-size: 0.95rem;
	line-height: 1.45;
}

.vse-linea .vse-stato {
	margin-top: 10px;
}

.vse-stato {
	display: inline-block;
	padding: 3px 11px;
	border-radius: 999px;
	font-family: var(--titoli);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: middle;
	letter-spacing: 0;
}

.vse-stato--ora {
	background: var(--blu);
	color: var(--bianco);
}

.vse-stato--ipotesi {
	border: 2px solid var(--giallo);
	background: var(--giallo-tenue);
	color: var(--inchiostro);
}

.vse-dopo {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 3px solid var(--inchiostro);
}

.vse-dopo h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.vse-dopo > p {
	margin: 10px 0 22px;
	max-width: 66ch;
}

.vse-elenco--due {
	columns: 2;
	column-gap: 48px;
}

.vse-elenco--due li {
	break-inside: avoid;
}

@media (max-width: 860px) {
	.vse-linea {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin-left: 0;
	}

	.vse-linea li {
		padding: 0 0 30px 48px;
	}

	.vse-linea li::before {
		left: 8px;
		right: auto;
		top: 0;
		bottom: 0;
		width: 4px;
		height: auto;
	}

	.vse-linea li::after {
		top: 0;
	}

	.vse-linea li.is-lancio::after {
		left: -5px;
		top: -4px;
	}

	.vse-elenco--due {
		columns: 1;
	}
}

/* ---------- Per chi ---------- */

.vse-destinatari {
	margin: 32px 0 0;
	border-top: 3px solid var(--inchiostro);
}

.vse-destinatari > div {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 6px 32px;
	padding: 18px 0;
	border-bottom: 1px solid var(--linea);
}

.vse-destinatari dt {
	font-family: var(--titoli);
	font-size: 1.12rem;
	font-weight: 800;
}

.vse-destinatari dd {
	margin: 0;
}

.vse-destinatari em {
	display: block;
	color: var(--asfalto);
	font-style: normal;
	font-size: 0.95rem;
}

.vse-perchi__colonne {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	margin-top: 48px;
}

.vse-perchi__colonne p {
	margin-top: 10px;
}

@media (max-width: 760px) {
	.vse-destinatari > div,
	.vse-perchi__colonne {
		grid-template-columns: 1fr;
	}
}

/* ---------- Domande ---------- */

.vse-domande {
	background: var(--carta);
}

.vse-domande__elenco {
	max-width: 860px;
	margin: 28px 0 0;
	border-top: 3px solid var(--inchiostro);
}

.vse-domande details {
	border-bottom: 1px solid var(--linea);
}

.vse-domande summary {
	position: relative;
	padding: 18px 48px 18px 0;
	font-family: var(--titoli);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}

.vse-domande summary::-webkit-details-marker {
	display: none;
}

.vse-domande summary::before,
.vse-domande summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 18px;
	height: 3px;
	margin-top: -1.5px;
	background: var(--blu);
	transition: transform 0.2s ease;
}

.vse-domande summary::after {
	transform: rotate(90deg);
}

.vse-domande details[open] summary::after {
	transform: rotate(0deg);
}

.vse-domande summary:hover {
	color: var(--blu);
}

.vse-domande details p {
	padding: 0 48px 20px 0;
	max-width: 70ch;
}

/* ---------- Richiesta di confronto ---------- */

.vse-confronto {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
	background: var(--blu);
	color: var(--bianco);
}

.vse-confronto a {
	color: var(--bianco);
}

.vse-confronto__testo p {
	margin-top: 16px;
	max-width: 50ch;
}

.vse-confronto .vse-nota {
	color: var(--bianco);
	opacity: 0.88;
}

.js .vse-senza-js,
html:not(.js) .vse-modulo-richiesta {
	display: none;
}

.vse-modulo-richiesta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
	padding: clamp(20px, 3vw, 32px);
	border-radius: 14px;
	background: var(--bianco);
	color: var(--inchiostro);
}

.vse-campo {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.vse-campo--metà {
	grid-column: auto;
}

.vse-campo label,
.vse-campo legend {
	padding: 0;
	font-family: var(--titoli);
	font-weight: 700;
}

.vse-campo legend {
	margin-bottom: 8px;
}

.vse-campo input,
.vse-campo textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 2px solid #8f9ca7;
	border-radius: 6px;
	background: var(--bianco);
	color: var(--inchiostro);
	font: inherit;
}

.vse-campo textarea {
	resize: vertical;
}

.vse-campo input::placeholder,
.vse-campo textarea::placeholder {
	color: #66717c;
}

.vse-campo input:focus,
.vse-campo textarea:focus {
	border-color: var(--blu);
}

.vse-gettoni {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vse-gettoni label {
	position: relative;
	font-family: var(--testo);
	font-weight: 600;
}

.vse-gettoni input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.vse-gettoni span {
	display: inline-block;
	padding: 8px 14px;
	border: 2px solid var(--blu);
	border-radius: 999px;
	color: var(--blu);
	cursor: pointer;
}

.vse-gettoni input:checked + span {
	background: var(--blu);
	color: var(--bianco);
}

.vse-gettoni input:focus-visible + span {
	outline: 3px solid var(--giallo);
	outline-offset: 2px;
}

.vse-anteprima {
	grid-column: 1 / -1;
	padding: 16px 18px;
	border-radius: 8px;
	background: var(--carta);
}

.vse-anteprima__titolo {
	margin-bottom: 8px;
	color: var(--asfalto);
	font-family: var(--titoli);
	font-weight: 700;
}

.vse-anteprima pre {
	margin: 0;
	max-height: 260px;
	overflow: auto;
	font-family: var(--testo);
	font-size: 0.95rem;
	line-height: 1.5;
	white-space: pre-wrap;
}

.vse-modulo-richiesta .vse-pulsanti {
	grid-column: 1 / -1;
}

.vse-esito {
	font-weight: 700;
	color: var(--blu);
}

@media (max-width: 860px) {
	.vse-confronto {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.vse-campo--metà {
		grid-column: 1 / -1;
	}
}

/* ---------- Piede ---------- */

.vse-piede {
	padding: 48px var(--margine) 56px;
	border-top: 6px solid var(--blu-notte);
	background: var(--cielo);
	font-size: 0.95rem;
}

.vse-piede__dentro {
	max-width: var(--largo);
	margin: 0 auto;
}

.vse-piede__dentro > p {
	margin-top: 14px;
	max-width: 80ch;
	color: var(--asfalto);
}

.vse-piede__marchio {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vse-piede__link {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-weight: 700;
}

/* ---------- Pagine di testo (Privacy) ---------- */

.vse-pagina {
	padding: clamp(40px, 6vw, 72px) var(--margine) var(--respiro);
}

.vse-testo {
	max-width: 760px;
	margin: 0 auto;
}

.vse-testo h1 {
	margin-bottom: 24px;
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	font-weight: 800;
}

.vse-testo h2 {
	margin: 40px 0 12px;
	font-size: 1.5rem;
	max-width: none;
}

.vse-testo p,
.vse-testo ul,
.vse-testo ol {
	margin: 0 0 14px;
}

.vse-testo figure {
	margin: 18px 0 22px;
	overflow-x: auto;
}

.vse-testo table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.vse-testo th,
.vse-testo td {
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--linea);
	text-align: left;
	vertical-align: top;
}

.vse-testo thead th {
	border-bottom: 3px solid var(--inchiostro);
	font-family: var(--titoli);
}

.vse-testo__torna {
	margin-top: 40px;
	font-weight: 700;
}

/* ---------- Movimento ridotto ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
