/* ==========================================================================
   PZ Pavimenti — stili del tema
   Palette, font e componenti ricostruiti dalla landing originale.
   ========================================================================== */

/* ============ TOKENS ============ */
:root {
	--pz-bg: #DDDDDD;
	--pz-black: #0A0A0A;
	--pz-white: #FFFFFF;
	--pz-line: rgba(10, 10, 10, 0.14);
	--pz-line-strong: rgba(10, 10, 10, 0.28);
	--pz-muted: rgba(10, 10, 10, 0.62);
	--pz-line-inv: rgba(255, 255, 255, 0.18);
	--pz-muted-inv: rgba(255, 255, 255, 0.55);

	--pz-font: Montserrat, 'Helvetica Neue', Arial, sans-serif;
	--pz-gutter: clamp(1.5rem, 4vw, 4rem);
	--pz-section-y: clamp(4.5rem, 8vw, 8rem);
	--pz-container: 1400px;
	--pz-content: 860px;
	--pz-header-h: 5.25rem;
	--pz-ease: cubic-bezier(.2, .7, .2, 1);
	--pz-ease-btn: cubic-bezier(.4, 0, .2, 1);
	--pz-admin-bar: 0px;
}

body.admin-bar { --pz-admin-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --pz-admin-bar: 46px; } }

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--pz-header-h) + var(--pz-admin-bar));
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	font-family: var(--pz-font);
	font-weight: 300;
	line-height: 1.45;
	background: var(--pz-bg);
	color: var(--pz-black);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	-webkit-tap-highlight-color: transparent;
	overflow-x: hidden;
}

::selection { background: var(--pz-black); color: var(--pz-white); }

h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	font-weight: 200;
	text-transform: uppercase;
	letter-spacing: 0.005em;
	color: inherit;
	/* Le parole dei titoli non si spezzano mai: si va a capo solo tra una parola e l'altra.
	   Se una parola non entra, main.js riduce il corpo del titolo (fitTitles). */
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
	text-wrap: balance;
}

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

a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 4px;
}

/* Reset a specificità zero per i componenti del tema (non tocca .entry-content). */
:where(.site-header, .site-footer, .page-hero, .hero, .showroom, .process, .mid-cta, .cases, .catalog, .contact, .projects, .pz-filter-bar)
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) {
	margin: 0;
	padding: 0;
}
:where(.site-header, .site-footer, .process, .pz-filter-bar, .projects) :where(ul, ol) { list-style: none; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 1000;
	top: 1rem;
	left: 1rem;
	padding: 0.9rem 1.4rem;
	background: var(--pz-white);
	color: var(--pz-black);
	font-size: 0.8rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 999px;
}

.container { max-width: var(--pz-container); margin: 0 auto; }

/* Le colonne delle griglie non si allargano oltre lo schermo per colpa di un contenuto lungo. */
:where(.hero-content, .process-item, .case, .case-step, .catalog-grid, .contact-inner, .projects-grid, .post-nav,
	.site-footer__grid, ul.products, .pz-wc-single div.product, .pz-specs__row, .pz-request, .pz-product-terms) > * {
	min-width: 0;
}

/* ============ LIQUID GLASS ============ */
.liquid-glass {
	background: rgba(0, 0, 0, 0.32);
	backdrop-filter: blur(16px) saturate(150%);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	position: relative;
	overflow: hidden;
}

/* ============ BUTTONS ============ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 1rem 1.6rem;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.72rem;
	line-height: 1.2;
	letter-spacing: 0.22em;
	font-weight: 400;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.35s var(--pz-ease-btn);
	border: 1px solid transparent;
	white-space: nowrap;
}
.btn .arr,
.arr { display: inline-block; transition: transform 0.35s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { padding: 0.7rem 1.15rem; font-size: 0.65rem; }

.btn-primary { background: var(--pz-white); color: var(--pz-black); }
.btn-primary:hover { background: var(--pz-black); color: var(--pz-white); }

.btn-ghost {
	background: rgba(255, 255, 255, 0.06);
	color: var(--pz-white);
	border-color: rgba(255, 255, 255, 0.45);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--pz-white); color: var(--pz-black); border-color: var(--pz-white); }

.btn-dark { background: var(--pz-black); color: var(--pz-white); border-color: var(--pz-black); }
.btn-dark:hover { background: var(--pz-white); color: var(--pz-black); }

.btn-outline { background: transparent; color: var(--pz-black); border-color: var(--pz-black); }
.btn-outline:hover { background: var(--pz-black); color: var(--pz-white); }

/* ============ HEADER ============ */
.site-header {
	position: fixed;
	top: var(--pz-admin-bar);
	left: 0;
	right: 0;
	z-index: 100;
	color: var(--pz-white);
	padding:
		max(1.1rem, env(safe-area-inset-top))
		max(var(--pz-gutter), env(safe-area-inset-right))
		1.1rem
		max(var(--pz-gutter), env(safe-area-inset-left));
	transition: background-color 0.45s ease, padding 0.45s ease, border-color 0.45s ease, transform 0.45s var(--pz-ease);
	border-bottom: 1px solid transparent;
}
@media (max-width: 600px) {
	/* Su mobile la admin bar non è fissa. */
	body.admin-bar .site-header { top: 0; position: fixed; }
	html:not(.pz-scrolled) body.admin-bar .site-header { top: var(--pz-admin-bar); position: absolute; }
}

