/*
Theme Name: OkGes Equilibrio
Theme URI: http://localhost/OkGes/
Author: SAPA s.a.s. di Semeraro Marco e C.
Description: Tema responsive della versione Equilibrio per il sito essenziale di OkGes.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: okges
*/

:root {
	--navy: #0d2e5a;
	--night: #0b2447;
	--ink: #171b22;
	--text: #283241;
	--muted: #667386;
	--blue: #4a6fa5;
	--yellow: #ffc107;
	--yellow-soft: #fff2bd;
	--green: #059669;
	--red: #b42318;
	--surface: #ffffff;
	--soft: #f3f6fa;
	--line: #dbe3ec;
	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 30px;
	--shadow-sm: 0 8px 30px rgba(13, 46, 90, 0.08);
	--shadow: 0 24px 70px rgba(4, 25, 51, 0.16);
	--container: 1200px;
	--header-bg: rgba(255, 255, 255, 0.94);
	--header-text: var(--night);
	--footer-bg: #081a33;
	--footer-text: #e7edf5;
	--font: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 98px;
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 4px;
}

::selection {
	background: var(--yellow);
	color: var(--ink);
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	color: var(--ink);
	font-weight: 680;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

h1 {
	font-size: clamp(2.8rem, 6vw, 5.4rem);
}

h2 {
	font-size: clamp(2.1rem, 4vw, 3.7rem);
}

h3 {
	font-size: 1.35rem;
}

.container {
	margin-inline: auto;
	max-width: var(--container);
	padding-inline: 28px;
	width: 100%;
}

.section {
	padding-block: clamp(80px, 10vw, 140px);
}

.section--soft {
	background: var(--soft);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	background: var(--yellow);
	color: var(--ink);
	font-weight: 700;
	left: 18px;
	padding: 12px 18px;
	position: fixed;
	top: -100px;
	z-index: 1000;
}

.skip-link:focus {
	top: 12px;
}

.icon {
	flex: 0 0 auto;
}

.eyebrow {
	align-items: center;
	color: var(--blue);
	display: flex;
	font-size: 0.76rem;
	font-weight: 750;
	gap: 10px;
	letter-spacing: 0.16em;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.eyebrow::before {
	background: var(--yellow);
	content: "";
	height: 2px;
	width: 28px;
}

.eyebrow--on-dark {
	color: #bdcae0;
}

.eyebrow--on-dark::before {
	background: var(--yellow);
}

.button-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.button {
	align-items: center;
	background: var(--navy);
	border: 1px solid transparent;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	line-height: 1.2;
	min-height: 52px;
	padding: 14px 24px;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
	box-shadow: 0 12px 30px rgba(6, 25, 50, 0.18);
	transform: translateY(-2px);
}

.button .icon,
.text-link .icon {
	height: 18px;
	transition: transform 180ms ease;
	width: 18px;
}

.button:hover .icon,
.text-link:hover .icon {
	transform: translateX(3px);
}

.header-account {
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	color: var(--header-text);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
	margin-right: 10px;
	padding: 9px 14px;
	transition: background 180ms ease, border-color 180ms ease;
	white-space: nowrap;
}

.header-account:hover {
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(255, 255, 255, 0.42);
}

.button--small {
	font-size: 0.82rem;
	min-height: 44px;
	padding: 11px 19px;
}

.button--yellow {
	background: var(--yellow);
	color: #181a1e;
}

.button--yellow:hover {
	background: #ffd044;
}

.button--ink {
	background: var(--ink);
	color: #fff;
}

.text-link {
	align-items: center;
	border-bottom: 1px solid currentColor;
	color: var(--navy);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 700;
	gap: 8px;
	line-height: 1.4;
	padding-bottom: 3px;
}

.text-link--light {
	color: #eef5ff;
}

/* Header */
.site-header {
	backdrop-filter: blur(16px);
	background: var(--header-bg);
	border-bottom: 1px solid rgba(122, 142, 166, 0.18);
	color: var(--header-text);
	position: sticky;
	top: 0;
	z-index: 200;
}

.site-header__inner {
	align-items: center;
	display: flex;
	height: 80px;
	justify-content: space-between;
}

.brand {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 10px;
}

.brand__icon {
	height: 48px;
	object-fit: contain;
	width: 48px;
}

.brand__wordmark {
	font-size: 1.42rem;
	font-weight: 620;
	letter-spacing: -0.055em;
	line-height: 1;
}

.brand__wordmark strong {
	color: #d59300;
	font-weight: 760;
}

/* Micro-animazione dell'icona sul link che riporta alla Home. */
@media (prefers-reduced-motion: no-preference) {
	.brand__icon {
		transform-origin: 50% 85%;
		transition: transform 260ms cubic-bezier(0.2, 0.8, 0.3, 1.25), filter 260ms ease;
	}

	.brand:hover .brand__icon,
	.brand:focus-visible .brand__icon {
		filter: drop-shadow(0 9px 13px rgba(2, 10, 22, 0.55));
		transform: perspective(420px) translateY(-3px) rotateX(9deg) rotateZ(-4deg) scale(1.06);
	}
}

.desktop-nav {
	align-items: center;
	display: flex;
	gap: clamp(22px, 3vw, 38px);
	margin-inline: auto 34px;
}

.desktop-nav a {
	font-size: 0.84rem;
	font-weight: 650;
	position: relative;
}

.desktop-nav a::after {
	background: var(--yellow);
	bottom: -8px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
	width: 100%;
}

.desktop-nav a:hover::after {
	transform: scaleX(1);
}

.menu-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: none;
	height: 46px;
	justify-content: center;
	padding: 8px;
	width: 46px;
}

.menu-toggle__close {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: block;
}

.mobile-menu {
	background: var(--header-bg);
	border-top: 1px solid var(--line);
	color: var(--header-text);
	height: calc(100vh - 80px);
	left: 0;
	overflow-y: auto;
	position: absolute;
	right: 0;
	top: 80px;
}

.mobile-menu nav {
	display: grid;
	gap: 0;
	padding-block: 28px;
}

.mobile-menu nav > a:not(.button) {
	border-bottom: 1px solid rgba(120, 139, 164, 0.2);
	font-size: 1.2rem;
	font-weight: 650;
	padding-block: 17px;
}

.mobile-menu .button {
	margin-top: 28px;
}

/* Intestazioni di sezione */
.section-heading {
	margin-bottom: 60px;
}

.section-heading h2 {
	margin-bottom: 0;
}

.section-heading--split {
	align-items: end;
	display: grid;
	gap: 60px;
	grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
}

.section-heading--split > p {
	color: var(--muted);
	margin-bottom: 7px;
}

.section-heading--center {
	margin-inline: auto;
	max-width: 740px;
	text-align: center;
}

.section-heading--center .eyebrow {
	justify-content: center;
}

.section-heading--center > p:last-child {
	color: var(--muted);
	margin: 20px auto 0;
	max-width: 640px;
}

/* Mockup app, condiviso da A e C */
.app-mockup {
	background: #f7f9fc;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 16px;
	box-shadow: 0 34px 80px rgba(0, 12, 31, 0.3);
	color: #233247;
	overflow: hidden;
	width: 100%;
}

.app-mockup__titlebar {
	align-items: center;
	background: #eef2f7;
	border-bottom: 1px solid #dfe5ed;
	display: grid;
	font-size: 0.6rem;
	font-weight: 650;
	grid-template-columns: 1fr auto 1fr;
	height: 34px;
	letter-spacing: 0.02em;
	padding-inline: 12px;
}

.window-controls {
	display: flex;
	gap: 5px;
}

.window-controls span {
	background: #cbd3de;
	border-radius: 50%;
	height: 7px;
	width: 7px;
}

.window-controls span:first-child {
	background: #ff9c8e;
}

.window-controls span:nth-child(2) {
	background: #ffd464;
}

.window-controls span:nth-child(3) {
	background: #61c79b;
}

.demo-label {
	color: #6d7d92;
	justify-self: end;
}

.app-mockup__body {
	display: grid;
	grid-template-columns: 46px 1fr;
	min-height: 330px;
}

.app-sidebar {
	align-items: center;
	background: #102e55;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-block: 14px;
}

.app-sidebar__brand {
	align-items: center;
	background: var(--yellow);
	border-radius: 8px;
	color: #172438;
	display: flex;
	font-size: 0.65rem;
	font-weight: 800;
	height: 25px;
	justify-content: center;
	margin-bottom: 9px;
	width: 25px;
}

.app-sidebar > span {
	background: rgba(255, 255, 255, 0.25);
	border-radius: 4px;
	height: 13px;
	width: 15px;
}

.app-sidebar > span.is-active {
	background: var(--yellow);
	box-shadow: 0 0 0 7px rgba(255, 193, 7, 0.1);
}

.app-screen {
	background: #f7f9fc;
	padding: 20px;
}

.app-screen__head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.app-screen__head > div:first-child {
	display: grid;
}

.app-screen__head small,
.app-kpis small {
	color: #738197;
	font-size: 0.52rem;
}

.app-screen__head strong {
	color: #17263a;
	font-size: 0.82rem;
}

.fake-search {
	align-items: center;
	background: #fff;
	border: 1px solid #dce3ec;
	border-radius: 6px;
	color: #8895a7;
	display: flex;
	font-size: 0.48rem;
	gap: 20px;
	padding: 6px 7px;
}

kbd {
	background: #e8edf4;
	border: 1px solid #d4dce7;
	border-radius: 4px;
	box-shadow: 0 1px 0 #c5cfdb;
	color: #57677c;
	font-family: inherit;
	font-size: 0.45rem;
	padding: 1px 4px;
}

.app-kpis {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 13px;
}

.app-kpis > div {
	background: #fff;
	border: 1px solid #e2e7ee;
	border-radius: 8px;
	display: grid;
	grid-template-columns: 8px 1fr;
	padding: 9px;
}

.app-kpis strong {
	color: #17263a;
	font-size: 0.9rem;
	grid-column: 2;
}

.kpi-dot {
	background: var(--blue);
	border-radius: 50%;
	grid-row: 1 / 3;
	height: 6px;
	margin-top: 4px;
	width: 6px;
}

.kpi-dot--yellow {
	background: #e5a900;
}

.kpi-dot--green {
	background: var(--green);
}

.app-panel {
	background: #fff;
	border: 1px solid #e2e7ee;
	border-radius: 9px;
	padding: 12px;
}

.app-panel__head {
	align-items: center;
	display: flex;
	font-size: 0.58rem;
	justify-content: space-between;
	margin-bottom: 10px;
}

.app-panel__head span {
	color: #3f70a9;
	font-size: 0.48rem;
}

.app-table {
	display: grid;
}

.app-row {
	align-items: center;
	border-top: 1px solid #edf0f4;
	display: grid;
	font-size: 0.47rem;
	gap: 7px;
	grid-template-columns: 0.8fr 1.5fr 1fr 0.8fr;
	padding-block: 8px;
}

.app-row span:last-child {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.app-row--head {
	border-top: 0;
	color: #7e8b9c;
	font-weight: 650;
	padding-block: 4px 7px;
}

.status {
	background: #b9c3d0;
	border-radius: 50%;
	display: inline-block;
	height: 5px;
	margin-right: 3px;
	width: 5px;
}

.status--done {
	background: var(--green);
}

.status--open {
	background: #4a7bb7;
}

.status--wait {
	background: #dca900;
}

/* Footer */
.site-footer {
	background: var(--footer-bg);
	color: var(--footer-text);
	padding-block: 78px 26px;
}

.site-footer__grid {
	display: grid;
	gap: 54px;
	grid-template-columns: 1.65fr 0.7fr 0.8fr 1.15fr;
	padding-bottom: 62px;
}

.brand--footer {
	margin-bottom: 20px;
}

.brand--footer .brand__wordmark {
	color: #fff;
}

.site-footer__intro p {
	color: #aebdd0;
	font-size: 0.9rem;
	max-width: 370px;
}

.footer-platform {
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: #c7d3e2;
	display: inline-flex;
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	padding: 7px 12px;
	text-transform: uppercase;
}

.site-footer h2 {
	color: #fff;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	margin: 7px 0 22px;
	text-transform: uppercase;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.footer-links a {
	color: #aebdd0;
	font-size: 0.84rem;
}

.footer-links a:hover {
	color: var(--yellow);
}

.footer-company p {
	color: #aebdd0;
	font-size: 0.84rem;
}

.footer-company strong {
	color: #fff;
}

.footer-company__details {
	border-left: 2px solid var(--yellow);
	color: #aebdd0;
	display: grid;
	font-size: 0.76rem;
	font-style: normal;
	gap: 4px;
	line-height: 1.45;
	padding-left: 13px;
}

.footer-company__details a {
	color: #d6e0eb;
	overflow-wrap: anywhere;
}

.footer-company__details a:hover {
	color: var(--yellow);
}

.site-footer__bottom {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	font-size: 0.72rem;
	justify-content: space-between;
	padding-top: 26px;
}

.site-footer__bottom p {
	color: #8fa0b5;
	margin: 0;
}

.site-footer__bottom nav {
	display: flex;
	gap: 24px;
}

.site-footer__bottom a {
	color: #b7c5d6;
}

.footer-preferences {
	background: none;
	border: 0;
	color: #b7c5d6;
	cursor: pointer;
	padding: 0;
}

.footer-preferences:hover {
	color: #fff;
}

.cookie-banner {
	background: var(--surface);
	border-top: 1px solid var(--line);
	bottom: 0;
	box-shadow: var(--shadow);
	left: 0;
	position: fixed;
	right: 0;
	z-index: 900;
}

.cookie-banner__inner {
	align-items: center;
	display: flex;
	gap: 28px;
	margin: 0 auto;
	max-width: var(--container);
	padding: 20px 24px;
}

.cookie-banner__title {
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 750;
	margin: 0 0 5px;
}

.cookie-banner__text {
	color: var(--muted);
	font-size: 0.83rem;
	line-height: 1.6;
	margin: 0;
}

.cookie-banner__text a {
	color: var(--navy);
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie-banner__actions {
	display: flex;
	flex: none;
	gap: 10px;
}

.cookie-banner__button {
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--navy);
	cursor: pointer;
	font-size: 0.88rem;
	font-weight: 700;
	min-height: 48px;
	min-width: 132px;
	padding: 12px 22px;
	transition: background 160ms ease, border-color 160ms ease;
}

.cookie-banner__button:hover {
	border-color: var(--blue);
}

.cookie-banner__button--accept {
	background: var(--yellow);
	border-color: var(--yellow);
	color: var(--night);
}

.cookie-banner__button--accept:hover {
	background: #f0b400;
	border-color: #f0b400;
}

/* Pagine interne */
.inner-page {
	background: #fff;
}

.inner-hero {
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 193, 7, 0.16), transparent 26%),
		linear-gradient(135deg, #eef4fa 0%, #f9fbfd 58%, #f3f6fa 100%);
	border-bottom: 1px solid var(--line);
	padding-block: 46px 92px;
}

.inner-hero--compact {
	padding-bottom: 76px;
}

.breadcrumbs {
	align-items: center;
	color: #6c7c91;
	display: flex;
	font-size: 0.72rem;
	font-weight: 650;
	gap: 10px;
	margin-bottom: 55px;
}

.breadcrumbs a:hover {
	color: var(--navy);
	text-decoration: underline;
}

.inner-hero__grid {
	align-items: end;
	display: grid;
	gap: clamp(38px, 8vw, 110px);
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

.inner-hero h1 {
	font-size: clamp(2.8rem, 5.5vw, 5rem);
	margin: 0;
	max-width: 850px;
}

.inner-hero__grid > p {
	color: #5c6d82;
	font-size: clamp(1rem, 1.4vw, 1.18rem);
	margin: 0 0 8px;
}

.module-index {
	background: #fff;
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 80px;
	z-index: 80;
}

.module-index__inner {
	display: flex;
	overflow-x: auto;
	scrollbar-width: thin;
}

.module-index a {
	align-items: center;
	border-right: 1px solid var(--line);
	color: #4f5e71;
	display: flex;
	flex: 1 0 auto;
	font-size: 0.73rem;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	min-height: 62px;
	padding-inline: 16px;
}

.module-index a:first-child {
	border-left: 1px solid var(--line);
}

.module-index a span {
	color: #9aa7b7;
	font-size: 0.62rem;
}

.module-index a:hover {
	background: var(--soft);
	color: var(--navy);
}

.feature-details {
	padding-top: 70px;
}

.feature-detail {
	align-items: start;
	border-bottom: 1px solid var(--line);
	display: grid;
	gap: 50px;
	grid-template-columns: 0.65fr 1.35fr 0.9fr;
	padding-block: 58px;
	scroll-margin-top: 158px;
}

.feature-detail:first-child {
	padding-top: 0;
}

.feature-detail__meta {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: auto 1fr;
}

.feature-detail__meta > span {
	color: #97a4b5;
	font-size: 0.7rem;
	font-weight: 700;
}

.feature-detail__meta .icon {
	color: var(--navy);
	height: 34px;
	width: 34px;
}

.feature-detail__meta strong {
	color: var(--ink);
	font-size: 0.86rem;
	grid-column: 2;
}

.feature-detail__copy h2 {
	font-size: clamp(1.8rem, 3vw, 2.65rem);
	margin-bottom: 18px;
}

.feature-detail__copy p {
	color: var(--muted);
	margin: 0;
}

.feature-detail ul {
	display: grid;
	gap: 13px;
	list-style: none;
	margin: 3px 0 0;
	padding: 0;
}

.feature-detail li {
	align-items: center;
	color: #455468;
	display: flex;
	font-size: 0.84rem;
	gap: 9px;
}

.feature-detail li .icon {
	color: var(--green);
	height: 17px;
	width: 17px;
}

.feature-connection {
	padding-top: 0;
}

.feature-connection__panel {
	align-items: center;
	background: var(--night);
	border-radius: var(--radius-lg);
	color: #d9e4f1;
	display: grid;
	gap: 70px;
	grid-template-columns: 0.8fr 1.2fr;
	padding: clamp(36px, 6vw, 76px);
}

.feature-connection h2 {
	color: #fff;
	font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.feature-connection p {
	color: #aebed1;
	margin: 0;
}

.connection-mini-flow {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.connection-mini-flow li {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 30px rgba(3, 18, 39, 0.18);
	min-width: 0;
	padding: 16px 14px 17px;
	position: relative;
}

.connection-mini-flow li:not(:last-child)::after {
	align-items: center;
	background: var(--night);
	border: 1px solid rgba(255, 193, 7, 0.42);
	border-radius: 999px;
	color: var(--yellow);
	content: "→";
	display: flex;
	font-size: 0.78rem;
	height: 26px;
	justify-content: center;
	position: absolute;
	right: -23px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	z-index: 2;
}

.connection-mini-flow__top {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
}

.connection-mini-flow__index {
	color: #aebed1;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.connection-mini-flow__icon {
	align-items: center;
	background: rgba(255, 193, 7, 0.14);
	border: 1px solid rgba(255, 193, 7, 0.24);
	border-radius: 10px;
	color: var(--yellow);
	display: flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.connection-mini-flow__icon .icon {
	height: 17px;
	width: 17px;
}

.connection-mini-flow strong {
	color: #fff;
	display: block;
	font-size: 0.78rem;
	line-height: 1.25;
}

.inner-final-cta {
	padding-top: 0;
}

.support-page .inner-final-cta {
	padding-top: clamp(36px, 4vw, 56px);
}

.inner-final-cta .final-cta__inner {
	background: #eef3f8;
	border: 1px solid var(--line);
}

.final-cta__inner {
	align-items: center;
	border-radius: var(--radius-lg);
	display: flex;
	gap: 50px;
	justify-content: space-between;
	padding: clamp(36px, 6vw, 72px);
}

.final-cta__inner > div {
	max-width: 750px;
}

.final-cta__inner h2 {
	font-size: clamp(2rem, 3.7vw, 3.35rem);
	margin-bottom: 14px;
}

.final-cta__inner p:last-child {
	color: var(--muted);
	margin-bottom: 0;
}

/* Form */
.form-section {
	background: #f7f9fc;
}

.form-layout {
	align-items: start;
	display: grid;
	gap: clamp(50px, 9vw, 120px);
	grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
}

.form-aside {
	position: sticky;
	top: 120px;
}

.form-aside h2 {
	font-size: clamp(2rem, 3.2vw, 3rem);
}

.form-aside > p:not(.eyebrow) {
	color: var(--muted);
}

.form-aside ul {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 36px 0;
	padding: 0;
}

.form-aside li {
	align-items: center;
	border-bottom: 1px solid var(--line);
	display: flex;
	font-size: 0.88rem;
	font-weight: 650;
	gap: 16px;
	padding-bottom: 14px;
}

.form-aside li span {
	color: #94a2b3;
	font-size: 0.7rem;
}

.prototype-note {
	background: var(--yellow-soft);
	border-radius: var(--radius-sm);
	font-size: 0.78rem;
	padding: 18px;
}

.prototype-note p {
	margin: 5px 0 0;
}

.form-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: clamp(26px, 5vw, 54px);
}

.form-notice {
	align-items: start;
	border-radius: var(--radius-sm);
	display: flex;
	gap: 13px;
	margin-bottom: 30px;
	padding: 17px;
}

.form-notice p {
	font-size: 0.82rem;
	margin: 4px 0 0;
}

.form-notice--success {
	background: #e9f8f2;
	color: #075e46;
}

.form-notice--error {
	background: #fff0ee;
	color: #912018;
}

.form-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field--full {
	grid-column: 1 / -1;
}

.contact-form label > span,
.contact-form legend {
	color: #37475a;
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.contact-form b,
.required-note b {
	color: #b42318;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	background: #fbfcfd;
	border: 1px solid #cfd8e3;
	border-radius: 10px;
	color: var(--ink);
	font: inherit;
	min-height: 50px;
	padding: 12px 14px;
	transition: border 150ms ease, box-shadow 150ms ease;
	width: 100%;
}

.contact-form select {
	cursor: pointer;
}

.contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(74, 111, 165, 0.12);
	outline: 0;
}

.contact-form fieldset {
	border: 0;
	margin: 30px 0;
	padding: 0;
}

.interest-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.interest-grid label {
	cursor: pointer;
	position: relative;
}

.interest-grid input {
	clip: rect(0 0 0 0);
	position: absolute;
}

.interest-grid label span {
	border: 1px solid #cfd8e3;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 650;
	margin: 0;
	padding: 9px 13px;
}

.interest-grid input:checked + span {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.interest-grid input:focus-visible + span {
	outline: 3px solid var(--yellow);
	outline-offset: 3px;
}

.form-message {
	display: block;
	margin-bottom: 24px;
}

.form-message small {
	color: var(--muted);
	display: block;
	font-size: 0.68rem;
	margin-top: 5px;
	text-align: right;
}

.check-label {
	align-items: start;
	display: flex;
	gap: 10px;
	margin: 13px 0;
}

.check-label input {
	accent-color: var(--navy);
	flex: 0 0 auto;
	height: 17px;
	margin-top: 3px;
	width: 17px;
}

.check-label > span {
	font-size: 0.73rem !important;
	font-weight: 500 !important;
	margin: 0 !important;
}

.check-label a {
	color: var(--navy);
	font-weight: 700;
	text-decoration: underline;
}

.contact-form .button {
	border: 0;
	margin-top: 22px;
}

.required-note {
	color: var(--muted);
	display: inline-block;
	font-size: 0.68rem;
	margin: 0 0 0 14px;
}

.form-honeypot {
	left: -9999px;
	position: absolute;
}

.form-captcha {
	margin-bottom: 22px;
}

.form-captcha__note {
	color: var(--muted);
	font-size: 0.74rem;
	margin: 8px 0 0;
}

/* Supporto e FAQ */
.support-channels {
	padding-bottom: 40px;
}

.support-channels__grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
}

.support-channels article {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	min-height: 300px;
	padding: 32px;
}

.support-channels article > span:first-child {
	align-items: center;
	background: var(--soft);
	border-radius: 12px;
	color: var(--navy);
	display: flex;
	height: 48px;
	justify-content: center;
	margin-bottom: 40px;
	width: 48px;
}

.support-channels h2 {
	font-size: 1.4rem;
}

.support-channels p {
	color: var(--muted);
	font-size: 0.86rem;
}

.support-channels a {
	align-items: center;
	color: var(--navy);
	display: flex;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 7px;
	margin-top: auto;
}

.support-channels a .icon {
	height: 16px;
	width: 16px;
}

.placeholder-pill {
	align-self: start;
	background: var(--yellow-soft) !important;
	border-radius: 999px !important;
	color: #644b00 !important;
	font-size: 0.65rem !important;
	font-weight: 700;
	height: auto !important;
	margin-top: auto !important;
	padding: 7px 11px;
	width: auto !important;
}

.faq-section {
	background: var(--soft);
}

.faq-layout {
	align-items: start;
	display: grid;
	gap: clamp(50px, 9vw, 110px);
	grid-template-columns: 0.75fr 1.25fr;
}

.faq-intro {
	position: sticky;
	top: 120px;
}

.faq-intro h2 {
	font-size: clamp(2rem, 3.2vw, 3rem);
}

.faq-intro > p:last-child {
	color: var(--muted);
}

.faq-list {
	border-top: 1px solid #cbd5e0;
}

.faq-list details {
	border-bottom: 1px solid #cbd5e0;
}

.faq-list summary {
	align-items: center;
	color: var(--ink);
	cursor: pointer;
	display: flex;
	font-size: clamp(1rem, 1.5vw, 1.18rem);
	font-weight: 680;
	justify-content: space-between;
	list-style: none;
	padding-block: 24px;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary i {
	border: 1px solid #aab6c4;
	border-radius: 50%;
	height: 30px;
	position: relative;
	width: 30px;
}

.faq-list summary i::before,
.faq-list summary i::after {
	background: var(--navy);
	content: "";
	height: 1px;
	left: 8px;
	position: absolute;
	top: 14px;
	width: 12px;
}

.faq-list summary i::after {
	transform: rotate(90deg);
	transition: transform 160ms ease;
}

.faq-list details[open] summary i::after {
	transform: rotate(0);
}

.faq-list details p {
	color: var(--muted);
	margin: -6px 50px 24px 0;
}

/* Contatti */
.contacts-section {
	background: var(--soft);
}

.contacts-form-layout {
	grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
}

.form-card__heading {
	margin-bottom: 34px;
}

.form-card__heading h2 {
	font-size: clamp(1.9rem, 3vw, 2.65rem);
	margin-bottom: 0;
}

.contact-details__card {
	background: var(--night);
	border-radius: var(--radius);
	color: #c7d4e4;
	margin-top: 32px;
	padding: 28px;
}

.contact-details__company {
	color: #fff;
	display: block;
	font-size: 1.05rem;
	line-height: 1.4;
	margin-bottom: 18px;
}

.contact-details__card address {
	font-size: 0.86rem;
	font-style: normal;
	line-height: 1.7;
}

.contact-details__card dl {
	margin: 22px 0;
}

.contact-details__card dl div {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	gap: 6px;
	padding-block: 14px;
}

.contact-details__card dt {
	color: #93a8c0;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
}

.contact-details__card dd {
	font-size: 0.82rem;
	font-weight: 650;
	margin: 0;
}

.contact-details__card a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.contact-details__card > p:last-child {
	color: #93a8c0;
	font-size: 0.76rem;
	margin-bottom: 0;
}

.location-section {
	background: #fff;
}

.location-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	display: grid;
	grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
	overflow: hidden;
}

.location-copy {
	align-self: center;
	padding: clamp(34px, 6vw, 70px);
}

.location-copy h2 {
	font-size: clamp(2rem, 3.3vw, 3rem);
	margin-bottom: 14px;
}

.location-copy > p:not(.eyebrow) {
	color: var(--muted);
}

.location-copy address {
	font-size: 0.92rem;
	font-style: normal;
	font-weight: 650;
	line-height: 1.7;
	margin: 28px 0;
}

.location-map {
	background: #dce5ee;
	min-height: 470px;
}

.location-map iframe {
	border: 0;
	display: block;
	height: 100%;
	min-height: 470px;
	width: 100%;
}

.consent-embed {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: inherit;
	padding: 28px;
}

.consent-embed--loaded {
	display: block;
	padding: 0;
}

.consent-embed__notice {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
	max-width: 390px;
	padding: 26px;
	text-align: center;
}

.consent-embed__notice strong {
	color: var(--ink);
	display: block;
	font-size: 1.02rem;
	margin-bottom: 7px;
}

.consent-embed__notice p {
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.6;
	margin: 0 0 18px;
}

.consent-embed__note {
	font-size: 0.76rem;
	margin: 18px 0 0;
}

.consent-embed__note a {
	color: var(--navy);
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.legal-copy a {
	color: var(--navy);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* Legali */
.legal-layout {
	align-items: start;
	display: grid;
	gap: clamp(45px, 9vw, 120px);
	grid-template-columns: 0.55fr 1.45fr;
	max-width: 1040px;
}

.legal-layout aside {
	background: #fff4d3;
	border: 1px solid #f2d06a;
	border-radius: var(--radius-sm);
	color: #5e4a10;
	font-size: 0.78rem;
	padding: 22px;
	position: sticky;
	top: 120px;
}

.legal-layout aside p {
	margin: 7px 0 0;
}

.legal-layout .privacy-summary {
	background: #edf5ff;
	border-color: #c8d9ee;
	color: var(--navy);
}

.privacy-summary ul {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.privacy-summary li {
	padding-left: 20px;
	position: relative;
}

.privacy-summary li::before {
	color: var(--green);
	content: "✓";
	font-weight: 800;
	left: 0;
	position: absolute;
}

.privacy-summary .privacy-summary__date {
	border-top: 1px solid #c8d9ee;
	margin-top: 20px;
	padding-top: 16px;
}

.legal-copy {
	max-width: 720px;
}

.legal-copy h2 {
	font-size: 1.55rem;
	margin: 40px 0 12px;
}

.legal-copy h2:first-child {
	margin-top: 0;
}

.legal-copy p {
	color: var(--muted);
}

.legal-copy h3 {
	font-size: 1.05rem;
	margin: 24px 0 7px;
}

.legal-copy code {
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 6px;
	color: var(--text);
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	font-size: 0.84em;
	padding: 1px 6px;
	word-break: break-word;
}

.legal-copy ul {
	color: var(--muted);
	display: grid;
	gap: 9px;
	margin: 16px 0 22px;
	padding-left: 21px;
}

.legal-update-note {
	background: var(--soft);
	border-left: 3px solid var(--yellow);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	margin: 16px 0 22px;
	padding: 18px 20px;
}

.legal-update-note p {
	margin: 6px 0 0;
}

.legal-purposes {
	display: grid;
	gap: 14px;
	margin: 18px 0 22px;
}

.legal-purposes > div {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 18px 20px;
}

.legal-purposes dt {
	font-weight: 800;
	margin-bottom: 5px;
}

.legal-purposes dd {
	color: var(--muted);
	margin: 0;
}

/* 404 */
.not-found-page {
	background: var(--soft);
	padding-block: clamp(90px, 14vw, 180px);
}

.not-found-page__inner {
	max-width: 760px;
	text-align: center;
}

.not-found-page__inner > span {
	color: rgba(13, 46, 90, 0.09);
	font-size: clamp(7rem, 24vw, 16rem);
	font-weight: 800;
	left: 50%;
	letter-spacing: -0.08em;
	line-height: 0.8;
	position: absolute;
	transform: translateX(-50%);
}

.not-found-page .eyebrow,
.not-found-page h1,
.not-found-page p,
.not-found-page .button-row {
	position: relative;
}

.not-found-page .eyebrow,
.not-found-page .button-row {
	justify-content: center;
}

.not-found-page h1 {
	font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.not-found-page p:not(.eyebrow) {
	color: var(--muted);
	margin: 0 auto 30px;
}

.prose-page {
	min-height: 50vh;
	padding-block: 100px;
}

/* Reveal opzionale: senza JavaScript il contenuto resta visibile. */
@media (prefers-reduced-motion: no-preference) {
	body.motion-ready .reveal {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	body.motion-ready .reveal--delay {
		transition-delay: 100ms;
	}

	body.motion-ready .reveal.is-visible {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1020px) {
	.desktop-nav,
	.header-account,
	.header-cta {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.site-footer__grid {
		grid-template-columns: 1.4fr 0.8fr 0.8fr;
	}

	.footer-company {
		grid-column: 1 / -1;
	}

	.section-heading--split,
	.inner-hero__grid,
	.feature-connection__panel {
		gap: 34px;
		grid-template-columns: 1fr;
	}

	.feature-detail {
		gap: 30px;
		grid-template-columns: 0.5fr 1.5fr;
	}

	.feature-detail ul {
		grid-column: 2;
	}

	.form-layout,
	.faq-layout {
		gap: 50px;
		grid-template-columns: 1fr;
	}

	.form-aside,
	.faq-intro {
		position: static;
	}

	.form-aside {
		max-width: 650px;
	}

	.location-card {
		grid-template-columns: 1fr;
	}

	.location-map,
	.location-map iframe {
		min-height: 410px;
	}
}

@media (max-width: 760px) {
	:root {
		--radius-lg: 22px;
	}

	html {
		scroll-padding-top: 78px;
	}

	.container {
		padding-inline: 20px;
	}

	.section {
		padding-block: 76px;
	}

	.site-header__inner {
		height: 70px;
	}

	.brand__icon {
		height: 42px;
		width: 42px;
	}

	.brand__wordmark {
		font-size: 1.28rem;
	}

	.mobile-menu {
		height: calc(100vh - 70px);
		top: 70px;
	}

	.section-heading {
		margin-bottom: 40px;
	}

	.site-footer {
		padding-top: 60px;
	}

	.site-footer__grid {
		gap: 38px;
		grid-template-columns: 1fr 1fr;
		padding-bottom: 44px;
	}

	.site-footer__intro,
	.footer-company {
		grid-column: 1 / -1;
	}

	.site-footer__bottom {
		align-items: start;
		flex-direction: column;
		gap: 18px;
	}

	.site-footer__bottom nav {
		flex-wrap: wrap;
		gap: 12px 20px;
	}

	.inner-hero {
		padding-block: 30px 64px;
	}

	.breadcrumbs {
		margin-bottom: 36px;
	}

	.module-index {
		top: 70px;
	}

	.module-index__inner {
		padding-inline: 0;
	}

	.feature-details {
		padding-top: 50px;
	}

	.feature-detail {
		gap: 24px;
		grid-template-columns: 1fr;
		padding-block: 45px;
		scroll-margin-top: 148px;
	}

	.feature-detail ul {
		grid-column: auto;
	}

	.feature-detail__meta {
		grid-template-columns: auto auto 1fr;
	}

	.feature-detail__meta strong {
		grid-column: auto;
	}

	.feature-connection__panel {
		padding: 32px 24px;
	}

	.connection-mini-flow {
		gap: 28px;
		grid-template-columns: 1fr;
	}

	.connection-mini-flow li {
		padding: 15px 16px;
	}

	.connection-mini-flow li:not(:last-child)::after {
		bottom: -27px;
		right: 50%;
		top: auto;
		transform: translate(50%, 50%) rotate(90deg);
	}

	.connection-mini-flow__top {
		margin-bottom: 12px;
	}

	.final-cta__inner {
		align-items: start;
		flex-direction: column;
		padding: 34px 24px;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.form-card {
		padding: 26px 20px;
	}

	.contact-form .button {
		width: 100%;
	}

	.location-copy .button {
		width: 100%;
	}

	.location-map,
	.location-map iframe {
		min-height: 340px;
	}

	.required-note {
		display: block;
		margin: 10px 0 0;
		text-align: center;
	}

	.support-channels__grid {
		grid-template-columns: 1fr;
	}

	.support-channels article {
		min-height: 260px;
	}

	.legal-layout {
		grid-template-columns: 1fr;
	}

	.legal-layout aside {
		position: static;
	}
}

@media (max-width: 430px) {
	.container {
		padding-inline: 16px;
	}

	.button {
		width: 100%;
	}

	.button-row {
		align-items: stretch;
		flex-direction: column;
	}

	.text-link {
		align-self: flex-start;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.footer-links,
	.site-footer__intro,
	.footer-company {
		grid-column: auto;
	}

	.app-screen {
		padding: 12px;
	}

	.app-kpis > div:nth-child(3) {
		display: none;
	}

	.app-kpis {
		grid-template-columns: 1fr 1fr;
	}

	.app-row {
		grid-template-columns: 0.8fr 1.5fr 1fr;
	}

	.app-row span:last-child {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 760px) {
	.cookie-banner__inner {
		align-items: stretch;
		flex-direction: column;
		gap: 18px;
		padding: 18px 20px;
	}

	.cookie-banner__actions {
		flex-direction: column-reverse;
	}

	.cookie-banner__button {
		width: 100%;
	}

	.consent-embed:not(.consent-embed--loaded) {
		padding: 20px;
	}

	.consent-embed__notice {
		padding: 22px 18px;
	}
}
