/* ==========================================================================
   Global — token non cromatici, base + impostazioni di header, menu,
   content e footer. (Le sezioni di contenuto verranno aggiunte in seguito.)
   ========================================================================== */

/* Font dei titoli (h1-h4): un solo peso, bold extended. A parita' di corpo e'
   circa il 30% piu' largo di IBM Plex Sans: size-adjust lo riduce senza
   toccare i font-size dei titoli (che restano validi per il font di riserva). */
@font-face {
	font-family: "Microgramma D";
	src: url("../fonts/microgramma-d-bold-extended.woff2") format("woff2"),
		url("../fonts/microgramma-d-bold-extended.woff") format("woff"),
		url("../fonts/microgramma-d-bold-extended.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	size-adjust: 85%;
}

:root {
	/* Tipografia */
	--sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
	--mono: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
	--display: "Microgramma D", "IBM Plex Sans", system-ui, -apple-system, sans-serif;

	/* Layout */
	--maxw: 1280px;
	--gutter: clamp(20px, 5vw, 64px);

	/* Raggio */
	--radius: 3px;
}

/* ---- Base ---- */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

::selection {
	background: var(--steel);
	color: #fff;
}

/* ---- Layout helper ---- */
.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---- Bottone (usato dalla CTA dell'header) ---- */
.btn {
	--bg: var(--ink);
	--fg: #fff;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--fg);
	background: var(--bg);
	border: 1px solid var(--bg);
	border-radius: var(--radius);
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn .arrow {
	transition: transform 0.2s ease;
}

.btn:hover {
	background: var(--steel-700);
	border-color: var(--steel-700);
}

.btn:hover .arrow {
	transform: translateX(3px);
}

/* ==========================================================================
   Header (topbar)
   ========================================================================== */
.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(244, 245, 246, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 72px;
}

/* Brand */
.brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* Logo: variante scura, su fondo chiaro della topbar. */
.brand .brand-logo {
	width: auto;
	height: 35px;
}

/* ==========================================================================
   Menu
   ========================================================================== */

/* Navigazione desktop */
.nav {
	display: flex;
	align-items: center;
	/* 24px a 1200px (soglia del menu orizzontale), 30px da 1500px in su. */
	gap: clamp(24px, 2vw, 30px);
}

.nav a {
	position: relative;
	padding: 6px 0;
	font-size: 15px;
	white-space: nowrap;
	color: var(--ink-2);
	transition: color 0.15s ease;
}

.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 1px;
	background: var(--ink);
	transition: right 0.22s ease;
}

.nav a:hover {
	color: var(--ink);
}

.nav a:hover::after {
	right: 0;
}

.topbar-cta {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* CTA "Richiedi preventivo": per ora nascosta anche su desktop, resta solo
   nel drawer. Da 1200px il contenitore ha solo la CTA (hamburger nascosto):
   si nasconde per intero, cosi la nav si allinea a destra.
   Rimuovere questa regola per ripristinare la CTA nella topbar. */
@media (min-width: 1200px) {
	.topbar-cta {
		display: none;
	}
}

/* Pulsante hamburger (nascosto su desktop) */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: none;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
	display: block;
	width: 18px;
	height: 1.5px;
	background: var(--ink);
}

.menu-toggle span {
	position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle span::before {
	top: -6px;
}

.menu-toggle span::after {
	top: 6px;
}

/* Drawer mobile */
.drawer {
	position: fixed;
	inset: 72px 0 auto 0;
	z-index: 49;
	padding: 12px var(--gutter) 28px;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	transform: translateY(-12px);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.drawer.open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.drawer a {
	display: block;
	padding: 16px 0;
	font-size: 18px;
	border-bottom: 1px solid var(--line-soft);
}

.drawer .btn {
	width: 100%;
	justify-content: flex-start;
	margin-top: 18px;
	padding-left: 16px;
}

/* ==========================================================================
   Content
   ========================================================================== */
.site-main {
	display: block;
	min-height: 50vh;
}

/* ---- Tipografia dei contenuti ---- */
h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

p {
	margin: 0;
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--steel);
}

.kicker::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 1px;
	background: var(--steel);
}

.linklike {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding-bottom: 3px;
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--ink);
	border-bottom: 1px solid var(--line-strong);
	transition: gap 0.18s ease, border-color 0.18s ease;
}

.linklike:hover {
	gap: 14px;
	border-color: var(--ink);
}

/* ---- Sezione generica ---- */
.section {
	padding-block: clamp(72px, 11vw, 140px);
	border-top: 1px solid var(--line);
}

/* Stacco tra kicker e titolo: solo quando il kicker c'e'. */
.section-head .kicker + h2 {
	margin-top: 22px;
}

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(24px, 5vw, 80px);
	align-items: end;
	margin-bottom: clamp(48px, 7vw, 88px);
}