.pz-scrolled .site-header,
.pz-no-page-header .site-header {
	background: rgba(10, 10, 10, 0.72);
	backdrop-filter: blur(16px) saturate(150%);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	border-bottom-color: rgba(255, 255, 255, 0.08);
	padding-top: max(0.75rem, env(safe-area-inset-top));
	padding-bottom: 0.75rem;
}
.pz-header-hidden .site-header { transform: translateY(calc(-100% - var(--pz-admin-bar))); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: var(--pz-container);
	margin: 0 auto;
}

.site-branding { flex-shrink: 0; position: relative; z-index: 2; }
.site-branding .custom-logo-link { display: block; }
.site-branding .custom-logo { max-height: 46px; width: auto; }

.site-logo-text {
	display: inline-flex;
	align-items: baseline;
	gap: 0.6rem;
	text-decoration: none;
	color: inherit;
	text-transform: uppercase;
	line-height: 1;
}
.site-logo-mark { font-size: 1.35rem; font-weight: 400; letter-spacing: 0.08em; }
.site-logo-word { font-size: 0.68rem; font-weight: 300; letter-spacing: 0.42em; opacity: 0.85; }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; position: relative; z-index: 2; }

/* Navigazione desktop */
.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 2.4vw, 2.6rem);
}
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a {
	display: inline-block;
	padding: 0.5rem 0;
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0.82;
	transition: opacity 0.3s ease;
	position: relative;
}
.primary-nav .menu a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0.26em;
	bottom: 0.2rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--pz-ease);
}
.primary-nav .menu a:hover,
.primary-nav .menu .current-menu-item > a,
.primary-nav .menu .current-menu-ancestor > a,
.primary-nav .menu .current_page_parent > a { opacity: 1; }
.primary-nav .menu a:hover::after,
.primary-nav .menu .current-menu-item > a::after,
.primary-nav .menu .current-menu-ancestor > a::after { transform: scaleX(1); }

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1.25rem;
	min-width: 15rem;
	padding: 0.75rem 1.25rem;
	background: rgba(10, 10, 10, 0.88);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--pz-line-inv);
	border-radius: 1rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	list-style: none;
}
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a { display: block; padding: 0.55rem 0; }

.primary-nav__mobile-extra { display: none; }

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	align-items: center;
	justify-content: center;
}
.menu-toggle__bars { position: relative; width: 18px; height: 8px; display: block; }
.menu-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transition: transform 0.4s var(--pz-ease), top 0.4s var(--pz-ease);
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 7px; }
.pz-nav-open .menu-toggle__bars span:first-child { top: 3.5px; transform: rotate(45deg); }
.pz-nav-open .menu-toggle__bars span:last-child { top: 3.5px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
	.menu-toggle { display: inline-flex; }

	.primary-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		background: var(--pz-black);
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: calc(var(--pz-header-h) + var(--pz-admin-bar)) max(var(--pz-gutter), env(safe-area-inset-right)) max(2.5rem, env(safe-area-inset-bottom)) max(var(--pz-gutter), env(safe-area-inset-left));
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.45s ease, visibility 0.45s;
		overflow-y: auto;
	}
	.pz-nav-open .primary-nav { opacity: 1; visibility: visible; }
	.pz-nav-open { overflow: hidden; }

	.primary-nav .menu { flex-direction: column; align-items: flex-start; gap: 0; }
	.primary-nav .menu > li { width: 100%; border-top: 1px solid var(--pz-line-inv); }
	.primary-nav .menu > li:last-child { border-bottom: 1px solid var(--pz-line-inv); }
	.primary-nav .menu a {
		font-size: clamp(1.6rem, 7vw, 2.4rem);
		font-weight: 200;
		letter-spacing: 0.02em;
		padding: 0.9rem 0;
		opacity: 1;
	}
	.primary-nav .menu a::after { display: none; }
	.primary-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: none;
		border: 0;
		padding: 0 0 1rem 1rem;
		backdrop-filter: none;
	}
	.primary-nav .sub-menu a { font-size: 1rem; letter-spacing: 0.2em; opacity: 0.7; padding: 0.4rem 0; }

	.primary-nav__mobile-extra {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
		margin-top: 2.5rem;
		font-size: 0.9rem;
		color: rgba(255, 255, 255, 0.7);
	}
	.primary-nav__mobile-extra .btn { justify-content: space-between; }
	.primary-nav__mobile-extra a:not(.btn) { color: var(--pz-white); text-decoration: none; }

	/* Transizione d'ingresso delle voci */
	.js .primary-nav .menu > li { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s var(--pz-ease); }
	.js.pz-nav-open .primary-nav .menu > li { opacity: 1; transform: none; }
	.js.pz-nav-open .primary-nav .menu > li:nth-child(2) { transition-delay: 0.05s; }
	.js.pz-nav-open .primary-nav .menu > li:nth-child(3) { transition-delay: 0.1s; }
	.js.pz-nav-open .primary-nav .menu > li:nth-child(4) { transition-delay: 0.15s; }
	.js.pz-nav-open .primary-nav .menu > li:nth-child(5) { transition-delay: 0.2s; }
	.js.pz-nav-open .primary-nav .menu > li:nth-child(n+6) { transition-delay: 0.25s; }
}
@media (max-width: 560px) {
	.site-header__cta { display: none; }
}

