/* =====================================================================
   Reputiva - sito pubblico: home, come funziona, settori, domande, contatti...
   Colori e font dal logo pack (07-brand/palette.txt). Mobile first.
   ===================================================================== */

:root {
	--rp-primario: #0B1F3B;
	--rp-secondario: #2F80ED;
	--rp-accento: #00C896;
	--rp-neutro: #E5E7EB;
	--rp-scuro: #111827;
	--rp-gradiente: linear-gradient(45deg, #1F6FE5, #2F80ED 55%, #00C896);

	--ink: #0B1F3B;
	--ink-soft: #334155;
	--muted: #5B6B82;
	--line: #E5E7EB;
	--bg: #FFFFFF;
	--bg-alt: #F5F7FA;
	--brand: #1F6FE5;
	--brand-hover: #1A5FC7;
	--brand-soft: #EAF2FE;
	--navy-2: #102A4F;

	--radius: 16px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
	width: 100%; max-width: 1180px; margin: 0 auto;
	padding-left: max(20px, env(safe-area-inset-left));
	padding-right: max(20px, env(safe-area-inset-right));
}

.skip {
	position: absolute; left: 12px; top: -60px; z-index: 300;
	padding: 10px 16px; border-radius: 10px;
	background: #fff; color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ============================ BOTTONI ============================ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px;
	border: 1.5px solid transparent; border-radius: 12px;
	font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(47, 128, 237, .5); outline-offset: 2px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 111, 229, .7); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-dark { background: #fff; color: var(--ink); border-color: #D4D9E1; }
.btn-ghost-dark:hover { background: var(--bg-alt); color: var(--ink); }
.btn-white { background: #fff; color: var(--rp-primario); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }
.btn-white:hover { background: #F1F6FF; color: var(--rp-primario); }

/* ============================ NAVBAR ============================ */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.logo-mark { width: 36px; height: auto; }
.logo-mark--colore { display: none; }
.logo-word { font-weight: 800; font-size: 1.05rem; letter-spacing: .155em; }

.nav-cta { display: none; }
.nav-login { color: #DCE6F4; font-size: .92rem; font-weight: 600; text-decoration: none; padding: 8px 10px; }
.nav-login:hover { color: #fff; }

.nav.scrolled, .menu-aperto .nav {
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled .logo, .menu-aperto .nav .logo { color: var(--rp-primario); }
.nav.scrolled .logo-mark--bianco, .menu-aperto .nav .logo-mark--bianco { display: none; }
.nav.scrolled .logo-mark--colore, .menu-aperto .nav .logo-mark--colore { display: block; }
/* a menu aperto niente backdrop-filter: renderebbe la navbar il riferimento del menu "fixed" */
.menu-aperto .nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.scrolled .nav-login { color: var(--ink-soft); }
.nav.scrolled .nav-login:hover { color: var(--ink); }

/* hamburger */
.nav-toggle {
	width: 44px; height: 44px; margin-right: -8px;
	display: grid; place-content: center; gap: 5px;
	border: 0; border-radius: 10px; background: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s var(--ease), opacity .2s var(--ease), background .2s; }
.nav.scrolled .nav-toggle span, .menu-aperto .nav-toggle span { background: var(--ink); }
.menu-aperto .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-aperto .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-aperto .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu a tendina su telefono */
.nav-links {
	position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
	display: flex; flex-direction: column;
	padding: 12px max(20px, env(safe-area-inset-left)) 24px;
	background: #fff;
	overflow-y: auto;
	visibility: hidden; opacity: 0; transform: translateY(-8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.menu-aperto .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu-aperto { overflow: hidden; }
.nav-links > a {
	display: flex; align-items: center; min-height: 56px;
	border-bottom: 1px solid var(--line);
	font-size: 1.1rem; font-weight: 700; color: var(--ink); text-decoration: none;
}
.nav-links-cta { display: grid; gap: 10px; margin-top: 24px; }

/* ============================ HERO ============================ */
.hero {
	position: relative;
	padding: calc(var(--nav-h) + 28px) 0 0;
	background: var(--rp-primario);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.hero::before {
	content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(700px 480px at 85% 10%, rgba(47, 128, 237, .45), transparent 65%),
		radial-gradient(600px 420px at 0% 100%, rgba(0, 200, 150, .22), transparent 65%);
}
.hero::after {
	content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
	background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 24px 24px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
	mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }

.pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px; margin-bottom: 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
	font-size: .78rem; font-weight: 600; color: #DCE6F4;
}
.pill i { color: var(--rp-accento); }

.hero h1 {
	font-size: clamp(2.05rem, 8vw, 3.35rem);
	line-height: 1.08; font-weight: 800; letter-spacing: -.025em;
}
.hero h1 .hl {
	background: linear-gradient(90deg, #5FA3FF, #2FD6B0);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { margin-top: 20px; max-width: 560px; font-size: 1.05rem; line-height: 1.7; color: #C3CFE0; }

.hero-actions { display: grid; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .84rem; color: #A9B8CE; }
.hero-note li { display: inline-flex; align-items: center; gap: 7px; }
.hero-note i { color: var(--rp-accento); }

/* --- illustrazione --- */
.hero-visual { position: relative; width: 100%; max-width: 440px; margin: 0 auto; height: 420px; }

.phone {
	position: absolute; left: 50%; top: 0; transform: translateX(-38%) rotate(4deg);
	width: 230px; height: 440px;
	padding: 10px;
	border-radius: 38px;
	background: linear-gradient(160deg, #22344F, #0A1628);
	box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone::before {
	content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
	width: 70px; height: 20px; border-radius: 20px; background: #0A1628; z-index: 2;
}
.phone-screen {
	height: 100%;
	display: flex; flex-direction: column; gap: 14px;
	padding: 46px 16px 18px;
	border-radius: 29px;
	background: #fff;
	color: var(--ink);
	overflow: hidden;
}
.ps-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ps-g {
	width: 34px; height: 34px; flex-shrink: 0;
	display: grid; place-items: center;
	border-radius: 50%; background: #F1F4F9; color: #4285F4; font-size: .95rem;
}
.ps-head strong { display: block; font-size: .8rem; line-height: 1.2; }
.ps-head span { display: block; font-size: .64rem; color: var(--muted); }
.ps-head div span i { color: #F5B400; }
.ps-title { font-size: .95rem; font-weight: 800; text-align: center; margin-top: 4px; }
.ps-stars { display: flex; justify-content: center; gap: 6px; color: #F5B400; font-size: 1.25rem; }
.ps-stars i { animation: hv-star .5s var(--ease) both; }
.ps-stars i:nth-child(2) { animation-delay: .1s; }
.ps-stars i:nth-child(3) { animation-delay: .2s; }
.ps-stars i:nth-child(4) { animation-delay: .3s; }
.ps-stars i:nth-child(5) { animation-delay: .4s; }
@keyframes hv-star { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ps-text {
	padding: 10px 12px;
	border: 1px solid var(--line); border-radius: 12px;
	font-size: .72rem; line-height: 1.5; color: var(--ink-soft);
}
.ps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-chips span { padding: 4px 9px; border-radius: 999px; background: #EEF3FB; color: #1A5FC7; font-size: .62rem; font-weight: 600; }
.ps-btn {
	margin-top: auto; padding: 10px; border-radius: 999px;
	background: #1A73E8; color: #fff;
	font-size: .75rem; font-weight: 700; text-align: center;
}

.hero-card {
	position: absolute; left: 0; bottom: 34px;
	display: flex; align-items: center; gap: 14px;
	width: 300px; max-width: 92%; padding: 18px 54px 18px 20px;
	border-radius: 18px;
	background: var(--rp-gradiente);
	box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
	transform: rotate(-6deg);
	overflow: hidden;
}
.hero-card::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(220px 100px at 90% 0%, rgba(255, 255, 255, .3), transparent 70%);
}
.hero-card img { width: 50px; height: auto; flex-shrink: 0; }
.hero-card strong { display: block; font-size: .9rem; line-height: 1.25; font-weight: 800; }
.hero-card span { display: block; font-size: .72rem; color: rgba(255, 255, 255, .9); }
.onde { position: absolute; right: 18px; top: 50%; margin-top: -13px; width: 26px; height: 26px; }
.onde i {
	position: absolute; inset: 0; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .7);
	animation: hv-onda 2.4s var(--ease) infinite;
}
.onde i:nth-child(2) { animation-delay: .8s; }
.onde i:nth-child(3) { animation-delay: 1.6s; }
@keyframes hv-onda { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero-toast {
	position: absolute; left: 0; top: 215px; z-index: 2;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 14px 10px 10px;
	border-radius: 14px;
	background: #fff; color: var(--ink);
	box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
	animation: hv-toast .6s .9s var(--ease) both;
}
.ht-icon {
	width: 32px; height: 32px; flex-shrink: 0;
	display: grid; place-items: center;
	border-radius: 10px; background: #E3F8F1; color: #00996F; font-size: .85rem;
}
.hero-toast strong { display: block; font-size: .78rem; line-height: 1.2; }
.hero-toast span { display: block; font-size: .66rem; color: var(--muted); }
.hero-toast span i { color: #F5B400; font-size: .6rem; }
@keyframes hv-toast { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* --- destinazioni --- */
.dest {
	margin-top: 44px; padding: 22px 0 26px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	text-align: center;
}
.dest-label { display: block; margin-bottom: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8FA3BF; }
.dest ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.dest li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: #DCE6F4; }
.dest li i { font-size: 1.05rem; color: #fff; opacity: .9; }

/* ============================ SEZIONI ============================ */
.sez { padding: 72px 0; }
.sez-alt { background: var(--bg-alt); }

.sez-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sez-head--left { text-align: left; margin: 0 0 28px; }
.occhiello {
	display: inline-block; margin-bottom: 12px;
	font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--brand);
}
.sez-head h2 { font-size: clamp(1.6rem, 5.4vw, 2.4rem); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
.sez-head p { margin-top: 14px; font-size: 1.02rem; color: var(--muted); }

/* catena perche' */
.catena { display: grid; gap: 16px; counter-reset: anello; }
.anello {
	position: relative;
	padding: 26px 24px;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: #fff;
}
.anello h3, .passo h3, .funzione h3 { font-size: 1.08rem; line-height: 1.3; font-weight: 700; margin-bottom: 8px; }
.anello p, .passo p, .funzione p { font-size: .95rem; color: var(--muted); }
.icona {
	width: 48px; height: 48px; margin-bottom: 18px;
	display: grid; place-items: center;
	border-radius: 14px;
	background: var(--brand-soft); color: var(--brand);
	font-size: 1.15rem;
}

/* passi */
.passi { display: grid; gap: 16px; }
.passo {
	position: relative;
	padding: 26px 24px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(11, 31, 59, .05), 0 10px 30px -18px rgba(11, 31, 59, .25);
}
.num {
	width: 44px; height: 44px; margin-bottom: 18px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--rp-gradiente); color: #fff;
	font-size: 1.1rem; font-weight: 800;
}

/* funzioni */
.funzioni { display: grid; gap: 16px; }
.funzione {
	padding: 26px 24px;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: #fff;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.funzione:hover { border-color: #CFE0FC; box-shadow: 0 16px 36px -20px rgba(31, 111, 229, .45); transform: translateY(-2px); }
.funzione .icona { background: linear-gradient(135deg, #EAF2FE, #E3F8F1); }

/* fascia iscrizione */
.sez-cta { padding: 56px 0; }
.fascia {
	position: relative;
	display: grid; gap: 26px; align-items: center;
	padding: 40px 26px;
	border-radius: 24px;
	background: var(--rp-primario);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.fascia::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(47, 128, 237, .55), transparent 65%),
		radial-gradient(420px 300px at 0% 100%, rgba(0, 200, 150, .35), transparent 65%);
}
.badge-gratis {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
	padding: 6px 12px; border-radius: 999px;
	background: rgba(0, 200, 150, .16); color: #6FF0CC;
	font-size: .78rem; font-weight: 700;
}
.fascia h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.fascia p { margin-top: 12px; max-width: 560px; color: #C3CFE0; }
.fascia-azioni { display: grid; gap: 14px; justify-items: start; }
.fascia-link { color: #C3CFE0; font-weight: 600; font-size: .92rem; text-decoration: none; }
.fascia-link:hover { color: #fff; }

/* faq */
.faq-grid { display: grid; gap: 8px; }
.faq { display: grid; gap: 12px; }
.domanda {
	border: 1px solid var(--line); border-radius: 14px;
	background: #fff;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.domanda[open] { border-color: #CFE0FC; box-shadow: 0 12px 30px -20px rgba(31, 111, 229, .5); }
.domanda summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 60px; padding: 16px 20px;
	font-weight: 700; font-size: 1rem; line-height: 1.4;
	cursor: pointer; list-style: none;
}
.domanda summary::-webkit-details-marker { display: none; }
.domanda summary i {
	width: 30px; height: 30px; flex-shrink: 0;
	display: grid; place-items: center;
	border-radius: 50%; background: var(--bg-alt); color: var(--brand);
	font-size: .8rem;
	transition: transform .2s var(--ease), background .2s;
}
.domanda[open] summary i { transform: rotate(45deg); background: var(--brand-soft); }
.domanda summary:focus-visible { outline: 3px solid rgba(47, 128, 237, .45); outline-offset: 2px; border-radius: 14px; }
.risposta { padding: 0 20px 20px; }
.risposta p { color: var(--muted); font-size: .96rem; }

/* ============================ FOOTER ============================ */
.footer { padding: 56px 0 max(28px, env(safe-area-inset-bottom)); background: var(--rp-scuro); color: #9AA7B8; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { width: 210px; height: auto; margin-bottom: 14px; }
.footer p { max-width: 320px; font-size: .92rem; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-h { margin-bottom: 4px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-col a { color: #B7C3D3; font-size: .92rem; text-decoration: none; }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom a { color: #9AA7B8; text-decoration: none; }
.footer-bottom {
	display: flex; flex-direction: column; gap: 8px;
	margin-top: 44px; padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: .8rem; color: #7D8A9C;
}

/* ============================ PAGINE INTERNE ============================ */
.nav-links > a.is-active { color: var(--brand); }

.page-hero {
	position: relative;
	padding: calc(var(--nav-h) + 24px) 0 48px;
	background: var(--rp-primario);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.page-hero::before {
	content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(620px 380px at 95% 0%, rgba(47, 128, 237, .42), transparent 65%),
		radial-gradient(520px 360px at 0% 120%, rgba(0, 200, 150, .2), transparent 65%);
}
.page-hero h1 {
	max-width: 22ch;
	font-size: clamp(1.85rem, 7vw, 3rem);
	line-height: 1.12; font-weight: 800; letter-spacing: -.02em;
}
.page-hero .lead { margin-top: 16px; max-width: 640px; font-size: 1.05rem; line-height: 1.7; color: #C3CFE0; }
.page-hero .lead a { color: #fff; }
.page-hero .hero-actions { margin-top: 26px; }
.page-hero--corto { padding-bottom: 36px; }

.breadcrumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	margin-bottom: 18px;
	font-size: .8rem; color: #8FA3BF;
}
.breadcrumb a { color: #C3CFE0; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb i { font-size: .6rem; opacity: .7; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

.hero-settore {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
	padding: 6px 12px; border-radius: 999px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
	font-size: .8rem; font-weight: 600; color: #DCE6F4;
}
.hero-settore i { color: var(--rp-accento); }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a {
	padding: 7px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
	color: #DCE6F4; font-size: .82rem; font-weight: 600; text-decoration: none;
}
.toc a:hover { background: rgba(255, 255, 255, .15); color: #fff; }

.sez--stretta { padding: 48px 0 64px; }
.narrow { max-width: 820px; }
.centro { text-align: center; margin-top: 32px; }
.mt { margin-top: 28px; }
.h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 800; margin-bottom: 8px; }
.h4 { font-size: 1rem; line-height: 1.3; font-weight: 700; margin-bottom: 6px; }
.testo { color: var(--muted); font-size: 1.02rem; margin-bottom: 18px; }
.link-freccia { font-weight: 700; text-decoration: none; }
.link-freccia:hover { text-decoration: underline; }
.link-freccia i, .box-regole a i, .info-box a i, .settore-link i { font-size: .8em; margin-left: 4px; transition: transform .15s var(--ease); }
.link-freccia:hover i, .box-regole a:hover i, .info-box a:hover i { transform: translateX(3px); }

.nota {
	display: flex; gap: 10px; align-items: flex-start;
	margin-top: 18px; padding: 14px 16px;
	border-radius: 12px; background: var(--brand-soft);
	font-size: .9rem; color: #174EA6;
}
.nota i { margin-top: 4px; }
.nota a { color: inherit; font-weight: 700; }

/* elenchi con spunta / croce */
.check-list, .x-list { display: grid; gap: 12px; margin: 6px 0 0; }
.check-list li, .x-list li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.check-list li::before, .x-list li::before {
	position: absolute; left: 0; top: 2px;
	width: 22px; height: 22px; display: grid; place-items: center;
	border-radius: 50%; font-size: .72rem; font-weight: 800;
}
.check-list li::before { content: '\2713'; background: #E3F8F1; color: #00996F; }
.x-list li::before { content: '\2715'; background: #FDECEC; color: #D33A3A; }
.check-list--num { counter-reset: n; }
.check-list--num li::before { counter-increment: n; content: counter(n); background: var(--brand-soft); color: var(--brand); }

/* timeline come funziona */
.timeline { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.timeline li {
	display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
	padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.timeline .num { margin: 0; }
.timeline h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: .96rem; }

/* due colonne testo + figura */
.split { display: grid; gap: 36px; align-items: center; }
.split > * { min-width: 0; }

.mini-phone {
	justify-self: center;
	width: 250px; padding: 10px;
	border-radius: 36px;
	background: linear-gradient(160deg, #22344F, #0A1628);
	box-shadow: 0 30px 60px -24px rgba(11, 31, 59, .6);
}
.mp-screen { display: flex; flex-direction: column; gap: 14px; padding: 36px 16px 18px; border-radius: 27px; background: #fff; }

.dash-mock {
	justify-self: center; width: 100%; max-width: 400px;
	padding: 18px; border-radius: 20px;
	background: #fff; border: 1px solid var(--line);
	box-shadow: 0 30px 60px -30px rgba(11, 31, 59, .45);
}
.dm-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dm-kpi div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.dm-kpi small { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
.dm-kpi b { font-size: 1.6rem; font-weight: 800; }
.dm-kpi span { font-size: .72rem; color: var(--muted); margin-left: 4px; }
.dm-chart { display: flex; align-items: flex-end; gap: 5px; height: 110px; margin: 16px 0; padding: 0 4px; }
.dm-chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #2F80ED, #1F6FE5); }
.dm-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.dm-card strong { display: block; font-size: .88rem; }
.dm-card small { color: var(--muted); font-size: .72rem; }
.dm-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #F1F4F9; color: #4285F4; }
.dm-badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: #E3F8F1; color: #00996F; font-size: .7rem; font-weight: 700; }

.link-page {
	display: grid; gap: 10px; justify-items: center;
	max-width: 340px; margin: 0 auto; padding: 26px 20px;
	border-radius: 22px; background: #fff; border: 1px solid var(--line);
	box-shadow: 0 24px 50px -28px rgba(11, 31, 59, .45);
}
.lp-avatar { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--rp-gradiente); color: #fff; font-weight: 800; font-size: 1.4rem; }
.lp-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .9rem; }
.lp-row i { width: 20px; text-align: center; color: var(--brand); }

.box-regole {
	display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
	padding: 24px; border-radius: var(--radius);
	background: var(--bg-alt); border: 1px solid var(--line);
}
.box-regole .icona { margin: 0; }
.box-regole p { color: var(--muted); margin-bottom: 10px; }
.box-regole a { font-weight: 700; text-decoration: none; }

/* testo lungo */
.prose { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.75; }
.prose section + section { margin-top: 44px; }
.prose h2 { font-size: clamp(1.35rem, 4.4vw, 1.75rem); line-height: 1.25; font-weight: 800; color: var(--ink); margin-bottom: 14px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose p + p, .prose p + ul, .prose ul + p, .prose .tabella-wrap + p { margin-top: 14px; }
.prose .box-regole { margin-top: 44px; }

.tabella-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; }
.tabella { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.tabella th, .tabella td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabella thead th { background: var(--bg-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tabella tbody th { font-weight: 700; color: var(--ink); width: 30%; }
.tabella tbody tr:last-child > * { border-bottom: 0; }
.tabella td:nth-child(2) { color: #05674C; font-weight: 600; }

/* domande */
.faq-gruppo + .faq-gruppo { margin-top: 44px; }
.faq-gruppo { scroll-margin-top: calc(var(--nav-h) + 16px); }
.faq-gruppo + .box-regole { margin-top: 44px; }

/* settori */
.settori-grid { display: grid; gap: 16px; }
.settore-card {
	display: flex; flex-direction: column; height: 100%;
	padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
	background: #fff; color: var(--ink); text-decoration: none;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.settore-card:hover { border-color: #CFE0FC; box-shadow: 0 16px 36px -20px rgba(31, 111, 229, .45); transform: translateY(-2px); }
.settore-card h2, .settore-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.settore-card p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.settore-link { margin-top: auto; color: var(--brand); font-weight: 700; font-size: .9rem; }
.settore-card:hover .settore-link i { transform: translateX(3px); }

.settori-mini { display: grid; gap: 10px; }
.settori-mini a {
	display: flex; align-items: center; gap: 12px; min-height: 56px;
	padding: 12px 16px; border-radius: 14px;
	background: #fff; border: 1px solid var(--line);
	color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.settori-mini a:hover { border-color: #CFE0FC; box-shadow: 0 10px 24px -16px rgba(31, 111, 229, .5); }
.settori-mini i { width: 22px; text-align: center; color: var(--brand); }
.settori-mini .settori-mini-tutti { justify-content: center; color: var(--brand); background: var(--brand-soft); border-color: transparent; }

.chips-lista { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips-lista li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.chips-lista--sx { justify-content: flex-start; }
.box-adatta { padding: 22px; border-radius: var(--radius); background: var(--bg-alt); }

.dove-grid { display: grid; gap: 16px; }
.consiglio { padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, #EAF2FE, #E3F8F1); }
.consiglio p { color: var(--ink-soft); }

/* contatti */
.contatti-grid { display: grid; gap: 28px; align-items: start; }
.form-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 20px 50px -34px rgba(11, 31, 59, .45); }
.form-card .h3 { margin-bottom: 18px; }
.form-row { display: grid; gap: 0 16px; }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; margin-bottom: 7px; font-size: .84rem; font-weight: 600; }
.req { color: #D33A3A; }
.opz { color: var(--muted); font-weight: 500; }
.input {
	display: block; width: 100%; min-height: 50px; padding: 12px 14px;
	font: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
	background: #fff; border: 1.5px solid #D4D9E1; border-radius: 12px;
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input:focus { outline: none; border-color: var(--rp-secondario); box-shadow: 0 0 0 4px rgba(47, 128, 237, .16); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.check { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 20px; font-size: .86rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.alert { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; border: 1px solid transparent; }
.alert i { margin-top: 3px; }
.alert--ok { background: #E3F8F1; color: #05674C; border-color: #BDEEDD; }
.alert--err { background: #FDECEC; color: #9B1C1C; border-color: #F8CFCF; }

.contatti-info { display: grid; gap: 12px; }
.info-box { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--bg-alt); }
.info-box .icona { width: 42px; height: 42px; margin: 0; font-size: 1rem; }
.info-box p { color: var(--muted); font-size: .9rem; margin: 2px 0 6px; }
.info-box a { font-weight: 700; text-decoration: none; }

/* prezzi */
.prezzi-grid { display: grid; gap: 24px; align-items: start; max-width: 940px; }
.prezzo-card { padding: 28px; border-radius: 22px; background: #fff; border: 2px solid #CFE0FC; box-shadow: 0 24px 60px -34px rgba(31, 111, 229, .6); }
.prezzo-etichetta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.prezzo { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 20px; }
.prezzo b { font-size: 3rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.prezzo span { color: var(--muted); font-weight: 600; }
.prezzo-card .btn { margin-top: 24px; }
.prezzo-note p { color: var(--muted); margin-bottom: 10px; }

/* privacy / termini (Iubenda) */
.legale { min-height: 40vh; }

/* ============================ ANIMAZIONI D'INGRESSO ============================ */
.js .rivela { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rivela.visibile { opacity: 1; transform: none; }

/* ============================ BREAKPOINT ============================ */
@media (min-width: 560px) {
	.hero-actions { display: flex; flex-wrap: wrap; }
	.catena, .passi { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
	.funzioni { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fascia { padding: 48px 44px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
	:root { --nav-h: 76px; }
	.nav-toggle { display: none; }
	.nav-cta { display: flex; align-items: center; gap: 6px; }
	.nav-links {
		position: static; flex-direction: row; gap: 4px;
		padding: 0; background: none; overflow: visible;
		visibility: visible; opacity: 1; transform: none; transition: none;
		margin-right: 12px;
	}
	.nav-links > a {
		min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px;
		font-size: .92rem; font-weight: 600; color: #DCE6F4;
	}
	.nav-links > a:hover, .nav-links > a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
	.nav.scrolled .nav-links > a { color: var(--ink-soft); }
	.nav.scrolled .nav-links > a:hover, .nav.scrolled .nav-links > a.is-active { color: var(--ink); background: var(--bg-alt); }
	.nav-links-cta { display: none; }

	.hero { padding-top: calc(var(--nav-h) + 56px); }
	.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
	.hero-visual { height: 500px; max-width: 480px; }
	.phone { width: 260px; height: 500px; }
	.hero-card { bottom: 50px; width: 330px; }
	.hero-toast { top: 250px; }
	.dest { margin-top: 64px; }

	.sez { padding: 104px 0; }
	.sez-cta { padding: 88px 0; }
	.catena { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.anello:not(:last-child)::after {
		content: '\2192'; position: absolute; right: -17px; top: 50%; transform: translateY(-50%);
		width: 34px; height: 34px; z-index: 1;
		display: grid; place-items: center;
		border-radius: 50%; background: #fff; border: 1px solid var(--line);
		color: var(--brand); font-weight: 800; font-size: .95rem;
	}
	.passi { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.funzioni { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.fascia { grid-template-columns: minmax(0, 1fr) auto; padding: 56px 60px; }
	.fascia-azioni { justify-items: center; }
	.faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
	.faq-grid .sez-head { position: sticky; top: calc(var(--nav-h) + 24px); }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 380px) {
	.hero-visual { transform: scale(.88); transform-origin: top center; height: 380px; }
	.nav-cta { display: none; }
}


/* ---- pagine interne: breakpoint ---- */
@media (min-width: 560px) {
	.form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.settori-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.settori-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dove-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.form-card { padding: 32px; }
}
@media (min-width: 960px) {
	.page-hero { padding: calc(var(--nav-h) + 40px) 0 72px; }
	.page-hero--corto { padding-bottom: 52px; }
	.sez--stretta { padding: 64px 0 96px; }
	.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
	.split--rev > :first-child { order: 2; }
	.split--top { align-items: start; }
	.settori-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.settori-mini { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.settori-mini a { flex-direction: column; justify-content: center; text-align: center; min-height: 110px; gap: 10px; font-size: .9rem; }
	.settori-mini i { font-size: 1.3rem; }
	.dove-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.contatti-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
	.prezzi-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
	.timeline li { padding: 26px 28px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .rivela { opacity: 1; transform: none; }
}
