/* ==========================================================================
   Group Vision – stile del sito
   ========================================================================== */

:root {
	--gv-crema: #F7F3EC;
	--gv-sabbia: #EFE7DA;
	--gv-oro: #B8864B;
	--gv-oro-scuro: #8F6534;
	--gv-oro-chiaro: #E6CFAE;
	--gv-antracite: #23211F;
	--gv-notte: #1A1917;
	--gv-grigio: #5A5650;
	--gv-linea: rgba(35, 33, 31, .11);
	--gv-bianco: #fff;
	--gv-max: 1240px;
	--gv-gutter: clamp(20px, 4.5vw, 48px);
	--gv-section-y: clamp(72px, 9vw, 132px);
	--gv-radius: 4px;
	--gv-shadow: 0 1px 2px rgba(35, 33, 31, .04), 0 12px 32px -12px rgba(35, 33, 31, .16);
	--gv-shadow-hover: 0 2px 4px rgba(35, 33, 31, .05), 0 24px 48px -16px rgba(35, 33, 31, .24);
	--gv-ease: cubic-bezier(.22, .61, .36, 1);
	--gv-header-h: 84px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gv-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--gv-crema);
	color: var(--gv-grigio);
	font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gv-oro-scuro); text-underline-offset: .18em; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: var(--gv-antracite); }
h1, h2, h3, h4 { color: var(--gv-antracite); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
strong, b { color: var(--gv-antracite); font-weight: 800; }
:focus-visible { outline: 2px solid var(--gv-oro); outline-offset: 3px; }
::selection { background: var(--gv-oro-chiaro); color: var(--gv-antracite); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.gv-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--gv-antracite); color: #fff; padding: 10px 16px; border-radius: var(--gv-radius); }
.gv-skip:focus { top: 12px; color: #fff; }

/* ---------- Bottoni ---------- */

.gv-btn,
.wp-block-button__link,
.wpcf7-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	background: var(--gv-oro); color: #fff; border: 1.5px solid var(--gv-oro);
	font: inherit; font-weight: 800; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
	padding: 1.15em 2.1em; border-radius: 3px; text-decoration: none; cursor: pointer;
	box-shadow: 0 10px 24px -12px rgba(143, 101, 52, .7);
	transition: background .25s var(--gv-ease), color .25s, border-color .25s, transform .25s var(--gv-ease), box-shadow .25s;
}
.gv-btn:hover, .wp-block-button__link:hover, .wpcf7-submit:hover {
	background: var(--gv-oro-scuro); border-color: var(--gv-oro-scuro); color: #fff; transform: translateY(-2px);
	box-shadow: 0 16px 30px -14px rgba(143, 101, 52, .8);
}
.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--gv-oro-scuro); border-color: var(--gv-oro); box-shadow: none;
}
.is-style-outline > .wp-block-button__link:hover { background: var(--gv-oro); color: #fff; }
.gv-btn-sm { padding: .95em 1.4em; font-size: .72rem; box-shadow: none; white-space: nowrap; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* ---------- Header ---------- */

.gv-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(247, 243, 236, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s, background .3s;
}
.admin-bar .gv-header { top: 32px; }
.gv-header.is-scrolled { border-bottom-color: var(--gv-linea); box-shadow: 0 10px 30px -24px rgba(35, 33, 31, .5); background: rgba(247, 243, 236, .94); }
.gv-header-inner {
	max-width: calc(var(--gv-max) + 2 * var(--gv-gutter)); margin: 0 auto; padding: 0 var(--gv-gutter);
	height: var(--gv-header-h); display: flex; align-items: center; gap: 32px;
}

.gv-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gv-antracite); flex-shrink: 0; }
.gv-logo:hover { color: var(--gv-antracite); }
.gv-logo-mark { flex-shrink: 0; display: block; width: 56px; height: 56px; filter: drop-shadow(0 1px 1px rgba(90, 60, 25, .35)); }
.gv-logo.is-light .gv-logo-mark { filter: none; }
.gv-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.gv-logo-name { font-weight: 900; font-size: 1.15rem; letter-spacing: .2em; text-transform: uppercase; }
.gv-logo-name b { color: var(--gv-oro); font-weight: 900; }
.gv-logo-sub { font-size: .625rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gv-grigio); margin-top: 5px; font-weight: 700; }
.gv-logo.is-light, .gv-logo.is-light:hover { color: #fff; }
.gv-logo.is-light .gv-logo-sub { color: rgba(255, 255, 255, .55); }

.gv-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.gv-menu, .gv-menu ul { list-style: none; margin: 0; padding: 0; }
.gv-menu { display: flex; align-items: center; gap: 4px; }
.gv-menu > li { position: relative; }
.gv-menu a {
	display: block; padding: 10px 12px; white-space: nowrap; text-decoration: none; color: var(--gv-antracite);
	font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; position: relative;
}
.gv-menu > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--gv-oro);
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--gv-ease);
}
.gv-menu > li > a:hover::after,
.gv-menu > .current-menu-item > a::after,
.gv-menu > .is-active > a::after,
.gv-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.gv-menu a:hover { color: var(--gv-oro-scuro); }
.gv-menu .menu-item-has-children > a { padding-right: 26px; }
.gv-menu .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.gv-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 300px; padding: 10px;
	background: #fff; border-radius: var(--gv-radius); box-shadow: var(--gv-shadow-hover); border-top: 2px solid var(--gv-oro);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s var(--gv-ease), visibility .22s;
}
.gv-menu li:hover > .sub-menu, .gv-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gv-menu .sub-menu a { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700; padding: 10px 14px; border-radius: 3px; }
.gv-menu .sub-menu a:hover, .gv-menu .sub-menu .current-menu-item > a { background: var(--gv-crema); }