/* Pagine senza testata scura: il contenuto parte sotto l'header. */
.pz-no-page-header .site-main { padding-top: calc(var(--pz-header-h) + var(--pz-admin-bar)); }

/* ============ HERO (home) ============ */
.hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	color: var(--pz-white);
	background: var(--pz-black);
}

.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	transform: scale(1.08);
	animation: pzHeroBgIn 2.4s var(--pz-ease) 0.1s forwards;
}
@keyframes pzHeroBgIn { to { transform: scale(1); } }

.hero-vignette {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.65) 100%),
		linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 45%);
	z-index: 1;
	pointer-events: none;
}

.hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	padding:
		calc(var(--pz-header-h) + var(--pz-admin-bar) + 1.5rem)
		max(var(--pz-gutter), env(safe-area-inset-right))
		max(clamp(2.5rem, 5vw, 4rem), env(safe-area-inset-bottom))
		max(var(--pz-gutter), env(safe-area-inset-left));
}

.hero-content {
	margin-top: auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: end;
}
@media (min-width: 1024px) {
	.hero-content { grid-template-columns: 1.55fr 1fr; gap: 4rem; }
}

.hero-heading {
	font-size: clamp(2.2rem, 5.8vw, 5.2rem);
	line-height: 0.96;
	letter-spacing: -0.02em;
	font-weight: 200;
	text-transform: uppercase;
	margin-bottom: 1.75rem;
}
.hero-heading .line { display: block; }
/* Le lettere animate stanno dentro una parola indivisibile: niente a capo a metà parola. */
.hero-heading .word { display: inline-block; white-space: nowrap; }
.hero-heading .char {
	display: inline-block;
	opacity: 0;
	transform: translateX(-18px);
	transition: opacity 500ms ease, transform 500ms ease;
	will-change: opacity, transform;
}
.hero-heading.is-loaded .char { opacity: 1; transform: translateX(0); }

