/* ==========================================================================
   Viss 2026 — foglio di stile principale
   Mobile-first, token in custom properties (docs/design-brief.md §1-§3).
   ========================================================================== */

/* ---------- Font self-hosted (OFL): Red Hat Display per i titoli, Red Hat Text per il testo ---------- */
@font-face {
	font-family: "Red Hat Display";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/red-hat-display-latin-wght-normal.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: "Red Hat Display";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/red-hat-display-latin-ext-wght-normal.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;
}
@font-face {
	font-family: "Red Hat Display";
	font-style: italic;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/red-hat-display-latin-wght-italic.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: "Red Hat Display";
	font-style: italic;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/red-hat-display-latin-ext-wght-italic.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;
}
@font-face {
	font-family: "Red Hat Text";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/red-hat-text-latin-wght-normal.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: "Red Hat Text";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/red-hat-text-latin-ext-wght-normal.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;
}
@font-face {
	font-family: "Red Hat Text";
	font-style: italic;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/red-hat-text-latin-wght-italic.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: "Red Hat Text";
	font-style: italic;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/red-hat-text-latin-ext-wght-italic.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 {
	/* Palette (§1.2) */
	--v-ink: #232427;
	--v-text: #34373B;
	--v-muted: #686C72;
	--v-brand: #F19300;
	--v-brand-hover: #FFA41F;
	--v-bronze: #9A570B;
	--v-bronze-light: #B0660F;
	--v-sand: #EEF0F2;
	--v-stone: #DCDFE3;
	--v-steel: #C4C6CA;
	--v-white: #FFFFFF;
	--v-error: #B42318;
	--v-ok: #2F6B2F;

	/* Colori di contesto (cambiano su sfondo scuro) */
	--c-bg: var(--v-white);
	--c-fg: var(--v-text);
	--c-head: var(--v-ink);
	--c-muted: var(--v-muted);
	--c-accent: var(--v-bronze);
	--c-line: var(--v-stone);
	--c-frame: var(--v-stone);
	--c-field: var(--v-white);

	/* Tipografia (§2) */
	--font-display: "Red Hat Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-sans: "Red Hat Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--fs-body: 1.0625rem;           /* 17px */
	--fs-small: 0.9375rem;          /* 15px */
	--fs-h1: clamp(2.375rem, 1.5rem + 3.6vw, 4rem);      /* 38 → 64 */
	--fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);      /* 28 → 40 */
	--fs-h3: clamp(1.375rem, 1.27rem + 0.45vw, 1.625rem); /* 22 → 26 */
	--fs-h4: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);   /* 18 → 20 */
	--fs-h5: 1.0625rem;
	--fs-h6: 0.9375rem;

	/* Layout (§3) */
	--container: 1240px;
	--pad-x: clamp(20px, 4vw, 40px);
	--gap: 24px;
	--radius: 6px;
	--radius-sm: 4px;
	--space-section: clamp(64px, 8vw, 120px);
	--space-md: clamp(40px, 5vw, 72px);
	--header-h: 80px;
	--mbar-h: 0px;
	--shadow: none;
	--shadow-sm: none;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Contesto scuro */
.viss-on-dark,
.viss-bg-ink,
.viss-bg-dark,
.viss-bg-brand,
.viss-mt--bg-ink,
.viss-cards--bg-ink,
.viss-footer {
	--c-bg: var(--v-ink);
	--c-fg: #D9DCE0;
	--c-head: #FFFFFF;
	--c-muted: #A2A7AD;
	--c-accent: var(--v-brand);
	--c-line: rgba(255, 255, 255, 0.16);
	--c-frame: rgba(255, 255, 255, 0.22);
	--c-field: rgba(255, 255, 255, 0.06);
	color: var(--c-fg);
}

/* ---------- 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;
	background: var(--v-white);
	color: var(--c-fg);
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	padding-bottom: var(--mbar-h);
}

img,
svg,
video,
iframe { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	color: var(--c-head);
	text-wrap: balance;
}
h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); line-height: 1.02; font-weight: 900; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h4, h5, h6 { font-family: var(--font-display); line-height: 1.3; }
h4 { font-size: var(--fs-h4); font-weight: 600; }
h5 { font-size: var(--fs-h5); font-weight: 600; }
h6 { font-size: var(--fs-h6); font-weight: 700; }

p { margin: 0 0 1em; }
a { color: inherit; }
strong, b { font-weight: 650; color: var(--c-head); }

:focus-visible {
	outline: 2px solid var(--v-bronze);
	outline-offset: 3px;
	border-radius: 4px;
}
.viss-on-dark :focus-visible,
.viss-bg-ink :focus-visible,
.viss-bg-dark :focus-visible,
.viss-bg-brand :focus-visible,
.viss-mt--bg-ink :focus-visible,
.viss-cards--bg-ink :focus-visible,
.viss-footer :focus-visible { outline-color: var(--v-brand); }

.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;
}
.viss-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--v-ink);
	color: #fff;
	border-radius: var(--radius-sm);
	text-decoration: none;
}
.viss-skip:focus { top: 16px; }

.viss-container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--pad-x));
	margin-inline: auto;
	padding-inline: var(--pad-x);
}

.viss-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Occhiello ---------- */
.viss-kicker,
.viss-pretitle,
p.viss-pretitle,
.vc_custom_heading.viss-pretitle {
	margin: 0 0 10px;
	color: var(--c-muted);
	font-family: var(--font-sans) !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	font-style: normal !important;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}
.vc_custom_heading.viss-pretitle[style*="center"] { justify-content: center; }