.gv-nav-extra { display: flex; align-items: center; gap: 18px; }
.gv-lang { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.gv-lang a { display: block; padding: 6px 7px; color: var(--gv-grigio); text-decoration: none; border-radius: 3px; }
.gv-lang a[aria-current] { color: var(--gv-antracite); background: var(--gv-sabbia); }
.gv-lang li + li { border-left: 1px solid var(--gv-linea); padding-left: 2px; }

.gv-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--gv-linea); background: #fff; border-radius: 3px; cursor: pointer; position: relative; }
.gv-burger-lines, .gv-burger-lines::before, .gv-burger-lines::after {
	position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--gv-antracite); transition: transform .3s var(--gv-ease), opacity .2s;
}
.gv-burger-lines { top: 50%; margin-top: -1px; }
.gv-burger-lines::before, .gv-burger-lines::after { content: ""; left: 0; margin-left: 0; }
.gv-burger-lines::before { top: -6px; }
.gv-burger-lines::after { top: 6px; }
.gv-burger[aria-expanded="true"] .gv-burger-lines { background: transparent; }
.gv-burger[aria-expanded="true"] .gv-burger-lines::before { transform: translateY(6px) rotate(45deg); }
.gv-burger[aria-expanded="true"] .gv-burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
	:root { --gv-header-h: 72px; }
	/* il filtro «vetro» farebbe da contenitore al pannello fisso del menu */
	.gv-header, .gv-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--gv-crema); }
	.gv-burger { display: block; }
	.gv-nav {
		position: fixed; inset: var(--gv-header-h) 0 0 0; z-index: 99; margin: 0;
		background: var(--gv-crema); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
		padding: 24px var(--gv-gutter) 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--gv-ease), visibility .25s;
	}
	.admin-bar .gv-nav { top: calc(var(--gv-header-h) + 46px); }
	.gv-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.gv-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.gv-menu > li { border-bottom: 1px solid var(--gv-linea); }
	.gv-menu a { padding: 16px 0; font-size: .9rem; white-space: normal; }
	.gv-menu > li > a::after { display: none; }
	.gv-menu .menu-item-has-children > a::before { display: none; }
	.gv-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 0 0 12px 12px; }
	.gv-menu .sub-menu a { padding: 8px 0; font-size: 1rem; color: var(--gv-grigio); }
	.gv-nav-extra { justify-content: space-between; }
	body.gv-menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .gv-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .gv-header { top: 0; } }