.section-head h2 {
	font-size: clamp(30px, 4.4vw, 52px);
}

.section-head .lead {
	max-width: 46ch;
	font-size: clamp(16px, 1.4vw, 19px);
	color: var(--ink-2);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	padding-block: clamp(56px, 8vw, 104px);
}

.hero-copy .kicker {
	margin-bottom: 26px;
}

.hero h1 {
	margin-bottom: 26px;
	font-size: clamp(38px, 6vw, 76px);
	line-height: 0.98;
}

.hero h1 em {
	font-style: normal;
	color: var(--steel);
}

.hero .sub {
	max-width: 48ch;
	margin-bottom: 38px;
	font-size: clamp(17px, 1.5vw, 20px);
	color: var(--ink-2);
}

.hero .cta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.hero-specs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 40px);
	margin-top: 52px;
	border-top: 1px solid var(--line);
}

.hero-specs .spec {
	padding: 20px 0 0;
}

.hero-specs .spec .v {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.hero-specs .spec .v small {
	font-size: 14px;
	font-weight: 500;
	color: var(--steel);
}

.hero-specs .spec .k {
	margin-top: 4px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.hero-visual {
	position: relative;
}

.hero-visual .frame {
	position: relative;
	padding: 10px;
	background: var(--paper-2);
	border: 1px solid var(--line-strong);
}

.hero-visual .frame img {
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.hero-visual .corner {
	position: absolute;
	width: 12px;
	height: 12px;
	border: 1.5px solid var(--steel);
}

.hero-visual .corner.tl {
	top: -1px;
	left: -1px;
	border-right: none;
	border-bottom: none;
}

.hero-visual .corner.tr {
	top: -1px;
	right: -1px;
	border-left: none;
	border-bottom: none;
}

.hero-visual .corner.bl {
	bottom: -1px;
	left: -1px;
	border-right: none;
	border-top: none;
}

.hero-visual .corner.br {
	bottom: -1px;
	right: -1px;
	border-left: none;
	border-top: none;
}

.product-badge {
	position: absolute;
	left: -1px;
	bottom: 28px;
	max-width: 250px;
	padding: 16px 20px;
	background: var(--ink);
	color: #fff;
}

.product-badge .pb-k {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--steel-300);
}

.product-badge .pb-n {
	margin-top: 4px;
	font-size: 19px;
	font-weight: 600;
}

.product-badge .pb-d {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Sezione Prodotti (griglia di card)
   ========================================================================== */
.products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

/* Indice della gamma: tre schede su una riga. */
.products-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

/* Prodotti a righe: meta' immagine, meta' testo, colonne a specchio. */
.products-rows .prow {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
}

.products-rows .prow + .prow {
	margin-top: clamp(40px, 6vw, 88px);
}

.products-rows .prow:nth-child(even) .prow-media {
	order: 2;
}

.prow-media img {
	width: 100%;
	height: auto;
}

.prow-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.prow-body h3,
.prow-body h4 {
	font-size: clamp(24px, 2.4vw, 34px);
}

.prow-body p {
	font-size: 15.5px;
	color: var(--ink-2);
}

.prow-text p + p {
	margin-top: 12px;
}

.prow-specs {
	display: grid;
	gap: 12px;
}

.prow-body .prow-listtitle {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--steel);
}

.prow-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.prow-list li {
	position: relative;
	padding-left: 18px;
	font-size: 15px;
	color: var(--ink-2);
}

.prow-list li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 8px;
	height: 2px;
	background: var(--steel-300);
}

/* Gruppi di prodotti (es. banchi / sollevatori esterni / a incasso). */
.products-group + .products-group {
	margin-top: clamp(40px, 5vw, 72px);
}

.pgroup-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
}