/* ---------- Bottoni ---------- */
.viss-btn,
.vc_btn3,
.wpcf7-submit {
	--btn-bg: var(--v-brand);
	--btn-fg: var(--v-ink);
	--btn-bd: var(--v-brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 22px;
	border: 1.5px solid var(--btn-bd);
	border-radius: var(--radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.viss-btn:hover,
.vc_btn3:hover,
.wpcf7-submit:hover { --btn-bg: var(--v-brand-hover); --btn-bd: var(--v-brand-hover); }
.viss-btn .viss-arrow { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.viss-btn:hover .viss-arrow { transform: translateX(4px); }

.viss-btn--secondary {
	--btn-bg: transparent;
	--btn-fg: var(--c-head);
	--btn-bd: currentColor;
}
.viss-btn--secondary:hover { --btn-bg: var(--v-ink); --btn-fg: #fff; --btn-bd: var(--v-ink); }
.viss-btn--outline-light,
.viss-bg-ink .viss-btn--secondary,
.viss-bg-dark .viss-btn--secondary,
.viss-mt--bg-ink .viss-btn--secondary { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.7); }
.viss-btn--outline-light:hover,
.viss-bg-ink .viss-btn--secondary:hover,
.viss-bg-dark .viss-btn--secondary:hover,
.viss-mt--bg-ink .viss-btn--secondary:hover { --btn-bg: #fff; --btn-fg: var(--v-ink); --btn-bd: #fff; }
.viss-btn--sm { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.viss-btn--center { display: flex; width: fit-content; margin-inline: auto; }
.viss-btn--link,
.viss-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--c-accent);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
.viss-link .viss-arrow { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.viss-link:hover .viss-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.viss-header {
	border-bottom: 1px solid var(--v-stone);
	position: sticky;
	top: 0;
	z-index: 60;
	background: #fff; /* niente backdrop-filter: renderebbe l'header contenitore del menu mobile fixed */
	transition: box-shadow 0.25s var(--ease);
}
.admin-bar .viss-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .viss-header { top: 0; } }
.viss-header.is-scrolled { --header-h: 72px; border-bottom-color: #C9CED4; }
.viss-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--header-h);
	max-width: calc(var(--container) + 2 * var(--pad-x));
	margin-inline: auto;
	padding-inline: var(--pad-x);
	transition: height 0.25s var(--ease);
}
.viss-header__logo { display: block; flex: none; line-height: 0; }
.viss-header__logo svg { height: calc(var(--header-h) - 16px); width: auto; transition: height 0.25s var(--ease); }
@media (min-width: 1100px) { :root { --header-h: 100px; } .viss-header.is-scrolled { --header-h: 76px; } }
.viss-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.viss-header__phone {
	padding: 10px 4px;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
	display: none;
	align-items: center;
	gap: 8px;
	color: var(--v-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.viss-header__phone .viss-icon { color: var(--v-bronze); }
.viss-header__phone:hover { color: var(--v-bronze); }
.viss-header__cta { display: none; }

.viss-burger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1.5px solid var(--v-stone);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--v-ink);
	font: 600 0.9375rem var(--font-sans);
	cursor: pointer;
}
.viss-burger .viss-icon { width: 22px; height: 22px; }
.viss-burger__close,
.viss-burger[aria-expanded="true"] .viss-burger__open { display: none; }
.viss-burger[aria-expanded="true"] .viss-burger__close { display: block; }

/* Menu desktop */
.viss-nav { display: none; }

@media (min-width: 640px) {
	.viss-header__cta { display: inline-flex; }
}

@media (min-width: 1100px) {
	.viss-burger,
	.viss-mnav { display: none !important; }
	.viss-nav { display: block; margin-left: auto; }
	.viss-header__actions { margin-left: 8px; }
	.viss-header__phone { display: inline-flex; }
	.viss-header__phone span { display: none; }
	.viss-nav__list {
		display: flex;
		align-items: center;
		gap: 2px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.viss-nav__item { position: relative; display: flex; align-items: center; }
	.viss-nav__item.has-mega { position: static; }
	.viss-nav__link {
		position: relative;
		display: block;
		padding: 10px 10px;
		color: var(--v-ink);
		font-size: 1rem;
		font-weight: 600;
		text-decoration: none;
		white-space: nowrap;
	}
	.viss-nav__item.has-children > .viss-nav__link { padding-right: 2px; }
	.viss-nav__link::after {
		content: "";
		position: absolute;
		left: 10px;
		right: 10px;
		bottom: 2px;
		height: 2px;
		background: var(--v-brand);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.25s var(--ease);
	}
	.viss-nav__item.has-children > .viss-nav__link::after { right: -18px; }
	.viss-nav__item:hover > .viss-nav__link::after,
	.viss-nav__item.is-active > .viss-nav__link::after,
	.viss-nav__link[aria-current="page"]::after { transform: scaleX(1); }
	.viss-nav__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 26px;
		height: 32px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--v-muted);
		cursor: pointer;
	}
	.viss-nav__toggle .viss-icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
	.viss-nav__toggle[aria-expanded="true"] .viss-icon { transform: rotate(180deg); }

	.viss-nav__panel {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 10;
		visibility: hidden;
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
	}
	.viss-nav__item:hover > .viss-nav__panel,
	.viss-nav__item:focus-within > .viss-nav__panel,
	.viss-nav__item.is-open > .viss-nav__panel {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}
	.viss-nav__item.is-closed > .viss-nav__panel { visibility: hidden; opacity: 0; }

	.viss-nav__sub {
		min-width: 240px;
		margin: 0;
		padding: 10px;
		list-style: none;
		background: #fff;
		border: 1px solid var(--v-stone);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
	}
	.viss-nav__sub.is-cols { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); column-gap: 8px; }
	.viss-nav__sublink {
		display: block;
		padding: 9px 12px;
		border-radius: 8px;
		color: var(--v-text);
		text-decoration: none;
		font-size: 0.9375rem;
	}
	.viss-nav__sublink:hover,
	.viss-nav__sublink[aria-current="page"] { background: var(--v-sand); color: var(--v-ink); }

	/* Mega-menu Prodotti */
	.viss-mega {
		left: var(--pad-x);
		right: var(--pad-x);
	}
	.viss-mega__inner {
		display: grid;
		grid-template-columns: 220px 1fr;
		gap: 32px;
		padding: 28px 32px 32px;
		background: #fff;
		border: 1px solid var(--v-stone);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
	}
	.viss-mega__intro {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 20px;
		border-radius: var(--radius);
		background: var(--v-sand);
	}
	.viss-mega__kicker {
		margin: 0;
		font-family: var(--font-display);
		font-size: 1.75rem;
		font-weight: 500;
		line-height: 1.1;
		color: var(--v-ink);
	}
	.viss-mega__all {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		color: var(--v-bronze);
		font-weight: 600;
		text-decoration: none;
	}
	.viss-mega__all .viss-icon { width: 18px; height: 18px; }
	.viss-mega__groups {
		margin: 0;
		padding: 0;
		list-style: none;
		columns: 3;
		column-gap: 28px;
	}
	.viss-mega__group { break-inside: avoid; padding-bottom: 18px; }
	.viss-mega__title {
		display: flex;
		align-items: center;
		gap: 12px;
		color: var(--v-ink);
		font-weight: 600;
		text-decoration: none;
		line-height: 1.25;
	}
	.viss-mega__title:hover span:last-child { color: var(--v-bronze); }
	.viss-mega__thumb {
		width: 44px;
		height: 44px;
		flex: none;
		overflow: hidden;
		border-radius: 8px;
		background: var(--v-stone);
	}
	.viss-mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.viss-mega__links { margin: 6px 0 0 56px; padding: 0; list-style: none; }
	.viss-mega__link {
		display: block;
		padding: 3px 0;
		color: var(--v-muted);
		font-size: 0.9375rem;
		text-decoration: none;
	}
	.viss-mega__link:hover,
	.viss-mega__link[aria-current="page"] { color: var(--v-bronze); }
}
@media (min-width: 1240px) {
	.viss-header__phone span { display: inline; }
	.viss-nav__link { padding-inline: 12px; }
}

/* Menu mobile */
.viss-mnav {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 59;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-top: 1px solid var(--v-stone);
	padding: 8px var(--pad-x) calc(32px + var(--mbar-h));
}
.admin-bar .viss-mnav { top: calc(var(--header-h) + 46px); }
.viss-mnav[hidden] { display: none; }
.viss-mnav__list { margin: 0; padding: 0; list-style: none; }
.viss-mnav__list--0 > .viss-mnav__item { border-bottom: 1px solid var(--v-stone); }
.viss-mnav__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.viss-mnav__link {
	flex: 1;
	padding: 14px 0;
	color: var(--v-ink);
	font-size: 1.125rem;
	font-weight: 500;
	text-decoration: none;
}
.viss-mnav__list--1 .viss-mnav__link { padding: 10px 0; font-size: 1rem; color: var(--v-text); }
.viss-mnav__list--2 .viss-mnav__link { padding: 8px 0; font-size: 0.9375rem; color: var(--v-muted); }
.viss-mnav__link[aria-current="page"] { color: var(--v-bronze); }
.viss-mnav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--v-stone);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--v-ink);
	cursor: pointer;
}
.viss-mnav__toggle .viss-icon { transition: transform 0.2s var(--ease); }
.viss-mnav__toggle[aria-expanded="true"] .viss-icon { transform: rotate(45deg); }
.viss-mnav__list--1,
.viss-mnav__list--2 { padding: 0 0 10px 16px; border-left: 2px solid var(--v-brand); margin-bottom: 12px; }
.viss-mnav__contacts { display: grid; gap: 20px; padding-top: 24px; }
.viss-mnav__sedi { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-small); }
.viss-mnav__sedi li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--v-sand); border-radius: var(--radius-sm); }
.viss-mnav__sedi a { color: var(--v-ink); font-weight: 600; }
body.viss-menu-open { overflow: hidden; }

/* ---------- Hero di pagina: fascia a tutta larghezza ---------- */
.viss-hero { background: var(--v-sand); }
.viss-hero__inner { display: grid; }
.viss-hero__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 6vw, 48px) var(--pad-x) clamp(36px, 6vw, 56px);
}
.viss-hero__media { order: -1; }
.viss-hero__media .viss-frame { aspect-ratio: 16 / 9; }
.viss-hero__media .viss-frame img { border-radius: 0; }
.viss-hero__title {
	margin: 0;
	font-size: var(--fs-h1);
	line-height: 1.02;
	max-width: 16ch;
}
.viss-hero__title.is-long { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.875rem); line-height: 1.08; max-width: 24ch; }
.viss-hero__rule { display: none; }
@media (min-width: 900px) {
	.viss-hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: clamp(380px, 34vw, 560px); }
	/* il testo parte dal filo della griglia del sito, la foto arriva al bordo dello schermo */
	.viss-hero__text { padding: 56px clamp(32px, 4vw, 72px) 56px max(var(--pad-x), (100vw - var(--container)) / 2); }
	.viss-hero__media { order: 0; }
	.viss-hero__media .viss-frame { aspect-ratio: auto; height: 100%; }
	.viss-hero.no-image .viss-hero__inner { grid-template-columns: 1fr; min-height: 0; }
}

/* Breadcrumb */
.viss-crumbs {
	margin-bottom: 18px;
	color: var(--v-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}
.viss-crumbs a { color: var(--v-muted); text-decoration: none; }
.viss-crumbs a:hover { color: var(--v-bronze); text-decoration: underline; }
.viss-crumbs .breadcrumb_last,
.viss-crumbs [aria-current] { color: var(--v-ink); }
.viss-crumbs__sep { margin-inline: 4px; color: var(--v-steel); }

/* Cornice "serramento" */
.viss-frame {
	position: relative;
	isolation: isolate;
	height: 100%;
}

.viss-frame > img,
.viss-frame > picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
}

/* ---------- Sezioni e righe WPBakery ---------- */
.viss-main { display: block; }
:is(.viss-content, .viss-content > .wpb-content-wrapper) > .vc_row,
.viss-global > .vc_row {
	--pt: var(--space-md);
	--pb: var(--space-md);
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding-block: var(--pt) var(--pb);
	padding-inline: max(var(--pad-x), (100% - var(--container)) / 2);
}
.vc_row { display: flex; flex-wrap: wrap; }
.vc_row::before,
.vc_row::after { display: none; }
.wpb_column { width: 100%; min-width: 0; }
.vc_column-inner { height: 100%; }
@media (min-width: 768px) {
	.vc_row > .vc_col-sm-1 { width: 8.3333%; } .vc_row > .vc_col-sm-2 { width: 16.6667%; } .vc_row > .vc_col-sm-3 { width: 25%; }
	.vc_row > .vc_col-sm-4 { width: 33.3333%; } .vc_row > .vc_col-sm-5 { width: 41.6667%; } .vc_row > .vc_col-sm-6 { width: 50%; }
	.vc_row > .vc_col-sm-7 { width: 58.3333%; } .vc_row > .vc_col-sm-8 { width: 66.6667%; } .vc_row > .vc_col-sm-9 { width: 75%; }
	.vc_row > .vc_col-sm-10 { width: 83.3333%; } .vc_row > .vc_col-sm-11 { width: 91.6667%; } .vc_row > .vc_col-sm-12 { width: 100%; }
	.vc_row > .wpb_column:not(.vc_col-sm-12):not(:only-child) > .vc_column-inner { padding-inline: 12px; }
}

.viss-sec.viss-pad-lg { --pt: var(--space-section); --pb: var(--space-section); }
.viss-sec.viss-pad-top-lg { --pt: var(--space-section); --pb: 0px; }
.viss-sec.viss-pad-bottom-lg { --pt: 0px; --pb: var(--space-section); }
.viss-sec.viss-pad-md { --pt: var(--space-md); --pb: var(--space-md); }
.viss-sec.viss-pad-top-md { --pt: var(--space-md); --pb: 0px; }
.viss-sec.viss-pad-0 { --pt: 0px; --pb: 0px; }
.viss-sec.viss-pad-lg,
.viss-sec.viss-pad-top-lg,
.viss-sec.viss-pad-bottom-lg,
.viss-sec.viss-pad-md,
.viss-sec.viss-pad-top-md,
.viss-sec.viss-pad-0 { padding-block: var(--pt) var(--pb); }

