/*
Theme Name: VS Comunication
Theme URI: https://www.vscomunication.ro/
Author: VS Comunication S.R.L.
Description: Tema su misura per vscomunication.ro: facility management, AudioCompliance e cessione fatture. Italiano, rumeno e inglese senza plugin, modulo contatti integrato, nessun cookie di terze parti, font ospitati nel tema.
Version: 1.1.3
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vscom
*/

/* ==========================================================================
   Font (Archivo, SIL Open Font License — ospitato nel tema, nessuna chiamata esterna)
   ========================================================================== */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("assets/fonts/archivo-latin.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Token
   ========================================================================== */
:root {
	--ink: #0E2547;      /* blu notte: testo e fondi scuri */
	--navy: #13386A;     /* blu del logo: azioni e collegamenti */
	--sky: #9DB9E0;      /* celeste del logo */
	--cyan: #1EC6D7;     /* ciano segnale: solo grafica e accenti */
	--paper: #F3F6FA;    /* fondo chiaro delle sezioni alterne */
	--line: #D7DEE9;     /* filetti e bordi */
	--slate: #55647E;    /* testo secondario */
	--white: #FFFFFF;
	--max: 1180px;
	--gutter: clamp(20px, 4.5vw, 44px);
	--pad-x: max(var(--gutter), calc((100% - var(--max)) / 2));
	--section-y: clamp(64px, 9vw, 120px);
	--radius: 6px;
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--header-h: 73px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.62;
	font-weight: 400;
	color: var(--ink);
	background: var(--white);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 2px; }
p, ul, ol, dl, figure { margin: 0 0 1em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); }

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	color: inherit;
	font-family: var(--font);
	text-wrap: balance;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: manual;
}
h1 {
	font-size: clamp(2.375rem, 1.2rem + 4.6vw, 4.25rem);
	line-height: 1.02;
	font-weight: 760;
	font-stretch: 116%;
	letter-spacing: -0.022em;
	max-width: 17ch;
}
h2 {
	font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem);
	line-height: 1.1;
	font-weight: 720;
	font-stretch: 110%;
	letter-spacing: -0.015em;
}
h3 {
	font-size: 1.1875rem;
	line-height: 1.3;
	font-weight: 680;
	font-stretch: 104%;
	letter-spacing: -0.003em;
}
.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 {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Testata
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	display: flex; align-items: center; gap: 20px;
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin: 0 auto; padding: 12px var(--gutter);
	min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 48px; height: 48px; flex: none; }
.brand__text { display: flex; flex-direction: column; justify-content: center; line-height: 1.12; }
.brand__name { white-space: nowrap; font-weight: 760; font-stretch: 114%; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand__group { font-size: 0.8125rem; color: var(--slate); font-weight: 450; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 14px; }
.nav-primary__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-primary__list a {
	display: block; padding: 10px 10px; border-radius: 4px; white-space: nowrap;
	color: var(--ink); text-decoration: none; font-weight: 560; font-size: 0.9375rem;
}
.nav-primary__list a:hover { background: var(--paper); color: var(--navy); }
.nav-primary__list .current-menu-item > a,
.nav-primary__list a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
/* Menu a tendina (es. Chi siamo > Clienti) */
.nav-primary__list > li { position: relative; }
.nav-primary__list .menu-item-has-children > a { display: flex; align-items: center; gap: 6px; }
.nav-primary__list .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; margin-top: -3px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg); opacity: 0.7;
}
.nav-primary__list .current-menu-ancestor > a,
.nav-primary__list .current-menu-parent > a { color: var(--navy); box-shadow: inset 0 -2px 0 var(--sky); border-radius: 0; }
.nav-primary__list .sub-menu {
	position: absolute; left: 0; top: 100%; z-index: 60;
	min-width: 210px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--line); border-radius: 6px;
	box-shadow: 0 18px 30px -18px rgba(14, 37, 71, 0.35);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.nav-primary__list li:hover > .sub-menu,