.pgroup-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

.pcard {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: clamp(24px, 3vw, 40px);
	background: var(--paper-2);
	border: 1px solid var(--line);
	transition: border-color 0.2s ease;
}

.pcard:hover {
	border-color: var(--line-strong);
}

.pcard .pc-media {
	position: relative;
}

.pcard .pc-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.pcard .pc-no {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 8px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--steel);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--line);
}

.pcard .pc-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.pcard h3,
.pcard h4 {
	font-size: clamp(21px, 2vw, 27px);
}

.pcard .pc-tag {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--steel);
	white-space: nowrap;
}

.pcard p {
	font-size: 15.5px;
	color: var(--ink-2);
}

.pcard .pc-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

.pcard .chip {
	padding: 6px 10px;
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.04em;
	color: var(--ink-2);
	background: var(--paper-2);
	border: 1px solid var(--line);
}

/* Il link chiude la scheda in basso, salvo quando sono i chip ad avere gia'
   assorbito lo spazio libero. */
.pcard .pc-link {
	margin-top: auto;
}

.pcard .pc-specs ~ .pc-link {
	margin-top: 4px;
}

/* ==========================================================================
   Sezione Tecnologia (blocco scuro)
   ========================================================================== */
.tech {
	background: var(--ink);
	color: #fff;
	border-top: 1px solid var(--ink);
}

.tech .kicker {
	color: var(--steel-300);
}

.tech .kicker::before {
	background: var(--steel-300);
}

.tech .section-head h2 {
	color: #fff;
}

.tech .section-head .lead {
	color: rgba(255, 255, 255, 0.66);
}

.tech-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

.tcard {
	display: flex;
	flex-direction: column;
	min-height: 340px;
	padding: clamp(28px, 3vw, 44px);
	background: var(--ink);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.tcard .t-no {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--steel-300);
}

.tcard .t-icon {
	width: 46px;
	height: 46px;
	margin: 28px 0 30px;
	color: var(--steel-300);
}

.tcard h3 {
	margin-bottom: 14px;
	font-size: 22px;
}

.tcard p {
	font-size: 15.5px;
	color: rgba(255, 255, 255, 0.66);
}

.tcard .t-metric {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-top: auto;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tcard .t-metric b {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.tcard .t-metric span {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--steel-300);
}

/* ==========================================================================
   Sezione Azienda (statistiche: immagine e/o numero)
   ========================================================================== */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(24px, 4vw, 56px);
}

/* Immagine intera in un riquadro di altezza uniforme; multiply fonde il
   fondo bianco delle illustrazioni con lo sfondo della sezione. */
.stat .s-img {
	aspect-ratio: 16 / 10;
	background: var(--paper);
	isolation: isolate;
}

.stat .s-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.stat .s-img + .s-v {
	margin-top: 14px;
}

.stat .s-v {
	font-size: clamp(42px, 6vw, 72px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
}

.stat .s-v small {
	font-size: 0.42em;
	font-weight: 500;
	color: var(--steel);
	vertical-align: super;
}

.stat .s-k {
	margin-top: 14px;
	padding-top: 14px;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
	border-top: 1px solid var(--line);
}

/* Foto sotto i numeri: riusano la griglia della pagina Galleria (vedi sotto). */
.stats + .gallery-grid {
	margin-top: clamp(48px, 7vw, 88px);
}

/* ==========================================================================
   Sezione Settori
   ========================================================================== */
.sectors-section {
	background: var(--paper-3);
}

.sectors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.scard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--paper-2);
	border: 1px solid var(--line);
	transition: border-color 0.2s ease;
}

