/* ==========================================================================
   Hubacus Academy Pro — foglio di stile principale
   Brand Hubacus (BRAND.md) · struttura sezioni ispirata a boolean.careers ·
   header a capsula ispirato a extendi.it · tema chiaro / scuro.
   ========================================================================== */

/* ─── Caratteri (inclusi nel tema: nessuna richiesta ai server di Google) ─ */
@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/outfit-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

/* ─── Colori: tema chiaro (predefinito) ──────────────────────────────── */
:root {
	/* Brand */
	--brand-blue: #1863dc;
	--brand-navy: #002169;
	--brand-ink: #212121;

	/* Superfici */
	--bg: #ffffff;
	--bg-soft: #f6f9fe;
	--bg-tint: #e1ebfc;
	--bg-grey: #eceff3;
	--surface: #ffffff;
	--surface-2: #f3f7fe;
	--border: #e3e7ee;
	--border-strong: #c6d9f8;

	/* Testo */
	--text: #212121;
	--text-soft: #4e4b66;
	--muted: #6b7088;
	--heading: #002169;        /* titoli in evidenza (card, sezioni blu) */

	/* Accenti */
	--accent: #1863dc;         /* sfondo bottoni primari */
	--accent-strong: #002169;  /* hover bottoni, sezioni piene */
	--accent-text: #1863dc;    /* link, icone, stelle */
	--on-accent: #ffffff;
	--tint: #e1ebfc;           /* fondo icone e badge chiari */
	--tint-soft: #eef4fd;
	--chip-bg: #c6d9f8;
	--chip-text: #002169;
	--mark: #8db4f2;           /* evidenziatore dietro ai titoli */
	--marquee: #8a90a6;

	/* Zone fisse */
	--hdr-bg: #212121;
	--hdr-border: rgba(255, 255, 255, .12);
	--hdr-text: #ffffff;
	--hdr-hover: rgba(255, 255, 255, .08);
	--hdr-accent: #93b8f2; --hdr-mark: #1863dc;
	--hdr-cta-bg: #ffffff;
	--hdr-cta-text: #212121;
	--hdr-shadow: 0 10px 30px rgba(33, 33, 33, .18);
	--hdr-shadow-scrolled: 0 14px 36px rgba(0, 0, 0, .28);
	--footer-bg: #212121;
	--band-bg: #002169;        /* fasce piene blu (CTA, "quando iniziare") */
	--pricing-bg: linear-gradient(160deg, #c6d9f8 0%, #d9e6fb 35%, #93b8f2 75%, #1863dc 100%);
	--hero-course-bg: linear-gradient(100deg, #e1ebfc 0%, #eef4fd 55%, #f6f9fe 100%);

	--shadow: 0 4px 14px rgba(33, 33, 33, .10);
	--shadow-soft: 0 2px 10px rgba(0, 33, 105, .06);
	--shadow-lg: 0 18px 40px rgba(0, 33, 105, .14);

	/* Forma */
	--radius: 16px;
	--radius-sm: 10px;
	--pill: 120px;

	--container: 940px;
	--gutter: 16px;
	--header-space: 112px;

	--font-display: "Outfit", system-ui, sans-serif;
	--font-body: "Montserrat", system-ui, sans-serif;

	color-scheme: light;
}

/* ─── Colori: tema scuro ─────────────────────────────────────────────── */
:root[data-theme="dark"] {
	--bg: #111318;
	--bg-soft: #14171d;
	--bg-tint: #16213a;
	--bg-grey: #181b21;
	--surface: #1c2027;
	--surface-2: #222833;
	--border: #2c323d;
	--border-strong: #34507f;

	--text: #eef1f6;
	--text-soft: #b9c0ce;
	--muted: #8f96a7;
	--heading: #a9c8ff;

	--accent: #1863dc;
	--accent-strong: #3d82ef;
	--accent-text: #7eaaf6;
	--on-accent: #ffffff;
	--tint: #1f3157;
	--tint-soft: #1a2333;
	--chip-bg: #213a69;
	--chip-text: #d6e4ff;
	--mark: #2f5eae;
	--marquee: #6f7789;

	--hdr-bg: #ffffff;
	--hdr-border: #e3e7ee;
	--hdr-text: #212121;
	--hdr-hover: rgba(33, 33, 33, .06);
	--hdr-accent: #1863dc; --hdr-mark: #8db4f2;
	--hdr-cta-bg: #212121;
	--hdr-cta-text: #ffffff;
	--hdr-shadow: 0 10px 30px rgba(0, 0, 0, .45);
	--hdr-shadow-scrolled: 0 14px 36px rgba(0, 0, 0, .55);
	--footer-bg: #0c0e12;
	--band-bg: #0f2453;
	--pricing-bg: linear-gradient(160deg, #142240 0%, #16264a 45%, #1a3b7c 80%, #1863dc 100%);
	--hero-course-bg: linear-gradient(100deg, #16213a 0%, #141a27 60%, #111318 100%);

	--shadow: 0 4px 14px rgba(0, 0, 0, .35);
	--shadow-soft: 0 2px 10px rgba(0, 0, 0, .25);
	--shadow-lg: 0 18px 40px rgba(0, 0, 0, .45);

	color-scheme: dark;
}

/* Senza JavaScript segue comunque le impostazioni del dispositivo */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		--bg: #111318; --bg-soft: #14171d; --bg-tint: #16213a; --bg-grey: #181b21;
		--surface: #1c2027; --surface-2: #222833; --border: #2c323d; --border-strong: #34507f;
		--text: #eef1f6; --text-soft: #b9c0ce; --muted: #8f96a7; --heading: #a9c8ff;
		--accent-strong: #3d82ef; --accent-text: #7eaaf6; --tint: #1f3157; --tint-soft: #1a2333;
		--chip-bg: #213a69; --chip-text: #d6e4ff; --mark: #2f5eae; --marquee: #6f7789;
		--hdr-bg: #ffffff; --hdr-border: #e3e7ee; --hdr-text: #212121; --hdr-hover: rgba(33, 33, 33, .06); --hdr-accent: #1863dc; --hdr-mark: #8db4f2; --hdr-cta-bg: #212121; --hdr-cta-text: #ffffff; --hdr-shadow: 0 10px 30px rgba(0, 0, 0, .45); --hdr-shadow-scrolled: 0 14px 36px rgba(0, 0, 0, .55); --footer-bg: #0c0e12; --band-bg: #0f2453;
		--pricing-bg: linear-gradient(160deg, #142240 0%, #16264a 45%, #1a3b7c 80%, #1863dc 100%);
		--hero-course-bg: linear-gradient(100deg, #16213a 0%, #141a27 60%, #111318 100%);
		--shadow: 0 4px 14px rgba(0, 0, 0, .35); --shadow-soft: 0 2px 10px rgba(0, 0, 0, .25); --shadow-lg: 0 18px 40px rgba(0, 0, 0, .45);
		color-scheme: dark;
	}
}

/* ─── Base ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	transition: background-color .25s ease, color .25s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0;
	color: var(--text);
}

p { margin: 0; }
p strong, p b { color: var(--text); font-weight: 700; }

[id] { scroll-margin-top: calc(var(--header-space) - 16px); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--surface); color: var(--text); border-radius: 8px;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.container--wide { max-width: calc(1180px + var(--gutter) * 2); }

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }
.bg-grey { background: var(--bg-grey); }
.center { text-align: center; }

.h2 { font-size: clamp(30px, 4vw, 40px); }
.lead { font-size: 18px; color: var(--text); }
.lead-center { max-width: 720px; margin: 16px auto 0; }
.text-accent { color: var(--accent-text); }

/* Evidenziatore: "pennarello" dietro al testo, steso da sinistra a destra
   quando la sezione entra nello schermo */
.mark {
	background-image: linear-gradient(var(--mark), var(--mark));
	background-repeat: no-repeat;
	background-position: 0 85%;
	background-size: 100% 0.62em;
	padding: 0 6px;
	margin: 0 -2px;
	border-radius: 2px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.js .mark {
	background-size: 0 0.62em;
	transition: background-size .8s cubic-bezier(.65, 0, .35, 1) .35s;
}
.js .is-visible .mark { background-size: 100% 0.62em; }

/* ─── Bottoni ────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 24px;
	border-radius: var(--pill);
	border: 2px solid transparent;
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-align: center;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
	cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-navy { background: var(--brand-navy); color: #fff; }
.btn-navy:hover { background: var(--brand-blue); }
.btn-white { background: #fff; color: var(--brand-navy); }
.btn-white:hover { background: #e1ebfc; }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent-text); }
.btn-whatsapp { background: #25d366; color: #0b2e17; }
.btn-whatsapp:hover { background: #1fb457; }
.btn-sm { min-height: 36px; padding: 6px 18px; font-size: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ─── Header a capsula, fisso in alto ────────────────────────────────── */
.site-header {
	position: fixed;
	inset: 17px 0 auto 0;
	z-index: 50;
	padding: 0 var(--gutter);
	pointer-events: none;
}
.hdr {
	pointer-events: auto;
	position: relative;
	max-width: 800px;
	height: 60px;
	margin: 0 auto;
	padding: 0 10px 0 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--hdr-bg);
	border: 1px solid var(--hdr-border);
	border-radius: 12px;
	box-shadow: var(--hdr-shadow);
	transition: box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled .hdr { box-shadow: var(--hdr-shadow-scrolled); }
.hdr-logo { display: flex; align-items: center; flex: none; }
.hdr-logo img { height: 34px; width: auto; }
/* Logo bianco sull'header scuro (pagina chiara), logo con scritta scura sull'header chiaro (pagina scura) */
.hdr-logo .logo-ink { display: none; }
:root[data-theme="dark"] .hdr-logo .logo-ink { display: block; }
:root[data-theme="dark"] .hdr-logo .logo-white { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .hdr-logo .logo-ink { display: block; }
	:root:not([data-theme]) .hdr-logo .logo-white { display: none; }
}
.hdr-nav { display: flex; align-items: center; gap: 28px; }
.hdr-item { position: relative; }
.hdr-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	background: none;
	border: 0;
	color: var(--hdr-text);
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 15px;
	white-space: nowrap;
}
/* Evidenziatore che scorre da sinistra sotto la voce (al passaggio e con il menu aperto) */
.hdr-label { position: relative; z-index: 0; }
.hdr-label::before { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 40%; z-index: -1; border-radius: 2px; background: var(--hdr-mark); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.hdr-item:hover .hdr-label::before, .hdr-item.is-open .hdr-label::before, .hdr-link:focus-visible .hdr-label::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .hdr-label::before { transition: none; } }
.hdr-link svg { width: 10px; height: 10px; transition: transform .2s ease; }
.hdr-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	min-width: 270px;
	padding: 10px;
	display: grid;
	gap: 2px;
	background: var(--hdr-bg);
	border: 1px solid var(--hdr-border);
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
/* Ponte invisibile: il menu non si chiude passando dalla voce alla tendina */
.hdr-menu::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.hdr-menu a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 8px;
	color: var(--hdr-text);
	font-weight: 500;
	font-size: 15px;
	white-space: nowrap;
	transition: background .15s;
}
.hdr-menu a:hover,
.hdr-menu a:focus-visible { background: var(--hdr-hover); }
.hdr-menu svg { width: 20px; height: 20px; flex: none; color: var(--hdr-accent); }
.hdr-menu small { margin-left: auto; padding-left: 12px; font-size: 11px; font-weight: 700; color: var(--hdr-accent); }
.hdr-item.is-open .hdr-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.hdr-item.is-open .hdr-link svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 940px) {
	.hdr-item:hover .hdr-menu {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
		transition: opacity .18s ease, transform .18s ease, visibility 0s;
	}
	.hdr-item:hover .hdr-link svg { transform: rotate(180deg); }
}
.hdr-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.hdr-theme {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 1px solid var(--hdr-border);
	border-radius: 8px;
	background: transparent;
	color: var(--hdr-text);
	transition: background .2s, border-color .2s;
}
.hdr-theme:hover { background: var(--hdr-hover); border-color: var(--hdr-accent); }
.hdr-theme svg { width: 19px; height: 19px; }
.hdr-theme .ico-sun { display: none; }
:root[data-theme="dark"] .hdr-theme .ico-sun { display: block; }
:root[data-theme="dark"] .hdr-theme .ico-moon { display: none; }
.hdr-cta {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 22px;
	border-radius: 8px;
	background: var(--hdr-cta-bg);
	color: var(--hdr-cta-text);
	font-weight: 600;
	font-size: 15px;
	transition: background .2s, color .2s;
}
.hdr-cta:hover { background: var(--brand-blue); color: #fff; }
.hdr-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--hdr-text); }

/* Header mobile */
@media (max-width: 939px) {
	:root { --header-space: 96px; }
	.site-header { inset: 12px 0 auto 0; }
	.hdr { height: auto; min-height: 58px; flex-wrap: wrap; gap: 0; padding: 0 6px 0 16px; max-height: calc(100vh - 24px); overflow-y: auto; }
	.hdr-logo { height: 58px; }
	.hdr-logo img { height: 30px; }
	.hdr-actions { margin-left: auto; gap: 2px; }
	.hdr-theme { border-color: transparent; width: 40px; height: 40px; }
	.hdr-toggle { display: block; }
	.hdr-nav, .hdr-actions .hdr-cta { display: none; }
	.site-header.is-open .hdr-nav {
		display: flex; flex-direction: column; align-items: stretch; gap: 0;
		width: 100%; order: 3; padding: 4px 0 8px; border-top: 1px solid var(--hdr-border);
	}
	.mobile-cta { display: none; order: 4; width: 100%; justify-content: center; margin: 4px 0 12px; }
	.site-header.is-open .mobile-cta { display: flex; }
	.hdr-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 16px; }
	.hdr-menu {
		position: static; transform: none; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none;
		background: none; display: none; opacity: 1; visibility: visible;
	}
	.hdr-menu::before { display: none; }
	.hdr-item.is-open .hdr-menu { display: grid; transform: none; }
}
@media (min-width: 940px) { .mobile-cta { display: none !important; } }