.nav-primary__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-primary__list .sub-menu a { padding: 10px 12px; border-radius: 4px; }
.nav-primary__list .sub-menu .current-menu-item > a,
.nav-primary__list .sub-menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); border-radius: 0 4px 4px 0; background: var(--paper); }

.site-nav__aside { display: flex; align-items: center; gap: 14px; }
.lang-switch ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lang-switch a {
	display: block; padding: 6px 7px; border-radius: 4px;
	font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.02em;
	color: var(--slate); text-decoration: none;
}
.lang-switch abbr { text-decoration: none; }
.lang-switch a:hover { color: var(--ink); background: var(--paper); }
.lang-switch a[aria-current] { color: var(--ink); background: var(--paper); }
.header-call {
	display: inline-flex; align-items: center; white-space: nowrap;
	padding: 10px 14px; border-radius: 4px;
	background: var(--navy); color: #fff; text-decoration: none;
	font-weight: 650; font-size: 0.9375rem; font-variant-numeric: tabular-nums;
}
.header-call:hover { background: var(--ink); color: #fff; }
button.header-call { border: 0; font-family: var(--font); cursor: pointer; line-height: 1.2; }

/* Telefoni nascosti (antispam) */
.vs-tel { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.vs-tel__mask { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.vs-tel__btn {
	padding: 2px 0; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: 0.875em; font-weight: 650; color: var(--navy);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}
.vs-tel__btn:hover { color: var(--ink); text-decoration-thickness: 2px; }
.vs-tel__link { font-weight: 600; font-variant-numeric: tabular-nums; }
.site-footer .vs-tel__btn, .vs-section--dark .vs-tel__btn { color: var(--cyan); }
.vs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.vs-actions .wp-block-buttons { margin: 0 !important; }
.vs-btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px currentColor; }
.vs-btn--outline:hover { background: var(--navy); color: #fff; box-shadow: none; }
.vs-cta .vs-btn--outline { color: #fff; }
.vs-cta .vs-btn--outline:hover { background: #fff; color: var(--ink); }
.vs-btn--outline { font-variant-numeric: tabular-nums; }

.nav-toggle {
	display: none; align-items: center; gap: 10px;
	background: none; border: 1px solid var(--line); border-radius: 4px;
	padding: 9px 12px; font: inherit; font-weight: 600; font-size: 0.9375rem; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1260px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 24px;
		box-shadow: 0 18px 30px -24px rgba(14, 37, 71, 0.45);
	}
	.site-nav.is-open { display: flex; }
	.nav-primary__list { flex-direction: column; }
	.nav-primary__list a { padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-primary__list .current-menu-item > a,
	.nav-primary__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); padding-left: 14px; }
	.nav-primary__list .menu-item-has-children > a::after { display: none; }
	.nav-primary__list .current-menu-ancestor > a,
	.nav-primary__list .current-menu-parent > a { box-shadow: none; }
	.nav-primary__list .sub-menu {
		position: static; min-width: 0; padding: 0 0 0 18px; border: 0; border-radius: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none; transition: none; background: none;
	}
	.nav-primary__list .sub-menu a { padding: 12px 4px; font-size: 1rem; font-weight: 500; border-radius: 0; }
	.nav-primary__list .sub-menu .current-menu-item > a,
	.nav-primary__list .sub-menu a[aria-current="page"] { background: none; border-radius: 0; padding-left: 14px; }
	.site-nav__aside { justify-content: space-between; padding-top: 16px; }
}
@media (max-width: 420px) {
	.brand__group { display: none; }
	.nav-toggle__label { display: none; }
}

/* ==========================================================================
   Sezioni
   ========================================================================== */
.site-main { display: block; outline: none; }
.vs-section {
	padding: var(--section-y) var(--pad-x);
	position: relative;
}
.vs-section + .vs-section:not(.vs-section--paper):not(.vs-section--dark):not(.vs-cta):not(.vs-demo) { border-top: 1px solid var(--line); }
.vs-section--paper + .vs-section { border-top: 0; }
.vs-section--paper { background: var(--paper); }
.vs-section--dark { background: var(--ink); color: #fff; }
.vs-section--dark a { color: #fff; }
.vs-section > h2 { max-width: 22ch; margin-bottom: clamp(28px, 4vw, 48px); }
.vs-section > .wp-block-heading + .vs-intro { margin-top: calc(-1 * clamp(12px, 2vw, 24px)); }
.vs-intro { max-width: 62ch; color: var(--slate); font-size: 1.125rem; margin-bottom: 36px; }
.vs-lead { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem); line-height: 1.55; color: var(--slate); max-width: 58ch; }
.vs-section--dark .vs-lead, .vs-hero--dark .vs-lead { color: #C9D6EA; }

/* Colonne */
.vs-section .wp-block-columns { gap: clamp(28px, 5vw, 80px); margin-bottom: 0; }
.vs-section .wp-block-columns + .wp-block-columns { margin-top: clamp(32px, 5vw, 56px); }
.vs-split > .wp-block-column > h2:first-child { margin-top: -0.1em; }
.vs-split--center { align-items: center !important; }
.wp-block-column > *:last-child, .wp-block-group > *:last-child { margin-bottom: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */
.vs-hero { padding-top: clamp(56px, 8vw, 104px); }
.vs-hero--home { padding-bottom: 0; overflow: hidden; }
.vs-hero--home h1 { max-width: 15ch; }
.vs-hero .wp-block-buttons { margin-top: 32px; }
.vs-hero--page { padding-bottom: clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.vs-hero--page h1 { max-width: 20ch; }
.vs-hero--plain { padding-bottom: clamp(24px, 4vw, 40px); }
.vs-hero--plain h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); }
.vs-updated { color: var(--slate); font-size: 0.9375rem; }

/* La "skyline" di barre del logo */
.vs-skyline {
	display: block;
	position: relative;
	z-index: 0;
	width: 100vw;
	max-width: none;
	height: clamp(150px, 26vw, 380px);
	margin: calc(-1 * clamp(0px, 15vw - 60px, 170px)) 0 0 calc(50% - 50vw);
	pointer-events: none;
}
.vs-hero--home > *:not(.vs-skyline) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
	.vs-skyline polygon {
		transform-box: fill-box;
		transform-origin: 50% 100%;
		animation: vs-rise 900ms cubic-bezier(.2, .75, .25, 1) both;
		animation-delay: calc(var(--i) * 18ms + 120ms);
	}
}
@keyframes vs-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Hero scuro (AudioCompliance) */
.vs-hero--dark {
	background: var(--ink); color: #fff;
	padding-bottom: clamp(56px, 7vw, 96px);
	overflow: hidden;
}
.vs-hero--dark h1 { color: #fff; }
.vs-hero--ac h1 { font-size: clamp(2.1rem, 0.8rem + 4.4vw, 3.9rem); font-stretch: 112%; }
.vs-claim { color: var(--cyan); font-weight: 600; font-size: 1.0625rem; }
.vs-hero__cols { align-items: center !important; }
.vs-hero__art { margin: 0; }
.vs-hero__art img { display: block; width: 100%; max-width: 520px; margin-left: auto; }

/* Foto della sede (home) */
.vs-photo { margin: 0 0 clamp(40px, 6vw, 72px); }
.vs-photo img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.vs-photo figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--slate); }
.vs-photo figcaption::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 10px; vertical-align: middle; background: var(--cyan); }

/* Illustrazioni */
.vs-hero__art--ill img { max-width: 560px; }
.vs-phase-art { margin: 28px 0 0; }
.vs-phase-art img { display: block; width: 100%; max-width: 340px; }
.vs-side-art { margin: 0; }
.vs-side-art img { display: block; width: 100%; max-width: 520px; margin: 0 auto; }
.vs-europe { margin: 32px 0 0; }
.vs-europe img { display: block; width: 100%; max-width: 460px; }
@media (max-width: 781px) {
	.vs-phase-art img { max-width: 280px; }
	.vs-hero__art--ill img { max-width: 420px; margin: 0 auto; }
}

/* Hero cessione: cifra "48 h" */
.vs-hero__aside { align-self: center; }
.vs-bignum {
	margin: 0;
	font-size: clamp(5rem, 2rem + 10vw, 9.5rem);
	line-height: 0.9;
	font-weight: 800;
	font-stretch: 125%;
	letter-spacing: -0.04em;
	color: var(--navy);
	font-variant-numeric: tabular-nums;
}
.vs-bignum__label { color: var(--slate); font-size: 1.0625rem; max-width: 22ch; margin-top: 12px; padding-top: 12px; border-top: 3px solid var(--cyan); }

/* Sottomenu ad ancore (facility management) */
.vs-subnav { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 32px 0 0; }
.vs-subnav li { margin: 0; }
.vs-subnav a {
	display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
	background: #fff; color: var(--ink); text-decoration: none; font-weight: 560; font-size: 0.9375rem;
}
.vs-subnav a:hover { border-color: var(--navy); color: var(--navy); }

/* ==========================================================================
   Pulsanti
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link,
.vs-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 14px 22px; border: 0; border-radius: 4px;
	background: var(--navy); color: #fff;
	font-family: var(--font); font-size: 1rem; font-weight: 650; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.wp-block-button .wp-block-button__link:hover, .vs-btn:hover { background: var(--ink); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--navy);
	box-shadow: inset 0 0 0 1.5px currentColor;
	border: 0; padding: 14px 22px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--navy); color: #fff; box-shadow: none; }
.vs-hero--dark .wp-block-button .wp-block-button__link,
.vs-section--dark .wp-block-button .wp-block-button__link,
.vs-cta .wp-block-button .wp-block-button__link { background: var(--cyan); color: var(--ink); }
.vs-hero--dark .wp-block-button .wp-block-button__link:hover,
.vs-cta .wp-block-button .wp-block-button__link:hover { background: #fff; color: var(--ink); }
.vs-hero--dark .wp-block-button.is-style-outline .wp-block-button__link,
.vs-cta .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #fff; }
.vs-hero--dark .wp-block-button.is-style-outline .wp-block-button__link:hover,
.vs-cta .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--ink); }
.vs-more { margin-top: auto; padding-top: 8px; font-weight: 650; }
.vs-more a { text-decoration: none; border-bottom: 2px solid var(--cyan); padding-bottom: 2px; color: var(--navy); }
.vs-more a:hover { border-bottom-color: var(--navy); }

/* ==========================================================================
   Home: offerta
   ========================================================================== */
.vs-offers {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 20px;
}
.vs-offer {
	display: flex; flex-direction: column;
	padding: clamp(26px, 3.2vw, 40px);
	border: 1px solid var(--line); border-radius: var(--radius);
	background: #fff;
}
.vs-offer h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); font-stretch: 110%; font-weight: 720; margin-bottom: 14px; }
.vs-offer p { color: var(--slate); }
.vs-offer--main {
	grid-row: span 2;
	background: var(--ink); border-color: var(--ink); color: #fff;
	position: relative; overflow: hidden;
}
.vs-offer--main p { color: #C9D6EA; max-width: 48ch; }
.vs-offer--main h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.375rem); }
.vs-offer--main .wp-block-buttons { margin-top: auto; padding-top: 16px; }
.vs-offer--main .wp-block-button .wp-block-button__link { background: var(--cyan); color: var(--ink); }
.vs-offer--main .wp-block-button .wp-block-button__link:hover { background: #fff; }
.vs-offer--main::after {
	content: ""; position: absolute; right: 0; bottom: 0; width: 46%; height: 62%;
	background: url("assets/img/bars.svg") right bottom / contain no-repeat; opacity: .9; pointer-events: none;
}
.vs-offer--main > * { position: relative; z-index: 1; }
.vs-offer--main .vs-ticks li { color: #C9D6EA; margin-bottom: 16px; }
.vs-offer--main .vs-ticks strong { color: #fff; display: inline-block; margin-bottom: 2px; }
.vs-offer--main .vs-ticks { margin: 12px 0 28px; max-width: 62%; }
@media (max-width: 900px) {
	.vs-offers { grid-template-columns: 1fr; }
	.vs-offer--main { grid-row: auto; }
	.vs-offer--main .vs-ticks { max-width: none; }
	.vs-offer--main::after { width: 40%; height: 40%; opacity: .5; }
}

/* Motivi */
.vs-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(24px, 4vw, 56px); }
.vs-reason { padding: 24px 0 8px; border-top: 2px solid var(--ink); }
.vs-reason h3 { margin-bottom: 8px; }
.vs-reason p { color: var(--slate); }
@media (max-width: 900px) { .vs-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vs-reasons { grid-template-columns: 1fr; } }

/* Cronologia */
.vs-timeline { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.vs-timeline li { position: relative; padding: 0 0 28px 128px; min-height: 48px; }
.vs-timeline li::before {
	content: ""; position: absolute; left: 96px; top: 10px; width: 10px; height: 10px; border-radius: 50%;
	background: #fff; box-shadow: 0 0 0 2px var(--navy);
}
.vs-timeline li::after { content: ""; position: absolute; left: 100px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.vs-timeline li:last-child::after { display: none; }
.vs-timeline li:last-child::before { background: var(--cyan); box-shadow: 0 0 0 2px var(--cyan); }
.vs-timeline strong {
	position: absolute; left: 0; top: 0; width: 80px;
	font-size: 1.375rem; font-weight: 760; font-stretch: 116%; color: var(--navy); line-height: 1.2;
}
.vs-timeline br { display: none; }
@media (max-width: 600px) {
	.vs-timeline li { padding-left: 34px; }
	.vs-timeline li::before { left: 0; }
	.vs-timeline li::after { left: 4px; }
	.vs-timeline strong { position: static; display: block; width: auto; }
}

/* ==========================================================================
   Elenchi
   ========================================================================== */
.vs-ticks { list-style: none; padding: 0; }
.vs-ticks li { position: relative; padding: 0 0 0 32px; margin: 0 0 12px; }
.vs-ticks li::before {
	content: ""; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px;
	background: var(--cyan);
	-webkit-mask: url("assets/img/icons/check.svg") center / contain no-repeat;
	mask: url("assets/img/icons/check.svg") center / contain no-repeat;
}
.vs-ticks--2col { columns: 2; column-gap: clamp(24px, 5vw, 64px); }
.vs-ticks--2col li { break-inside: avoid; }
@media (max-width: 700px) { .vs-ticks--2col { columns: 1; } }

.vs-services { list-style: none; padding: 0; margin: 0; }
.vs-services li { padding: 20px 0; border-top: 1px solid var(--line); color: var(--slate); }
.vs-services li:last-child { border-bottom: 1px solid var(--line); }
.vs-services strong { display: inline-block; margin-bottom: 4px; color: var(--ink); font-size: 1.125rem; font-stretch: 104%; }

/* Icone delle aree */
.vs-ico::before {
	content: ""; display: block; width: 48px; height: 48px; margin-bottom: 22px;
	background: var(--navy);
	-webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.vs-ico--building { --ico: url("assets/img/icons/building.svg"); }
.vs-ico--people { --ico: url("assets/img/icons/people.svg"); }
.vs-ico--briefcase { --ico: url("assets/img/icons/briefcase.svg"); }
.vs-area__head p { color: var(--slate); max-width: 40ch; }
/* Global service: area principale su fondo scuro */
.vs-area--primary .vs-ico::before { background: var(--cyan); }
.vs-area--primary .vs-area__head p { color: #C9D6EA; }
.vs-area--primary .vs-services li { color: #C9D6EA; border-color: rgba(255, 255, 255, .16); }
.vs-area--primary .vs-services strong { color: #fff; }
/* Fasi a cascata: numerate perché sono una sequenza reale */
.vs-article { counter-reset: vs-phase; }
.vs-area--step { counter-increment: vs-phase; }
.vs-area__head--step::before {
	content: counter(vs-phase);
	display: block; margin-bottom: 14px;
	font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1;
	font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; color: var(--sky);
}
.vs-section.vs-cascade-intro { padding-bottom: 0; }
.vs-section.vs-cascade-intro > h2 { margin-bottom: 16px; }
.vs-section.vs-cascade-intro > .vs-intro { margin-top: 0; margin-bottom: 0; }
.vs-section.vs-cascade-intro + .vs-section.vs-area--step { border-top: 0 !important; padding-top: clamp(40px, 5vw, 64px); }
@media (min-width: 782px) {
	.vs-area__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: flex-start; }
}

/* Passi (sequenze reali) */
.vs-steps { list-style: none; padding: 0; margin: 0; counter-reset: vs-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.vs-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vs-steps li { counter-increment: vs-step; position: relative; padding-top: 64px; color: var(--slate); }
.vs-steps li::before {
	content: counter(vs-step);
	position: absolute; top: 0; left: 0;
	font-size: 2.5rem; line-height: 1; font-weight: 780; font-stretch: 125%; color: var(--sky);
}
.vs-steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 50px; height: 2px; background: var(--line); }
.vs-steps li:first-child::after { background: linear-gradient(90deg, var(--cyan) 0 40px, var(--line) 40px); }
.vs-steps strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.0625rem; }
.vs-steps br { display: none; }
@media (max-width: 1000px) { .vs-steps, .vs-steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vs-steps, .vs-steps--5 { grid-template-columns: 1fr; } }

/* Controlli (AudioCompliance) e condizioni */
.vs-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vs-checks li {
	margin: 0; padding: 22px 22px 22px 26px; background: #fff; border-radius: var(--radius);
	border-left: 4px solid var(--cyan); color: var(--slate);
}
.vs-checks strong { display: inline-block; margin-bottom: 4px; color: var(--ink); }
.vs-checks--single { grid-template-columns: 1fr; gap: 10px; }
.vs-checks--single li { padding: 14px 18px; color: var(--ink); }
@media (max-width: 900px) { .vs-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vs-checks { grid-template-columns: 1fr; } }
.vs-note-line { margin-top: 20px; color: var(--slate); font-size: 0.96875rem; }
.vs-site-link { margin-top: 22px; color: var(--slate); font-size: 0.96875rem; }
.vs-site-link a, .vs-cf-office a, .vs-sede__links a[target="_blank"]:not([href*="google"]) { font-weight: 650; }
.vs-site-link a::after, .vs-cf-office a::after, .site-footer__office a::after { content: " ↗"; font-weight: 400; }

/* Clienti */
.vs-clients {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
	list-style: none; margin: 0; padding: 0;
}
.vs-client {
	display: flex; flex-direction: column; gap: 6px;
	padding: 22px 22px 20px; background: #fff;
	border: 1px solid var(--line); border-radius: 8px;
}
.vs-client__logo {
	display: flex; align-items: center; justify-content: center;
	height: 96px; margin-bottom: 12px; padding: 0 8px;
	background: var(--paper); border-radius: 6px;
}
.vs-client__logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.vs-client__img { max-height: 56px; max-width: 80%; width: auto; height: auto; object-fit: contain; }
.vs-client__wordmark {
	font-weight: 740; font-stretch: 112%; font-size: 1.0625rem; line-height: 1.15;
	letter-spacing: -0.01em; color: var(--navy); text-align: center;
}
.vs-client.has-logo .vs-client__logo { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.vs-client:not(.has-logo) .vs-client__logo { flex: 1; min-height: 96px; height: auto; margin-bottom: 0; }
.vs-client__name { margin: 0; font-weight: 650; color: var(--ink); line-height: 1.3; }
@media (max-width: 1000px) { .vs-clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .vs-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .vs-client { padding: 16px; } .vs-client__logo { height: 80px; } .vs-client:not(.has-logo) .vs-client__logo { min-height: 80px; } }
@media (max-width: 380px) { .vs-clients { grid-template-columns: 1fr; } }

/* Funzioni con titolo */
.vs-features { list-style: none; padding: 0; margin: 0; }
.vs-features li { padding: 18px 0 18px 28px; border-top: 1px solid var(--line); position: relative; color: var(--slate); }
.vs-features li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 3px; background: var(--cyan); }
.vs-features strong { color: var(--ink); display: inline-block; margin-bottom: 2px; }

/* Settori */
.vs-sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.vs-sectors li { padding-top: 20px; border-top: 2px solid var(--ink); color: var(--slate); font-size: 0.96875rem; }
.vs-sectors strong { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 6px; }
.vs-sectors br { display: none; }
@media (max-width: 1000px) { .vs-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 560px) { .vs-sectors { grid-template-columns: 1fr; } }

/* Persone */
.vs-people { list-style: none; padding: 0; margin: 0; }
.vs-people li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--slate); font-size: 0.96875rem; }
.vs-people strong { color: var(--ink); font-size: 1.0625rem; }

/* ==========================================================================
   Numeri
   ========================================================================== */
.vs-stats { margin-top: clamp(36px, 5vw, 56px) !important; }
.vs-stat { border-top: 2px solid var(--ink); padding-top: 18px; }
.vs-stat__num {
	margin: 0 0 6px; font-size: clamp(2.75rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1;
	font-weight: 780; font-stretch: 122%; letter-spacing: -0.03em; color: var(--navy);
	font-variant-numeric: tabular-nums;
}
.vs-stat__label { color: var(--slate); max-width: 28ch; }
.vs-section--dark .vs-stat { border-top-color: var(--cyan); }
.vs-section--dark .vs-stat__num { color: #fff; }
.vs-section--dark .vs-stat__label { color: #C9D6EA; }

/* Immagini AudioCompliance */
.vs-wave img, .vs-gauge img { display: block; margin: 0 auto; }
.vs-gauge img { max-width: 360px; width: 100%; }
.vs-wave { margin: 0; }

/* Riquadro note (erogazione, canone) */
.vs-note {
	margin-top: 36px; padding: 24px 28px; border-radius: var(--radius);
	background: var(--paper); border: 1px solid var(--line);
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px;
}
.vs-note p { margin: 0; color: var(--slate); }
.vs-note strong { color: var(--ink); }
@media (max-width: 760px) { .vs-note { grid-template-columns: 1fr; } }

/* ==========================================================================
   Invito all'azione
   ========================================================================== */
.vs-cta {
	background: var(--navy); color: #fff; overflow: hidden;
	padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px);
}
.vs-cta::after {
	content: ""; position: absolute; right: var(--pad-x); bottom: 0; width: min(420px, 40%); height: 70%;
	background: url("assets/img/bars-light.svg") right bottom / contain no-repeat; pointer-events: none;
}
.vs-cta > * { position: relative; z-index: 1; max-width: 640px; }
.vs-cta h2 { color: #fff; margin-bottom: 14px; }
.vs-cta .vs-lead { color: #D3DFF0; }
.vs-cta .wp-block-buttons { margin-top: 28px; }
@media (max-width: 700px) { .vs-cta::after { opacity: .35; } }

/* ==========================================================================
   Sedi, mappa, dati societari
   ========================================================================== */
.vs-sedi { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.vs-sede { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.vs-sede__label { font-size: 0.9375rem; font-weight: 650; color: var(--slate); margin-bottom: 10px; font-stretch: 100%; }
.vs-sede__addr { font-size: 1.25rem; font-weight: 680; line-height: 1.35; font-stretch: 106%; margin-bottom: 14px; }
.vs-sede__meta { color: var(--slate); }
.vs-sede__links { margin-top: auto; margin-bottom: 0; font-weight: 600; }
.vs-map { margin-top: 18px; }
.vs-map__btn {
	font: inherit; font-weight: 650; font-size: 0.9375rem; cursor: pointer;
	padding: 10px 16px; border-radius: 4px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy);
}
.vs-map__btn:hover { background: var(--navy); color: #fff; }
.vs-map__note { font-size: 0.8125rem; color: var(--slate); margin: 8px 0 0; }
.vs-map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: 4px; }

.vs-company { margin: 0; }
.vs-company > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.vs-company > div:last-child { border-bottom: 1px solid var(--line); }
.vs-company dt { color: var(--slate); }
.vs-company dd { margin: 0; font-weight: 560; }
.vs-company__name { font-weight: 720 !important; font-stretch: 108%; grid-column: 1 / -1; }
@media (max-width: 560px) { .vs-company > div { grid-template-columns: 1fr; gap: 2px; } }

.vs-direct { font-size: 1.0625rem; line-height: 1.7; }
.vs-direct a { font-weight: 600; }
.vs-aside h2 { font-size: 1.375rem; font-stretch: 106%; margin-bottom: 14px; }
.vs-aside h2 + .vs-direct { margin-bottom: 40px; }

/* ==========================================================================
   Modulo
   ========================================================================== */
.vs-demo .vs-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.vs-section--paper.vs-demo .vs-form { border-color: transparent; }
.vs-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .vs-form__grid { grid-template-columns: 1fr; } }
.vs-field { margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.vs-field label { font-weight: 600; font-size: 0.9375rem; }
.vs-field__opt { font-weight: 400; color: var(--slate); }
.vs-field input[type="text"], .vs-field input[type="email"], .vs-field input[type="tel"], .vs-field select, .vs-field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: 12px 14px; border: 1.5px solid #B9C4D6; border-radius: 4px; background: #fff;
}
.vs-field textarea { resize: vertical; min-height: 140px; }
.vs-field input:focus, .vs-field select:focus, .vs-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 198, 215, .35); }
.vs-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.vs-field--check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.vs-field--check label { font-weight: 400; font-size: 0.9375rem; color: var(--slate); }
.vs-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vs-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 6px 0 0; }
.vs-form__req { font-size: 0.875rem; color: var(--slate); }
.vs-form__notice { padding: 14px 16px; border-radius: 4px; margin-bottom: 22px; font-weight: 560; }
.vs-form__notice--ok { background: #E3F7F0; color: #0D5B45; border-left: 4px solid #1F9D74; }
.vs-form__notice--error { background: #FDECEC; color: #8A1C1C; border-left: 4px solid #C93434; }

/* ==========================================================================
   Testi lunghi (informative, pagine semplici)
   ========================================================================== */
.vs-prose > * { max-width: 72ch; }
.vs-prose h2, .vs-section.vs-prose > h2 { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem); margin-top: 1.8em; margin-bottom: 0.6em; max-width: none; }
.vs-gdpr-note { margin-top: 24px; padding-left: 14px; border-left: 3px solid var(--cyan); }
.vs-prose h2:first-child { margin-top: 0; }
.vs-prose ul { padding-left: 1.2em; }
.vs-prose li { margin-bottom: 0.5em; }
.vs-pagehead { padding-bottom: 0; }

/* 404 */
.vs-404__code { font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--sky); margin: 0 0 12px; }

/* ==========================================================================
   Piè di pagina
   ========================================================================== */
.site-footer { background: var(--ink); color: #C9D6EA; font-size: 0.96875rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__inner {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px clamp(32px, 5vw, 72px);
	padding: clamp(56px, 7vw, 88px) var(--pad-x) 40px;
}
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand__group { color: #9FB2CF; }
.site-footer__about p { max-width: 42ch; }
.site-footer__title { font-size: 0.875rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0.01em; color: #fff; margin: 0 0 12px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0 0 28px; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__office { margin: 0 0 16px; }
.site-footer__office span { color: #9FB2CF; font-size: 0.875rem; }
.site-footer__legal {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px;
	padding: 24px var(--pad-x) 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 0.875rem; color: #9FB2CF;
}
.site-footer__company { margin: 0; max-width: 70ch; }
.site-footer__company strong { color: #fff; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Adattamenti mobile e stampa
   ========================================================================== */
@media (max-width: 781px) {
	.vs-section .wp-block-columns { gap: 28px; }
	.vs-hero__art img { max-width: 360px; margin: 8px auto 0; }
	.vs-steps li::after { right: 0; }
}
@media print {
	.site-header, .site-footer, .vs-cta, .vs-form, .vs-skyline, .vs-map { display: none !important; }
	.vs-section { padding: 24px 0; }
	body { font-size: 11pt; }
}