.hero-sub {
	font-size: clamp(0.95rem, 1.25vw, 1.15rem);
	font-weight: 300;
	max-width: 36rem;
	margin-bottom: 2.25rem;
	color: rgba(255, 255, 255, 0.86);
	line-height: 1.55;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.tag-card {
	align-self: end;
	padding: 1.4rem 1.75rem;
	border-radius: 1.25rem;
}
.tag-card-label {
	font-size: 0.65rem;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	font-weight: 400;
	opacity: 0.7;
	margin-bottom: 0.8rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.tag-card-content {
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	font-weight: 200;
	line-height: 1.35;
	letter-spacing: 0.005em;
}

/* Ingresso hero: solo con JS attivo */
.js .hero-sub,
.js .hero-ctas,
.js .tag-card {
	opacity: 0;
	transform: translateY(10px);
}
.js .hero-sub { transition: opacity 1s ease 0.8s, transform 1s ease 0.8s; }
.js .hero-ctas { transition: opacity 1s ease 1.2s, transform 1s ease 1.2s; }
.js .tag-card { transition: opacity 1s ease 1.4s, transform 1s ease 1.4s; }
.js .hero.is-loaded .hero-sub,
.js .hero.is-loaded .hero-ctas,
.js .hero.is-loaded .tag-card { opacity: 1; transform: translateY(0); }

.scroll-hint {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	font-size: 0.6rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	opacity: 0;
	animation: pzHintIn 1s ease 2s forwards;
	pointer-events: none;
}
@keyframes pzHintIn { to { opacity: 1; } }
.scroll-hint .line-down {
	width: 1px;
	height: 30px;
	background: rgba(255, 255, 255, 0.5);
	animation: pzLineDown 2s ease-in-out infinite;
}
@keyframes pzLineDown {
	0%, 100% { transform: scaleY(1); transform-origin: top; }
	50% { transform: scaleY(0.3); transform-origin: top; }
}

/* ============ SECTION BASE ============ */
.block { padding: var(--pz-section-y) var(--pz-gutter); }

.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	font-size: 0.65rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	font-weight: 400;
	margin: 0 0 2.5rem;
}
.section-label::before {
	content: '';
	width: 28px;
	height: 1px;
	background: currentColor;
}

.section-title {
	font-size: clamp(1.9rem, 4.2vw, 3.2rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
	font-weight: 200;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
	max-width: 55rem;
}
.section-intro {
	font-size: clamp(0.95rem, 1.2vw, 1.1rem);
	font-weight: 300;
	color: var(--pz-muted);
	max-width: 42rem;
	line-height: 1.6;
}

/* ============ SHOWROOM SLIDER ============ */
.showroom { background: var(--pz-black); color: var(--pz-white); }
.showroom .section-intro { color: rgba(255, 255, 255, 0.7); }

.slider-wrap {
	margin: 3.5rem calc(-1 * var(--pz-gutter)) 0;
	position: relative;
}
.slider {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: var(--pz-gutter);
	padding: 0 var(--pz-gutter) 1rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
	overscroll-behavior-x: contain;
}
.slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider.is-dragging .slide { pointer-events: none; }
.slider::-webkit-scrollbar { display: none; }
.slide {
	flex: 0 0 min(560px, 86vw);
	scroll-snap-align: start;
	margin: 0;
}
.slide-img-wrap {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 1.25rem;
	background: #111;
}
.slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--pz-ease);
	user-select: none;
	-webkit-user-drag: none;
}
.slide:hover .slide-img { transform: scale(1.05); }
.slide-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-top: 1px solid var(--pz-line-inv);
	padding-top: 1rem;
}
.slide-name {
	font-size: 0.85rem;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}
.slide-tag {
	font-size: 0.65rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--pz-muted-inv);
}

.slider-controls {
	margin-top: 2rem;
	padding: 0 var(--pz-gutter);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}
.slider-hint {
	font-size: 0.65rem;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--pz-muted-inv);
	display: flex;
	align-items: center;
	gap: 0.8rem;
}
.slider-hint::before {
	content: '';
	width: 24px;
	height: 1px;
	background: rgba(255, 255, 255, 0.4);
}
.slider-nav { display: flex; gap: 0.6rem; }
.nav-btn {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: var(--pz-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	font-size: 1rem;
}
.nav-btn:hover { background: var(--pz-white); color: var(--pz-black); }
.nav-btn[disabled] { opacity: 0.3; pointer-events: none; }

/* ============ PROCESS ============ */
.process { background: var(--pz-bg); }

.process-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin-top: 3rem;
}
.process-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(1.5rem, 5vw, 4.5rem);
	padding: clamp(2rem, 4vw, 3rem) 0;
	border-top: 1px solid var(--pz-line);
	align-items: start;
}
.process-item:last-child { border-bottom: 1px solid var(--pz-line); }

.process-num {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 200;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--pz-black);
	min-width: 3rem;
}
.process-content h3 {
	font-size: clamp(1.1rem, 1.8vw, 1.5rem);
	margin-bottom: 1rem;
	font-weight: 300;
	letter-spacing: 0.06em;
}
.process-content p {
	font-size: clamp(0.95rem, 1.1vw, 1.05rem);
	font-weight: 300;
	color: var(--pz-muted);
	max-width: 42rem;
	line-height: 1.65;
}

/* ============ MID CTA ============ */
.mid-cta {
	background: var(--pz-white);
	padding: clamp(3.5rem, 6vw, 6rem) var(--pz-gutter);
	text-align: center;
}
.mid-cta-inner { max-width: 60rem; margin: 0 auto; }
.mid-cta h2 {
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	line-height: 1.1;
	letter-spacing: -0.005em;
	font-weight: 200;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}
.mid-cta p {
	font-size: clamp(0.95rem, 1.2vw, 1.1rem);
	font-weight: 300;
	color: var(--pz-muted);
	margin: 0 auto 2.5rem;
	max-width: 40rem;
	line-height: 1.6;
}
.mid-cta .ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============ CASES ============ */
.cases { background: var(--pz-bg); }

.cases-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 5rem;
	margin-top: 3.5rem;
}
@media (min-width: 768px) { .cases-grid { gap: 7rem; } }

.case {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: start;
}
@media (min-width: 900px) {
	.case { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; align-items: center; }
	.case:nth-child(even) .case-img-wrap { order: 2; }
}

.case-img-wrap {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #c8c8c8;
}
.case-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--pz-ease);
}
.case:hover .case-img { transform: scale(1.04); }