.scard:hover {
	border-color: var(--line-strong);
}

.scard > img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.scard .sc-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
}

.scard .sc-no {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--steel);
}

.scard h3 {
	font-size: 22px;
}

.scard p {
	font-size: 15px;
	color: var(--ink-2);
}

/* ==========================================================================
   Sezione Contatti
   ========================================================================== */
.contact {
	background: var(--paper-2);
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(36px, 6vw, 88px);
	align-items: start;
}

.contact-aside h2 {
	margin: 22px 0 24px;
	font-size: clamp(28px, 3.6vw, 44px);
}

.contact-aside .lead {
	max-width: 38ch;
	margin-bottom: 36px;
	color: var(--ink-2);
}

.contact-meta {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
}

/* Etichetta sopra, valore sotto, tutto a sinistra (su ogni schermo) */
.contact-meta .row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
}

.contact-meta .row:last-child {
	border-bottom: none;
}

.contact-meta .row .ck {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--steel);
}

.contact-meta .row .cv {
	font-size: 15.5px;
}

.contact-meta .row .cv .brand-logo {
	display: inline-block;
	width: auto;
	height: 20px;
	margin: 0;
}

.contact-meta .row .cv a {
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}

.contact-meta .row .cv a:hover {
	text-decoration-color: currentColor;
}

/* ---- Fluent Forms: restyle coerente con la bozza ---- */
.contact-form .fluentform {
	font-family: var(--sans);
}

/* Box del form con bordo unico */
.contact-form .frm-fluent-form {
	border: 1px solid var(--line);
	background: var(--paper-2);
}

/* Ogni campo = riga separata da hairline (niente margini FF) */
.contact-form .frm-fluent-form .ff-el-group {
	margin: 0 !important;
	border-bottom: 1px solid var(--line);
}

.contact-form .frm-fluent-form .ff_submit_btn_wrapper {
	border-bottom: 0;
}

/* Righe a due colonne: celle a contatto + divisorio verticale */
.contact-form .frm-fluent-form .ff-t-container {
	gap: 0 !important;
	margin: 0 !important;
}

.contact-form .frm-fluent-form .ff-t-cell:not(:last-child) {
	border-right: 1px solid var(--line);
}

/* Etichette: mono maiuscolo acciaio */
.contact-form .frm-fluent-form .ff-el-input--label {
	margin: 0;
	padding: 14px 18px 0;
}

.contact-form .frm-fluent-form .ff-el-input--label label {
	margin: 0;
	font-family: var(--mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--steel);
}

.contact-form .frm-fluent-form .ff-el-input--content {
	margin: 0;
}

/* Campi: senza bordo, trasparenti, font del tema */
.contact-form .frm-fluent-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form .frm-fluent-form textarea,
.contact-form .frm-fluent-form select {
	width: 100%;
	height: auto;
	padding: 6px 18px 16px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background-color: transparent !important;
	box-shadow: none !important;
	font-family: var(--sans) !important;
	font-size: 16px !important;
	line-height: 1.4;
	color: var(--ink) !important;
	outline: none;
	resize: none;
}

.contact-form .frm-fluent-form textarea {
	min-height: 120px;
}

.contact-form .frm-fluent-form input::placeholder,
.contact-form .frm-fluent-form textarea::placeholder {
	color: var(--ink-3);
}

/* Focus: leggera evidenziazione della riga */
.contact-form .frm-fluent-form .ff-el-group:focus-within {
	background: #fbfbfc;
}

/* Select: freccia custom (SVG), compatibile con tutti i browser */
.contact-form .frm-fluent-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 42px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235b626a' stroke-width='1.5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 18px center !important;
	cursor: pointer;
}