/* ─── Chip / tag / badge ─────────────────────────────────────────────── */
.tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: var(--pill);
	background: var(--chip-bg);
	color: var(--chip-text);
	font-weight: 700;
	font-size: 13px;
}
.badge {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 6px;
	background: var(--brand-blue);
	color: #fff;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.badge--light { background: var(--tint); color: var(--chip-text); }

/* ─── Hero home ──────────────────────────────────────────────────────── */
.hero { background: var(--bg-soft); padding: calc(var(--header-space) + 28px) 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 54px); margin: 16px 0 20px; }
.hero-sub { font-size: 20px; line-height: 1.5; color: var(--text-soft); max-width: 470px; }
.arrow-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 16px; }
.arrow-list li { display: flex; gap: 10px; align-items: center; }
.arrow-list li::before { content: "→"; color: var(--accent-text); font-weight: 800; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: var(--radius); }
.proof-chip {
	position: absolute; left: -64px; top: 66%;
	display: flex; align-items: center; gap: 10px;
	padding: 8px 16px 8px 8px; border-radius: var(--pill);
	background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px);
	box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--text);
}
.avatars { display: flex; }
.avatars span {
	width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--surface);
	margin-left: -8px; display: grid; place-items: center;
	font-size: 11px; font-weight: 800; color: #fff; background: var(--brand-blue);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--brand-navy); }