.case-num {
	font-size: 0.65rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--pz-muted);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	font-weight: 400;
}
.case-num::after { content: ''; flex: 1; height: 1px; background: var(--pz-line-strong); }

.case h3 {
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	font-weight: 200;
	margin-bottom: 2rem;
	letter-spacing: -0.005em;
	line-height: 1.15;
}

.case-steps { display: flex; flex-direction: column; gap: 0; }
.case-step {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 1.25rem;
	padding: 1.4rem 0;
	border-top: 1px solid var(--pz-line);
}
.case-step:last-child { border-bottom: 1px solid var(--pz-line); }
@media (max-width: 600px) {
	.case-step { grid-template-columns: 1fr; gap: 0.5rem; }
}

.step-label {
	font-size: 0.6rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--pz-muted);
	font-weight: 500;
	padding-top: 0.2rem;
}
.step-text {
	font-size: clamp(0.95rem, 1.1vw, 1.05rem);
	font-weight: 300;
	line-height: 1.55;
}

.cases-more {
	margin-top: clamp(3rem, 5vw, 4.5rem);
	text-align: center;
	padding-top: 2.5rem;
	border-top: 1px solid var(--pz-line);
}

/* ============ CATALOG ============ */
.catalog { background: var(--pz-white); }

.catalog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 3.5rem;
}
.catalog .container > .catalog-grid:first-child { margin-top: 0; }
@media (min-width: 768px) {
	.catalog-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (min-width: 1100px) {
	.catalog-grid--3 { grid-template-columns: repeat(3, 1fr); }
	/* Card più strette: corpo ridotto perché entrino parole come "PORCELLANATO". */
	.catalog-grid--3 .catalog-title { font-size: clamp(1.4rem, 2vw, 2rem); }
}

.catalog-card {
	position: relative;
	display: block;
	text-decoration: none;
	color: var(--pz-white);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--pz-black);
	transition: transform 0.6s var(--pz-ease);
}
@media (min-width: 768px) {
	.catalog-card { aspect-ratio: 3 / 4; }
}
.catalog-card:hover { transform: translateY(-4px); }

.catalog-img-wrap { position: absolute; inset: 0; overflow: hidden; }
.catalog-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--pz-ease), filter 0.6s ease;
	filter: brightness(0.7);
}
.catalog-card:hover .catalog-img { transform: scale(1.06); filter: brightness(0.55); }

.catalog-meta {
	position: absolute;
	inset: 0;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 2;
	background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
}
.catalog-label {
	font-size: 0.6rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 400;
	align-self: flex-start;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
}
.catalog-title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 200;
	line-height: 1.05;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	margin: 0 0 1.25rem;
}
.catalog-cta {
	font-size: 0.7rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.catalog-card:hover .catalog-cta .arr { transform: translateX(4px); }

/* ============ CONTACT ============ */
.contact { background: var(--pz-black); color: var(--pz-white); }
.contact .section-label { color: rgba(255, 255, 255, 0.85); }

.contact-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: start;
	margin-top: 3rem;
}
.contact .container > .contact-inner:first-child { margin-top: 0; }
@media (min-width: 900px) {
	.contact-inner { grid-template-columns: 1.4fr 1fr; gap: 6rem; }
}

.contact-title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	line-height: 1;
	letter-spacing: -0.01em;
	font-weight: 200;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}
.contact-sub {
	font-size: clamp(0.95rem, 1.25vw, 1.15rem);
	font-weight: 300;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 2.5rem;
	max-width: 36rem;
	line-height: 1.6;
}
.contact-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.contact-ctas .btn-primary:hover { background: var(--pz-bg); color: var(--pz-black); }
.contact-ctas .btn-ghost { border-color: rgba(255, 255, 255, 0.4); }

.contact-info { display: flex; flex-direction: column; gap: 0; }
.info-item { padding: 1.5rem 0; border-top: 1px solid var(--pz-line-inv); }
.info-item:last-child { border-bottom: 1px solid var(--pz-line-inv); }
.info-label {
	font-size: 0.6rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--pz-muted-inv);
	margin-bottom: 0.6rem;
	font-weight: 400;
}
.info-value {
	font-size: clamp(0.95rem, 1.1vw, 1.05rem);
	font-weight: 300;
	color: var(--pz-white);
	text-decoration: none;
	line-height: 1.45;
	display: inline-block;
	transition: opacity 0.3s ease;
}
a.info-value:hover { opacity: 0.7; }
.info-value.with-arrow::after {
	content: ' →';
	opacity: 0.5;
	transition: transform 0.3s ease;
	display: inline-block;
	margin-left: 0.4rem;
}
.info-value.with-arrow:hover::after { transform: translateX(3px); opacity: 1; }