/* Riga del bottone */
.contact-form .frm-fluent-form .ff_submit_btn_wrapper {
	padding: 18px;
}

/* Bottone submit = stile .btn del tema */
.contact-form .frm-fluent-form .ff-btn-submit {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: auto;
	height: auto;
	padding: 14px 22px !important;
	font-family: var(--sans) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em;
	line-height: 1;
	color: #fff !important;
	background: var(--ink) !important;
	border: 1px solid var(--ink) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.contact-form .frm-fluent-form .ff-btn-submit:hover {
	background: var(--steel-700) !important;
	border-color: var(--steel-700) !important;
}

/* Messaggi di errore/successo */
.contact-form .frm-fluent-form .text-danger,
.contact-form .frm-fluent-form .error {
	color: #b4453a;
	font-family: var(--mono);
	font-size: 12px;
}

.contact-form .ff-message-success {
	padding: 20px 18px;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink-2);
	font-size: 15px;
}

/* ==========================================================================
   Pagina di testo (pagine informative: dati societari, privacy, cookie...)
   ========================================================================== */
.textpage {
	padding-block: clamp(56px, 8vw, 96px) clamp(72px, 11vw, 140px);
}

.textpage-head {
	padding-bottom: clamp(26px, 4vw, 44px);
	margin-bottom: clamp(36px, 5vw, 60px);
	border-bottom: 1px solid var(--line);
}

.textpage-head h1 {
	font-size: clamp(30px, 4.4vw, 52px);
}

/* Corpo del testo: colonna di lettura, ritmo verticale dato dai fratelli. */
.textpage-body {
	max-width: 76ch;
	color: var(--ink-2);
}

.textpage-body > * {
	margin: 0;
}

.textpage-body > * + * {
	margin-top: 18px;
}

.textpage-body p,
.textpage-body li {
	font-size: clamp(15px, 1.3vw, 17px);
	line-height: 1.65;
}

.textpage-body strong {
	font-weight: 600;
	color: var(--ink);
}

.textpage-body a {
	border-bottom: 1px solid var(--line-strong);
	transition: border-color 0.18s ease;
}

.textpage-body a:hover {
	border-color: var(--ink);
}

/* Titoli interni: stacco maggiore sopra, minimo verso il testo che segue. */
.textpage-body > h2 {
	margin-top: clamp(40px, 5vw, 64px);
	font-size: clamp(21px, 2.2vw, 27px);
	color: var(--ink);
}

.textpage-body > h3 {
	margin-top: clamp(28px, 3.5vw, 40px);
	font-size: clamp(17px, 1.5vw, 19px);
	color: var(--ink);
}

.textpage-body > *:first-child {
	margin-top: 0;
}

.textpage-body > h2 + *,
.textpage-body > h3 + * {
	margin-top: 12px;
}

/* Elenchi: stesso trattino acciaio delle liste di prodotto. */
.textpage-body ul,
.textpage-body ol {
	display: grid;
	gap: 8px;
	padding-left: 0;
	list-style: none;
}

.textpage-body ul li {
	position: relative;
	padding-left: 18px;
}

.textpage-body ul li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 8px;
	height: 2px;
	background: var(--steel-300);
}

.textpage-body ol {
	counter-reset: textpage-ol;
}

.textpage-body ol li {
	position: relative;
	padding-left: 26px;
	counter-increment: textpage-ol;
}

.textpage-body ol li::before {
	content: counter(textpage-ol) ".";
	position: absolute;
	left: 0;
	font-family: var(--mono);
	font-size: 13px;
	color: var(--steel);
}

/* ==========================================================================
   Pagina 404
   ========================================================================== */
.errorpage {
	padding-block: clamp(72px, 11vw, 140px);
	text-align: center;
}

.errorpage h1 {
	font-size: clamp(30px, 4.4vw, 52px);
}