.avatars span:nth-child(3) { background: #3d82ef; }
.avatars span:nth-child(4) { background: #3a3a3a; }

/* Striscia scorrevole */
.marquee { padding: 36px 0 8px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-item {
	font-family: var(--font-display); font-weight: 700; font-size: 22px;
	color: var(--marquee); letter-spacing: -0.01em; white-space: nowrap;
	display: inline-flex; align-items: center; gap: 10px;
}
.marquee-item::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #93b8f2; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Banner promozionale blu */
.promo {
	display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px;
	padding: 28px 32px; border-radius: var(--radius);
	background: linear-gradient(110deg, #002169 0%, #1863dc 55%, #3d82ef 100%);
	color: #fff; overflow: hidden;
}
.promo h3 { color: #fff; font-size: 24px; margin-bottom: 18px; max-width: 320px; }
.promo-visual {
	justify-self: end; width: 100%; max-width: 330px; aspect-ratio: 16 / 9;
	border-radius: 12px; background: #10162b; box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
	position: relative; overflow: hidden;
}
.promo-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.promo-visual .play {
	position: absolute; inset: 0; margin: auto; width: 56px; height: 40px; border-radius: 10px;
	background: rgba(255, 255, 255, .92); display: grid; place-items: center;
}

/* Perk (3 icone) */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0 8px; text-align: center; }
.perk-ico { display: block; width: 34px; height: 34px; margin: 0 auto 10px; color: var(--accent-text); }
.perk { font-weight: 700; font-size: 15px; }

/* ─── Aree formative: schede a pillola + pannelli ────────────────────── */
/* Più larga della colonna dei contenuti (fino a 1320px) ma mai oltre lo schermo */
.area-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; width: min(1320px, calc(100vw - 32px)); margin: 36px 0 28px 50%; transform: translateX(-50%); }
.area-tab {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px;
	border: 1px solid var(--border); border-radius: var(--pill); background: var(--surface);
	font-weight: 700; font-size: 14px; color: var(--text); white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.area-tab svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; }
.area-tab small { min-width: 22px; padding: 1px 7px; border-radius: var(--pill); background: var(--tint); color: var(--chip-text); font-size: 11px; font-weight: 800; text-align: center; }
.area-tab:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.area-tab[aria-selected="true"] { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.area-tab[aria-selected="true"] svg { color: #93b8f2; }
.area-tab[aria-selected="true"] small { background: var(--brand-blue); color: #fff; }
.area-tab--link { border-style: dashed; border-color: var(--border-strong); color: var(--accent-text); }
.area-tab--link span { font-weight: 800; transition: transform .2s; }
.area-tab--link:hover { border-style: solid; border-color: var(--accent-text); }
.area-tab--link:hover span { transform: translateX(3px); }
.area-panel[hidden] { display: none; }
.area-panel { animation: panel-in .35s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.area-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.area-intro h3 { font-size: 26px; color: var(--heading); }
.area-intro p { font-size: 15px; color: var(--text-soft); max-width: 600px; margin-top: 6px; }
.area-intro a { font-weight: 800; font-size: 13px; color: var(--accent-text); white-space: nowrap; }
.soon-card {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
	padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
	border: 1px dashed var(--border-strong);
}
.soon-ico { width: 64px; height: 64px; border-radius: 14px; background: var(--tint); color: var(--accent-text); display: grid; place-items: center; }
.soon-ico svg { width: 32px; height: 32px; }
.soon-card h4 { font-size: 20px; margin: 10px 0 6px; }
.soon-card p { font-size: 14px; color: var(--text-soft); max-width: 470px; }

/* ─── Card corso ─────────────────────────────────────────────────────── */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course-card {
	display: flex; flex-direction: column; background: var(--surface);
	border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow);
	transition: transform .25s, box-shadow .25s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--tint); }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.course-card:hover .course-media img { transform: scale(1.04); }
.course-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.course-body { padding: 14px 10px 8px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 26px; color: var(--heading); margin-bottom: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--text); margin-bottom: 10px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 14px; height: 14px; color: var(--accent-text); }
.course-body p { font-size: 14px; color: var(--text-soft); margin-bottom: 14px; }
.course-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.course-foot small { display: block; font-size: 12px; color: var(--text-soft); }
.course-foot strong { font-size: 14px; font-weight: 800; color: var(--heading); }
.discover { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--heading); }
.discover i {
	width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--accent-text);
	display: grid; place-items: center; font-style: normal; transition: background .2s, color .2s;
}
.course-card:hover .discover i { background: var(--brand-blue); color: #fff; }

/* Offerte: badge, prezzo barrato e prezzo nuovo */
:root { --offer: #e5484d; }
:root[data-theme="dark"] { --offer: #ff6b70; }
.badge--fondi { background: var(--brand-navy); color: #fff; font-size: 12px; padding: 5px 10px; }
.facts-note, .fund-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 600; color: var(--text-soft); line-height: 1.45; }
.fund-note { margin-top: 18px; font-size: 14px; }
.facts-note svg, .fund-note svg { width: 20px; height: 20px; flex: none; color: var(--accent-text); }
.facts-note a, .fund-note a { color: var(--accent-text); text-decoration: underline; }
.fund-chips { margin-top: 26px; }
.fund-chips span { font-size: 14px; padding: 8px 14px; background: var(--surface); border-color: var(--border-strong); color: var(--heading); }
.area-more { max-width: 820px; margin: 56px auto 0; }
.area-more h2 { font-size: clamp(24px, 3vw, 30px); color: var(--heading); margin-bottom: 14px; }
.area-more p, .area-more li { color: var(--text-soft); font-size: 16px; line-height: 1.65; }
.area-more p + p, .area-more ul, .area-more h3 { margin-top: 14px; }
.area-more h3 { font-size: 19px; color: var(--heading); }
.area-more ul { padding-left: 20px; }
.badge--offer { background: var(--offer); color: #fff; font-size: 12px; padding: 5px 10px; box-shadow: 0 4px 12px rgba(229, 72, 77, .35); }
/* Prezzo vecchio piccolo, grigio e barrato; prezzo nuovo grande, rosso e ben distanziato */
.card-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.card-price .price-old { color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 16px; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: currentColor; }
.card-price .price-new { color: var(--offer); font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.course-foot .card-price { margin-top: 4px; }
.course-card--offer .course-foot small { color: var(--offer); font-weight: 700; }
.offer-chip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-soft); width: fit-content; }
.offer-chip .price-old { font-size: 18px; }
.offer-chip .price-new { font-size: 30px; }
.offer-chip small { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.price-was { margin-top: 16px; font-size: 16px; color: var(--text-soft); display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.price-was s { color: var(--muted); font-size: 20px; font-weight: 700; text-decoration-thickness: 2px; }
.facts .card-price .price-new { font-size: 20px; }
.facts .card-price .price-old { font-size: 14px; }

/* Card larga (scheda "In evidenza"): foto a sinistra, testo a destra, tutta la riga */
.course-card--wide { grid-column: 1 / -1; flex-direction: row; }
.course-card--wide .course-media { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
.course-card--wide .course-body { padding: 22px 26px 16px; justify-content: center; }
.course-card--wide h3 { font-size: 32px; }
.course-card--wide p { font-size: 15px; }
@media (max-width: 939px) {
	.course-card--wide { flex-direction: column; }
	.course-card--wide .course-media { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
	.course-card--wide .course-body { padding: 14px 10px 8px; }
	.course-card--wide h3 { font-size: 26px; }
}

/* ─── Sicurezza sul lavoro ───────────────────────────────────────────── */
.safety { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.safety h2 { font-size: clamp(30px, 3.6vw, 38px); margin: 14px 0 16px; }
.safety > div > p { font-size: 17px; color: var(--text-soft); }
.safety .checks { margin: 20px 0 28px; font-size: 15px; }
.safety-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.safety-item {
	padding: 18px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-soft);
	border-left: 4px solid var(--brand-blue);
}
.safety-item svg { width: 26px; height: 26px; color: var(--accent-text); margin-bottom: 10px; }
.safety-item h3 { font-size: 17px; margin-bottom: 4px; }
.safety-item p { font-size: 13px; color: var(--text-soft); }
.safety-note { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ─── Aziende (fascia azzurra) ───────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-ico { width: 64px; height: 64px; margin-bottom: 18px; }
.split h2 { font-size: clamp(30px, 3.6vw, 36px); color: var(--heading); margin-bottom: 14px; }
.split p.small { font-size: 14px; color: var(--text-soft); max-width: 320px; }
.step-list { display: grid; gap: 12px; }
.step-card {
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
	padding: 14px 16px; background: var(--surface); border-radius: var(--radius-sm);
	box-shadow: var(--shadow-soft); transition: transform .2s;
}
.step-card:hover { transform: translateX(4px); }
.step-card .chips { display: flex; gap: 6px; margin-bottom: 6px; }
.step-card .chips span { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: var(--tint-soft); text-transform: uppercase; }
.step-card h4 { font-size: 15px; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; }
.step-card p { font-size: 13px; color: var(--text-soft); }
.step-arrow {
	width: 36px; align-self: stretch; border-radius: 8px; background: var(--chip-bg); color: var(--chip-text);
	display: grid; place-items: center; font-weight: 800;
}
.step-cta { margin-top: 4px; justify-content: space-between; width: 100%; background: var(--brand-blue); color: #fff; border-radius: var(--radius-sm); }
.step-cta:hover { background: var(--brand-navy); }

/* ─── Perché sceglierci ──────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; margin-top: 40px; }
.why-ico { width: 28px; height: 28px; color: var(--accent-text); margin-bottom: 12px; }
.why h3 { font-size: 20px; margin-bottom: 8px; }
.why p { font-size: 16px; color: var(--text-soft); }

/* ─── Recensioni ─────────────────────────────────────────────────────── */
.band { height: 56px; background: var(--brand-blue); }
.reviews-head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reviews-head h2 { color: var(--heading); text-align: center; }
.score { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px; border-radius: var(--pill); background: var(--surface); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; }
.score b { font-family: var(--font-display); font-size: 22px; color: var(--accent-text); }
.stars { color: var(--accent-text); letter-spacing: 2px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.review {
	background: var(--surface); border-radius: var(--radius); padding: 22px;
	box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 12px;
}
.review p { font-size: 15px; color: var(--text-soft); }
.review-author { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.review-author span:first-child {
	width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--accent-text);
	display: grid; place-items: center; font-size: 13px; flex: none;
}
.review-author small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }

/* Stelle a riempimento parziale (voti su 10) */
.hf-stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 2px; font-size: 15px; }
.hf-stars-bg { color: var(--border); }
.hf-stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--accent-text); }
.hf-stars--lg { font-size: 20px; }

/* ─── Cosa stai aspettando ───────────────────────────────────────────── */
.picker { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.picker h2 { font-size: clamp(34px, 4vw, 44px); }
.picker h2 + p { font-weight: 700; font-size: 18px; margin-top: 10px; }
.picker-list { display: grid; gap: 12px; }
.picker-item {
	display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--surface);
	border-radius: var(--radius-sm); transition: box-shadow .2s, transform .2s;
}
.picker-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.picker-item .ico { width: 36px; height: 36px; border-radius: 8px; background: var(--tint); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.picker-item .ico svg { width: 20px; height: 20px; }
.picker-item b { display: block; font-size: 15px; font-weight: 800; color: var(--heading); }
.picker-item small { font-size: 12px; color: var(--text-soft); }
.picker-item .chev { margin-left: auto; color: var(--text); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .9); padding: 56px 0 32px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { text-align: center; }
.footer-brand img { height: 64px; width: auto; margin: 0 auto; }
.footer-brand p { margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #c6d9f8; }
.proof-bar {
	margin: 28px 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 8px 8px 8px 20px; border-radius: 10px; background: rgba(0, 0, 0, .35); font-size: 13px;
}
.proof-bar .avatars span { width: 24px; height: 24px; font-size: 9px; border-color: var(--footer-bg); }
.proof-bar > div { display: flex; align-items: center; gap: 8px; }
.proof-bar .stars { color: #93b8f2; }
.proof-bar .btn { background: #2d2d2d; color: #fff; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; border-radius: 8px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; }
.footer-col-l { padding-right: 32px; border-right: 1px solid rgba(255, 255, 255, .2); display: flex; flex-direction: column; gap: 14px; }
.footer-col-r { padding-left: 32px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.wa-btn {
	display: inline-flex; align-items: center; gap: 12px; padding: 8px 26px 8px 8px; border-radius: var(--pill);
	background: var(--brand-blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.15;
	align-self: flex-start;
}
.site-footer .wa-btn:hover { text-decoration: none; background: #3d82ef; }
.wa-ico { width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: grid; place-items: center; flex: none; }
.footer-contacts { font-size: 15px; line-height: 1.7; }
.footer-contacts a { text-decoration: underline; }
.footer-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 20px; }
.footer-courses a { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 14px; line-height: 1.2; }
.footer-courses .ico { width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; color: #93b8f2; }
.footer-courses .ico svg { width: 18px; height: 18px; }
.footer-courses small { display: block; font-weight: 500; color: rgba(255, 255, 255, .55); font-size: 12px; }
.footer-wide { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 8px; background: rgba(0, 0, 0, .35); font-weight: 700; font-size: 14px; }
.footer-parent { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 14px 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; line-height: 1.3; }
.footer-parent small { display: block; font-weight: 500; font-size: 12px; color: rgba(255, 255, 255, .8); }
.footer-parent span:last-child { font-size: 18px; flex: none; }
.site-footer a.footer-parent:hover { background: var(--accent-strong); text-decoration: none; }
.socials { display: flex; justify-content: center; gap: 18px; margin: 40px 0 28px; }
.socials a { width: 20px; height: 20px; color: #fff; }
.socials svg { width: 20px; height: 20px; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255, 255, 255, .55); font-weight: 600; }
.footer-legal div { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Pagina corso · hero ────────────────────────────────────────────── */
.c-hero { background: var(--hero-course-bg); overflow: hidden; }
.c-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 560px; }
.c-hero-text { padding: calc(var(--header-space) + 16px) 0 48px; }
.c-kicker { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; white-space: nowrap; font-weight: 800; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; }
.c-kicker a:hover { color: var(--accent-text); }
.c-kicker span + span { padding-left: 12px; border-left: 2px solid var(--text); color: var(--accent-text); }
.c-hero h1 { font-size: clamp(42px, 6vw, 64px); color: var(--heading); letter-spacing: -0.03em; line-height: 1.04; margin: 18px 0 16px; }
.c-hero p.sub { font-size: 17px; max-width: 440px; color: var(--text); }
.c-hero .btn { margin-top: 28px; }
.rating { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 13px; }
.rating b { display: block; font-weight: 800; }
.c-hero-visual { align-self: end; justify-self: end; width: 100%; max-width: 520px; padding-top: var(--header-space); }
.c-hero-visual img { width: 100%; border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-lg); }

/* Copertina a tutta pagina: la foto occupa la metà destra fino al bordo dello schermo */
.c-hero--full { position: relative; }
.c-hero--full .c-hero-grid { min-height: min(88vh, 780px); }
.c-hero--full .c-hero-text { position: relative; z-index: 1; padding-bottom: 72px; }
.c-hero--full .c-hero-visual { position: absolute; top: 0; right: 0; bottom: 0; width: 50vw; max-width: none; padding: 0; }
.c-hero--full .c-hero-visual img { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.c-hero--riempi .c-hero-visual img { object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%); mask-image: linear-gradient(to right, transparent 0, #000 14%); }
.c-hero--base .c-hero-visual { padding-top: var(--header-space); }
.c-hero--base .c-hero-visual img { object-fit: contain; object-position: center bottom; }

/* Descrizione */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.intro h2 { font-size: clamp(30px, 3.6vw, 36px); margin-bottom: 16px; }
.intro-text p { font-size: 17px; line-height: 1.7; margin-bottom: 14px; color: var(--text); }
.intro-text a { color: var(--accent-text); text-decoration: underline; }
.intro-text ul { padding-left: 20px; }
.facts { display: grid; gap: 12px; background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft); }
.fact { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.fact:last-child { border-bottom: 0; }
.fact .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--accent-text); display: grid; place-items: center; }
.fact .ico svg { width: 20px; height: 20px; }
.fact small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fact b { font-size: 15px; }

/* Programma a schede */
.program-head h2 { font-size: clamp(30px, 3.6vw, 36px); margin-bottom: 14px; }
.program-head p { font-size: 18px; color: var(--text-soft); }
.program { margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface); }
.program-tabs-wrap { display: grid; grid-template-columns: 300px 1fr; }
.program-tabs { background: var(--bg-soft); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.program-tab {
	text-align: left; background: none; border: 0; padding: 16px 14px; border-radius: var(--radius-sm);
	font-weight: 700; font-size: 15px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px;
}
.program-tab small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.program-tab::after { content: "→"; opacity: 0; transition: opacity .2s; }
.program-tab[aria-selected="true"] { background: var(--tint); color: var(--heading); }
.program-tab[aria-selected="true"] small { color: var(--accent-text); }
.program-tab[aria-selected="true"]::after { opacity: 1; }
.program-panel { padding: 22px 28px 28px; }
.program-panel[hidden] { display: none; }
.program-panel h3 { font-size: 30px; color: var(--heading); margin-bottom: 12px; }
.program-panel p { font-size: 15px; color: var(--text-soft); margin-bottom: 14px; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chips span { padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; font-weight: 700; }
.program-cta {
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 22px 28px;
	background: linear-gradient(100deg, #1863dc 0%, #3d82ef 100%); color: #fff;
}
.program-cta h3 { color: #fff; font-size: 22px; }
.program-dl {
	display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px 36px; align-items: center; padding: 26px 28px;
	background: var(--surface-2); border-top: 1px solid var(--border);
}
.program-dl h3 { color: var(--heading); font-size: 22px; }
.program-dl-text p { color: var(--text-soft); font-size: 14px; margin-top: 6px; }
.program-dl .form { gap: 10px; }
.program-cta p { color: rgba(255, 255, 255, .85); font-size: 14px; margin-top: 4px; }

/* Date / quando iniziare */
.start-box { background: var(--band-bg); color: #fff; border-radius: var(--radius); padding: 32px 16px 16px; text-align: center; }
.start-box h2 { color: #fff; font-size: clamp(28px, 3.4vw, 34px); margin-bottom: 12px; }
.start-box > p { max-width: 640px; margin: 0 auto 18px; font-size: 16px; }
.start-dates { background: var(--brand-blue); border-radius: 12px; padding: 16px; }
.start-dates > p { font-weight: 700; font-size: 14px; color: #e1ebfc; margin-bottom: 12px; }
.date-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.date-pill { background: rgba(255, 255, 255, .12); border-radius: 10px; padding: 10px 8px; }
.date-pill b { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1; }
.date-pill small { display: block; font-size: 11px; font-weight: 700; opacity: .9; margin-top: 4px; }
.date-pill em { display: block; font-style: normal; font-size: 11px; opacity: .75; margin-top: 2px; }
.talk { text-align: center; margin-top: 12px; font-weight: 800; font-size: 14px; }
.talk a { color: var(--accent-text); text-decoration: underline; }

/* Come funziona / pilastri / accreditamento */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 8px 0 40px; }
.pillars .tag { font-size: 16px; padding: 6px 16px; margin-bottom: 16px; font-family: var(--font-display); }
.pillars p { font-size: 16px; color: var(--text-soft); margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks li::before { content: "✓"; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-blue); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; flex: none; }
.cert { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 32px; border-radius: var(--radius); background: var(--bg-tint); overflow: hidden; }
.cert-visual { background: linear-gradient(90deg, var(--chip-bg), var(--bg-tint)); padding: 24px; display: grid; place-items: center; }
.cert-doc {
	width: 170px; aspect-ratio: 3 / 4; border-radius: 6px; background: linear-gradient(150deg, #002169, #1863dc);
	transform: rotate(-8deg); box-shadow: 0 16px 30px rgba(0, 33, 105, .35); padding: 18px 14px; color: #fff;
	font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.1; display: flex; flex-direction: column; justify-content: space-between;
}
.cert-doc small { font-size: 9px; letter-spacing: .14em; font-weight: 700; opacity: .7; }
.cert-text { padding: 24px 32px 24px 0; }
.cert-text h3 { font-size: 24px; margin-bottom: 10px; }
.cert-text p { font-size: 16px; }

/* Docenti */
.team-head h2 { font-size: clamp(32px, 4vw, 42px); line-height: 1.2; }
.team-head p { max-width: 760px; margin: 28px auto 0; font-size: 17px; text-align: left; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.teacher { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: start; background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-soft); }
.teacher img, .teacher .ph { width: 140px; height: 160px; object-fit: cover; object-position: top; border-radius: 12px; background: var(--tint); }
.teacher h3 { font-size: 20px; }
.teacher .role { font-size: 12px; font-weight: 800; color: var(--accent-text); text-transform: uppercase; letter-spacing: .03em; margin: 4px 0 8px; }
.teacher p { font-size: 14px; color: var(--text-soft); }
.teacher-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.teacher-links a { font-size: 13px; font-weight: 800; color: var(--heading); text-decoration: underline; }
.teacher h3 a:hover { color: var(--accent-text); }
.teacher-photo { display: block; border-radius: 12px; transition: opacity .2s; }
.teacher-photo:hover { opacity: .85; }

/* ─── Pagina docente ─────────────────────────────────────────────────── */
.doc-links { margin-top: 18px; }
.doc-links a { font-size: 14px; }
.doc-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.facts h3 { font-size: 18px; }
.doc-topics { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.doc-topics li { padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--heading); font-size: 13px; font-weight: 700; }
.doc-topics-wrap { margin-top: 22px; max-width: 520px; }
.doc-topics-wrap h2 { margin-bottom: 8px; font-family: inherit; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* Prezzi + iscrizione */
.pricing { background: var(--pricing-bg); }
.pricing .head h2 { font-size: clamp(32px, 4vw, 42px); color: var(--heading); }
.pricing .head .sub { font-size: 14px; color: var(--text-soft); margin: 12px 0 24px; }
.price-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 45%, transparent); max-width: 560px; margin: 0 auto; }
.price-tab { border: 0; background: none; padding: 10px; border-radius: 10px; font-weight: 800; font-size: 14px; text-transform: uppercase; color: var(--text); }
.price-tab[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow); }
.price-panel { margin-top: 16px; background: var(--surface); border-radius: var(--radius); padding: 28px 24px 32px; }
.price-panel[hidden] { display: none; }
.enroll { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; text-align: left; }
.enroll-price h3 { font-size: 26px; margin-bottom: 10px; }
.enroll-price p { font-size: 14px; color: var(--text-soft); }
.price-from { margin-top: 18px; font-family: var(--font-display); font-size: 18px; color: var(--heading); }
.price-big {
	display: inline-block; margin: 8px 0 12px; padding: 6px 16px; border-radius: 6px; background: var(--brand-blue); color: #fff;
	font-family: var(--font-display); font-weight: 800; font-size: 34px; transform: rotate(-2deg); box-shadow: 0 6px 0 var(--brand-navy);
}
.price-note { font-size: 12px !important; color: var(--muted) !important; }
.enroll-price .checks { margin-top: 16px; }
.enroll-alt { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-soft); }
.enroll-alt .btn { margin-top: 10px; }
.company-panel { text-align: center; }
.company-panel h3 { font-size: 26px; margin-bottom: 10px; }
.company-panel p { font-size: 15px; max-width: 560px; margin: 0 auto 20px; color: var(--text-soft); }

/* Modulo */
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
	background: var(--bg); color: var(--text); font: 500 15px var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 25%, transparent); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; color: var(--text-soft); }
.form .consent input { margin-top: 3px; accent-color: var(--brand-blue); }
.form .consent a { color: var(--accent-text); text-decoration: underline; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; }
.form-msg--ok { background: color-mix(in srgb, #25d366 18%, var(--surface)); color: var(--text); border: 1px solid color-mix(in srgb, #25d366 50%, transparent); }
.form-msg--err { background: color-mix(in srgb, #e5484d 14%, var(--surface)); color: var(--text); border: 1px solid color-mix(in srgb, #e5484d 45%, transparent); }

/* CTA scura con foto */
.cta-band { background: var(--band-bg); padding: 32px 0 0; }
.cta-band-inner { display: grid; grid-template-columns: 1fr 240px; align-items: end; max-width: 620px; margin: 0 auto; }
.cta-card { background: var(--brand-blue); border-radius: var(--radius); padding: 28px; text-align: center; color: #fff; margin-bottom: 32px; position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.cta-card p { font-size: 15px; margin-bottom: 22px; }
.cta-band img { width: 240px; margin-left: -40px; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .25); }

/* FAQ */
.faq h2 { font-size: 34px; margin-bottom: 24px; }
.faq-item { background: var(--surface-2); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq-item summary {
	list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16px;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 500; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 20px 18px; font-size: 15px; color: var(--text-soft); }

/* ─── Pagine interne ─────────────────────────────────────────────────── */
.page-hero { background: var(--bg-soft); padding: calc(var(--header-space) + 40px) 0 56px; }
.page-hero .tag { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 52px); max-width: 820px; }
.page-hero p { font-size: 18px; color: var(--text-soft); max-width: 680px; margin-top: 16px; }
.page-hero .crumbs { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumbs a:hover { color: var(--accent-text); }
.page-body { padding: 56px 0 88px; }
.page-full { padding-top: var(--header-space); }

.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose h4 { font-size: 18px; margin-top: 1.3em; }
.prose a { color: var(--accent-text); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--brand-blue); color: var(--text-soft); }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--border); }
.prose .alignwide { max-width: 940px; }
.prose figcaption { font-size: 13px; color: var(--muted); }

/* Articoli */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16 / 10; background: var(--tint); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px; display: grid; gap: 8px; }
.post-card time { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.post-card h2 { font-size: 20px; }
.post-card p { font-size: 14px; color: var(--text-soft); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; }
.pagination .current { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.empty-state { padding: 40px; text-align: center; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--border-strong); color: var(--text-soft); }

/* Calendario */
.cal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cal-month { margin-bottom: 36px; }
.cal-month h2 { font-size: 24px; margin-bottom: 14px; text-transform: capitalize; }
.cal-list { display: grid; gap: 12px; }
.cal-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; padding: 14px; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.cal-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.cal-item[hidden] { display: none; }
.cal-date { text-align: center; padding: 8px 0; border-radius: 10px; background: var(--tint); color: var(--heading); }
.cal-date b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1; }
.cal-date small { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.cal-item h3 { font-size: 18px; }
.cal-item p { font-size: 13px; color: var(--text-soft); margin-top: 2px; }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.contact-card { display: grid; gap: 6px; padding: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform .2s; }
.contact-card:hover { transform: translateY(-3px); }
.contact-card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 6px; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card small { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-size: 15px; }
.contact-card b a { display: block; }
.contact-card b a + a { margin-top: 4px; }
.contact-card b a:hover { color: var(--accent-text); }

/* Numeri (consulenza) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--accent-text); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--text-soft); font-weight: 600; }

/* Modulo iscrizione: pannello trasparenza dark per sezioni blu */
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--tint-soft); border: 1px solid var(--border); font-size: 14px; color: var(--text-soft); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.js .mark { background-size: 100% 0.62em; transition: none; }
	.marquee-track { animation: none; }
	.area-panel { animation: none; }
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 939px) {
	.section { padding: 64px 0; }
	.hero-grid, .split, .picker, .intro, .c-hero-grid, .cert, .program-tabs-wrap,
	.program-cta, .program-dl, .team, .footer-grid, .promo, .safety, .enroll { grid-template-columns: 1fr; }
	.hero-photo { max-width: 420px; }
	.proof-chip { left: 12px; top: auto; bottom: 16px; }
	.promo-visual { justify-self: start; }
	.course-grid, .review-grid, .post-grid { grid-template-columns: 1fr; }
	.why, .pillars { grid-template-columns: 1fr; gap: 28px; }
	.program-tabs { flex-direction: row; overflow-x: auto; }
	.program-tab { flex: none; }
	.c-hero-grid { min-height: 0; }
	.c-hero-text { padding-bottom: 16px; }
	.c-hero-visual { justify-self: center; padding-top: 0; }
	.c-hero--full .c-hero-grid { min-height: 0; }
	.c-hero--full .c-hero-text { padding-bottom: 24px; }
	.c-hero--full .c-hero-visual { position: relative; width: auto; max-width: none; justify-self: stretch; margin: 0 calc(var(--gutter) * -1); height: min(110vw, 520px); }
	.c-hero--riempi .c-hero-visual img { -webkit-mask-image: none; mask-image: none; }
	.c-hero--base .c-hero-visual { padding-top: 0; }
	.cert-text { padding: 0 24px 24px; }
	.cta-band-inner { grid-template-columns: 1fr; }
	.cta-band img { display: none; }
	.footer-col-l { border-right: 0; padding-right: 0; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
	.footer-col-r { padding-left: 0; }
	.soon-card { grid-template-columns: 1fr; }
	.area-intro { flex-direction: column; align-items: flex-start; }
	.area-tabs { justify-content: flex-start; width: auto; margin: 28px 0 24px; transform: none; }
	.contact-grid, .stats { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
	.perks { grid-template-columns: 1fr; gap: 14px; }
	.footer-courses, .safety-grid, .form-row { grid-template-columns: 1fr; }
	.proof-bar { flex-direction: column; align-items: flex-start; }
	.teacher { grid-template-columns: 96px 1fr; }
	.teacher img, .teacher .ph { width: 96px; height: 120px; }
	.cal-item { grid-template-columns: 64px 1fr; }
	.cal-item .discover { display: none; }
}

/* ─── Ritocchi per i template WordPress ──────────────────────────────── */
.hdr-toggle svg { width: 24px; height: 24px; display: block; }
.cta-band-inner.no-photo { grid-template-columns: 1fr; max-width: 560px; }
.cta-card .btn + .btn { margin-left: 8px; }
.area-tab[aria-pressed="true"] { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.cal-month[hidden] { display: none; }
.facts .btn { width: 100%; }
.rating .hf-stars { vertical-align: -2px; }
.wa-ico svg { width: 26px; height: 26px; color: #fff; }
.intro-text h3, .intro-text h4 { margin: 22px 0 10px; }
.intro-text ul, .intro-text ol { margin: 0 0 14px; }
.intro-text li { font-size: 16px; margin-bottom: 4px; }
.page-full > *:first-child { margin-top: 0; }
.prose .wp-block-button__link { display: inline-block; padding: 10px 22px; border-radius: var(--pill); background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 16px; margin-bottom: 12px; border-radius: var(--radius-sm); background: var(--surface); }
@media (max-width: 575px) {
	.cta-card .btn + .btn { margin: 10px 0 0; }
}