/* ============ PAGE HERO (pagine interne) ============ */
.page-hero {
	position: relative;
	overflow: hidden;
	background: var(--pz-black);
	color: var(--pz-white);
	min-height: clamp(380px, 58vh, 620px);
	display: flex;
	align-items: flex-end;
	padding:
		calc(var(--pz-header-h) + var(--pz-admin-bar) + clamp(2.5rem, 6vw, 5rem))
		var(--pz-gutter)
		clamp(3rem, 6vw, 5rem);
}
.page-hero--compact {
	min-height: 0;
	padding-bottom: 1.75rem;
}
.page-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	animation: pzHeroBgIn 2.4s var(--pz-ease) forwards;
}
.page-hero__vignette {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.75) 100%),
		linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 55%);
}
.page-hero__inner { position: relative; z-index: 2; width: 100%; container-type: inline-size; }
.page-hero__title {
	/* Il secondo termine (larghezza reale della colonna) fa entrare una parola
	   di ~16 lettere ("RISTRUTTURAZIONE") anche a 320px. */
	font-size: min(clamp(2.2rem, 5.6vw, 4.6rem), 10cqi);
	line-height: 0.98;
	letter-spacing: -0.02em;
	font-weight: 200;
	max-width: 60rem;
}
.page-hero__intro {
	margin-top: 1.5rem;
	max-width: 40rem;
	font-size: clamp(0.95rem, 1.25vw, 1.15rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
}
.page-hero .section-label { margin-bottom: 1.75rem; color: rgba(255, 255, 255, 0.85); }

.pz-breadcrumb {
	font-size: 0.62rem;
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0;
}
.page-hero--compact .pz-breadcrumb { margin-bottom: 0; }
.pz-breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.pz-breadcrumb a:hover { color: var(--pz-white); }
.pz-breadcrumb .sep { margin: 0 0.8rem; opacity: 0.5; }

/* ============ CONTENUTO PAGINE / ARTICOLI ============ */
.page-body { background: var(--pz-bg); }
.page-body--white { background: var(--pz-white); }
.page-body--intro { padding-bottom: 0; }

.entry-lead {
	max-width: var(--pz-content);
	margin: 0 auto 3rem;
	font-size: clamp(1.15rem, 1.8vw, 1.45rem);
	font-weight: 200;
	line-height: 1.5;
}

.entry-content {
	max-width: var(--pz-content);
	margin: 0 auto;
	font-size: clamp(0.98rem, 1.1vw, 1.06rem);
	line-height: 1.75;
	color: rgba(10, 10, 10, 0.86);
}
.entry-content--builder,
.entry-content--full { max-width: none; font-size: inherit; line-height: inherit; color: inherit; }
.entry-content--offers { max-width: var(--pz-container); }

.entry-content > * { margin-top: 0; margin-bottom: 1.4em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content > .alignwide { max-width: var(--pz-container); margin-left: auto; margin-right: auto; }
.entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}
.entry-content .alignleft { float: left; margin: 0.3em 2em 1em 0; }
.entry-content .alignright { float: right; margin: 0.3em 0 1em 2em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--pz-black); margin-top: 2.2em; margin-bottom: 0.8em; line-height: 1.1; }
.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child { margin-top: 0; }
.entry-content { container-type: inline-size; }
.entry-content--builder,
.entry-content--full { container-type: normal; }
.entry-content h1 { font-size: min(clamp(1.9rem, 4.2vw, 3.2rem), 9cqi); }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.entry-content h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 300; letter-spacing: 0.06em; }
.entry-content h4 { font-size: 0.8rem; font-weight: 400; letter-spacing: 0.3em; }

.entry-content a:not(.btn):not(.wp-block-button__link):not(.wp-element-button) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.entry-content a:not(.btn):not(.wp-block-button__link):not(.wp-element-button):hover { text-decoration-color: transparent; }
.entry-content strong, .entry-content b { font-weight: 500; }

.entry-content ul,
.entry-content ol { padding-left: 1.2em; }
.entry-content li + li { margin-top: 0.4em; }

.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption,
.entry-content .wp-caption-text { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--pz-muted); margin-top: 0.75em; }

.entry-content blockquote:not(.wp-block-quote) {
	margin-left: 0;
	padding-left: 1.5rem;
	border-left: 1px solid var(--pz-black);
	font-size: 1.25rem;
	font-weight: 200;
}

.entry-content hr,
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--pz-line-strong); margin: 3em 0; }

.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th,
.entry-content td { text-align: left; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--pz-line); }
.entry-content th { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; }

/* Galleria classica [gallery] (es. "colori disponibili" nelle schede prodotto) */
.gallery { display: grid; gap: 0.75rem; margin: 2em 0; grid-template-columns: repeat(3, 1fr); }
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
	.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
	.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
	.gallery-columns-6,
	.gallery-columns-7,
	.gallery-columns-8,
	.gallery-columns-9 { grid-template-columns: repeat(6, 1fr); }
}
.gallery-item { margin: 0; }
.gallery-icon img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-caption { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.4rem; }
.gallery br { display: none; }

