/* Schermate in Fila: un solo foglio, nell'ordine in cui i blocchi compaiono nella pagina */
:root {
	--nero: #161a1d;
	--char: #22262b;
	--neon: #00f57a;
	--mint: #a8f7a2;
	--blu-notte: #000080;
	--plum: #c71585;
	--rule: #d9dcdf;
	--gap: clamp(16px, 4vw, 54px);
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	overflow-x: clip;
	background: #FFFFFF;
	color: var(--nero);
	font: 400 1.0625rem/1.5 "Schibsted Grotesk", Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #0000cd; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--neon); color: var(--nero); }
.skip-link:focus { top: 8px; }

/* testata: sopra la foto nella home, su fondo scuro altrove */
.header { position: relative; z-index: 20; background: var(--nero); color: #fff; padding: 0 var(--gap); }
.header--over { position: absolute; left: 0; right: 0; top: 0; background: none; }
.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 1170px;
	margin: 0 auto;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .85);
	border-bottom: 1px solid rgba(255, 255, 255, .85);
}
.header--over .header__inner { margin-top: 28px; }
.header__logo img { width: clamp(150px, 20vw, 214px); filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35)); }
.header__tools { display: flex; align-items: center; gap: 22px; }
.header__cta { display: none; padding: 12px 18px; background: rgba(255, 255, 255, .2); color: #fff; text-decoration: none; font-weight: 500; }
.header__cta:hover { background: rgba(255, 255, 255, .32); }
.header__menu {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	background: none;
	border: 0;
	color: #fff;
	font: 500 0.95rem "Schibsted Grotesk", Arial, sans-serif;
	cursor: pointer;
}
.header__bars, .header__bars::before, .header__bars::after { display: block; width: 20px; height: 2px; background: currentColor; }
.header__bars { position: relative; }
.header__bars::before, .header__bars::after { content: ""; position: absolute; left: 0; }
.header__bars::before { top: -6px; }
.header__bars::after { top: 6px; }
.header__nav {
	display: none;
	max-width: 1170px;
	margin: 0 auto;
	padding: 18px 0 26px;
	background: var(--nero);
}
.header--over .header__nav { padding-left: 20px; padding-right: 20px; }
.header__nav.is-open { display: block; }
.header__nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px 30px; }
.header__nav a { color: #fff; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.header__nav a[aria-current] { color: var(--neon); }
.header__nav-note { margin: 18px 0 0; color: #c9cdd1; font-size: .9rem; }
.header__nav-note a { color: #fff; }

/* hero */
.hero { position: relative; min-height: 640px; background: var(--nero); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 220px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.hero__card {
	position: relative;
	z-index: 2;
	max-width: 660px;
	margin: 0 var(--gap);
	padding: 300px 0 0;
}
.hero__card > * { background: var(--char); color: #fff; margin: 0; padding: 0 20px; }
.hero__title { padding-top: 22px; font-size: clamp(2.3rem, 5.4vw, 3.75rem); font-weight: 800; }
.hero__text { padding-top: 16px; padding-bottom: 8px; font-size: 1.05rem; }
.hero .arrow-link { display: flex; padding-bottom: 26px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; color: var(--neon); font-weight: 500; }
.arrow-link::before { content: "→"; font-size: 1.3em; line-height: 1; text-decoration: none; }
.arrow-link--dark { color: #0000cd; }

/* barra verde: scelta del ciclo */
.finder {
	position: relative;
	z-index: 3;
	display: grid;
	gap: 14px;
	max-width: 1170px;
	margin: 0 auto;
	padding: 26px 28px;
	background: var(--neon);
}
.finder__title { margin: 0; font-size: 1.6rem; font-weight: 800; }
.finder__field select {
	width: 100%;
	height: 60px;
	padding: 0 14px;
	border: 1px solid var(--nero);
	background: #fff;
	color: var(--nero);
	font: inherit;
}
.finder__note { margin: 0; font-size: .95rem; }
.finder__go { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 22px; background: var(--nero); color: #fff; text-decoration: none; font-weight: 500; }
.finder__go::after { content: "›"; margin-left: 14px; font-size: 1.4rem; }

/* feature: foto con card scura sopra */
.feature { position: relative; max-width: 1170px; margin: 60px auto 0; }
.feature__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature__card { background: var(--char); color: #fff; padding: 22px 20px 26px; }
.feature__title { margin: 14px 0 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tag { display: inline-block; margin: 0; padding: 7px 14px; background: var(--neon); color: var(--nero); font-size: .82rem; font-weight: 700; }

/* tre notifiche */
.news { max-width: 1170px; margin: 54px auto 0; padding: 0 var(--gap); }
.news__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.news__title { font-size: clamp(2rem, 4vw, 2.3rem); font-weight: 800; }
.news__intro { max-width: 640px; margin: 14px 0 26px; }
.news__grid { display: grid; gap: 26px; }
.news__item { min-width: 0; }
.news__cat { margin: 0 0 6px; color: var(--plum); font-weight: 700; font-size: .95rem; }
.news__link {
	padding: 0;
	background: none;
	border: 0;
	text-align: left;
	color: var(--nero);
	font: 800 1.45rem/1.3 "Schibsted Grotesk", Arial, sans-serif;
	text-decoration: underline;
	text-decoration-color: var(--neon);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
	cursor: pointer;
}
.news__link[aria-expanded="true"] { text-decoration-color: var(--plum); }
.news__sub { display: block; margin-top: 10px; font-size: 1rem; font-weight: 400; text-decoration: none; color: #4a5056; }
.news__row { margin-top: 28px; padding: 20px 22px; border-left: 6px solid var(--neon); background: #f2f4f5; }
.news__row-label { margin: 0 0 6px; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.news__row-text code { font: 500 .98rem/1.5 ui-monospace, Consolas, monospace; word-break: break-word; }
.news__row-note { margin: 10px 0 0; }

/* pannello verde chiaro con foto */
.split { display: grid; max-width: 1170px; margin: 96px auto 0; }
.split__text { padding: clamp(28px, 6vw, 72px) clamp(20px, 3vw, 38px); background: var(--mint); }
.split__title { margin-bottom: 34px; font-size: clamp(2.6rem, 5.8vw, 4.4rem); font-weight: 800; }
.split__media { min-width: 0; }
.split__img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

/* fatti chiave su fondo viola scuro */
.facts {
	margin-bottom: 0px;
	max-width: 1170px;
	margin: 60px auto 0;
	padding: 36px clamp(20px, 3vw, 36px) 20px;
	background: linear-gradient(100deg, #1b1d21 0%, #2a0840 100%);
	color: #fff;
}
.facts__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.facts__kicker { margin: 0; font-weight: 700; }
.facts__grid { display: grid; column-gap: 28px; }
.facts__item { padding: 20px 0 22px; border-top: 1px solid rgba(255, 255, 255, .45); }
.facts__item h3 { font-size: clamp(1.4rem, 2.6vw, 2.15rem); font-weight: 800; }
.facts__item p { margin: 8px 0 0; color: var(--mint); font-size: .95rem; }

/* overlap: foto e card con le richieste rifiutate */
.overlap { display: grid; max-width: 1170px; margin: 70px auto 0; }
.overlap__media { min-width: 0; }
.overlap__img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; background: #3a3f46; }
.overlap__card { padding: 30px 22px; background: var(--char); color: #fff; }
.overlap__title { margin: 14px 0 20px; font-size: clamp(1.7rem, 3vw, 2rem); }
.pings { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.pings__item { display: grid; gap: 6px; }
.pings__in {
	justify-self: start;
	max-width: 92%;
	margin: 0;
	padding: 10px 14px;
	border-radius: 14px 14px 14px 0px;
	background: #3a3f46;
	font-size: .97rem;
}
.pings__out {
	justify-self: end;
	max-width: 92%;
	margin: 0;
	padding: 10px 14px;
	border-radius: 14px 14px 0 14px;
	background: var(--neon);
	color: var(--nero);
	font-size: .97rem;
}

/* landing: titolo con linea e 4 card */
.landing { max-width: 1170px; margin: 110px auto 0; padding: 0 var(--gap); }
.landing__intro { max-width: 760px; padding-top: 60px; border-top: 2px solid var(--nero); }
.landing__title { margin-bottom: 16px; font-size: clamp(1.7rem, 3vw, 2rem); font-weight: 800; }
.cards { display: grid; gap: 28px; margin-top: 46px; }
.card { min-width: 0; }
.card__img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.card__title { position: relative; margin: -24px 0 12px; padding: 6px 10px 0 0; background: #fff; display: inline-block; font-size: 1.3rem; }
.card__title a { color: var(--nero); }

/* cicli */
.cycles { max-width: 1170px; margin: 64px auto 0; padding: 0 var(--gap); }
.cycles__title { margin-bottom: 24px; font-size: clamp(1.8rem, 3.4vw, 2.3rem); font-weight: 800; }
.cycles__grid { display: grid; gap: 18px; }
.cycles__card { padding: 24px 22px; border: 2px solid var(--nero); }
.cycles__card h3 { margin-bottom: 10px; font-size: 1.5rem; }
.cycles__time { color: #4a5056; }
.cycles__note { margin-top: 18px; font-size: .95rem; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 22px;
	border: 2px solid var(--nero);
	background: var(--nero);
	color: #fff;
	font: 500 1rem "Schibsted Grotesk", Arial, sans-serif;
	text-decoration: none;
	cursor: pointer;
}
.button:hover { background: var(--char); }
.button--outline { background: transparent; color: var(--nero); }

/* domande su due colonne */
.faq { max-width: 1170px; margin: 80px auto 0; padding: 0 var(--gap); }
.faq__title { margin-bottom: 30px; font-size: clamp(1.8rem, 3.4vw, 2.3rem); font-weight: 800; }
.faq__cols { display: grid; gap: 8px 48px; }
.faq__item { padding: 18px 0; border-top: 1px solid var(--rule); }
.faq__item h3 { margin-bottom: 8px; font-size: 1.22rem; }
.faq__item p { margin: 0; }

/* banner finale con bordi blu */
.cta-banner {
	display: grid;
	max-width: 1170px;
	margin: 80px auto 90px;
	border-top: 2px solid var(--blu-notte);
	border-bottom: 2px solid var(--blu-notte);
	color: var(--blu-notte);
}
.cta-banner__title { padding: 38px var(--gap); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; }
.cta-banner__action { padding: 30px var(--gap); border-top: 2px solid var(--blu-notte); font-size: 1.2rem; }
.cta-banner__arrow { display: inline-block; color: var(--blu-notte); }

/* pagine interne */
.banner { background: var(--nero); color: #fff; padding: 46px var(--gap) 54px; }
.banner__inner { max-width: 1170px; margin: 0 auto; }
.banner__crumbs { font-size: .9rem; color: #c9cdd1; }
.banner__crumbs a { color: var(--neon); }
.banner__title { max-width: 860px; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.banner__lead { max-width: 760px; margin: 18px 0 0; font-size: 1.2rem; }
.page--inner .banner { border-bottom: 10px solid var(--neon); }
.prose { max-width: 1170px; margin: 0 auto; padding: 50px var(--gap) 80px; }
.prose > * { max-width: min(860px, 100%); }
.prose h2 { margin: 1.6em 0 .55em; font-size: clamp(1.45rem, 2.6vw, 1.8rem); font-weight: 800; }
.prose__wide { width: 100%; margin: 28px 0; aspect-ratio: 15 / 8; object-fit: cover; }
.prose__half { margin: 28px 0; aspect-ratio: 3 / 2; object-fit: cover; }
.note { padding: 18px 22px; background: var(--mint); }
.prose--legal h2 { font-size: 1.3rem; }

/* modulo di iscrizione */
.sign { max-width: 760px; }
.sign__cycles { margin: 0 0 26px; padding: 0; border: 0; display: grid; gap: 12px; }
.sign__cycles legend { margin-bottom: 12px; font-size: 1.3rem; font-weight: 800; }
.sign__cycle { position: relative; display: grid; gap: 2px; padding: 16px 18px 16px 52px; border: 2px solid var(--rule); cursor: pointer; }
.sign__cycle input { position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; accent-color: var(--nero); }
.sign__cycle:has(input:checked) { border-color: var(--nero); background: #edfff4; }
.sign__cycle-name { font-weight: 800; font-size: 1.15rem; }
.sign__cycle-time { color: #4a5056; font-size: .92rem; }
.sign__row { display: grid; gap: 6px; margin-bottom: 14px; }
.sign__row label { font-weight: 500; }
.sign__row label span { font-weight: 400; color: #4a5056; }
.sign__row input, .sign__row select {
	height: 52px;
	padding: 0 12px;
	border: 1px solid #6b7177;
	border-radius: 0px;
	font: inherit;
	background: #fff;
}
.sign__row--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.sign__row--check input { width: 20px; height: 20px; margin-top: 3px; }
.sign [aria-invalid="true"] { border-color: #B00020; }
.sign__error { min-height: 1.4em; margin: 0; color: #B00020; font-size: .92rem; }
.sign__trap { position: absolute; left: -5000px; width: 1px; overflow: hidden; }
.sign__status { min-height: 1.5em; font-weight: 500; }
.sign__done { max-width: 760px; padding: 24px; border-left: 8px solid var(--neon); background: #f2f4f5; }

/* in fondo: colonne di link e indirizzo */
.footer { background: #16191c; color: #fff; padding: 60px var(--gap) 40px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__cols { display: grid; gap: 30px; max-width: 1170px; margin: 0 auto 40px; }
.footer__title { margin-bottom: 12px; font-weight: 800; }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.footer__base { display: grid; gap: 24px; max-width: 1170px; margin: 0 auto; padding: 20px 0; border-top: 1px solid #5c6166; border-bottom: 1px solid #5c6166; }
.footer__info img { margin-bottom: 16px; }
.footer__info p { margin: 0; }
.footer__cookie { padding: 0; background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; }
.footer__copy { margin: 0; color: #9aa0a6; }

/* avviso cookie: barra piatta in basso + bottone rotondo per riaprirla */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 4px solid var(--neon); box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); }
.cookie-bar__inner { max-width: 1170px; margin: 0 auto; padding: 20px var(--gap); }
.cookie-bar__title { margin-bottom: 6px; font-weight: 800; font-size: 1.15rem; }
.cookie-bar__text { font-size: .97rem; }
.cookie-bar__more { margin-bottom: 12px; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-float {
	position: fixed;
	left: 14px;
	bottom: 14px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #0b6fc6;
	color: #fff;
	cursor: pointer;
}

@media screen and (min-width: 768px) {
	.header__cta { display: inline-block; }
	.header__nav ul { grid-template-columns: repeat(3, auto); justify-content: start; }
	.hero { min-height: 760px; padding-bottom: 96px; }
	.hero__card { padding-top: 380px; margin-left: max(var(--gap), calc((100% - 1170px) / 2)); }
	.finder { grid-template-columns: auto 1fr auto; align-items: center; margin-top: -60px; }
	.finder__note { grid-column: 2; grid-row: 2; }
	.news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.facts__grid { grid-template-columns: 1fr 1fr; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cycles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.faq__cols { grid-template-columns: 1fr 1fr; }
	.footer__cols { grid-template-columns: repeat(4, 1fr); }
	.footer__base { grid-template-columns: 270px 1fr; }
	.footer__legal { padding-left: 28px; border-left: 1px solid #5c6166; }
	.prose__half { float: right; width: 44%; margin: 6px 0 20px 30px; }
}
@media (min-width: 1024px) {
	.feature__card { position: absolute; left: 0; bottom: 30px; width: 410px; }
	.split { grid-template-columns: 1fr 1fr; }
	.overlap { grid-template-columns: 58% 1fr; align-items: start; }
	.overlap__card { margin: 0 0 0 -60px; position: relative; padding: 50px 40px; }
	.overlap__media { padding-top: 40px; }
	.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cta-banner { grid-template-columns: 1fr 1fr; }
	.cta-banner__action { border-top: 0; border-left: 2px solid var(--blu-notte); }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
.page--home .footer { margin-top: 0; }
.page--legal .banner { border-bottom: 4px solid var(--plum); }