@media (max-width: 420px) {
	.gv-logo-name { font-size: 1rem; letter-spacing: .16em; }
	.gv-logo-mark { width: 44px; height: 44px; }
}

/* ---------- Contenuto e sezioni ---------- */

.gv-content > * { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: var(--gv-gutter); padding-right: var(--gv-gutter); box-sizing: content-box; }
.gv-content > .alignfull { max-width: none; padding: 0; box-sizing: border-box; }
.gv-content > .alignwide { max-width: var(--gv-max); }
.gv-content > :first-child:not(.alignfull) { margin-top: var(--gv-section-y); }
.gv-content > :last-child:not(.alignfull) { margin-bottom: var(--gv-section-y); }
.gv-content > h2:not(.gv-title) { margin-top: 2em; font-size: 1.5rem; }

.gv-section {
	position: relative;
	padding: var(--gv-section-y) var(--gv-gutter) !important;
	margin: 0 !important;
}
.gv-section > * { max-width: var(--gv-max); margin-left: auto !important; margin-right: auto !important; }
.gv-section > * + * { margin-top: clamp(40px, 5vw, 64px) !important; }
.gv-section.is-sabbia { background: var(--gv-sabbia); }
.gv-section.is-white { background: #fff; }
.gv-section.is-dark { background: var(--gv-antracite); color: rgba(255, 255, 255, .72); }
.gv-section.is-dark h2, .gv-section.is-dark h3, .gv-section.is-dark strong { color: #fff; }
.gv-section.is-tight-top { padding-top: 0 !important; }

.gv-eyebrow {
	color: var(--gv-oro-scuro); font-size: .78rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1.1rem;
	display: flex; align-items: center; gap: 14px;
}
.gv-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gv-oro); flex-shrink: 0; }
.gv-eyebrow a { color: inherit; text-decoration: none; }
.gv-eyebrow a:hover { color: var(--gv-antracite); }
.is-dark .gv-eyebrow { color: var(--gv-oro-chiaro); }

.gv-title { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 900; letter-spacing: -.025em; }
.gv-head .gv-title::after,
.gv-pagehero .gv-title::after,
.gv-cta .gv-title::after {
	content: ""; display: block; width: 56px; height: 3px; background: var(--gv-oro); margin-top: .45em; border-radius: 2px;
}
.gv-section > .gv-head, .gv-head { max-width: 780px !important; margin-left: 0 !important; }
.gv-section > .gv-head.is-center { margin-left: auto !important; text-align: center; }
.gv-head.is-center .gv-eyebrow { justify-content: center; }
.gv-head.is-center .gv-title::after { margin-left: auto; margin-right: auto; }
.gv-head > * { margin-top: 0; }
.gv-lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--gv-grigio); }
.is-dark .gv-lead { color: rgba(255, 255, 255, .72); }
.gv-gold { color: var(--gv-oro); }
.gv-note { font-size: .92rem; font-style: italic; opacity: .85; }

/* Sfondo «progetto» con griglia leggera */
.gv-hero, .gv-pagehero { overflow: hidden; }
.gv-hero::before, .gv-pagehero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(184, 134, 75, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(184, 134, 75, .07) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 70%);
}
.gv-hero::after {
	content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; pointer-events: none;
	background: radial-gradient(circle, rgba(230, 207, 174, .55), transparent 65%);
}
.gv-hero > *, .gv-pagehero > * { position: relative; z-index: 1; }

/* ---------- Home: testata ---------- */

.gv-hero { padding-top: clamp(40px, 6vw, 88px) !important; padding-bottom: clamp(72px, 8vw, 112px) !important; }
.gv-hero-cols, .gv-pagehero-cols, .gv-split { display: flex; gap: clamp(36px, 6vw, 88px) !important; align-items: center !important; }
.gv-hero-cols > .wp-block-column, .gv-pagehero-cols > .wp-block-column, .gv-split > .wp-block-column { min-width: 0; }
.gv-hero-title { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; margin-bottom: .45em; }
.gv-hero-title::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gv-oro); margin-top: .38em; border-radius: 2px; }
.gv-hero .gv-lead { max-width: 560px; }