.entry-content .wp-block-button__link,
.entry-content .wp-element-button { text-decoration: none; transition: all 0.35s var(--pz-ease-btn); }

.entry-content .wp-block-embed iframe,
.entry-content iframe { max-width: 100%; }

.page-links { margin-top: 2rem; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* Offerte: i blocchi immagine+titolo dell'editor diventano una griglia ordinata */
.entry-content--offers .wp-block-columns { gap: 2rem; }
.entry-content--offers .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.pz-offers-products { margin-top: var(--pz-section-y); }

/* ============ PROGETTI ============ */
.projects { background: var(--pz-bg); }
.projects-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3.5rem 2rem;
}
@media (min-width: 700px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #c8c8c8; margin-bottom: 1.5rem; }
.project-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--pz-ease); }
.project-card:hover .project-card__img { transform: scale(1.05); }
.project-card__body { display: flex; flex-direction: column; flex: 1; }
.project-card__date {
	font-size: 0.6rem;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--pz-muted);
	font-weight: 400;
	margin-bottom: 0.9rem;
}
.project-card__title {
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	font-weight: 300;
	letter-spacing: 0.03em;
	line-height: 1.2;
	margin-bottom: 0.9rem;
}
.project-card__excerpt {
	font-size: 0.95rem;
	color: var(--pz-muted);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}
.project-card__cta {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--pz-line-strong);
	font-size: 0.68rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-weight: 400;
	display: flex;
	justify-content: space-between;
}
.project-card:hover .project-card__cta .arr { transform: translateX(4px); }

/* ============ PAGINAZIONE ============ */
.pz-pagination { margin-top: 4.5rem; }
.pz-pagination ul,
.woocommerce-pagination ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}
.pz-pagination .page-numbers,
.woocommerce-pagination .page-numbers li > * {
	min-width: 44px;
	height: 44px;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--pz-line-strong);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-decoration: none;
	color: var(--pz-black);
	transition: all 0.3s ease;
}
.pz-pagination a.page-numbers:hover,
.woocommerce-pagination a.page-numbers:hover { background: var(--pz-black); color: var(--pz-white); border-color: var(--pz-black); }
.pz-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current { background: var(--pz-black); color: var(--pz-white); border-color: var(--pz-black); }
.pz-pagination .page-numbers.dots,
.woocommerce-pagination .page-numbers.dots { border-color: transparent; }

/* ============ NAVIGAZIONE ARTICOLI ============ */
.post-nav {
	max-width: var(--pz-content);
	margin: 5rem auto 0;
	display: grid;
	grid-template-columns: 1fr;
	border-top: 1px solid var(--pz-line);
}
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav__link { display: block; padding: 1.75rem 0; text-decoration: none; border-bottom: 1px solid var(--pz-line); }
@media (min-width: 700px) {
	.post-nav__link { border-bottom: 0; }
	.post-nav__link--next { text-align: right; grid-column: 2; }
}
.post-nav__label { display: block; font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--pz-muted); margin-bottom: 0.6rem; }
.post-nav__title { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.post-nav__link:hover .post-nav__title { opacity: 0.65; }

/* ============ FORM ============ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	font-weight: 300;
	color: var(--pz-black);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--pz-line-strong);
	border-radius: 0;
	padding: 0.85rem 0;
	transition: border-color 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}
select {
	padding-right: 1.5rem;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 9px) 52%, calc(100% - 4px) 52%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus,
select:focus,
textarea:focus { outline: none; border-bottom-color: var(--pz-black); }
::placeholder { color: rgba(10, 10, 10, 0.45); }

label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 400; }

input[type="submit"],
button[type="submit"]:not(.btn),
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	padding: 1rem 1.8rem;
	border-radius: 999px;
	border: 1px solid var(--pz-black);
	background: var(--pz-black);
	color: var(--pz-white);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.35s var(--pz-ease-btn);
}
input[type="submit"]:hover,
button[type="submit"]:not(.btn):hover,
.wpcf7-submit:hover { background: var(--pz-white); color: var(--pz-black); }

input[type="checkbox"],
input[type="radio"] { accent-color: var(--pz-black); width: 1rem; height: 1rem; }

.search-form { display: flex; gap: 1rem; align-items: flex-end; max-width: 36rem; margin: 2.5rem auto 0; }
.search-form .search-field { flex: 1; }

.pz-404-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.pz-empty { font-size: 1.05rem; color: var(--pz-muted); text-align: center; max-width: 36rem; margin: 0 auto; }

/* Commenti */
.comments-area { max-width: var(--pz-content); margin: 5rem auto 0; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 1.5rem 0; border-top: 1px solid var(--pz-line); }
.comment-form p { margin-bottom: 1.25rem; }

/* ============ FOOTER ============ */
.site-footer {
	background: var(--pz-black);
	color: rgba(255, 255, 255, 0.72);
	padding: clamp(4rem, 7vw, 6rem) var(--pz-gutter) max(2rem, env(safe-area-inset-bottom));
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.95rem;
}
.site-footer a { color: var(--pz-white); text-decoration: none; transition: opacity 0.3s ease; }
.site-footer a:hover { opacity: 0.65; }

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; } }