/* Due sezioni bianche consecutive: meno spazio in alto (ritmo). */
:is(.viss-content, .viss-content > .wpb-content-wrapper) > .viss-sec:not(.viss-bg-soft, .viss-bg-ink, .viss-bg-dark, .viss-bg-brand) + .viss-sec:not(.viss-bg-soft, .viss-bg-ink, .viss-bg-dark, .viss-bg-brand, :has(.viss-has-bg, .viss-global)) {
	padding-top: calc(var(--pt) * 0.55);
}
:is(.viss-content, .viss-content > .wpb-content-wrapper) > .viss-bg-soft + .viss-bg-soft { padding-top: calc(var(--pt) * 0.4); }

/* Dopo un blocco globale (fasce, pannelli) la sezione successiva senza padding in alto respira comunque. */
:is(.viss-content, .viss-content > .wpb-content-wrapper) > .vc_row:has(.viss-global) + .viss-sec:not(:has(.viss-global, .viss-has-bg)) {
	padding-top: max(var(--pt), var(--space-md));
}

.viss-bg-soft { background: var(--v-sand); --c-frame: var(--v-stone); }
.viss-sec:has(.viss-posts--tiles),
.viss-sec:has(.viss-posts--slider) { background: var(--v-sand); padding-block: var(--space-section); }
.viss-sec:has(.viss-posts--slider) .viss-card { background: #fff; }
:is(.viss-content, .viss-content > .wpb-content-wrapper) > .vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_separator:only-child) { display: none; }
.viss-bg-ink,
.viss-bg-dark,
.viss-bg-brand { background: var(--v-ink); }

/* Riga che contiene solo un blocco globale: il blocco porta le sue righe. */
:is(.viss-content, .viss-content > .wpb-content-wrapper) > .vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .viss-global:only-child) {
	padding: 0;
	display: block;
}
/* Elemento con sfondo pieno dentro una riga: lo sfondo va a tutta larghezza. */
.vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .viss-has-bg:only-child) { padding-block: 0; }
.viss-has-bg {
	position: relative;
	padding-block: max(var(--pt, 0px), var(--space-section)) max(var(--pb, 0px), var(--space-section));
	background: var(--c-bg);
	box-shadow: 0 0 0 100vmax var(--c-bg);
	clip-path: inset(0 -100vmax);
}
.viss-mt--bg-soft,
.viss-cards--bg-soft { --c-bg: var(--v-sand); --c-frame: var(--v-stone); }

.vc_column-inner > .wpb_wrapper > * + *,
.viss-acc__panel-inner > * + * { margin-top: clamp(28px, 3.5vw, 48px); }

/* Testi lunghi (content-1014): colonna di lettura centrata. */
.viss-content .vc_column-inner > .wpb_wrapper > .wpb_text_column,
.viss-global .vc_column-inner > .wpb_wrapper > .wpb_text_column,
.viss-prose {
	max-width: 820px;
	margin-inline: auto;
}

/* ---------- Testo ricco ---------- */
.wpb_text_column,
.viss-rich { overflow-wrap: break-word; }
.wpb_text_column > .wpb_wrapper > :last-child,
.viss-rich > :last-child { margin-bottom: 0; }
.wpb_text_column h2,
.viss-rich h2 { margin-top: 1.4em; }
.wpb_text_column h3,
.viss-rich h3 { margin-top: 1.6em; }
.wpb_text_column h4,
.viss-rich h4 { margin-top: 1.5em; }
.wpb_text_column > .wpb_wrapper > h2:first-child,
.wpb_text_column > .wpb_wrapper > :first-child,
.viss-rich > :first-child { margin-top: 0; }
.wpb_text_column a:not(.viss-btn),
.viss-rich a:not(.viss-btn):not(.viss-link) {
	color: var(--c-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.wpb_text_column a:not(.viss-btn):hover,
.viss-rich a:not(.viss-btn):not(.viss-link):hover { text-decoration-thickness: 2px; }
.wpb_text_column ul,
.viss-rich ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.wpb_text_column ul li,
.viss-rich ul li { position: relative; padding-left: 26px; margin-bottom: 0.45em; }
.wpb_text_column ul li::before,
.viss-rich ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.72em;
	width: 12px;
	height: 2px;
	background: var(--v-brand);
}
.wpb_text_column ol,
.viss-rich ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.wpb_text_column ol li::marker,
.viss-rich ol li::marker { color: var(--c-accent); font-weight: 700; }
.wpb_text_column img,
.viss-rich img { border-radius: var(--radius-sm); }
.wpb_text_column table,
.viss-rich table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: var(--fs-small); }
.wpb_text_column th,
.wpb_text_column td,
.viss-rich th,
.viss-rich td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.wpb_text_column blockquote,
.viss-rich blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--v-brand);
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--c-head);
}
.wpb_text_column .viss-btn,
.viss-rich .viss-btn { margin-block: 0.5em; }

/* Schede sede di /contatti/ (markup originale: address / contact / contact__label …) */
.viss-rich .address,
.viss-rich .contact,
.viss-rich .contact-group,
.wpb_text_column .address,
.wpb_text_column .contact { display: block; }
.viss-rich .address { margin-bottom: 14px; font-weight: 500; }
.viss-rich .contact__item { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.viss-rich .contact__label { min-width: 84px; color: var(--c-muted); font-size: 0.875rem; padding-top: 0.15em; }
.viss-rich .contact__item a { text-decoration: none; color: var(--c-head); font-weight: 600; }
.viss-rich .contact__item a:hover { color: var(--c-accent); }
.viss-rich .contact-group .contact,
.viss-rich .contact-group .contact .contact__item { display: inline; padding: 0; border: 0; }
.viss-rich .contact-group > .contact__item { flex-wrap: wrap; }
.viss-rich .contact-group,
.viss-rich .contact + p,
.viss-rich .contact + div { margin-top: 14px; }

/* Scheda tecnica (realizzazioni): testo trasformato in <dl> */
.viss-specs { margin: 0; display: grid; }
.viss-specs__row {
	display: grid;
	grid-template-columns: minmax(110px, 34%) 1fr;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--c-line);
}
.viss-specs__row:first-child { border-top: 1px solid var(--c-line); }
.viss-specs dt {
	color: var(--c-accent);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0;
	padding-top: 0.2em;
}
.viss-specs dt strong { color: inherit; font-weight: inherit; }
.viss-specs__colon { display: none; }
.viss-specs dd { margin: 0; color: var(--c-head); font-weight: 500; }

/* ---------- Native WPBakery ---------- */
.vc_custom_heading { font-family: inherit; }
h1.vc_custom_heading, h2.vc_custom_heading, h3.vc_custom_heading { font-family: var(--font-display) !important; font-weight: 800 !important; letter-spacing: -0.02em; }
h4.vc_custom_heading, h5.vc_custom_heading, h6.vc_custom_heading { font-family: var(--font-sans) !important; }
.vc_custom_heading + .vc_custom_heading { margin-top: 0 !important; }
.wpb_wrapper > .vc_custom_heading.viss-pretitle + * { margin-top: 0; }

.vc_btn3-container { display: inline-block; margin: 0; }
.vc_btn3-container + .vc_btn3-container { margin-left: 12px; margin-top: 0; }
.vc_btn3 .vc_btn3-icon { display: none; }
/* WPBakery scrive colori inline sui bottoni: valgono quelli del tema. */
.vc_btn3 { white-space: nowrap; background-color: var(--btn-bg) !important; color: var(--btn-fg) !important; border-color: var(--btn-bd) !important; }
.vc_btn3[href^="mailto:"]::before,
.vc_btn3[href^="tel:"]::before {
	content: "";
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
.vc_btn3[href^="mailto:"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.vc_btn3[href^="tel:"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 3.5h3l1.5 4-2 1.3a11 11 0 0 0 5.2 5.2l1.3-2 4 1.5v3a2 2 0 0 1-2 2A15.5 15.5 0 0 1 3.5 5.5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }

/* Separatore "line": spazio + filetto sottile a tutta larghezza */
.vc_separator,
.viss-sep {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 1px;
	margin-block: clamp(24px, 4vw, 48px);
}
.vc_separator > * { display: none; }
.vc_separator::before,
.viss-sep::before {
	content: "";
	width: 100%;
	height: 1px;
	background: var(--v-stone);
}
:is(.viss-content, .viss-content > .wpb-content-wrapper) > .vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_separator:only-child) { padding-block: 0; }

/* Video */
.wpb_video_widget { max-width: 960px; margin-inline: auto; }
.wpb_video_wrapper { position: relative; }
.viss-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--v-ink);
}
.viss-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.viss-rich .viss-embed,
.wpb_text_column .viss-embed { margin-block: 1.5em; }

/* Segnaposto del consenso */
.viss-consent { background: var(--v-sand); }
.viss-bg-soft .viss-consent { background: #EAE3DA; }
.viss-on-dark .viss-consent,
.viss-bg-ink .viss-consent,
.viss-bg-dark .viss-consent { background: rgba(255, 255, 255, 0.06); }
.viss-consent__ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px;
	text-align: center;
	color: var(--c-muted);
	font-size: var(--fs-small);
}
.viss-consent__ph > .viss-icon { width: 40px; height: 40px; color: var(--c-accent); }
.viss-consent__ph p { margin: 0; max-width: 44ch; }