.gv-checks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.gv-checks li { position: relative; padding-left: 32px; font-weight: 800; color: var(--gv-antracite); font-size: .98rem; line-height: 1.45; }
.gv-checks li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--gv-oro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.gv-hero-cols > .wp-block-column:last-child { position: relative; }
.gv-hero-img { margin: 0; position: relative; }
.gv-hero-img::before {
	content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--gv-oro); border-radius: var(--gv-radius); z-index: -1;
}
.gv-hero-img img, .gv-pagehero-img img, .gv-side-img img {
	width: 100%; object-fit: cover; border-radius: var(--gv-radius); box-shadow: 0 40px 80px -40px rgba(35, 33, 31, .55);
}
.gv-hero-img img { aspect-ratio: 4 / 5; max-height: 640px; }
.gv-hero-video video { display: block; width: 100%; height: auto !important; aspect-ratio: 4 / 5 !important; max-height: 640px; object-fit: cover; border-radius: var(--gv-radius); box-shadow: 0 40px 80px -40px rgba(35, 33, 31, .55); background: var(--gv-sabbia); }
.gv-project-body .wp-block-video { margin: 2rem 0; }
.gv-project-body .wp-block-video video { display: block; width: auto !important; height: auto !important; aspect-ratio: auto !important; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: var(--gv-radius); box-shadow: var(--gv-shadow); background: var(--gv-antracite); }
.gv-badge {
	position: absolute !important; left: -36px; bottom: 44px; z-index: 2; margin: 0 !important;
	background: #fff; padding: 20px 24px; border-radius: var(--gv-radius); box-shadow: var(--gv-shadow-hover);
	border-left: 3px solid var(--gv-oro); max-width: 290px;
}
.gv-badge p { margin: 0; }
.gv-badge-num { font-size: 1.65rem; white-space: nowrap; font-weight: 900; color: var(--gv-antracite); line-height: 1.1; letter-spacing: -.02em; }
.gv-badge-text { font-size: .86rem; line-height: 1.45; margin-top: 4px !important; }

/* ---------- Testata pagine interne ---------- */

.gv-pagehero { padding-top: clamp(48px, 6vw, 96px) !important; padding-bottom: clamp(56px, 7vw, 104px) !important; border-bottom: 1px solid var(--gv-linea); }
.gv-pagehero .gv-title { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.03em; }
.gv-pagehero-img img { aspect-ratio: 5 / 4; }
.gv-section.is-text-only > .gv-pagehero-text { max-width: 860px !important; margin-left: 0 !important; }
.gv-pagehero-text > :last-child { margin-bottom: 0; }

/* ---------- Numeri ---------- */