.site-footer__brand p { margin-top: 1.5rem; max-width: 22rem; line-height: 1.6; }
.site-footer__brand .site-logo-text { color: var(--pz-white); }
.site-footer__brand .custom-logo { max-height: 52px; width: auto; }
.site-footer__title {
	font-size: 0.6rem;
	font-weight: 400;
	letter-spacing: 0.4em;
	color: var(--pz-muted-inv);
	margin-bottom: 1.4rem;
}
.site-footer__col p + p { margin-top: 1rem; }
.site-footer__muted { color: var(--pz-muted-inv); font-size: 0.85rem; }
.footer-menu li + li,
.footer-contacts li + li { margin-top: 0.7rem; }
.footer-menu a { text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.22em; }

.site-footer__bottom {
	margin-top: clamp(3.5rem, 6vw, 5rem);
	padding-top: 1.75rem;
	border-top: 1px solid var(--pz-line-inv);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem 2rem;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: var(--pz-muted-inv);
}
.site-footer__legal { margin: 0; line-height: 1.7; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.legal-menu a { color: rgba(255, 255, 255, 0.72); }

/* ============ WHATSAPP FAB (mobile) ============ */
.wa-fab {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 90;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--pz-black);
	color: var(--pz-white);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	transition: transform 0.35s var(--pz-ease), opacity 0.35s ease;
}
.wa-fab:hover { transform: scale(1.06); }
@media (max-width: 1023px) {
	.wa-fab { display: inline-flex; }
	.pz-nav-open .wa-fab { opacity: 0; pointer-events: none; }
}
/* In home il pulsante compare dopo la hero, che ha già le sue CTA. */
.js:not(.pz-scrolled) .pz-is-home .wa-fab { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* ============ SCROLL REVEAL (solo con JS) ============ */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1.1s var(--pz-ease), transform 1.1s var(--pz-ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal.delay-1 { transition-delay: 0.1s; }
.js .reveal.delay-2 { transition-delay: 0.2s; }
.js .reveal.delay-3 { transition-delay: 0.3s; }

/* ============ MOBILE & SMALL VIEWPORTS ============ */
@media (max-width: 640px) {
	:root { --pz-header-h: 4.5rem; }

	.hero-heading { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 1.25rem; }
	.hero-sub { font-size: 0.95rem; margin-bottom: 1.75rem; }

	.hero-ctas { flex-direction: column; align-items: stretch; gap: 0.6rem; width: 100%; }
	.hero-ctas .btn { justify-content: space-between; width: 100%; padding: 0.95rem 1.25rem; }
	.mid-cta .ctas { flex-direction: column; align-items: stretch; gap: 0.6rem; }
	.mid-cta .ctas .btn { justify-content: space-between; padding: 0.95rem 1.25rem; }
	.contact-ctas { flex-direction: column; align-items: stretch; gap: 0.6rem; }
	.contact-ctas .btn { justify-content: space-between; width: 100%; padding: 0.95rem 1.25rem; }

	.tag-card { padding: 1.1rem 1.4rem; }
	.tag-card-content { font-size: 1rem; }

	.scroll-hint { display: none; }

	.block { padding: 4rem 1.25rem; }
	.slider-wrap { margin-left: -1.25rem; margin-right: -1.25rem; }

	.process-item { grid-template-columns: 1fr; gap: 0.75rem; padding: 2rem 0; }
	.process-num { font-size: 1.75rem; opacity: 0.55; }

	.search-form { flex-direction: column; align-items: stretch; }
}

@media (max-height: 640px) {
	.scroll-hint { display: none; }
}

/* Telefoni stretti (≤ 420px): i pulsanti possono andare a capo, ma solo tra parole intere. */
@media (max-width: 420px) {
	.btn { white-space: normal; letter-spacing: 0.16em; text-align: left; }
	.btn .arr { flex-shrink: 0; }
}

/* ============ ACCESSIBILITY: REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0s !important;
	}
	.hero-bg,
	.page-hero__bg { transform: none !important; }
	.js .reveal,
	.hero-heading .char,
	.js .hero-sub,
	.js .hero-ctas,
	.js .tag-card {
		opacity: 1 !important;
		transform: none !important;
	}
}