/* ---------- Testata elementi ---------- */
.viss-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.viss-head .viss-title { margin: 0; }
.viss-title { font-size: var(--fs-h2); }
h1.viss-title { font-size: clamp(2.125rem, 1.6rem + 2.1vw, 3.25rem); line-height: 1.08; }
h3.viss-title { font-size: var(--fs-h3); }
h4.viss-title,
h5.viss-title,
h6.viss-title,
p.viss-title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- viss_media_text ---------- */
.viss-mt { --text-cols: 5; --media-cols: 7; }
.viss-mt--round { --text-cols: 7; --media-cols: 5; }
.viss-mt--logo { --text-cols: 7; --media-cols: 5; }
.viss-mt--duo,
.viss-mt--contain,
.viss-mt--slider { --text-cols: 6; --media-cols: 6; }
.viss-mt--form { --text-cols: 7; --media-cols: 5; }
.viss-mt--map { --text-cols: 5; --media-cols: 7; }
.viss-mt__grid {
	display: grid;
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}
.viss-mt__media { order: -1; min-width: 0; }
.viss-mt--form .viss-mt__media,
.viss-mt--map .viss-mt__media { order: 0; }
.viss-mt__head { margin-bottom: 20px; }
.viss-mt__head .viss-title { margin: 0; }
.viss-mt__text { max-width: 62ch; }
.viss-mt__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.viss-mt--no-media .viss-mt__body { max-width: 820px; margin-inline: auto; width: 100%; }
@media (min-width: 900px) {
	.viss-mt__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.viss-mt__body { grid-column: span var(--text-cols); }
	.viss-mt__media { grid-column: span var(--media-cols); order: 0; }
	.viss-mt--media-left .viss-mt__media { order: -1; }
	.viss-mt--no-media .viss-mt__body { grid-column: 1 / -1; }
}
.viss-mt__media .viss-frame { aspect-ratio: 4 / 3; }
.viss-mt--round .viss-frame { aspect-ratio: 4 / 5; max-width: 480px; }
.viss-mt--round.viss-mt--media-left .viss-frame { margin-right: auto; }
@media (min-width: 900px) {
	.viss-mt--round .viss-mt__grid { align-items: start; }
	.viss-mt--round .viss-mt__body { align-self: center; }
}

/* Duo: due immagini sovrapposte */
.viss-duo { position: relative; padding: 0 0 12% 0; max-width: 620px; }
.viss-mt--media-right .viss-duo { margin-left: auto; }
.viss-duo__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.viss-duo__img--a { width: 74%; aspect-ratio: 4 / 5; position: relative; isolation: isolate; }

.viss-duo__img--b {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 48%;
	aspect-ratio: 4 / 5;
	padding: 6px;
	background: var(--c-bg);
	border-radius: calc(var(--radius) + 6px);
}
.viss-bg-soft .viss-duo__img--b { background: var(--v-sand); }

/* Logo marchio */
.viss-mt__logo {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	padding: 12%;
	background: #fff;
	border: 1px solid var(--v-stone);
	border-radius: var(--radius);
}
.viss-mt__logo img { max-height: 100%; width: auto; object-fit: contain; }
.viss-mt__contain img { width: 100%; max-height: 480px; object-fit: contain; margin-inline: auto; }

/* Mappa (scheda sede) */
.viss-mt__map .viss-embed { aspect-ratio: 4 / 3; }

/* Pannello "Contattaci subito" (bg=image) */
.viss-mt--bg-image .viss-mt__grid {
	gap: 0;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--v-sand);
	align-items: stretch;
}
.viss-mt--bg-image .viss-mt__body { padding: clamp(28px, 5vw, 64px); align-self: center; }
.viss-mt--bg-image .viss-mt__media { order: -1; min-height: 220px; }
.viss-mt--bg-image .viss-frame { height: 100%; aspect-ratio: auto; }
.viss-mt--bg-image .viss-frame::before { display: none; }
.viss-mt--bg-image .viss-frame img { border-radius: 0; position: absolute; inset: 0; }
@media (min-width: 900px) {
	.viss-mt--bg-image { --text-cols: 7; --media-cols: 5; }
	.viss-mt--bg-image .viss-mt__media { order: 0; }
	.viss-mt--bg-image.viss-mt--media-left .viss-mt__media { order: -1; }
}
.viss-bg-soft .viss-mt--bg-image .viss-mt__grid { background: #fff; }
.viss-sedi-phones {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 28px 0 0;
	padding: 20px 0 0;
	list-style: none;
	border-top: 1px solid var(--v-stone);
	font-size: var(--fs-small);
}
.viss-sedi-phones li { display: flex; flex-direction: column; }
.viss-sedi-phones span { color: var(--v-muted); font-size: 0.8125rem; }
.viss-sedi-phones a { display: inline-flex; align-items: center; gap: 6px; color: var(--v-ink); font-weight: 600; text-decoration: none; }
.viss-sedi-phones a .viss-icon { width: 16px; height: 16px; color: var(--v-bronze); }
.viss-sedi-phones a:hover { color: var(--v-bronze); }

/* Form (content-1003) */
.viss-mt--form .viss-mt__grid { align-items: start; }
.viss-mt--form .viss-mt__text { max-width: none; }
.viss-mt--form .viss-mt__media { display: none; }
@media (min-width: 900px) {
	.viss-mt--form .viss-mt__media { display: block; position: sticky; top: calc(var(--header-h) + 24px); }
	.viss-mt--form .viss-frame { aspect-ratio: 4 / 5; }
}

/* ---------- viss_cards ---------- */
.viss-cards__list {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px) { .viss-cards__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.viss-cards--cols-4 .viss-cards__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.viss-cards--cols-3 .viss-cards__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.viss-card-i__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; }
.viss-card-i__text { color: var(--c-fg); font-size: var(--fs-small); }
.viss-card-i__text > :last-child { margin-bottom: 0; }

/* Numerate (su inchiostro) */
.viss-cards--numbered .viss-cards__list { gap: 0; }
.viss-cards--numbered .viss-card-i {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto 1fr;
	column-gap: 18px;
	padding: 28px 0;
	border-top: 1px solid var(--c-line);
}
.viss-cards--numbered .viss-card-i__num {
	grid-row: 1;
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 2rem + 2vw, 4rem);
	font-weight: 500;
	line-height: 0.9;
	color: var(--v-brand);
	font-variant-numeric: lining-nums;
}
.viss-cards--numbered .viss-card-i__icon { grid-row: 1; grid-column: 1 / -1; color: var(--v-brand); }
.viss-cards--numbered .viss-card-i__title { grid-column: 1 / -1; margin-top: 22px; color: #fff; }
.viss-cards--numbered .viss-card-i__text { grid-column: 1 / -1; color: var(--c-muted); }
@media (min-width: 640px) {
	.viss-cards--numbered .viss-card-i { padding: 28px 28px 28px 0; }
	.viss-cards--numbered .viss-card-i:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--c-line); }
}
@media (min-width: 1024px) {
	.viss-cards--numbered .viss-card-i { border-top: 0; padding: 8px 28px; border-left: 1px solid var(--v-steel); border-left-color: rgba(196, 198, 202, 0.35); }
	.viss-cards--numbered .viss-card-i:first-child { border-left: 0; padding-left: 0; }
	.viss-cards--numbered .viss-card-i:nth-child(2n) { padding-left: 28px; }
	.viss-cards--numbered.viss-cards--cols-3 .viss-card-i:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}
.viss-card-i__icon .viss-icon { width: 36px; height: 36px; }
.viss-card-i__icon--img img { width: 56px; height: 56px; object-fit: contain; }

/* Con icona (su chiaro) */
.viss-cards--icons .viss-card-i { padding-top: 22px; border-top: 2px solid var(--c-head); }
.viss-cards--icons .viss-card-i__icon { margin-bottom: 16px; color: var(--v-bronze); }
.viss-cards--icons .viss-card-i__icon .viss-icon { width: 32px; height: 32px; }

/* Con foto (su inchiostro) */
.viss-cards--photo .viss-cards__list { gap: 32px 24px; }
.viss-cards--photo .viss-card-i__photo { margin-bottom: 20px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.viss-cards--photo .viss-card-i__photo img { width: 100%; height: 100%; object-fit: cover; }
.viss-cards--photo .viss-card-i__text { color: var(--c-muted); }

/* ---------- Carosello ---------- */
.viss-carousel { position: relative; --slide-w: 85%; --slide-gap: 16px; }
.viss-carousel__track {
	display: flex;
	gap: var(--slide-gap);
	margin: 0;
	padding: 0 0 4px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.viss-carousel__track::-webkit-scrollbar { display: none; }
.viss-carousel__track:focus-visible { outline-offset: 6px; }
.viss-carousel__slide { flex: 0 0 var(--slide-w); min-width: 0; scroll-snap-align: start; }
.viss-carousel__ui { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.viss-carousel__progress { position: relative; flex: 1; height: 2px; background: var(--c-line); overflow: hidden; border-radius: 2px; }
.viss-carousel__progress span {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--viss-pw, 30%);
	background: var(--v-brand);
	transform: translateX(var(--viss-px, 0%));
	transition: transform 0.2s linear;
}
.viss-carousel__nav { display: none; gap: 10px; }
.viss-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 1.5px solid var(--c-head);
	border-radius: var(--radius);
	background: transparent;
	color: var(--c-head);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s;
}
.viss-carousel__btn:hover:not(:disabled) { background: var(--c-head); color: var(--c-bg); }
.viss-carousel__btn:disabled { opacity: 0.3; cursor: default; }
.viss-carousel__btn .viss-icon { width: 24px; height: 24px; }
.viss-carousel.is-static .viss-carousel__ui { display: none; }
@media (min-width: 768px) {
	.viss-carousel__nav { display: flex; }
	.viss-carousel { --slide-w: 66%; --slide-gap: 24px; }
}

/* ---------- viss_gallery ---------- */
.viss-gallery__grid { margin: 0; padding: 0; list-style: none; }
.viss-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.viss-gallery__link {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--v-stone);
}
.viss-gallery__link img { transition: transform 0.5s var(--ease); }
.viss-gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--v-ink);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s var(--ease);
}
.viss-gallery__zoom .viss-icon { width: 18px; height: 18px; }
.viss-gallery__link:hover .viss-gallery__zoom,
.viss-gallery__link:focus-visible .viss-gallery__zoom { opacity: 1; transform: none; }