.gv-stats-band { background: var(--gv-antracite); padding-top: clamp(48px, 6vw, 72px) !important; padding-bottom: clamp(48px, 6vw, 72px) !important; }
.gv-stats { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; }
.gv-stats > .wp-block-column { padding: 4px 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.gv-stats > .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.gv-stats p { margin: 0; }
.gv-stat-num { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 900; color: var(--gv-oro); letter-spacing: -.02em; line-height: 1.1; }
.gv-stat-label { color: rgba(255, 255, 255, .7); font-size: .95rem; line-height: 1.45; margin-top: 8px !important; }

/* ---------- Riquadri servizi ---------- */

.gv-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px !important; }
.gv-cards.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gv-cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gv-cards > * { margin: 0 !important; }
.gv-card {
	position: relative; background: #fff; border-radius: var(--gv-radius); padding: 34px 32px 30px;
	box-shadow: var(--gv-shadow); border-left: 3px solid var(--gv-oro);
	display: flex; flex-direction: column;
	transition: transform .35s var(--gv-ease), box-shadow .35s var(--gv-ease);
}
.gv-card > * { margin-top: 0 !important; }
.gv-card:hover { transform: translateY(-6px); box-shadow: var(--gv-shadow-hover); }
.gv-card.has-img { padding: 0; border-left: 0; overflow: hidden; }
.gv-card.has-img > :not(.gv-card-img) { padding-left: 30px; padding-right: 30px; }
.gv-card.has-img .gv-card-more { padding-bottom: 28px; }
.gv-card-img { margin: 0 0 26px !important; overflow: hidden; position: relative; }
.gv-card-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gv-oro); }
.gv-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--gv-ease); }
.gv-card:hover .gv-card-img img { transform: scale(1.05); }
.gv-card-icon { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; background: var(--gv-sabbia); color: var(--gv-oro-scuro); align-items: center; justify-content: center; margin-bottom: 20px; }
.gv-card.has-img .gv-card-icon { position: absolute; top: 18px; left: 18px; margin: 0; padding: 0 !important; background: rgba(255, 255, 255, .94); box-shadow: var(--gv-shadow); width: 50px; height: 50px; }
.gv-card-title { font-size: 1.28rem; margin-bottom: .55em; letter-spacing: -.01em; }
.gv-card-title a { color: inherit; text-decoration: none; }
.gv-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gv-card-text { font-size: .98rem; line-height: 1.65; flex-grow: 1; margin-bottom: 1.2em; }
.gv-card-more { margin: 0 !important; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.gv-card-more a { text-decoration: none; color: var(--gv-oro-scuro); }
.gv-card-more span { display: inline-block; transition: transform .3s var(--gv-ease); }
.gv-card:hover .gv-card-more span { transform: translateX(5px); }
.gv-card.is-dark { background: var(--gv-antracite); border-left-color: var(--gv-oro); color: rgba(255, 255, 255, .72); }
.gv-card.is-dark .gv-card-title, .gv-card.is-dark .gv-card-title a { color: #fff; }
.gv-card.is-dark .gv-card-icon { background: rgba(184, 134, 75, .18); color: var(--gv-oro-chiaro); }
.gv-card.is-dark .gv-card-more a { color: var(--gv-oro-chiaro); }

/* ---------- Punti (perché sceglierci, vantaggi) ---------- */

.gv-points { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 !important; border-top: 1px solid var(--gv-linea); }
.gv-points.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gv-point { margin: 0 !important; padding: 34px 36px 30px 0; border-bottom: 1px solid var(--gv-linea); display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; align-content: start; }
.gv-points:not(.is-3) .gv-point:nth-child(2n) { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--gv-linea); }
.gv-points.is-3 .gv-point { padding-left: 28px; padding-right: 28px; border-left: 1px solid var(--gv-linea); }
.gv-points.is-3 .gv-point:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.gv-point > * { margin-top: 0 !important; grid-column: 2; }
.gv-point > .gv-point-icon, .gv-point > :first-child { grid-column: 1; grid-row: 1 / span 2; }
.gv-point-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gv-oro); color: var(--gv-oro-scuro); align-items: center; justify-content: center; }
.gv-point-icon .gv-icon { width: 24px; height: 24px; }
.gv-point-title { font-size: 1.18rem; margin-bottom: .35em; }
.gv-point p { margin-bottom: 0; font-size: .98rem; }
.is-dark .gv-points, .is-dark .gv-point { border-color: rgba(255, 255, 255, .12) !important; }
.is-dark .gv-point-icon { color: var(--gv-oro-chiaro); }

/* ---------- Metodo di lavoro ---------- */

.gv-steps { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px !important; counter-reset: s; }
.gv-step { margin: 0 !important; position: relative; padding-top: 22px; border-top: 2px solid var(--gv-linea); }
.gv-step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--gv-oro); }
.gv-step > * { margin-top: 0 !important; }
.gv-step-num { font-size: 3rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gv-oro); margin-bottom: 14px !important; letter-spacing: -.02em; }
.gv-step-title { font-size: 1.15rem; margin-bottom: .45em; }
.gv-step p:last-child { font-size: .96rem; margin-bottom: 0; }
.is-dark .gv-step { border-top-color: rgba(255, 255, 255, .14); }

