/* Faldone Leggero
   colori: blu notte del faldone, rosso della costina, azzurro della carta da pacchi */

body {
	margin: 0;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #212529;
	background: #fff;
}
*, *:before, *:after { box-sizing: border-box; }
html { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1b3664; }
a:hover { color: #971a1e; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.visuallyHidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skipLink:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 500; background: #fff; padding: 8px 14px; }
:focus-visible { outline: 3px solid #ffcc00; outline-offset: 2px; }
.wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* striscia blu in alto con il bottone rosso */
#promo { background: #1b3664; color: #fff; }
#promo .wrap { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 76px; padding-left: 230px; }
#promo p { margin: 0; font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 2.6rem); letter-spacing: -.01em; }
#promo p span { color: #ffcc00; }
.bttnStartNow { display: inline-block; background: #971a1e; color: #fff; border: 2px solid #fff; border-radius: 4px; padding: .1em .55em; font-weight: 800; font-size: 1.4rem; text-decoration: none; box-shadow: 0 2px 5px rgba(0,0,0,.35); white-space: nowrap; }
.bttnStartNow:hover { background: #b52025; color: #fff; }
.bttnStartNow.big { font-size: clamp(1.6rem, 2.8vw, 2.4rem); padding: .05em .5em; }

/* barra grigia del menu, logo che sborda */
.navStrip { background: #f1f2f4; border-bottom: 1px solid #fff; position: relative; }
.navStrip .wrap { display: flex; align-items: center; min-height: 66px; padding-left: 250px; gap: 8px; }
#siteLogo { position: absolute; left: max(15px, calc(50% - 600px)); top: -66px; background: #fff; border-radius: 0 0 12.8px 12.8px; padding: 14px 16px 12px; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
#siteLogo img { width: 200px; height: auto; }
.navLinks { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px 22px; flex: 1; }
.navLinks a { color: #1b3664; text-decoration: none; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 1.2rem; }
.navLinks a:hover, .navLinks a[aria-current] { color: #971a1e; text-decoration: underline; }
.btnSignIn { background: #1b3664; color: #fff; border-radius: 51.2px; padding: 8px 18px; text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-size: 1.15rem; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.btnSignIn:hover { background: #4577b5; color: #fff; }
.navToggle { display: none; background: #1b3664; color: #fff; border: 0; border-radius: 51.2px; padding: 8px 16px; font: 600 1rem "Montserrat", sans-serif; }

/* grande riquadro foto in apertura */
#heroPhoto { position: relative; margin: 12px 0 0; height: 46vw; max-height: 470px; min-height: 280px; overflow: hidden; background: #1b3664; }
#heroPhoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
#heroPhoto .heroLabel { position: absolute; left: 30px; top: 22px; display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
#heroPhoto .heroLabel small { display: block; font-weight: 400; font-size: .75rem; }
#heroPhoto .heroCaption { position: absolute; right: 30px; bottom: 26px; max-width: 560px; background: rgba(27,54,100,.88); color: #fff; padding: 18px 22px; border-radius: 6.4px; }
#heroPhoto .heroCaption h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 0 0 .3em; }
#heroPhoto .heroCaption p { margin: 0; font-size: 1rem; }

/* cosa vuoi fare: bolle */
#learn { background: linear-gradient(120deg, #f1f2f4, #fff 40%, #f1f2f4); margin-top: 26px; padding: 22px 0; }
#learn .wrap { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 20px; }
.learnQuestion { text-align: center; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.05; color: #000; margin: 0; }
.learnQuestion b { display: block; font-size: 1.35em; }
.bubbles { position: relative; height: 290px; }
.bubble { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 50%; color: #fff; font-weight: 800; line-height: 1.05; text-decoration: none; border: 5px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); padding: 10px; }
.bubble:hover { color: #ffcc00; }
.bubble.b1 { width: 200px; height: 200px; left: 0; top: 0; background: radial-gradient(circle at 35% 30%, #4b7cc0, #1b3664 70%); font-size: 1.7rem; }
.bubble.b2 { width: 240px; height: 240px; left: 160px; top: 10px; background: radial-gradient(circle at 35% 30%, #5b8ccc, #2f5f9e 70%); font-size: 1.85rem; }
.bubble.b3 { width: 150px; height: 150px; left: 95px; top: 175px; background: radial-gradient(circle at 35% 30%, #c3383d, #6e0f12 75%); font-size: 1.35rem; }
.learnCta { text-align: center; }
.learnCta p { margin: 14px 0 0; font-size: 1.15rem; }

/* sezione azzurra con le schede ad arco */
#learnEnglish { background: linear-gradient(180deg, #d7e4ec, #eaf3fb); padding: 70px 0 80px; text-align: center; }
.sectionTitle { font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 4.2rem); letter-spacing: -.01em; color: #212529; }
.sectionTitle .red { color: #971a1e; }
.sectionText { font-size: clamp(1.1rem, 2.1vw, 1.95rem); line-height: 1.25; max-width: 1050px; margin: 0 auto 36px; color: #333; }
.archCards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.archCard { background: #fff; padding: 6px; border-radius: 12.8px 12.8px 160px 160px; box-shadow: 0 4px 10px rgba(0,0,0,.15); min-width: 0; text-align: left; }
.archCard h3 { background: #1b3664; color: #fff; text-align: center; font-size: 1.35rem; line-height: 1.15; padding: 10px 8px; margin: 0; border-radius: 8px 8px 0 0; min-height: 3.6em; display: flex; align-items: center; justify-content: center; }
.archCard figure { position: relative; margin: 0; border-radius: 0 0 150px 150px; overflow: hidden; }
.archCard figure img { width: 100%; aspect-ratio: .9; object-fit: cover; }
.archNum { position: absolute; top: 12px; left: 12px; background: #4577b5; color: #fff; border: 2px solid #fff; font-weight: 800; font-size: 1.6rem; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.archCard p { font-size: .95rem; line-height: 1.5; padding: 14px 16px 30px; margin: 0; text-align: center; }

/* sabato in aula: foto di sfondo e scudo */
#citizen { position: relative; padding: 80px 0; overflow: hidden; background: #e6eef3; }
#citizen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
#citizen .wrap { position: relative; }
#citizen h2 { text-shadow: 0 0 18px #fff, 0 0 4px #fff; text-align: center; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.7rem); color: #212529; }
.citizenRow { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 40px; align-items: center; margin-top: 30px; }
.citizenText { font-size: 1.35rem; line-height: 1.5; background: rgba(255,255,255,.82); padding: 18px 20px; border-radius: 6.4px; }
.citizenText b { font-weight: 800; }
.shieldCard { background: #fff; padding: 5px; border-radius: 8px 8px 150px 150px; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.shieldCard .shieldHead { background: #1b3664; color: #fff; text-align: center; font-weight: 700; padding: 8px; border-radius: 6px 6px 0 0; }
.shieldCard img { border-radius: 0 0 145px 145px; width: 100%; aspect-ratio: .95; object-fit: cover; }
.dateList { list-style: none; margin: 0; padding: 0; }
.dateList li { background: rgba(255,255,255,.85); border-left: 6px solid #971a1e; margin-bottom: 12px; padding: 12px 16px; border-radius: 0 6.4px 6.4px 0; font-size: 1.05rem; }
.dateList b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; color: #1b3664; }

/* cose che non facciamo: schede barrate */
#jobSkills { padding: 70px 0; background: #fff; }
#jobSkills h2 { text-align: center; font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.2rem); }
.centeredText { text-align: center; max-width: 760px; margin: 0 auto 30px; font-size: 1.15rem; }
.strikeCards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.strikeCard { border: 2px solid #d7e4ec; border-radius: 12.8px; padding: 18px 16px; background: #f1f2f4; min-width: 0; }
.strikeCard s { display: block; font-weight: 800; font-size: 1.1rem; color: #6b6b6b; text-decoration-color: #971a1e; text-decoration-thickness: 3px; margin-bottom: 8px; }
.strikeCard p { font-size: .92rem; margin: 0; }
.strikeCard.weak { background: #fff8d6; border-color: #ffcc00; }
.strikeCard.weak b { display: block; font-size: 1.1rem; margin-bottom: 8px; }

/* modulo in due passi */
#testimonials { padding: 70px 0; background: linear-gradient(180deg, #f1f2f4, #fff); }
#testimonials h2 { text-align: center; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.stepForm { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 12.8px; box-shadow: 0 4px 14px rgba(0,0,0,.12); overflow: hidden; }
.stepTabs { display: grid; grid-template-columns: 1fr 1fr; background: #1b3664; color: #fff; }
.stepTabs span { padding: 12px 18px; font-family: "Barlow Condensed", sans-serif; font-size: 1.25rem; }
.stepTabs span.on { background: #971a1e; }
.stepBody { padding: 26px 28px 24px; }
.formGroup { margin-bottom: 18px; }
.formGroup label, .formGroup legend { display: block; font-weight: 700; margin-bottom: 6px; }
.formGroup fieldset { border: 0; padding: 0; margin: 0; }
.form-control { width: 100%; padding: 11px 12px; border: 1px solid #b9c7d3; border-radius: 6.4px; font: 1rem "Montserrat", sans-serif; background: #fff; }
.form-control.isBad { border-color: #971a1e; box-shadow: 0 0 0 2px rgba(151,26,30,.15); }
.fieldErr { display: block; min-height: 1.3em; color: #971a1e; font-size: .9rem; margin-top: 4px; }
.radioRow { display: flex; flex-wrap: wrap; gap: 10px; }
.radioRow label { display: flex; gap: 8px; align-items: center; font-weight: 400; border: 1px solid #b9c7d3; border-radius: 6.4px; padding: 9px 12px; cursor: pointer; }
.formNav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.btn-primary { background: #1b3664; color: #fff; border: 0; border-radius: 6.4px; padding: 12px 26px; font: 700 1rem "Montserrat", sans-serif; cursor: pointer; }
.btn-primary:hover { background: #4577b5; }
.btn-light { background: #f1f2f4; color: #1b3664; border: 0; border-radius: 6.4px; padding: 12px 22px; font: 700 1rem "Montserrat", sans-serif; cursor: pointer; }
.consentLine { display: flex; gap: 10px; font-size: .95rem; }
.okDialog { border: 0; border-radius: 12.8px; padding: 0; max-width: 460px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.okDialog::backdrop { background: rgba(27,54,100,.55); }
.okDialog .okHead { background: #1b3664; color: #fff; padding: 14px 20px; font-weight: 800; }
.okDialog .okBody { padding: 18px 20px 20px; }

/* domande in due colonne */
#faq { padding: 60px 0 70px; }
#faq h2 { text-align: center; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.faqCols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 44px; }
.faqCols h3 { font-size: 1.15rem; color: #1b3664; margin-bottom: .3em; }
.faqCols p { margin: 0; font-size: 1rem; }

/* novità: foto e testo */
#news { background: linear-gradient(110deg, #9fe3fb 0%, #e6f8ff 40%, #fff 70%); padding: 60px 0; }
.newsRow { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.newsRow img { border: 6px solid #fff; border-radius: 6.4px; box-shadow: 0 6px 14px rgba(0,0,0,.2); width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.newsTitle { font-weight: 800; color: #1b3664; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; }
.newsText { font-size: 1.1rem; line-height: 2; }

/* pagine interne */
.pageBand { background: #d7e4ec; padding: 44px 0 38px; }
.pageBand h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.1rem); color: #1b3664; }
.pageBand p { font-size: 1.2rem; max-width: 760px; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 10px; }
.pageText { overflow-wrap: anywhere; max-width: 820px; margin: 0 auto; padding: 44px 15px 64px; }
.pageText h2 { font-weight: 800; font-size: 1.6rem; color: #1b3664; margin-top: 1.6em; }
.pageText figure { margin: 26px 0; }
.pageText figure img { border-radius: 12.8px 12.8px 120px 120px; width: 100%; aspect-ratio: 2; object-fit: cover; }
.pageText figcaption { font-size: .85rem; color: #555; margin-top: 6px; text-align: center; }
.pageText .yellowNote { background: #fff8d6; border-left: 6px solid #ffcc00; padding: 14px 18px; margin: 22px 0; }
.legalPage .pageText h2 { font-size: 1.25rem; }

/* piede blu a riquadri */
footer { background: #1b3664; color: #fff; padding: 56px 0 30px; }
footer a { color: #fff; }
.footBoxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.footBox { border: 1px solid #2b4070; padding: 26px 24px; }
.footBox h3 { font-size: 1.1rem; text-decoration: underline; margin-bottom: 14px; }
.footBox ul { list-style: none; margin: 0; padding: 0; }
.footBox li { overflow-wrap: anywhere; margin-bottom: 12px; font-weight: 600; font-size: .95rem; }
.footBox li a { text-decoration: none; }
.footBox li a:hover { text-decoration: underline; }
.footBox button { background: none; border: 0; color: #fff; font: 600 .95rem "Montserrat", sans-serif; padding: 0; cursor: pointer; text-align: left; }
.footCopy { text-align: center; margin-top: 34px; font-size: 1rem; }
.footCopy img { margin: 14px auto 0; width: 170px; }

/* banda cookie sotto il menu */
#cookieBand { position: sticky; top: 0; z-index: 90; background: #ffcc00; color: #1b1b1b; padding: 10px 0; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
#cookieBand .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; font-size: .95rem; }
#cookieBand p { margin: 0; flex: 1 1 480px; }
#cookieBand .cbBtns { display: flex; gap: 8px; flex-wrap: wrap; }
#cookieBand button { border-radius: 4px; padding: 7px 14px; font: 700 .9rem "Montserrat", sans-serif; cursor: pointer; border: 2px solid #1b3664; background: #fff; color: #1b3664; }
#cookieBand button.yes { background: #1b3664; color: #fff; }
#cookieBand .cbOpts { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; }

@media (max-width: 1100px) {
	#learn .wrap { grid-template-columns: 1fr; }
	.bubbles { width: 400px; margin: 0 auto; }
	.strikeCards { grid-template-columns: repeat(3, 1fr); }
	.archCards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	#promo .wrap { padding-left: 15px; min-height: 48px; gap: 10px; }
	#promo p { font-size: 1rem; }
	.bttnStartNow { font-size: 1rem; }
	.learnQuestion { font-size: 1.6rem; }
	.learnQuestion b { font-size: 1.15em; }
	.navStrip .wrap { padding-left: 15px; justify-content: space-between; }
	#siteLogo { position: static; box-shadow: none; padding: 6px 0; background: none; }
	#siteLogo img { width: 160px; }
	.navToggle { display: block; }
	.navLinks, .btnSignIn { display: none; }
	.navStrip.open .navLinks { display: flex; flex-direction: column; flex-basis: 100%; padding: 10px 0 16px; }
	.navStrip .wrap { flex-wrap: wrap; }
	#heroPhoto { height: auto; max-height: none; }
	#heroPhoto img { height: 260px; }
	#heroPhoto .heroCaption { position: static; max-width: none; border-radius: 0; }
	.bubbles { width: auto; height: auto; display: flex; justify-content: center; gap: 10px; }
	.bubble, .bubble.b1, .bubble.b2, .bubble.b3 { position: static; width: 88px; height: 88px; font-size: .82rem; border-width: 3px; padding: 4px; }
	.archCards, .strikeCards, .faqCols, .newsRow, .footBoxes { grid-template-columns: 1fr; }
	.citizenRow { grid-template-columns: 1fr; }
	.shieldCard { max-width: 300px; margin: 0 auto; }
	.citizenText { font-size: 1.1rem; }
	.stepBody { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
.hpBox { display: none; }