.viss-gallery--mosaic .viss-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 42vw;
	grid-auto-flow: dense;
	gap: 8px;
}
.viss-gallery--mosaic .viss-gallery__item:nth-child(3n + 1) { grid-column: span 2; }
.viss-gallery--mosaic .viss-gallery__item:nth-child(3n + 2):last-child { grid-column: span 2; }
@media (min-width: 768px) {
	/* Ogni 4 immagini riempiono 2 righe: grande 2x2, due quadrate, una larga 2x1; il lato si alterna. */
	.viss-gallery--mosaic .viss-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 290px); }
	.viss-gallery--mosaic .viss-gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; }
	.viss-gallery--mosaic .viss-gallery__item:nth-child(4n + 1) { grid-column: span 2; grid-row: span 2; }
	.viss-gallery--mosaic .viss-gallery__item:nth-child(8n + 5) { grid-column: 3 / span 2; }
	.viss-gallery--mosaic .viss-gallery__item:nth-child(4n + 4) { grid-column: span 2; }
	.viss-gallery--mosaic .viss-gallery__item:nth-child(4n + 1):last-child { grid-column: 1 / -1; grid-row: span 1; }
	.viss-gallery--mosaic .viss-gallery__item:nth-child(4n + 2):last-child { grid-column: span 2; grid-row: span 2; }
	.viss-gallery--mosaic .viss-gallery__item:nth-child(4n + 3):last-child,
	.viss-gallery--mosaic .viss-gallery__item:nth-child(4n + 2):nth-last-child(2) { grid-row: span 2; }
}

.viss-gallery--grid .viss-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
@media (min-width: 768px) { .viss-gallery--grid .viss-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.viss-gallery--grid .viss-gallery__item { aspect-ratio: 3 / 2; }
.viss-gallery--grid .viss-gallery__item[hidden] { display: none; }
.viss-gallery__more { display: flex; justify-content: center; margin-top: 32px; }
.viss-gallery__more .viss-arrow { width: 18px; height: 18px; }

.viss-carousel--carousel .viss-gallery__item { aspect-ratio: 1490 / 698; }
.viss-carousel--carousel .viss-gallery__link { border-radius: var(--radius); }

.viss-carousel--logos { --slide-w: 42%; }
@media (min-width: 768px) { .viss-carousel--logos { --slide-w: calc((100% - 5 * var(--slide-gap)) / 6); } }
.viss-gallery__logo {
	display: grid;
	place-items: center;
	height: 100%;
	aspect-ratio: 2 / 1;
	padding: 14px 18px;
}
.viss-gallery__logo img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.25s, opacity 0.25s; }
a.viss-gallery__logo:hover img { filter: none; opacity: 1; }
.viss-carousel--logos .viss-carousel__ui { margin-top: 18px; }
.viss-carousel--logos .viss-carousel__btn { width: 44px; height: 44px; }

.viss-carousel--people { --slide-w: 66%; }
@media (min-width: 768px) { .viss-carousel--people { --slide-w: calc((100% - 3 * var(--slide-gap)) / 4); } }
.viss-person { margin: 0; }
.viss-person__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--v-stone); }
.viss-person figcaption { padding-top: 14px; }
.viss-person__name { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }

/* Lightbox */
.viss-lb {
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(35, 36, 39, 0.96);
	color: #fff;
}
.viss-lb::backdrop { background: rgba(35, 36, 39, 0.7); }
.viss-lb__stage { position: absolute; inset: 64px 16px 72px; display: grid; place-items: center; }
.viss-lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.viss-lb__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--radius);
	background: rgba(35, 36, 39, 0.5);
	color: #fff;
	cursor: pointer;
}
.viss-lb__btn:hover { background: #fff; color: var(--v-ink); }
.viss-lb__close { top: 12px; right: 12px; }
.viss-lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viss-lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.viss-lb__count { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 0.9375rem; letter-spacing: 0.08em; color: var(--v-steel); }
@media (max-width: 767px) {
	.viss-lb__prev, .viss-lb__next { top: auto; bottom: 10px; transform: none; }
}

/* ---------- viss_hero_slider: foto a tutta larghezza + riquadro testo ---------- */
.viss-sec--hero,
.vc_row:has(.viss-hs) { padding: 0 !important; background: var(--v-sand); }
.viss-hs { position: relative; display: grid; }
.viss-hs__media { position: relative; overflow: hidden; background: var(--v-stone); }
.viss-hs__media .viss-frame { aspect-ratio: 4 / 3; }
.viss-hs__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.9s var(--ease);
}
.viss-hs__slide.is-active { opacity: 1; z-index: 1; }
.viss-hs__slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
/* zoom lento sulla foto attiva: l'unico movimento continuo della pagina */
@media (prefers-reduced-motion: no-preference) {
	.viss-hs__slide img { transform: scale(1.001); transition: transform 7s linear; }
	.viss-hs__slide.is-active img { transform: scale(1.06); }
}
.viss-hs__box { background: #fff; padding: 28px var(--pad-x) 24px; }
/* i testi delle slide occupano la stessa cella: l'altezza resta quella del più lungo */
.viss-hs__panels { display: grid; }
.viss-hs__panel {
	grid-area: 1 / 1;
	visibility: hidden;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.viss-hs__panel.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0.15s, 0.15s, 0s; }
.viss-hs__copy .viss-kicker { margin-bottom: 8px; }
.viss-hs__title {
	margin: 0;
	color: var(--v-ink);
	font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
}
.viss-hs__link {
	display: inline-flex;
	margin-top: 20px;
	padding: 13px 22px;
	border-radius: var(--radius);
	background: var(--v-brand);
	color: var(--v-ink);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s var(--ease);
}
.viss-hs__link:hover { background: var(--v-brand-hover); }
.viss-hs__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
.viss-hs__tab {
	position: relative;
	padding: 12px 0 0;
	border: 0;
	border-top: 3px solid var(--v-stone);
	background: none;
	color: var(--v-muted);
	font: 600 0.875rem/1.3 var(--font-sans);
	text-align: left;
	cursor: pointer;
	transition: color 0.2s var(--ease);
}
.viss-hs__tab:hover,
.viss-hs__tab.is-active { color: var(--v-ink); }
.viss-hs__bar { position: absolute; left: 0; top: -3px; height: 3px; width: 0; background: var(--v-brand); }
.viss-hs__tab.is-active .viss-hs__bar { width: 100%; }
.viss-hs.is-playing .viss-hs__tab.is-active .viss-hs__bar { width: 0; animation: viss-hs-bar var(--viss-hs-delay, 6.5s) linear forwards; }
.viss-hs.is-paused .viss-hs__tab.is-active .viss-hs__bar { animation-play-state: paused; }
@keyframes viss-hs-bar { to { width: 100%; } }
@media (min-width: 1024px) {
	.viss-hs { height: clamp(580px, calc(100svh - var(--header-h) - 64px), 820px); }
	.viss-hs__media { position: absolute; inset: 0; }
	.viss-hs__media .viss-frame { aspect-ratio: auto; height: 100%; }
	/* il riquadro parte dal filo della griglia del sito */
	.viss-hs__box {
		position: absolute;
		z-index: 2;
		left: max(var(--pad-x), (100% - var(--container)) / 2);
		bottom: 56px;
		width: min(580px, 46%);
		padding: 36px 40px 28px;
		border-radius: var(--radius);
	}
}

/* ---------- viss_posts ---------- */
.viss-cardgrid {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px) { .viss-cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .viss-cardgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.viss-cardgrid > li { display: flex; }

.viss-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--v-stone);
	border-radius: var(--radius);
	background: #fff;
	color: var(--v-text);
	text-decoration: none;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.viss-card:hover { border-color: var(--v-bronze-light); box-shadow: var(--shadow-sm); }
.viss-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--v-stone); }
.viss-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.viss-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.viss-card__type {
	color: var(--v-bronze);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0;
}
.viss-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.3125rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--v-ink);
}
.viss-card__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--v-muted);
	font-size: var(--fs-small);
}
.viss-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--v-bronze);
	font-size: 0.9375rem;
	font-weight: 600;
}
.viss-card__more .viss-arrow { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.viss-card:hover .viss-card__more .viss-arrow { transform: translateX(4px); }
.viss-cardgrid--plain .viss-card__body { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; }
.viss-cardgrid--plain .viss-card__title { font-size: 1.125rem; }
.viss-cardgrid--plain .viss-card__more { margin: 0; padding: 0; flex: none; }
.viss-cardgrid--plain .viss-card__more > span:not(.screen-reader-text) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* Tile categorie: card tutte uguali, foto piena e nome sopra */
.viss-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) { .viss-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) {
	.viss-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.viss-tiles--count-5,
	.viss-tiles--count-10 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.viss-tiles--count-3,
	.viss-tiles--count-6,
	.viss-tiles--count-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.viss-tile__link {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--radius);
	background: var(--v-ink);
	color: #fff;
	text-decoration: none;
}
.viss-tiles--count-3 .viss-tile__link,
.viss-tiles--count-6 .viss-tile__link,
.viss-tiles--count-9 .viss-tile__link { aspect-ratio: 4 / 3; }
.viss-tile__media { position: absolute; inset: 0; background: var(--v-stone); }
.viss-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
/* sfumatura solo in basso, per leggere il nome */
.viss-tile__link::after {
	content: "";
	position: absolute;
	inset: 40% 0 0;
	z-index: 0;
	background: linear-gradient(to top, rgba(20, 21, 23, 0.8), rgba(20, 21, 23, 0));
	pointer-events: none;
}
.viss-tile__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 18px 18px; }
.viss-tile__foot::before {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin-bottom: 10px;
	border-radius: 2px;
	background: var(--v-brand);
	transition: width 0.4s var(--ease);
}
.viss-tile__title { margin: 0; color: #fff; font-family: var(--font-display); font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.viss-tile__link:hover .viss-tile__media img,
.viss-tile__link:focus-visible .viss-tile__media img { transform: scale(1.07); }
.viss-tile__link:hover .viss-tile__foot::before,
.viss-tile__link:focus-visible .viss-tile__foot::before { width: 64px; }
.viss-tile__link:focus-visible { outline-offset: 3px; }

/* Entrata a cascata delle griglie (classi aggiunte da main.js: senza JS tutto resta visibile) */
@media (prefers-reduced-motion: no-preference) {
	.viss-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--viss-i, 0) * 70ms); }
	.viss-reveal.is-in { opacity: 1; transform: none; }
}