.errorpage p {
	max-width: 52ch;
	margin: 18px auto 0;
	font-size: clamp(15px, 1.3vw, 17px);
	line-height: 1.65;
	color: var(--ink-2);
}

.errorpage .btn {
	margin-top: clamp(28px, 3.5vw, 40px);
}

/* ==========================================================================
   Pagina Galleria (layout, realizzazioni, accessori e comandi) + lightbox
   I gruppi riusano .products-group / .pgroup-title della sezione Prodotti.
   ========================================================================== */
.gallery-page .section-head h1 {
	font-size: clamp(30px, 4.4vw, 52px);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(10px, 1.4vw, 18px);
}

.gallery-item {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--paper-3);
	border: 1px solid var(--line);
	cursor: zoom-in;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
	transform: scale(1.04);
}

.gallery-item:focus-visible {
	outline: 2px solid var(--steel);
	outline-offset: 2px;
}

/* Blocca lo scroll della pagina a lightbox aperto. */
.lb-open {
	overflow: hidden;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 56px clamp(8px, 2vw, 24px);
	background: rgba(26, 29, 33, 0.94);
}

.lightbox[hidden] {
	display: none;
}

.lb-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 100%;
	min-height: 0;
	margin: 0;
}

.lb-img {
	max-width: 100%;
	max-height: calc(100% - 40px);
	object-fit: contain;
}

.lb-caption {
	font-size: 14px;
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
}

.lb-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	font: inherit;
	font-size: 22px;
	line-height: 1;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: var(--radius);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.lb-btn:hover,
.lb-btn:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.6);
}

.lb-btn[hidden] {
	visibility: hidden;
}

.lb-prev {
	grid-column: 1;
}

.lb-next {
	grid-column: 3;
}

.lb-close {
	position: absolute;
	top: 10px;
	right: clamp(8px, 2vw, 24px);
	font-size: 28px;
}

.lb-count {
	position: absolute;
	top: 22px;
	left: clamp(8px, 2vw, 24px);
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	color: var(--steel-300);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
	padding-block: clamp(48px, 6vw, 80px);
	background: var(--ink);
	color: rgba(255, 255, 255, 0.7);
}

.footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1.1fr 1fr 1.6fr;
	gap: 15px;
	padding-bottom: 44px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Logo: variante chiara, su fondo scuro del footer. */
.footer .f-brand .brand-logo {
	width: auto;
	height: 26px;
}

.footer .f-brand span {
	display: block;
	margin-top: 10px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--steel-300);
}

.footer .f-brand p {
	max-width: 30ch;
	margin: 18px 0 0;
	font-size: 14px;
}

/* Social: pulsanti icona nel blocco brand del footer. */
.footer .f-social {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.footer .f-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.footer .f-social a:hover {
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.footer .f-social svg {
	width: 18px;
	height: 18px;
}

/* Ragione sociale e indirizzo: testo, non link, nella colonna Contatti. */
.footer .f-col .f-org {
	margin: 0;
	padding: 5px 0;
	font-size: 14.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.footer .f-col .f-org .brand-logo {
	display: block;
	width: auto;
	height: 18px;
}

.footer .f-col .f-addr {
	margin: 0 0 8px;
	padding: 5px 0;
	font-size: 14.5px;
	font-style: normal;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
}

/* Referente: nome e ruolo su due righe, allineate a mail e telefono. */
.footer .f-col .f-person {
	margin: 0;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.72);
}

.footer .f-col .f-person span {
	display: block;
	padding: 5px 0;
}

.footer .f-col .f-person .f-name {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.footer .f-col h4 {
	margin: 0 0 16px;
	font-family: var(--display);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--steel-300);
}

.footer .f-col a {
	display: block;
	padding: 5px 0;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.15s ease;
}

.footer .f-col a:hover {
	color: #fff;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 28px;
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: var(--steel-300);
}

.footer-bottom a {
	color: inherit;
	transition: color 0.15s ease;
}

.footer-bottom a:hover {
	color: #fff;
}