/* ---------- Testo + immagine ---------- */

.gv-split .gv-head { margin-bottom: 1.6rem; }
.gv-split .wp-block-column > * { margin-top: 0; }
.gv-side-img { margin: 0; position: relative; }
.gv-side-img::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; background: var(--gv-sabbia); border-radius: var(--gv-radius); z-index: -1; }
.is-sabbia .gv-side-img::before { background: var(--gv-crema); }
.gv-split.is-reverse .gv-side-img::before { inset: -20px -20px 20px 20px; }
.gv-side-img img { aspect-ratio: 4 / 4.4; }

.gv-bullets { list-style: none; padding: 0; margin: 1.4rem 0; }
.gv-bullets li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--gv-linea); line-height: 1.5; }
.gv-bullets li:first-child { border-top: 1px solid var(--gv-linea); }
.gv-bullets li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 9px; height: 9px; background: var(--gv-oro); transform: rotate(45deg); }

/* ---------- Invito finale ---------- */

.gv-cta { background: var(--gv-sabbia); overflow: hidden; text-align: center; }
.gv-cta::before {
	content: "GV"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	font-size: clamp(14rem, 34vw, 30rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; color: rgba(184, 134, 75, .07); pointer-events: none;
}
.gv-cta-box { position: relative; max-width: 760px !important; }
.gv-cta .gv-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.gv-cta .gv-title::after { margin-left: auto; margin-right: auto; }
.gv-cta .wp-block-buttons { justify-content: center; }
.gv-cta-box > :last-child { margin-bottom: 0; }

/* ---------- Collaborazione / provvigioni ---------- */

.gv-tiers { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px !important; }
.gv-tier { margin: 0 !important; background: #fff; border-radius: var(--gv-radius); padding: 40px 38px 34px; box-shadow: var(--gv-shadow); position: relative; overflow: hidden; }
.gv-tier > * { margin-top: 0 !important; }
.gv-tier:nth-child(2) { background: var(--gv-antracite); color: rgba(255, 255, 255, .72); }
.gv-tier:nth-child(2) .gv-role { color: #fff; }
.gv-level { font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gv-oro-scuro); margin-bottom: 18px !important; }
.gv-tier:nth-child(2) .gv-level { color: var(--gv-oro-chiaro); }
.gv-perc { font-size: clamp(3.4rem, 7vw, 5.2rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: var(--gv-oro); margin-bottom: 18px !important; }
.gv-role { font-size: 1.4rem; margin-bottom: .4em; }
.gv-tier p:last-child { margin-bottom: 0; }

.gv-teaser { display: grid !important; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px) !important; align-items: center; }
.gv-teaser > * { margin: 0 !important; }
.gv-teaser-nums { display: flex; gap: 20px; }
.gv-teaser-num { flex: 1; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--gv-radius); padding: 26px 24px; margin: 0 !important; }
.gv-teaser-num p { margin: 0; }
.gv-teaser-num p:first-child { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; color: var(--gv-oro); line-height: 1; letter-spacing: -.03em; }
.gv-teaser-num p:last-child { margin-top: 10px; font-size: .9rem; }

/* ---------- Portfolio ---------- */

.gv-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.gv-proj a { display: block; text-decoration: none; color: inherit; height: 100%; background: #fff; border-radius: var(--gv-radius); overflow: hidden; box-shadow: var(--gv-shadow); transition: transform .35s var(--gv-ease), box-shadow .35s var(--gv-ease); }
.gv-proj a:hover { transform: translateY(-6px); box-shadow: var(--gv-shadow-hover); }
.gv-proj-media { overflow: hidden; position: relative; }
.gv-proj-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gv-oro); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--gv-ease); }
.gv-proj a:hover .gv-proj-media::after { transform: scaleX(1); }
.gv-proj-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--gv-ease); }
.gv-proj a:hover .gv-proj-img { transform: scale(1.05); }
.gv-proj-body { padding: 24px 26px 26px; }
.gv-proj-tipo { margin: 0 0 8px; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gv-oro-scuro); }
.gv-proj-title { font-size: 1.2rem; margin: 0 0 6px; }
.gv-proj-meta { margin: 0 0 14px; font-size: .92rem; }
.gv-proj-more { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gv-oro-scuro); }
.gv-empty { text-align: center; padding: 40px; background: #fff; border-radius: var(--gv-radius); }

.gv-section > .gv-project-head { max-width: 900px !important; margin-left: 0 !important; }
.gv-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 2rem 0 0; border-top: 1px solid var(--gv-linea); }
.gv-facts > div { padding: 16px 32px 0 0; margin-right: 32px; }
.gv-facts dt { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gv-oro-scuro); }
.gv-facts dd { margin: 4px 0 0; font-weight: 800; color: var(--gv-antracite); font-size: 1.05rem; }
.gv-project-cover { margin: 0; }
.gv-project-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--gv-radius); }
.gv-prose { max-width: 760px; margin: var(--gv-section-y) auto; padding: 0 var(--gv-gutter); box-sizing: content-box; }
.gv-project-body .wp-block-gallery { max-width: var(--gv-max); }
.gv-related { background: var(--gv-sabbia); }