/* Righe marchio */
.viss-brands { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.viss-brand {
	position: relative;
	display: grid;
	overflow: hidden;
	border: 1px solid var(--v-stone);
	border-radius: var(--radius);
	background: #fff;
	isolation: isolate;
}
.viss-brand__logo { padding: 24px 24px 0; }
.viss-brand__logo img { width: 180px; height: 90px; object-fit: contain; object-position: left center; }
.viss-brand__body { padding: 16px 24px 28px; }
.viss-brand__title { margin: 0 0 10px; font-size: var(--fs-h2); }
.viss-brand__title a { text-decoration: none; }
.viss-brand__title a:hover { color: var(--v-bronze); }
.viss-brand__text { color: var(--v-muted); max-width: 52ch; }
.viss-brand__band { order: -1; height: 140px; }
.viss-brand__band img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
@media (min-width: 900px) {
	.viss-brand { grid-template-columns: 240px minmax(0, 1fr); align-items: center; min-height: 240px; }
	.viss-brand__logo { padding: 32px; align-self: stretch; display: flex; align-items: center; border-right: 1px solid var(--v-stone); }
	.viss-brand__body { padding: 32px 40px; max-width: 60%; }
	.viss-brand__band { position: absolute; inset: 0 0 0 auto; width: 52%; height: auto; z-index: -1; }
	.viss-brand__band img { -webkit-mask-image: linear-gradient(to right, transparent, #000 55%); mask-image: linear-gradient(to right, transparent, #000 55%); }
}

/* Slider Focus */
.viss-posts--slider { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.viss-posts__slider,
.viss-posts__intro,
.viss-carousel { min-width: 0; }
.viss-posts__mark { display: block; width: 72px; margin-bottom: 20px; }
.viss-posts__mark svg { width: 100%; height: auto; }
.viss-posts__intro .viss-head { margin-bottom: 16px; }
.viss-posts__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.viss-posts__more { display: flex; justify-content: flex-start; margin-top: 32px; }
.viss-carousel--cards { --slide-w: 80%; }
.viss-carousel--cards .viss-carousel__slide { display: flex; }
@media (min-width: 768px) { .viss-carousel--cards { --slide-w: calc((100% - var(--slide-gap)) / 2); } }
@media (min-width: 1024px) {
	.viss-posts--slider { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
	.viss-posts__intro { position: sticky; top: calc(var(--header-h) + 32px); }
	.viss-carousel--cards { --slide-w: calc((100% - 2 * var(--slide-gap)) / 2.4); }
}
.viss-posts--cards .viss-head,
.viss-posts--tiles .viss-head { margin-bottom: clamp(28px, 4vw, 44px); }
.viss-posts__more { justify-content: center; }
.viss-posts--slider .viss-posts__more { justify-content: flex-start; }
.viss-empty { color: var(--c-muted); }

/* Paginazione */
.viss-pagination { margin-top: 48px; }
.viss-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.viss-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 10px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	color: var(--c-head);
	font-weight: 600;
	text-decoration: none;
}
.viss-pagination a.page-numbers:hover { border-color: var(--v-bronze-light); color: var(--v-bronze); }
.viss-pagination .page-numbers.current { background: var(--v-ink); border-color: var(--v-ink); color: #fff; }
.viss-pagination .page-numbers.dots { border-color: transparent; }
.viss-pagination .viss-icon { width: 20px; height: 20px; }

/* ---------- viss_accordion ---------- */
.viss-acc__head { margin-bottom: 24px; }
.viss-acc__pre img { max-width: 120px; height: auto; margin-bottom: 20px; }
.viss-acc__item { border-top: 1px solid var(--c-line); }
.viss-acc__item:last-child { border-bottom: 1px solid var(--c-line); }
.viss-acc__title { margin: 0; font-size: 1.1875rem; }
.viss-acc__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 0;
	border: 0;
	background: none;
	color: var(--c-head);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.viss-acc__btn:hover { color: var(--c-accent); }
.viss-acc__sign {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	transition: background-color 0.2s, border-color 0.2s;
}
.viss-acc__sign .viss-icon { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.viss-acc__btn[aria-expanded="true"] .viss-acc__sign { background: var(--v-brand); border-color: var(--v-brand); color: var(--v-ink); }
.viss-acc__btn[aria-expanded="true"] .viss-acc__sign .viss-icon { transform: rotate(45deg); }
.viss-acc__panel-inner {
	margin-bottom: 20px;
	padding: clamp(20px, 3vw, 32px);
	border-radius: var(--radius);
	background: var(--v-sand);
}
.viss-bg-soft .viss-acc__panel-inner { background: #fff; }
.viss-acc__panel .wpb_text_column,
.viss-acc__panel .viss-mt__text { max-width: none; }
.viss-acc__panel .viss-mt__grid { gap: 28px; }
.viss-acc--with-image .viss-acc__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
	.viss-acc--with-image .viss-acc__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
	.viss-acc--img-left .viss-acc__media { order: -1; }
	.viss-acc__media { position: sticky; top: calc(var(--header-h) + 24px); }
	.viss-acc__media .viss-frame { aspect-ratio: 4 / 5; }
}

/* ---------- viss_map ---------- */
.viss-map { display: grid; gap: 20px; }
.viss-map__canvas {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--v-sand);
}
.viss-map__canvas iframe,
.viss-map__canvas .viss-map__gmap { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viss-map__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.viss-map__list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 14px;
	padding: 12px 16px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
}
.viss-map__pin {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-head);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.viss-map__pin .viss-icon { color: var(--c-accent); }
.viss-map__pin.is-active { color: var(--c-accent); }
.viss-map__ext { display: inline-flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: 0.875rem; }
.viss-map__ext .viss-icon { width: 14px; height: 14px; }
@media (min-width: 900px) {
	.viss-map { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
	.viss-map__canvas { aspect-ratio: 16 / 10; }
}

/* ---------- Fascia CTA (blocco globale content-1043) ---------- */
.viss-cta-band > .wpb_column > .vc_column-inner > .wpb_wrapper {
	display: grid;
	gap: 8px 12px;
	align-items: center;
}
.viss-cta-band .wpb_wrapper > * + * { margin-top: 0; }
.viss-cta-band .vc_custom_heading:not(.viss-pretitle) {
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--font-display) !important;
	font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem) !important;
	font-weight: 800 !important;
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.viss-cta-band .vc_btn3-container + .vc_btn3-container { margin-left: 0; }
.viss-cta-band .vc_btn3 { width: 100%; }
.viss-cta-band .vc_btn3-container:last-child .vc_btn3,
.viss-cta-band .vc_btn3[href^="tel:"] { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.7); }
.viss-cta-band .vc_btn3-container:last-child .vc_btn3:hover,
.viss-cta-band .vc_btn3[href^="tel:"]:hover { --btn-bg: #fff; --btn-fg: var(--v-ink); --btn-bd: #fff; }
.viss-cta-band .vc_btn3[href^="mailto:"] { --btn-bg: var(--v-brand); --btn-fg: var(--v-ink); --btn-bd: var(--v-brand); }
.viss-cta-band .vc_btn3[href^="tel:"][title^="Telefono"]::after {
	content: attr(title);
	margin-left: 4px;
	padding-left: 12px;
	border-left: 1px solid rgba(255, 255, 255, 0.35);
	font-weight: 500;
	opacity: 0.85;
}
@media (max-width: 559px) { .viss-cta-band .vc_btn3[href^="tel:"][title^="Telefono"]::after { display: none; } }
.viss-cta-band .vc_btn3[href^="tel:"][title^="Telefono"]:hover::after { border-left-color: rgba(35, 36, 39, 0.3); }
@media (min-width: 900px) {
	.viss-cta-band > .wpb_column > .vc_column-inner > .wpb_wrapper {
		grid-template-columns: minmax(0, 1fr) auto auto;
		column-gap: 14px;
	}
	.viss-cta-band .vc_custom_heading { grid-column: 1; }
	.viss-cta-band .vc_custom_heading:not(.viss-pretitle) { margin: 0; }
	.viss-cta-band .vc_btn3-container { grid-row: 1 / span 2; grid-column: 2; }
	.viss-cta-band .vc_btn3-container ~ .vc_btn3-container { grid-column: 3; }
	.viss-cta-band .vc_btn3 { width: auto; }
}

/* Spaziature dei blocchi globali che nel vecchio tema non avevano padding proprio */
.viss-global--loghi-marchi > .viss-sec { --pb: clamp(24px, 3vw, 40px); }
.viss-global--recensioni > .viss-sec:first-child { --pt: var(--space-section); }
.viss-global--recensioni > .viss-sec:last-child { --pb: var(--space-section); }
.viss-global--recensioni > .viss-sec + .viss-sec { padding-top: 32px; }

/* Recensioni / Trustpilot / Trustindex */
.viss-global--trustpilot .vc_row,
.viss-reviews-strip { --pt: 22px !important; --pb: 22px !important; border-bottom: 1px solid var(--v-stone); }
.trustpilot-widget { min-height: 24px; }
.trustpilot-widget > a { color: var(--v-muted); font-size: 0.875rem; }
.ti-widget,
.ti-widget * { font-family: var(--font-sans) !important; }
.ti-widget .ti-review-item > .ti-inner,
.ti-widget .ti-reviews-container-wrapper .ti-review-item > .ti-inner { border-radius: var(--radius) !important; }
.ti-widget .ti-name,
.ti-widget .ti-rating-text strong { color: var(--v-ink) !important; }
.viss-reviews .vc_custom_heading + .wpb_raw_code,
.viss-reviews .vc_custom_heading + .wpb_raw_html { margin-top: 32px; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 { --field-bd: var(--v-stone); }
.viss-on-dark .wpcf7,
.viss-bg-ink .wpcf7,
.viss-bg-dark .wpcf7,
.viss-mt--bg-ink .wpcf7 { --field-bd: rgba(255, 255, 255, 0.24); }
.wpcf7-form > p,
.wpcf7-form .viss-f-row > p { margin: 0 0 16px; }
.viss-f-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .viss-f-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.viss-f-label { margin: 22px 0 6px !important; color: var(--c-head); font-weight: 600; }
.viss-f-note { margin: -2px 0 12px !important; color: var(--c-muted); font-size: 0.875rem; }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea,
.viss-search input[type="search"] {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--field-bd, var(--v-stone));
	border-radius: var(--radius-sm);
	background: var(--c-field);
	color: var(--c-head);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A570B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 20px;
}
.viss-on-dark .wpcf7 select,
.viss-bg-ink .wpcf7 select,
.viss-bg-dark .wpcf7 select,
.viss-mt--bg-ink .wpcf7 select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F19300' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.wpcf7 select option { color: var(--v-ink); background: #fff; }
.wpcf7 ::placeholder { color: var(--c-muted); opacity: 1; }
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.viss-search input:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 25%, transparent);
}
.wpcf7-list-item { display: block; margin: 0 0 8px; }
.wpcf7-list-item label { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	flex: none;
	accent-color: var(--v-brand);
}
/* Checkbox multipla (categorie): chip */
.wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.wpcf7-checkbox .wpcf7-list-item label {
	align-items: center;
	padding: 9px 14px;
	border: 1px solid var(--field-bd);
	border-radius: var(--radius-sm);
	background: var(--c-field);
	font-size: 0.9375rem;
	transition: border-color 0.2s, background-color 0.2s;
}
.wpcf7-checkbox .wpcf7-list-item label:has(input:checked) { border-color: var(--v-brand); background: color-mix(in srgb, var(--v-brand) 14%, transparent); }
.wpcf7-checkbox input[type="checkbox"] { margin: 0; width: 18px; height: 18px; }
.wpcf7-radio .wpcf7-list-item label { font-size: 0.9375rem; }
.wpcf7-acceptance .wpcf7-list-item-label { font-size: 0.8125rem; line-height: 1.55; color: var(--c-muted); }
.wpcf7-acceptance a { color: var(--c-accent); }
.wpcf7 input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--field-bd); border-radius: var(--radius-sm); color: var(--c-muted); font-size: 0.9375rem; }
.wpcf7 input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 8px 14px;
	border: 1.5px solid currentColor;
	border-radius: 8px;
	background: transparent;
	color: var(--c-head);
	font: 600 0.875rem var(--font-sans);
	cursor: pointer;
}
.wpcf7-form small { color: var(--c-muted); font-size: 0.8125rem; }
.wpcf7-submit { min-width: 200px; margin-top: 8px; }
.wpcf7-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.wpcf7-spinner { vertical-align: middle; margin-left: 12px; }
.wpcf7-not-valid { border-color: var(--v-error) !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--v-error); font-size: 0.8125rem; font-weight: 600; }
.viss-on-dark .wpcf7-not-valid-tip,
.viss-bg-ink .wpcf7-not-valid-tip,
.viss-bg-dark .wpcf7-not-valid-tip,
.viss-mt--bg-ink .wpcf7-not-valid-tip { color: #FFB3A6; }
.viss-on-dark .wpcf7-not-valid,
.viss-bg-ink .wpcf7-not-valid,
.viss-bg-dark .wpcf7-not-valid,
.viss-mt--bg-ink .wpcf7-not-valid { border-color: #FFB3A6 !important; }
.wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 14px 18px !important;
	border: 1.5px solid var(--c-line) !important;
	border-radius: var(--radius-sm);
	font-size: 0.9375rem;
}
.wpcf7-response-output:empty { display: none; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output { border-color: var(--v-brand) !important; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: var(--v-error) !important; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--v-ok) !important; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.viss-mt--form .viss-mt__head .viss-title { color: #fff; }

/* Markup dei form importati (classi viss-field / viss-form-heading / viss-form-note / viss-label) */
.wpcf7 fieldset.hidden-fields-container { display: none; }
.wpcf7-form .viss-field { margin: 0 0 16px; }
.wpcf7-form .viss-field p { margin: 0; }
.wpcf7-form .viss-field label { display: block; color: var(--c-muted); font-size: 0.875rem; }
.wpcf7-form .viss-field label br { display: none; }
.wpcf7-form .viss-field label .wpcf7-form-control-wrap { margin-top: 6px; }
.wpcf7-form .wpcf7-list-item label { color: var(--c-fg); font-size: 0.9375rem; }
.wpcf7-form .viss-label { display: block; margin-bottom: 10px; color: var(--c-muted); font-size: 0.875rem; }
.wpcf7-form .viss-form-heading { margin: 22px 0 6px; color: var(--c-head); font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; }
.wpcf7-form .viss-form-note { margin: 0 0 14px; color: var(--c-muted); font-size: 0.8125rem; }
@media (min-width: 640px) {
	.wpcf7-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	.wpcf7-form > * { grid-column: 1 / -1; }
	.wpcf7-form > p.viss-field:has(input[type="text"], input[type="email"], input[type="tel"], select) { grid-column: auto; }
	.wpcf7-form > .viss-f-row { grid-column: 1 / -1; }
}

/* Form su fondo chiaro: anche dove la riga o il blocco importati erano scuri */
.viss-bg-ink:has(.wpcf7),
.viss-mt--bg-ink:has(.wpcf7) {
	--c-bg: var(--v-sand);
	--c-fg: var(--v-text);
	--c-head: var(--v-ink);
	--c-muted: var(--v-muted);
	--c-accent: var(--v-bronze);
	--c-line: var(--v-stone);
	--c-field: #fff;
	background: var(--v-sand);
	color: var(--c-fg);
}
.viss-bg-ink:has(.wpcf7) .wpcf7,
.viss-mt--bg-ink:has(.wpcf7) .wpcf7 { --field-bd: #C9CED4; }
.viss-bg-ink:has(.wpcf7) .viss-mt--form .viss-mt__head .viss-title,
.viss-mt--bg-ink:has(.wpcf7) .viss-mt__head .viss-title { color: var(--v-ink); }
.wpcf7 { --field-bd: #C9CED4; --c-field: #fff; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea { border-radius: var(--radius); background-color: #fff; color: var(--v-ink); }
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--v-ink); box-shadow: 0 0 0 3px rgba(241, 147, 0, 0.35); }
.wpcf7 select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232427' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; }
.wpcf7-form .viss-form-heading { margin: 32px 0 4px; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; }
.wpcf7-form .viss-field label,
.wpcf7-form .viss-label { color: var(--v-text); font-size: 0.9375rem; font-weight: 500; }

/* Caselle e pallini disegnati: stessa misura, allineati al testo */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
	appearance: none;
	display: inline-grid;
	place-content: center;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1.5px solid #8A9097;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}
.wpcf7 input[type="radio"] { border-radius: 50%; }
.wpcf7 input[type="checkbox"]:checked { border-color: var(--v-ink); background: var(--v-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.wpcf7 input[type="radio"]:checked { border-color: var(--v-ink); box-shadow: inset 0 0 0 4px #fff; background: var(--v-ink); }
.wpcf7 input[type="checkbox"]:focus-visible,
.wpcf7 input[type="radio"]:focus-visible { outline: 2px solid var(--v-brand); outline-offset: 2px; }
/* stessa specificità di ".viss-field label" (display: block), che altrimenti la scavalca */
.wpcf7-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 12px; }
.wpcf7-radio { display: grid; gap: 10px; margin-top: 6px; }
.wpcf7-radio .wpcf7-list-item { margin: 0; }
.wpcf7-checkbox { gap: 10px; }
.wpcf7-checkbox .wpcf7-list-item label { gap: 10px; padding: 10px 14px; border-color: var(--field-bd); border-radius: var(--radius); background: #fff; }
.wpcf7-checkbox .wpcf7-list-item label:has(input:checked) { border-color: var(--v-ink); background: #fff; box-shadow: inset 0 0 0 1px var(--v-ink); }
.wpcf7-acceptance .wpcf7-list-item label { align-items: flex-start; }
.wpcf7-acceptance input[type="checkbox"] { margin-top: 1px; }
.wpcf7-acceptance .wpcf7-list-item-label { color: var(--v-muted); }
.wpcf7 input[type="file"] { padding: 12px; border: 1.5px dashed #C9CED4; border-radius: var(--radius); background: #fff; }
.wpcf7 input[type="file"]::file-selector-button { border: 0; border-radius: var(--radius-sm); background: var(--v-ink); color: #fff; padding: 9px 16px; }
.wpcf7 textarea { height: 160px; min-height: 120px; }
.wpcf7-submit { margin-top: 20px; }
.wpcf7-submit:disabled { opacity: 0.45; }

/* Ricerca */
.viss-search { display: flex; gap: 8px; max-width: 560px; }
.viss-search input[type="search"] { flex: 1; }
.viss-search button {
	display: grid;
	place-items: center;
	width: 52px;
	flex: none;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--v-brand);
	color: var(--v-ink);
	cursor: pointer;
}
.viss-search-top { margin-bottom: 40px; }

/* 404 e conferma invio */
.viss-404 { display: grid; gap: 24px; align-items: center; }
.viss-404__num {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(6rem, 4rem + 10vw, 12rem);
	font-weight: 500;
	line-height: 0.9;
	color: var(--v-brand);
}
.viss-404__lead { font-size: 1.25rem; color: var(--v-ink); }
.viss-404__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.viss-404 .viss-search { margin-top: 24px; }
@media (min-width: 900px) { .viss-404 { grid-template-columns: auto 1fr; gap: 64px; } }
.viss-after-form .wpb_text_column { text-align: center; }

/* ---------- Footer ---------- */
.viss-footer {
	background: var(--v-ink);
	font-size: var(--fs-small);
}
.viss-footer a { color: inherit; text-decoration: none; }
.viss-footer a:hover { color: var(--v-brand); }
.viss-footer__inner {
	max-width: calc(var(--container) + 2 * var(--pad-x));
	margin-inline: auto;
	padding: clamp(48px, 6vw, 80px) var(--pad-x) 24px;
}
.viss-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 28px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--c-line);
}
.viss-footer__logo svg { height: 72px; width: auto; }
.viss-footer__claim {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
	font-weight: 400;
	font-style: normal;
	color: #fff;
}
.viss-footer__social { display: flex; gap: 10px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.viss-footer__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
}
.viss-footer__social a:hover { border-color: var(--v-brand); }
.viss-footer__main { display: grid; gap: 32px; padding-block: 40px; }
.viss-footer__sedi { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .viss-footer__sedi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
	.viss-footer__main { grid-template-columns: minmax(0, 1fr) 200px; gap: 40px; }
	.viss-footer__sedi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Le sedi condividono le righe (subgrid): nome, indirizzo, contatti, orari e
   "Indicazioni" partono alla stessa altezza in tutte le colonne. */
.viss-footer__sedi { grid-auto-rows: auto; }
.viss-sede {
	display: grid;
	grid-row: span 5;
	grid-template-rows: subgrid;
	row-gap: 14px;
	align-content: start;
	padding-top: 20px;
	border-top: 2px solid var(--v-brand);
}
.viss-sede__name { grid-row: 1; }
.viss-sede__addr { grid-row: 2; }
.viss-sede__contacts { grid-row: 3; align-self: start; }
.viss-sede__hours { grid-row: 4; align-self: start; }
.viss-sede__maps { grid-row: 5; align-self: end; }
.viss-sede p,
.viss-sede dl,
.viss-sede dd { margin: 0; }
.viss-sede__name { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; color: #fff; line-height: 1.2; }
.viss-sede__addr { color: var(--c-fg); line-height: 1.5; }
/* etichetta | valore: le colonne restano allineate in tutte le sedi */
.viss-sede__contacts { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px 12px; align-items: start; }
.viss-sede__hours { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px 12px; align-items: baseline; }
.viss-sede__contacts dt,
.viss-sede__hours dt { color: var(--c-muted); font-size: 0.875rem; }
.viss-sede__contacts dt { padding-top: 2px; line-height: 0; }
.viss-sede__contacts dt .viss-icon { width: 18px; height: 18px; color: var(--v-brand); }
.viss-sede__contacts dd { display: flex; flex-direction: column; line-height: 1.4; }
.viss-sede__contacts a { color: #fff; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.viss-sede__contacts .viss-sede__mails { gap: 4px; }
.viss-sede__mails a { overflow-wrap: normal; }
.viss-sede__contacts a:hover { color: var(--v-brand); }
.viss-sede__hours { padding-top: 14px; border-top: 1px solid var(--c-line); font-size: 0.875rem; line-height: 1.4; color: var(--c-fg); }
.viss-sede__hours dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.viss-sede__hours .viss-sede__note { grid-column: 1 / -1; color: var(--c-muted); white-space: normal; }
.viss-sede__maps {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--v-brand) !important;
	font-weight: 600;
}
.viss-sede__maps .viss-icon { width: 18px; height: 18px; }
.viss-sede__maps:hover span { text-decoration: underline; }
.viss-footer__label {
	margin: 0 0 12px;
	color: var(--c-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0;
}
.viss-footer__menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.viss-footer__menu a { color: #fff; }
.viss-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	padding-top: 24px;
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-size: 0.8125rem;
}
.viss-footer__legal p { margin: 0; }
.viss-footer__policy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.viss-footer__legal-menu { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }

/* ---------- Barra azioni mobile ---------- */
.viss-mbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding-bottom: env(safe-area-inset-bottom);
	background: var(--v-ink);
	box-shadow: 0 -8px 24px -12px rgba(35, 36, 39, 0.5);
	transition: transform 0.3s var(--ease);
}
.viss-mbar.is-hidden { transform: translateY(110%); }
.viss-mbar a,
.viss-mbar button {
	border: 0;
	background: none;
	font-family: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 62px;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
}
.viss-mbar > * + * { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.viss-mbar > :first-child { background: var(--v-brand); color: var(--v-ink); }
.viss-mbar .viss-icon { width: 22px; height: 22px; }
@media (max-width: 1099px) { body { --mbar-h: 62px; } }
@media (min-width: 1100px) { .viss-mbar { display: none; } }

/* ---------- Articoli e realizzazioni ---------- */
.viss-final-cta .viss-sep { margin-block: 0 clamp(32px, 4vw, 56px); }
.viss-final-cta { padding-top: clamp(24px, 4vw, 48px); }
.viss-final-cta .viss-global > .viss-sec:first-child { padding-top: 0; }

/* ---------- Styleguide ---------- */
.viss-sg__label { padding: 10px 0; background: repeating-linear-gradient(45deg, #fff, #fff 8px, #FBF8F4 8px, #FBF8F4 16px); border-block: 1px dashed var(--v-stone); }
.viss-sg__label code { font-size: 0.8125rem; color: var(--v-bronze); }
.viss-sg__palette { padding: 32px 0; }
.viss-sg__palette .viss-container { display: flex; flex-wrap: wrap; gap: 12px; }
.viss-sg__swatch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--v-stone); border-radius: 10px; font-size: 0.8125rem; }
.viss-sg__swatch i { width: 28px; height: 28px; border-radius: 6px; background: var(--sw); border: 1px solid rgba(0, 0, 0, 0.08); }
.viss-sg-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

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

/* ---------- Barra in alto: email, WhatsApp, showroom, social ---------- */
.viss-topbar { display: none; background: var(--v-ink); color: #D9DCE0; font-size: 0.875rem; }
@media (min-width: 900px) { .viss-topbar { display: block; } }
.viss-topbar__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	max-width: calc(var(--container) + 2 * var(--pad-x));
	min-height: 40px;
	margin-inline: auto;
	padding-inline: var(--pad-x);
}
.viss-topbar a,
.viss-topbar button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}
.viss-topbar .viss-icon { width: 16px; height: 16px; color: var(--v-brand); }
.viss-topbar a:hover,
.viss-topbar button:hover { color: #fff; }
.viss-topbar__social { display: flex; gap: 14px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.viss-topbar__social .viss-icon { width: 18px; height: 18px; color: #D9DCE0; }
.viss-topbar__social a:hover .viss-icon { color: var(--v-brand); }

/* ---------- Popup showroom (non modale) ---------- */
.viss-drawer {
	position: fixed;
	z-index: 80;
	inset: auto 8px calc(70px + env(safe-area-inset-bottom)) 8px;
	width: auto;
	max-width: none;
	max-height: min(68dvh, 620px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--v-stone);
	border-radius: 12px;
	background: #fff;
	color: var(--v-text);
	box-shadow: 0 24px 60px -20px rgba(35, 36, 39, 0.45);
}
.viss-drawer[open] { display: flex; flex-direction: column; }
/* sfondo scuro dietro il popup: solo visivo, la pagina continua a scorrere; un clic chiude (main.js) */
html.viss-pop-open body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 79;
	background: rgba(35, 36, 39, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
	html.viss-pop-open body::after { animation: viss-fade-in 0.25s var(--ease); }
}
@keyframes viss-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
	.viss-drawer[open] { animation: viss-pop-in 0.28s var(--ease); }
}
@keyframes viss-pop-in { from { transform: translateY(12px); opacity: 0; } }
@media (min-width: 900px) {
	.viss-drawer {
		inset: calc(var(--viss-pop-top, 120px) + 10px) max(var(--pad-x), (100vw - var(--container)) / 2) auto auto;
		width: min(920px, calc(100vw - 2 * var(--pad-x)));
		max-height: calc(100dvh - var(--viss-pop-top, 120px) - 30px);
	}
	@media (prefers-reduced-motion: no-preference) {
		.viss-drawer[open] { animation-name: viss-pop-down; }
	}
}
@keyframes viss-pop-down { from { transform: translateY(-8px); opacity: 0; } }
.viss-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--v-stone); }
.viss-drawer__title { margin: 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; color: var(--v-ink); letter-spacing: -0.01em; }
.viss-drawer__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--radius); background: var(--v-sand); color: var(--v-ink); cursor: pointer; }
.viss-drawer__close .viss-icon { width: 20px; height: 20px; }
.viss-drawer__list { overflow-y: auto; margin: 0; padding: 0 20px; list-style: none; overscroll-behavior: contain; }
/* ogni sede è una scheda su fondo grigio chiaro, separata dalle altre */
.viss-drawer__list { display: grid; gap: 12px; padding: 16px; background: var(--v-sand); }
@media (min-width: 900px) {
	.viss-drawer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px; }
}
.viss-sd { padding: 18px 20px 20px; border: 1px solid var(--v-stone); border-top: 3px solid var(--v-brand); border-radius: var(--radius); background: #fff; }
.viss-sd p { margin: 0; }
.viss-sd__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.viss-sd__name { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--v-ink); }
.viss-sd__status { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--v-sand); color: var(--v-text); font-size: 0.8125rem; font-weight: 600; }
.viss-sd__status.is-open { background: #E3F1E3; color: #245524; }
.viss-sd__status:empty { display: none; }
.viss-sd__addr { margin-top: 4px !important; color: var(--v-text); font-size: 0.9375rem; }
/* numero su tutta la riga, sotto i pulsanti secondari in colonne uguali: stesso schema per ogni sede */
.viss-sd__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.viss-sd__actions > .viss-sd__btn { flex: 1 1 0; }
.viss-sd__actions > .viss-sd__btn--call { flex-basis: 100%; }
.viss-sd__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 6px 10px;
	border: 1px solid #B9BFC6;
	border-radius: var(--radius);
	color: var(--v-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.viss-sd__btn .viss-icon { width: 16px; height: 16px; }
.viss-sd__btn:hover { border-color: var(--v-ink); }
.viss-sd__btn--call { min-height: 46px; border-color: var(--v-brand); background: var(--v-brand); font-size: 1.0625rem; font-weight: 700; }
.viss-sd__btn--call:hover { background: var(--v-brand-hover); border-color: var(--v-brand-hover); }
.viss-sd__hours { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; margin: 14px 0 0; color: var(--v-text); font-size: 0.875rem; line-height: 1.45; }
.viss-sd__hours dt { color: var(--v-muted); }
.viss-sd__hours dd { margin: 0; font-variant-numeric: tabular-nums; white-space: pre; }
.viss-sd__hours .viss-sd__note { grid-column: 1 / -1; color: var(--v-muted); font-style: italic; white-space: normal; }
.viss-drawer__foot { padding: 14px 20px; border-top: 1px solid var(--v-stone); background: #fff; }
.viss-drawer__more { color: var(--v-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--v-brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