/* ---------- Gallerie (blocco Galleria) ---------- */

.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: var(--gv-radius); }

/* ---------- Altri settori ---------- */

.gv-sectors .gv-card { border-left: 0; border-top: 3px solid var(--gv-oro); }

/* ---------- Contatti ---------- */

.gv-contact-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 72px) !important; align-items: start; }
.gv-contact-grid > * { margin: 0 !important; }
.gv-contact-list { list-style: none; padding: 0; margin: 0; }
.gv-contact-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--gv-linea); line-height: 1.55; }
.gv-contact-list li:first-child { padding-top: 0; }
.gv-ci-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--gv-oro-scuro); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--gv-shadow); }
.gv-ci-icon .gv-icon { width: 22px; height: 22px; }
.gv-ci-label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gv-oro-scuro); margin-bottom: 2px; }
.gv-contact-list a { color: var(--gv-antracite); font-weight: 800; text-decoration: none; }
.gv-wa-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; }
.gv-form-box { background: #fff; padding: clamp(28px, 4vw, 48px); border-radius: var(--gv-radius); box-shadow: var(--gv-shadow); border-top: 3px solid var(--gv-oro); }
.gv-form-box > * { margin-top: 0; }

/* Modulo (Contact Form 7) */
.wpcf7 form > p, .gv-form-row { margin: 0 0 18px; }
.gv-form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wpcf7 label { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gv-antracite); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 8px; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--gv-antracite);
	background: var(--gv-crema); border: 1.5px solid transparent; border-radius: 3px; transition: border-color .2s, background .2s; letter-spacing: 0; text-transform: none;
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--gv-oro); background: #fff; }
.wpcf7 .wpcf7-acceptance label, .wpcf7 .wpcf7-list-item label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .92rem; color: var(--gv-grigio); display: flex; gap: 10px; align-items: flex-start; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 input[type="checkbox"] { accent-color: var(--gv-oro); width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.wpcf7-not-valid-tip { font-size: .85rem; margin-top: 6px; color: #A3361F; text-transform: none; letter-spacing: 0; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 18px; border-radius: 3px; border-width: 1.5px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #3D7A4E; background: #EEF6F0; color: #24492F; }
.wpcf7-spinner { margin: 0 12px; }

/* ---------- Footer ---------- */

.gv-footer { background: var(--gv-notte); color: rgba(255, 255, 255, .62); font-size: .96rem; }
.gv-footer-inner {
	max-width: var(--gv-max); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--gv-gutter) 48px; box-sizing: content-box;
	display: grid; grid-template-columns: 1.6fr 1fr 1.1fr; gap: 48px;
}
.gv-footer-brand p { margin-top: 22px; max-width: 380px; }
.gv-footer-title { color: var(--gv-oro); font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin: 6px 0 18px; }
.gv-footer a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.gv-footer a:hover { color: var(--gv-oro-chiaro); }
.gv-footer-menu, .gv-legal-menu { list-style: none; margin: 0; padding: 0; }
.gv-footer-menu li { margin-bottom: 9px; }
.gv-footer p { margin-bottom: .7em; }
.gv-footer-areas { font-size: .9rem; }
.gv-footer-bottom {
	max-width: var(--gv-max); margin: 0 auto; padding: 22px var(--gv-gutter); box-sizing: content-box;
	border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: .84rem;
}
.gv-footer-bottom p { margin: 0; }
.gv-legal-menu { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- Comparsa allo scorrimento ---------- */

@media (prefers-reduced-motion: no-preference) {
	.gv-js [data-gv-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--gv-ease), transform .8s var(--gv-ease); transition-delay: var(--gv-delay, 0s); }
	.gv-js [data-gv-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.gv-cards, .gv-cards.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px !important; }
	.gv-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gv-points.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gv-points.is-3 .gv-point { padding-left: 0; padding-right: 28px; border-left: 0; }
	.gv-points.is-3 .gv-point:nth-child(2n) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--gv-linea); }
	.gv-badge { left: -16px; }
	.gv-footer-inner { grid-template-columns: 1fr 1fr; }
	.gv-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 781px) {
	.gv-hero-video video { aspect-ratio: 4 / 3.4 !important; }
	.gv-hero-cols, .gv-pagehero-cols, .gv-split { flex-direction: column; align-items: stretch !important; }
	.gv-hero-cols > .wp-block-column, .gv-pagehero-cols > .wp-block-column, .gv-split > .wp-block-column { flex-basis: auto !important; width: 100%; }
	.gv-split.is-reverse { flex-direction: column-reverse; }
	.gv-split.is-reverse > .wp-block-column:first-child { margin-top: 0; }
	.gv-hero-img::before { inset: 14px -10px -14px 14px; }
	.gv-hero-img img { aspect-ratio: 4 / 3.4; }
	.gv-badge { left: 14px; bottom: -28px; }
	.gv-hero-cols > .wp-block-column:last-child { margin-bottom: 28px; padding-right: 10px; }
	.gv-side-img::before { inset: -12px 12px 12px -12px; }
	.gv-split.is-reverse .gv-side-img::before { inset: -12px -12px 12px 12px; }
	.gv-side-img { margin-left: 12px; margin-right: 12px; }
	.gv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px !important; }
	.gv-stats > .wp-block-column:nth-child(3) { border-left: 0; padding-left: 0; }
	.gv-tiers, .gv-teaser, .gv-contact-grid { grid-template-columns: 1fr; }
	.gv-points, .gv-points.is-3 { grid-template-columns: 1fr; }
	.gv-point, .gv-points:not(.is-3) .gv-point:nth-child(2n), .gv-points.is-3 .gv-point, .gv-points.is-3 .gv-point:nth-child(2n) { padding: 26px 0; border-left: 0; }
}

@media (max-width: 640px) {
	.gv-cards, .gv-cards.is-2, .gv-cards.is-4, .gv-projects, .gv-steps { grid-template-columns: 1fr; }
	.gv-checks { grid-template-columns: 1fr; }
	.gv-stats > .wp-block-column { padding: 0 16px; }
	.gv-stats > .wp-block-column:nth-child(odd) { padding-left: 0; border-left: 0; }
	.gv-teaser-nums { flex-direction: column; }
	.gv-form-2col { grid-template-columns: 1fr; }
	.gv-footer-inner { grid-template-columns: 1fr; gap: 36px; }
	.wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.wp-block-buttons .wp-block-button__link { width: 100%; }
	.gv-card { padding: 28px 24px 24px; }
	.gv-card.has-img > :not(.gv-card-img) { padding-left: 24px; padding-right: 24px; }
	.gv-tier { padding: 32px 26px 28px; }
}

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

/* Titolo sopra i recapiti (pagina Collabora) */
.gv-contact-grid .gv-head { margin-bottom: 32px !important; }
.gv-contact-grid .gv-head .gv-lead { margin-bottom: 0; }
.gv-contact-grid .gv-head .gv-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
