/* ============================================
   TARANTOLA.CASA — Palette + override tema light2
   ============================================ */

:root {
	/* === Palette ufficiale Figma === */
	--brand-primary: #000000;
	/* nero — titoli, link menu */
	--brand-body: #4B4B4B;
	/* grigio body/testo principale */
	--brand-muted: #6D6D6D;
	/* grigio secondario/didascalie */
	--brand-accent: #B5101D;
	/* rosso brand */
	--brand-accent-dark: #8a0d14;
	/* rosso hover */
	--brand-cream: #f6f2ec;
	/* crema chiaro per sezioni */
	--brand-dark: #000000;
	/* sezione "perche venirci" */
	--brand-border: #e4ddd0;

	/* === Tipografia === */
	--font-family: 'Archivo', system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

/* Decorazione "content-lines" del tema: puramente visiva, non deve bloccare click */
.content-lines-wrapper,
.content-lines-inner,
.content-lines {
	pointer-events: none;
	z-index: 0;
}

.content-wrapper>*:not(.content-lines-wrapper):not(.progress-wrap):not(.preloader-bg):not(#preloader) {
	position: relative;
	z-index: 1;
}

/* Hard-enforce fixed positioning del toTop button del tema.
   Posizionato 15px sopra il bubble Vesta (Vesta: bottom 20 + height 62 = 82 → +15 = 97).
*/
.progress-wrap {
	position: fixed !important;
	bottom: 97px !important;
	z-index: 999 !important;
}

/* reCAPTCHA v3: nascondiamo il badge flottante (permesso da Google se mostriamo
   il disclaimer testuale sotto il form — vedi recaptcha-disclaimer). */
.grecaptcha-badge {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.recaptcha-disclaimer {
	margin: 12px 0 0;
	font-size: .78rem;
	color: var(--brand-muted, #6D6D6D);
	line-height: 1.5;
}

.recaptcha-disclaimer a {
	color: var(--brand-accent, #B5101D);
	text-decoration: underline;
}

/* Reset tipografia di base */
html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	color: var(--brand-primary);
	font-family: 'Archivo', system-ui, -apple-system, Helvetica, Arial, sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Nessuno spazio residuo sotto al footer */
.site-footer,
.site-footer-bottom {
	margin-bottom: 0;
}

body>.content-wrapper {
	margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--brand-primary);
	font-weight: 500;
	letter-spacing: -0.01em;
}

h1 {
	font-size: 2.6rem;
	line-height: 1.15;
}

h2 {
	font-size: 2rem;
	line-height: 1.2;
}

h3 {
	font-size: 1.55rem;
}

a {
	color: var(--brand-accent);
	text-decoration: none;
}

a:hover {
	color: var(--brand-accent-dark);
}

/* Dot brand (il puntino rosso nel logo TARANTOLA.CASA) */
.dot,
.brand-dot {
	color: var(--brand-accent);
}

/* ======= SITE HEADER (custom, non-bootstrap) ======= */
/* nasconde la vecchia navbar del tema se presente */
.navbar {
	display: none !important;
}

.site-header {
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 15px;
	gap: 30px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-brand-img {
	height: 65px;
	width: auto;
	display: block;
}

.site-header-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.site-top-cta {
	color: var(--brand-accent);
	font-size: .72rem;
	letter-spacing: 2px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .15s;
	background-color: #ececec;
	padding: 5px 10px;
	border-radius: 3px;
}

.site-top-cta:hover {
	color: var(--brand-accent-dark);
}

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
}

.site-nav li {
	position: relative;
}

/* Separatore rosso tra le voci (desktop) */
.site-nav li+li::before {
	content: '';
	position: absolute;
	left: -14px;
	/* metà del gap 28px */
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 14px;
	background: var(--brand-accent);
}

.site-nav a {
	color: var(--brand-primary);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 400;
	padding: 6px 0;
	display: inline-block;
	transition: color .15s;
}

.site-nav a:hover {
	color: var(--brand-accent);
}

.site-nav a.is-active {
	color: var(--brand-accent);
	border-bottom: 2px solid var(--brand-accent);
	padding-bottom: 4px;
}

/* Toggle mobile */
.site-nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	cursor: pointer;
}

.site-nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--brand-primary);
	margin: 5px 0;
}

/* Icone nav: nascoste su desktop, mostrate nel menu mobile */
.nav-link-icon {
	display: none;
}

@media (max-width: 960px) {
	.site-header-inner {
		flex-wrap: wrap;
	}

	.site-nav-toggle {
		display: block;
		order: 2;
		z-index: 1002;
		position: relative;
	}

	.site-nav-toggle span {
		transition: transform .25s ease, opacity .2s ease;
		transform-origin: center;
	}

	.site-nav-toggle.is-open span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.site-nav-toggle.is-open span:nth-child(2) {
		opacity: 0;
	}

	.site-nav-toggle.is-open span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	/* Overlay full-screen del menu mobile */
	.site-header-right {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		background: #fff;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		padding: 90px 24px 40px;
		z-index: 1001;
		transform: translateX(100%);
		transition: transform .3s cubic-bezier(.4, 0, .2, 1);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.site-header-right.is-open {
		transform: translateX(0);
	}

	.site-nav {
		width: 100%;
	}

	.site-nav ul {
		flex-direction: column;
		gap: 2px;
		padding: 0;
		margin: 0;
		list-style: none;
	}

	/* Niente separatore verticale in mobile (layout colonna con icone) */
	.site-nav li+li::before {
		display: none;
	}

	.site-nav a {
		display: flex;
		align-items: center;
		gap: 16px;
		padding: 18px 4px;
		border-bottom: 1px solid #f0ece4;
		font-size: 1.1rem;
		font-weight: 600;
		color: var(--brand-primary, #000);
		text-decoration: none;
		transition: color .15s ease, background .15s ease;
		min-height: 56px;
	}

	.site-nav a:hover,
	.site-nav a:focus {
		color: var(--brand-accent, #B5101D);
		background: transparent;
	}

	.site-nav a.is-active {
		color: var(--brand-accent, #B5101D);
		border-bottom-color: var(--brand-accent, #B5101D);
	}

	/* Icona come badge cerchio */
	.nav-link-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background: var(--brand-cream, #f6f2ec);
		color: var(--brand-accent, #B5101D);
		font-size: 1.1rem;
		flex-shrink: 0;
		transition: transform .2s ease, background .2s ease;
	}

	.site-nav a:hover .nav-link-icon,
	.site-nav a.is-active .nav-link-icon {
		background: var(--brand-accent, #B5101D);
		color: #fff;
	}

	.site-nav a:active .nav-link-icon {
		transform: scale(.92);
	}

	.nav-link-label {
		flex: 1;
	}

	.site-top-cta {
		margin-top: 24px;
		align-self: stretch;
		text-align: center;
		padding: 16px;
		border-radius: 6px;
		background: var(--brand-accent, #B5101D);
		color: #fff !important;
		font-weight: 700;
		order: 99;
	}

	/* Blocca scroll del body quando menu aperto */
	body.nav-open {
		overflow: hidden;
		touch-action: none;
	}

	/* CRITICO: quando il menu è aperto neutralizza lo stacking context creato
	   da `.site-header { position: sticky }` e da `.content-wrapper > * { z-index: 1 }`.
	   Senza questo, il `position: fixed` dell'overlay resta confinato al parent
	   sticky e lascia trasparire la pagina. */
	body.nav-open .site-header {
		position: static !important;
	}

	body.nav-open .content-wrapper,
	body.nav-open .content-wrapper>*:not(.site-header-right) {
		z-index: auto !important;
	}
}

/* ======= BUTTON ======= */
.button-light,
.btn-brand {
	display: inline-block;
	padding: 12px 26px;
	background: var(--brand-accent);
	color: #fff !important;
	border: 1px solid var(--brand-accent);
	text-decoration: none;
	font-size: .8rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	transition: all .2s;
	border-radius: 0;
	cursor: pointer;
}

.button-light:hover,
.btn-brand:hover {
	background: var(--brand-accent-dark);
	border-color: var(--brand-accent-dark);
	color: #fff !important;
}

.button-outline {
	display: inline-block;
	padding: 12px 26px;
	background: transparent;
	color: var(--brand-primary) !important;
	border: 1px solid var(--brand-primary);
	text-decoration: none;
	font-size: .8rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	transition: all .2s;
}

.button-outline:hover {
	background: var(--brand-primary);
	color: #fff !important;
}

/* ======= SECTION PADDING ======= */
.section-padding {
	padding: 100px 0;
}

.section-padding-sm {
	padding: 60px 0;
}

@media (max-width: 768px) {
	.section-padding {
		padding: 60px 0;
	}

	h1 {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 1.5rem;
	}
}

/* Sub-title */
.sub-title {
	font-size: .75rem;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--brand-muted);
	margin-bottom: 18px;
}

/* ======= HERO HOME (split 50/50 con slider a destra) ======= */
.home-hero {
	display: flex;
	min-height: 620px;
	background: #ececec;
}

.home-hero-left {
	flex: 0 0 50%;
	background: #ececec;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 60px 60px;
}

.home-hero-text {
	max-width: 560px;
}

.home-hero-text h1 {
	font-size: 3.4rem;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--brand-primary);
	margin: 0 0 28px;
}

.home-hero-text p {
	font-size: 1.15rem;
	color: var(--brand-body);
	line-height: 1.5;
	margin: 0 0 34px;
	max-width: 440px;
}

.home-hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* Colonna destra: slider self-contained (.home-slider) */
.home-hero-right {
	flex: 0 0 50%;
	position: relative;
	height: 620px;
	overflow: hidden;
}

.home-slider {
	position: relative;
	width: 100%;
	height: 100%;
}

.home-slider .owl-carousel,
.home-slider .owl-stage-outer,
.home-slider .owl-stage,
.home-slider .owl-item {
	height: 100%;
}

.home-slider .owl-stage-outer {
	overflow: hidden;
}

.home-slider .owl-item {
	position: relative;
}

/* Ogni slide copre tutto lo spazio. Renderizzato come <div> o <a> dinamicamente
   (se il banner del CMS ha un link valorizzato). */
.home-slide {
	display: block;
	width: 100%;
	height: 620px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	color: inherit;
	text-decoration: none;
}

a.home-slide:hover {
	text-decoration: none;
}

/* Leggero overlay scuro per leggibilità nav/numeri */
.home-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .35) 100%);
	pointer-events: none;
}

/* Meta slide: "01 — progress bar — 03" allineati orizzontalmente */
.home-slider-meta {
	position: absolute;
	left: 32px;
	bottom: 32px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 16px;
	color: #fff;
	font-family: 'Archivo', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
}

.home-slider-meta .cur {
	color: #fff;
}

.home-slider-meta .tot {
	color: rgba(255, 255, 255, .65);
}

.home-slider-progress {
	width: 70px;
	height: 2px;
	background: rgba(255, 255, 255, .3);
	overflow: hidden;
}

.home-slider-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--brand-accent);
	transition: width .7s ease;
}

/* Frecce nav rotonde come nel tema (.slider-fade .owl-nav) */
.home-slider .owl-nav {
	position: absolute;
	right: 28px;
	bottom: 26px;
	z-index: 4;
	display: flex;
	gap: 8px;
	margin: 0;
}

.home-slider .owl-nav .owl-prev,
.home-slider .owl-nav .owl-next {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 50%;
	cursor: pointer;
	transition: all .2s ease-in-out;
	margin: 0;
	padding: 0;
	font-size: 11px;
}

.home-slider .owl-nav .owl-prev:hover,
.home-slider .owl-nav .owl-next:hover {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: #fff;
}

.home-slider .owl-nav .owl-prev.disabled,
.home-slider .owl-nav .owl-next.disabled {
	opacity: .35;
	cursor: default;
}

.home-slider .owl-nav i {
	font-size: 12px;
	line-height: 1;
}

@media (max-width: 960px) {
	.home-hero {
		flex-direction: column;
		min-height: auto;
	}

	.home-hero-left {
		flex: 0 0 auto;
		padding: 40px 20px;
		justify-content: flex-start;
	}

	.home-hero-text h1 {
		font-size: 2rem;
	}

	.home-hero-right {
		flex: 0 0 auto;
		height: 320px;
	}

	.home-slide {
		height: 320px;
	}
}

/* ======= PROJECTS2 override: card elegante card bianca ======= */
.projects2-items .col-md-6 {
	margin-bottom: 40px;
}

.projects2-wrap {
	padding: 0 !important;
	position: relative;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
	overflow: hidden;
	transition: box-shadow .3s ease, transform .3s ease;
}

.projects2-wrap:hover {
	box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
	transform: translateY(-3px);
}

.projects2-wrap>a {
	display: block;
	overflow: hidden;
	position: relative;
}

.projects2-wrap>a img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	display: block;
	transition: transform .6s ease;
}

.projects2-wrap:hover>a img {
	transform: scale(1.05) !important;
}

/* Card informazioni in basso, sfondo bianco, padding elegante */
.projects2-con {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	background: #fff;
	padding: 28px 32px 32px;
	border-top: 1px solid #eee;
}

.projects2-con p {
	font-size: 11px !important;
	margin: 0 0 10px !important;
	color: var(--brand-accent) !important;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-weight: 600;
}

.projects2-con h3 {
	font-size: 1.25rem !important;
	line-height: 1.3 !important;
	color: var(--brand-primary) !important;
	text-transform: none !important;
	letter-spacing: -.005em !important;
	font-weight: 600;
	margin: 0 0 16px !important;
}

.projects2-con h3 a,
.projects2-con h3 a:hover {
	color: var(--brand-primary) !important;
	text-decoration: none;
}

.projects2-con h3 a:hover {
	color: var(--brand-accent) !important;
}

/* Descrizione breve DB sotto al titolo — reset stile ereditato da .projects2-wrap p */
.projects2-con .projects2-breve {
	color: var(--brand-body);
	font-size: .93rem;
	line-height: 1.55;
	margin: 0 0 18px;
	letter-spacing: normal;
	text-transform: none;
}

.projects2-wrap .projects2-con .projects2-breve p {
	color: var(--brand-body) !important;
	font-size: .93rem !important;
	line-height: 1.55 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	margin: 0 0 .6em !important;
}

.projects2-wrap .projects2-con .projects2-breve p:last-child {
	margin-bottom: 0 !important;
}

.projects2-con .projects2-breve ul,
.projects2-con .projects2-breve ol {
	margin: 0 0 .5em 1.1em;
	padding: 0;
	color: var(--brand-body);
}

.projects2-con .projects2-breve li {
	margin-bottom: .25em;
}

.projects2-con .projects2-breve strong {
	color: var(--brand-primary);
}

.projects2-con .projects2-breve a {
	color: var(--brand-accent);
}

/* project2-link: freccia orizzontale con trattino rosso */
.projects2-con .project2-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 0 0 0 0;
	color: var(--brand-accent) !important;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 600;
	background: transparent !important;
}

.projects2-con .project2-link:before {
	content: '' !important;
	position: static !important;
	display: inline-block;
	width: 40px;
	height: 1px;
	background: var(--brand-accent) !important;
	transition: width .25s ease;
}

.projects2-con .project2-link:after {
	content: "Scopri di più";
}

.projects2-wrap:hover .project2-link:before {
	width: 60px;
}

@media (max-width: 768px) {
	.projects2-wrap>a img {
		height: 240px;
	}

	.projects2-con {
		padding: 22px 22px 26px;
	}
}

/* Card CTA finale nella griglia categorie: nessuna immagine, centro, bg bianco */
.projects2-wrap.projects2-cta {
	background: #fff;
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 40px !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.projects2-cta:hover {
	box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
	transform: translateY(-3px);
}

.projects2-cta-inner {
	text-align: center;
	max-width: 420px;
}

.projects2-cta-inner h3 {
	font-size: 1.8rem;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--brand-primary);
	margin: 0 0 26px;
	text-transform: none;
}

.projects2-cta-inner .button-light {
	display: inline-block;
}

@media (max-width: 768px) {
	.projects2-wrap.projects2-cta {
		padding: 40px 24px !important;
	}

	.projects2-cta-inner h3 {
		font-size: 1.4rem;
	}
}

/* ======= HOME: blocco "Un supporto completo" split 50/50 full-bleed ======= */
.home-support {
	display: flex;
	min-height: 560px;
	background: #ececec;
}

.home-support-left {
	flex: 0 0 50%;
	background: #ececec;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 80px 70px;
}

.home-support-text {
	max-width: 540px;
}

.home-support-text h2 {
	font-size: 3rem;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--brand-primary);
	margin: 0 0 28px;
}

.home-support-text p.lead {
	font-size: 1.08rem;
	color: var(--brand-body);
	line-height: 1.5;
	margin: 0 0 20px;
}

.home-support-text p.muted {
	font-size: .92rem;
	color: var(--brand-muted);
	line-height: 1.55;
	margin: 0 0 28px;
}

.home-support-right {
	flex: 0 0 50%;
	min-height: 560px;
	position: relative;
	overflow: hidden;
	cursor: ew-resize;
	background: #ececec;
}

.home-support-pan {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: auto;
	min-width: 130%;
	max-width: none;
	object-fit: cover;
	display: block;
	transform: translateX(0);
	transition: transform .35s ease-out;
	will-change: transform;
}

@media (max-width: 960px) {
	.home-support-right {
		cursor: default;
	}

	.home-support-pan {
		position: static;
		width: 100%;
		min-width: 0;
		height: auto;
		transform: none !important;
	}
}

@media (max-width: 960px) {
	.home-support {
		flex-direction: column;
		min-height: auto;
	}

	.home-support-left {
		flex: 0 0 auto;
		padding: 50px 24px;
		justify-content: flex-start;
	}

	.home-support-text h2 {
		font-size: 2rem;
	}

	.home-support-right {
		flex: 0 0 auto;
		min-height: 320px;
	}
}

/* ======= HOME: blocco "Una cultura del costruire" ======= */
.home-culture {
	background: #fff;
	padding: 120px 0;
}

.home-culture-inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 40px;
}

.home-culture h2 {
	font-size: 2.8rem;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--brand-primary);
	margin: 0 0 30px;
}

.home-culture p.lead {
	font-size: 1.4rem;
	line-height: 1.45;
	color: var(--brand-body);
	margin: 0 0 28px;
	font-weight: 400;
}

.home-culture p.muted {
	font-size: .92rem;
	line-height: 1.65;
	color: var(--brand-muted);
	margin: 0 0 32px;
}

@media (max-width: 768px) {
	.home-culture {
		padding: 70px 0;
	}

	.home-culture-inner {
		padding: 0 20px;
	}

	.home-culture h2 {
		font-size: 1.9rem;
	}

	.home-culture p.lead {
		font-size: 1.1rem;
	}
}

/* ======= SERVIZI IN HOME: card con numero + HTML rich ======= */
.home-services {
	background: var(--brand-cream);
}

.service-card {
	background: #fff;
	padding: 34px 30px 30px;
	height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
	position: relative;
	border-top: 3px solid var(--brand-accent);
	display: flex;
	flex-direction: column;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.service-card-num {
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--brand-accent);
	line-height: 1;
	margin-bottom: 14px;
	letter-spacing: -.02em;
}

.service-card h5 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--brand-primary);
	margin: 0 0 14px;
	line-height: 1.25;
}

.service-card-body {
	color: var(--brand-body);
	line-height: 1.65;
	font-size: .95rem;
	flex: 1;
}

.service-card-body p {
	margin: 0 0 10px;
}

.service-card-body p:last-child {
	margin-bottom: 0;
}

.service-card-body ul,
.service-card-body ol {
	margin: 0 0 10px 1.1em;
	padding: 0;
}

.service-card-body li {
	margin-bottom: .3em;
}

.service-card-body strong {
	color: var(--brand-primary);
}

.service-card-body a {
	color: var(--brand-accent);
}

.service-card-link {
	display: inline-block;
	margin-top: 16px;
	color: var(--brand-accent) !important;
	font-size: .78rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;
	transition: transform .2s ease;
}

.service-card:hover .service-card-link {
	transform: translateX(4px);
}

/* ======= SERVIZI /servizi: righe alternate con HTML rich text ======= */
.services-intro {
	padding-top: 80px !important;
	padding-bottom: 40px !important;
}

.services-list {
	padding: 40px 0 100px;
}

.service-row {
	padding: 50px 0;
	border-top: 1px solid var(--brand-border);
}

.service-row:first-child {
	border-top: none;
	padding-top: 0;
}

.service-row:last-child {
	padding-bottom: 0;
}

.service-text .sub-title {
	margin-bottom: 14px;
}

.service-text h2 {
	font-size: 2rem;
	line-height: 1.15;
	margin-bottom: 22px;
	font-weight: 600;
}

.service-body {
	color: var(--brand-body);
	line-height: 1.7;
	font-size: 1rem;
}

.service-body p {
	margin-bottom: 1em;
}

.service-body p:last-child {
	margin-bottom: 0;
}

.service-body ul,
.service-body ol {
	margin: 0 0 1em 1.2em;
	padding: 0;
}

.service-body li {
	margin-bottom: .4em;
}

.service-body strong {
	color: var(--brand-primary);
}

.service-body a {
	color: var(--brand-accent);
	text-decoration: underline;
}

.service-body a:hover {
	color: var(--brand-accent-dark);
}

.service-body h3,
.service-body h4 {
	margin: 1.2em 0 .5em;
	font-size: 1.15rem;
	color: var(--brand-primary);
	font-weight: 600;
}

.service-media img {
	width: 100%;
	height: auto;
	display: block;
}

.service-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 10px;
}

.service-gallery a {
	display: block;
	overflow: hidden;
}

.service-gallery img {
	width: 100%;
	height: 110px;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.service-gallery a:hover img {
	transform: scale(1.06);
}

@media (max-width: 992px) {
	.service-row {
		padding: 35px 0;
	}

	.service-text h2 {
		font-size: 1.5rem;
	}

	.service-gallery img {
		height: 80px;
	}
}

/* ======= RECENSIONI GOOGLE (full-width, stile .home-brands) ======= */
.reviews-section {
	background: #fff;
	margin: 0;
	padding: 0;
}

/* Header grigio con titolo + rating + frecce */
.reviews-header {
	background: #ececec;
	padding: 40px 0;
}

.reviews-header .container-fluid {
	padding: 0 40px;
}

.reviews-header h3 {
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--brand-primary);
	margin: 6px 0 0;
	font-weight: 400;
}

.reviews-rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	color: var(--brand-body);
}

.reviews-rating strong {
	font-size: 1.4rem;
	color: var(--brand-primary);
}

.reviews-stars {
	display: inline-flex;
	gap: 2px;
	color: #d7d7d7;
	font-size: 1rem;
	line-height: 1;
}

.reviews-stars .filled {
	color: #fbbc05;
}

/* Frecce nav identiche alle home-brands-nav */
.reviews-nav {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	border: 1px solid #d0d0d0;
	color: #555;
	cursor: pointer;
	margin-left: 6px;
	transition: all .2s;
	font-size: 12px;
}

.reviews-nav:hover {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: #fff;
}

/* Track full-width, celle bordate come home-brand-cell. Flex su stage+item per
   uniformare altezza card (la più alta determina tutte le altre). */
.reviews-track-wrap {
	background: #fff;
	margin: 0;
	padding: 0;
	line-height: 0;
}

.reviews-track .owl-stage-outer,
.reviews-track .owl-stage {
	margin: 0;
	padding: 0;
}

.reviews-track .owl-stage {
	display: flex;
}

.reviews-track .owl-item {
	display: flex;
	flex: 1 0 auto;
	height: auto;
}

.review-card {
	background: #fff;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 32px 30px;
	width: 100%;
	min-height: 260px;
	display: flex !important;
	flex-direction: column;
	gap: 14px;
	line-height: 1.55;
}

.review-card:first-child {
	border-left: 1px solid #eee;
}

.review-text {
	color: var(--brand-body);
	font-size: .95rem;
	line-height: 1.55;
	margin: 0;
	flex: 1;
}

.review-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.review-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--brand-cream);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-accent);
	font-weight: 700;
	font-size: 1.05rem;
	flex: 0 0 44px;
}

.review-avatar-ph {
	text-transform: uppercase;
}

.review-author-name {
	font-weight: 700;
	color: var(--brand-primary);
	font-size: .95rem;
	line-height: 1.2;
}

.review-time {
	color: var(--brand-muted);
	font-size: .8rem;
	line-height: 1.2;
	margin-top: 2px;
}

.review-google {
	margin-left: auto;
}

@media (max-width: 768px) {
	.reviews-header {
		padding: 26px 0;
	}

	.reviews-header h3 {
		font-size: 1.2rem;
	}

	.reviews-header .container-fluid {
		padding: 0 20px;
	}

	.review-card {
		padding: 24px 22px;
		min-height: 220px;
	}
}

/* ======= SKELETON LOADER ======= */
@keyframes skel-shimmer {
	0% {
		background-position: -200% 0;
	}

	100% {
		background-position: 200% 0;
	}
}

.skel-bg {
	background: linear-gradient(90deg, #ececec 25%, #f6f6f6 50%, #ececec 75%);
	background-size: 200% 100%;
	animation: skel-shimmer 1.4s infinite linear;
}

/* Immagini con skeleton: aggiungi class="skel" all'<img>.
   Il JS aggiunge .loaded quando l'immagine è pronta. */
img.skel {
	background: linear-gradient(90deg, #ececec 25%, #f6f6f6 50%, #ececec 75%);
	background-size: 200% 100%;
	animation: skel-shimmer 1.4s infinite linear;
	color: transparent;
	transition: opacity .35s ease;
}

img.skel:not(.loaded) {
	opacity: 0;
}

img.skel.loaded {
	background: transparent;
	animation: none;
	opacity: 1;
}

/* Wrapper skeleton (per immagini background o aree generiche) */
.skel-wrap {
	position: relative;
	overflow: hidden;
	background: #ececec;
}

.skel-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #ececec 25%, #f6f6f6 50%, #ececec 75%);
	background-size: 200% 100%;
	animation: skel-shimmer 1.4s infinite linear;
}

.skel-wrap.loaded::before {
	display: none;
}

.skel-wrap>* {
	position: relative;
	z-index: 2;
}

/* Testo skeleton (placeholder linee) */
.skel-line {
	display: block;
	height: 14px;
	border-radius: 2px;
	background: linear-gradient(90deg, #ececec 25%, #f6f6f6 50%, #ececec 75%);
	background-size: 200% 100%;
	animation: skel-shimmer 1.4s infinite linear;
	margin-bottom: 8px;
}

.skel-line.w-60 {
	width: 60%;
}

.skel-line.w-80 {
	width: 80%;
}

.skel-line.w-40 {
	width: 40%;
}

/* Skeleton chip per slot orari appuntamento */
.skel-chip {
	display: inline-block;
	width: 70px;
	height: 36px;
	border-radius: 2px;
	background: linear-gradient(90deg, #ececec 25%, #f6f6f6 50%, #ececec 75%);
	background-size: 200% 100%;
	animation: skel-shimmer 1.4s infinite linear;
	margin: 0 6px 6px 0;
}

/* ======= ANIMATE-BOX: transizione più pulita ======= */
.js .animate-box {
	opacity: 0;
	transition: opacity .4s ease;
}

.animate-box.animated {
	opacity: 1;
}

/* ======= DARK SECTION (perché venirci / CTA) ======= */
.dark-section {
	background: var(--brand-dark);
	color: #eee;
	padding: 100px 0;
}

.dark-section h2,
.dark-section h3 {
	color: #fff;
}

.dark-section .sub-title {
	color: #bbb;
}

.dark-section .button-light {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
}

/* ======= PAGINA AZIENDA ======= */
/* Showroom full-bleed top */
.azienda-showroom-top {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	line-height: 0;
}

.azienda-showroom-top-img {
	display: block;
	width: 100%;
	height: 480px;
	object-fit: cover;
}

@media (max-width: 768px) {
	.azienda-showroom-top-img {
		height: 260px;
	}
}

/* Pagina prodotto (singola categoria) — gallery hero */
.prodotto-gallery {
	background: #000;
	margin: 0;
	padding: 0;
	line-height: 0;
}

.prodotto-gallery-slide {
	height: 520px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Rich-text DB nel hero categoria */
.azienda-hero .lead-html {
	font-size: 1.15rem;
	line-height: 1.55;
	color: var(--brand-body);
	margin: 0 0 22px;
}

.azienda-hero .lead-html p {
	margin: 0 0 14px;
}

.azienda-hero .lead-html p:last-child {
	margin-bottom: 0;
}

.azienda-hero .lead-html strong {
	color: var(--brand-primary);
}

.azienda-hero .muted-html {
	color: var(--brand-muted);
	font-size: .95rem;
	line-height: 1.65;
	margin: 0 0 18px;
}

.azienda-hero .muted-html p {
	margin: 0 0 12px;
}

.azienda-hero .muted-html p:last-child {
	margin-bottom: 0;
}

.azienda-hero .muted-html ul,
.azienda-hero .muted-html ol {
	margin: 0 0 12px 1.2em;
	padding: 0;
}

.azienda-hero .muted-html strong {
	color: var(--brand-primary);
}

.azienda-hero .muted-html a {
	color: var(--brand-accent);
}

/* Override projects3 del tema per allineare tipografia e spazi */
.projects3 .img img {
	width: 100%;
	height: auto;
	display: block;
}

.projects3 .img {
	overflow: hidden;
}

.projects3 .img img {
	transition: transform .6s ease;
}

.projects3 .img:hover img {
	transform: scale(1.03);
}

.projects3 .content .cont h6 {
	color: var(--brand-accent);
	font-size: .72rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-weight: 600;
	margin: 0 0 14px;
}

.projects3 .content .cont h3 {
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--brand-primary);
	margin: 0 0 16px;
	line-height: 1.2;
}

/* Descrizione prodotto (breve + testo uniti, strip a solo strong/b/i/em/br) */
.projects3-descrizione {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--brand-body);
	margin: 0;
}

.projects3-descrizione strong,
.projects3-descrizione b {
	color: var(--brand-primary);
	font-weight: 700;
}

.projects3-descrizione i,
.projects3-descrizione em {
	color: var(--brand-body);
	font-style: italic;
}

@media (max-width: 991px) {
	.projects3 .mt-120 {
		margin-top: 40px !important;
	}

	.projects3 .order1 {
		order: 1 !important;
	}

	.projects3 .order2 {
		order: 2 !important;
	}
}

/* Mini-slider per-prodotto (quando la gallery ha >1 immagini) */
.prodotto-mini-slider {
	position: relative;
	overflow: hidden;
}

.prodotto-mini-slider .owl-carousel,
.prodotto-mini-slider .owl-stage-outer,
.prodotto-mini-slider .owl-stage,
.prodotto-mini-slider .owl-item {
	height: 100%;
}

.prodotto-mini-slider .owl-item {
	position: relative;
}

.pms-slide {
	width: 100%;
	height: 460px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.pms-meta {
	position: absolute;
	left: 24px;
	bottom: 20px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-family: 'Archivo', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

.pms-meta .tot {
	color: rgba(255, 255, 255, .7);
}

.pms-progress {
	width: 60px;
	height: 2px;
	background: rgba(255, 255, 255, .35);
	overflow: hidden;
}

.pms-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--brand-accent);
	transition: width .6s ease;
}

@media (max-width: 768px) {
	.pms-slide {
		height: 280px;
	}
}

/* Descrizione lunga a piena larghezza sotto la riga immagine+sidebar */
.projects3-descrizione-below {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--brand-body);
	padding: 24px 0 0;
	max-width: 920px;
	margin: 0 auto;
	text-align: left;
}

/* ======= PAGINA MAGAZINE ======= */
.magazine-overline {
	display: inline-block;
	font-size: .7rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--brand-accent);
	font-weight: 700;
	margin-bottom: 10px;
}

/* Articolo in evidenza */
.magazine-featured {
	padding: 0 0 40px;
}

.magazine-featured-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 0;
	background: #fff;
	border: 1px solid #ececec;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .3s ease;
}

.magazine-featured-inner:hover {
	box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
}

.magazine-featured-media {
	position: relative;
	overflow: hidden;
	min-height: 340px;
}

.magazine-featured-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s ease;
}

.magazine-featured-inner:hover .magazine-featured-media img {
	transform: scale(1.04);
}

.magazine-featured-body {
	padding: 50px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.magazine-featured-body h2 {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.2;
	margin: 0 0 18px;
	color: var(--brand-primary);
}

.magazine-featured-body p {
	font-size: 1rem;
	line-height: 1.55;
	color: var(--brand-body);
	margin: 0 0 22px;
}

.magazine-read {
	color: var(--brand-accent);
	font-size: .78rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 700;
	transition: letter-spacing .2s ease;
}

.magazine-featured-inner:hover .magazine-read,
.magazine-card:hover .magazine-read {
	letter-spacing: 3px;
}

@media (max-width: 768px) {
	.magazine-featured-inner {
		grid-template-columns: 1fr;
	}

	.magazine-featured-media {
		min-height: 240px;
	}

	.magazine-featured-body {
		padding: 30px 24px;
	}

	.magazine-featured-body h2 {
		font-size: 1.5rem;
	}
}

/* Griglia articoli */
.magazine-grid-section {
	background: #fff;
}

.magazine-card {
	background: #fff;
	border: 1px solid #ececec;
	height: 100%;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
	display: flex;
	flex-direction: column;
}

.magazine-card:hover {
	box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
	transform: translateY(-3px);
	border-color: #e0e0e0;
}

.magazine-card-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.magazine-card-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/10;
}

.magazine-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .55s ease;
}

.magazine-card:hover .magazine-card-media img {
	transform: scale(1.05);
}

.magazine-card-body {
	padding: 24px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.magazine-card-body h3 {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--brand-primary);
	margin: 0;
	letter-spacing: -.005em;
}

.magazine-card-body p {
	font-size: .92rem;
	line-height: 1.55;
	color: var(--brand-muted);
	margin: 0;
	flex: 1;
}

.magazine-card .magazine-read {
	margin-top: 6px;
}

@media (max-width: 768px) {
	.magazine-card-body {
		padding: 20px 20px 22px;
	}

	.magazine-card-body h3 {
		font-size: 1.05rem;
	}
}

/* ======= PAGINA POST (articolo singolo magazine) ======= */
/* Immagine/slider dentro container (pattern light2 post.html col-md-12) */
/* L'immagine è mostrata per intero: niente crop né object-fit cover. */
.post .post-main-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.post .post-slider {
	position: relative;
	overflow: hidden;
	background: #f5f5f5;
	margin-bottom: 2rem;
}

.post .post-slide {
	display: block;
	width: 100%;
	text-decoration: none;
	line-height: 0;
}

.post .post-slide img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

/* Meta 01 — progress — NN sopra l'immagine */
.post-slider-meta {
	position: absolute;
	left: 24px;
	bottom: 22px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	font-family: 'Archivo', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

.post-slider-meta .tot {
	color: rgba(255, 255, 255, .7);
}

.post-slider-progress {
	width: 60px;
	height: 2px;
	background: rgba(255, 255, 255, .35);
	overflow: hidden;
}

.post-slider-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--brand-accent);
	transition: width .7s ease;
}

@media (max-width: 768px) {
	.post-slider-meta {
		left: 16px;
		bottom: 14px;
		font-size: 12px;
		gap: 10px;
	}

	.post-slider-progress {
		width: 44px;
	}
}

/* Meta e titolo sotto l'immagine */
.post-meta {
	display: flex;
	gap: 16px;
	align-items: center;
	color: var(--brand-muted);
	font-size: .85rem;
	margin-bottom: 12px;
}

.post-meta i {
	margin-right: 4px;
	color: var(--brand-accent);
}

.post-meta-date {
	letter-spacing: 1px;
	text-transform: uppercase;
}

.post-title {
	font-size: 2.4rem;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.015em;
	color: var(--brand-primary);
	margin: 0 0 22px;
}

.post-lead {
	font-size: 1.15rem;
	line-height: 1.55;
	color: var(--brand-body);
	margin: 0 0 24px;
}

.post-content-html {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--brand-body);
}

.post-content-html h2,
.post-content-html h3,
.post-content-html h4 {
	color: var(--brand-primary);
	font-weight: 700;
	letter-spacing: -.005em;
	margin: 1.6em 0 .6em;
	line-height: 1.25;
}

.post-content-html h2 {
	font-size: 1.6rem;
}

.post-content-html h3 {
	font-size: 1.3rem;
}

.post-content-html h4 {
	font-size: 1.1rem;
}

.post-content-html p {
	margin: 0 0 1.2em;
}

.post-content-html p:last-child {
	margin-bottom: 0;
}

.post-content-html strong {
	color: var(--brand-primary);
}

.post-content-html em {
	font-style: italic;
}

.post-content-html blockquote {
	border-left: 3px solid var(--brand-accent);
	padding: 6px 0 6px 22px;
	margin: 1.6em 0;
	color: var(--brand-primary);
	font-size: 1.15rem;
	font-style: italic;
	line-height: 1.5;
}

.post-content-html ul,
.post-content-html ol {
	margin: 0 0 1.2em 1.3em;
	padding: 0;
}

.post-content-html li {
	margin: 0 0 .4em;
}

.post-content-html a {
	color: var(--brand-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-content-html a:hover {
	color: var(--brand-accent-dark);
}

.post-content-html img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1.6em 0;
}

.post-content-html figure {
	margin: 1.6em 0;
}

.post-content-html figcaption {
	font-size: .85rem;
	color: var(--brand-muted);
	margin-top: 6px;
	text-align: center;
}

.post-content-html iframe {
	max-width: 100%;
	aspect-ratio: 16/9;
	width: 100%;
	height: auto;
	border: 0;
	margin: 1.6em 0;
}

.post-gallery-section {
	padding: 40px 0;
	border-top: 1px solid #ececec;
	background: #fff;
}

.post-gallery-title {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 20px;
}

.post-gallery-item {
	display: block;
	overflow: hidden;
	background: #f5f5f5;
	aspect-ratio: 4/3;
}

.post-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease, filter .3s ease;
}

.post-gallery-item:hover img {
	transform: scale(1.04);
	filter: contrast(1.05) saturate(1.05);
}

.post-nav-section {
	padding: 40px 0 70px;
	border-top: 1px solid #ececec;
}

.post-nav-link {
	display: flex;
	align-items: stretch;
	gap: 16px;
	padding: 14px;
	background: #ececec;
	color: var(--brand-primary) !important;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease;
	border-radius: 3px;
	height: 100%;
}

.post-nav-link:hover {
	background: #e0e0e0;
	color: var(--brand-accent) !important;
	transform: translateY(-2px);
}

.post-nav-thumb {
	flex: 0 0 120px;
	width: 120px;
	height: 90px;
	overflow: hidden;
	background: #fff;
	border-radius: 2px;
}

.post-nav-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.post-nav-link:hover .post-nav-thumb img {
	transform: scale(1.05);
}

.post-nav-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	flex: 1;
	min-width: 0;
}

.post-nav-label {
	font-size: .7rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--brand-accent);
	font-weight: 700;
}

.post-nav-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.post-nav-next {
	text-align: right;
}

.post-nav-next .post-nav-body {
	align-items: flex-end;
}

@media (max-width: 520px) {
	.post-nav-thumb {
		flex: 0 0 80px;
		width: 80px;
		height: 70px;
	}

	.post-nav-title {
		font-size: .9rem;
	}

	.post-nav-next {
		text-align: left;
	}

	.post-nav-next .post-nav-body {
		align-items: flex-start;
	}
}

@media (max-width: 768px) {
	.post-title {
		font-size: 1.7rem;
	}

	.post-lead {
		font-size: 1rem;
	}

	.post-content-html {
		font-size: 1rem;
	}

	.post-content-html h2 {
		font-size: 1.3rem;
	}

	.post-nav-section {
		padding: 30px 0 50px;
	}
}

/* Paginazione magazine */
.pagination-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.pagination-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #ececec;
	color: var(--brand-primary) !important;
	border: 1px solid #ececec;
	font-size: .8rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	border-radius: 3px;
	transition: all .2s ease;
}

.pagination-btn:hover {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: #fff !important;
}

.pagination-pages {
	list-style: none;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.pagination-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	color: var(--brand-primary) !important;
	background: transparent;
	border: 1px solid transparent;
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 3px;
	transition: all .2s ease;
}

.pagination-page:hover {
	background: #ececec;
	color: var(--brand-accent) !important;
}

.pagination-page.is-active {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: #fff !important;
}

.pagination-ell {
	list-style: none;
	color: var(--brand-muted);
	padding: 0 4px;
	line-height: 38px;
}

@media (max-width: 520px) {
	.pagination-nav {
		gap: 8px;
	}

	.pagination-btn {
		padding: 8px 12px;
		font-size: .7rem;
	}

	.pagination-page {
		min-width: 32px;
		height: 32px;
		font-size: .82rem;
	}
}

/* ======= PAGINA CONTATTI ======= */
.contatti-info {
	background: #fff;
	padding-top: 40px;
}

.contatti-card {
	background: #fff;
	border: 1px solid #ececec;
	padding: 32px 28px;
	height: 100%;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.contatti-card:hover {
	box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
	border-color: #e0e0e0;
}

.contatti-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--brand-cream);
	color: var(--brand-accent);
	font-size: 1.3rem;
	margin-bottom: 18px;
}

.contatti-card h5 {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 14px;
	color: var(--brand-primary);
}

.contatti-card p {
	color: var(--brand-body);
	font-size: .95rem;
	line-height: 1.55;
	margin: 0 0 10px;
}

.contatti-card p strong {
	color: var(--brand-primary);
	font-weight: 700;
}

.contatti-card p a {
	color: var(--brand-primary);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .2s, color .2s;
}

.contatti-card p a:hover {
	color: var(--brand-accent);
	border-bottom-color: currentColor;
}

.contatti-link {
	display: inline-block;
	margin-top: 8px;
	color: var(--brand-accent);
	font-size: .78rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	transition: letter-spacing .2s ease;
}

.contatti-link:hover {
	letter-spacing: 3px;
	color: var(--brand-accent-dark);
}

/* Form + mappa 50/50 full-width */
.contatti-form-section {
	background: #ececec;
	padding: 0;
}

.contatti-form-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

.contatti-form-col {
	padding: 80px 60px;
	background: #fff;
}

.contatti-form-title {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--brand-primary);
	margin: 6px 0 12px;
}

.contatti-form .form-label {
	display: block;
	font-size: .72rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--brand-muted);
	margin-bottom: 6px;
}

.contatti-form .form-control {
	border: 1px solid #d6d6d6;
	background: #fff;
	padding: 10px 14px;
	transition: border-color .2s;
}

.contatti-form .form-control:focus {
	border-color: var(--brand-accent);
	box-shadow: 0 0 0 3px rgba(181, 16, 29, .1);
	outline: none;
}

.contatti-form .form-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .88rem;
	color: var(--brand-body);
}

.contatti-form .form-check a {
	color: var(--brand-accent);
	text-decoration: underline;
}

.privacy-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: .88rem;
	color: var(--brand-body);
	cursor: pointer;
	line-height: 1.45;
	padding: 0;
	margin: 0;
	min-height: auto;
}

.privacy-check input[type="checkbox"] {
	appearance: auto;
	-webkit-appearance: checkbox;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	margin: 2px 0 0 0;
	padding: 0;
	position: static;
	float: none;
	accent-color: var(--brand-accent);
	cursor: pointer;
	opacity: 1;
	pointer-events: auto;
}

.privacy-check span {
	flex: 1;
}

.privacy-check a {
	color: var(--brand-accent);
	text-decoration: underline;
}

.contatti-map-col {
	position: relative;
	min-height: 500px;
}

.contatti-map-col iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 991px) {
	.contatti-form-inner {
		grid-template-columns: 1fr;
	}

	.contatti-form-col {
		padding: 50px 24px;
	}

	.contatti-map-col {
		min-height: 360px;
	}
}

/* ======= PAGINA APPUNTAMENTO: pannello info laterale ======= */
.appuntamento-info-col {
	position: static;
	min-height: auto;
	background: var(--brand-cream, #f6f2ec);
	padding: 60px 50px;
	display: flex;
	align-items: stretch;
}

.appuntamento-info {
	width: 100%;
}

.appuntamento-info .sub-title {
	margin-bottom: 8px;
}

.appuntamento-info h3 {
	font-weight: 800;
	margin: 0 0 25px;
	color: var(--brand-primary, #000);
}

.appuntamento-info h5 {
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--brand-primary, #000);
	font-size: 1rem;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.appuntamento-steps {
	list-style: none;
	counter-reset: stp;
	padding: 0;
	margin: 0 0 35px;
}

.appuntamento-steps li {
	counter-increment: stp;
	position: relative;
	padding: 0 0 18px 44px;
	font-size: .92rem;
	line-height: 1.55;
	color: var(--brand-body, #4B4B4B);
}

.appuntamento-steps li::before {
	content: counter(stp);
	position: absolute;
	left: 0;
	top: -2px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background: var(--brand-accent, #B5101D);
	color: #fff;
	border-radius: 50%;
	font-size: .85rem;
	font-weight: 700;
}

.appuntamento-steps li strong {
	color: var(--brand-primary, #000);
}

.appuntamento-hours,
.appuntamento-contact {
	padding: 20px 0;
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.appuntamento-hours p,
.appuntamento-contact p {
	font-size: .92rem;
	line-height: 1.6;
}

.appuntamento-contact a {
	color: var(--brand-accent, #B5101D);
	text-decoration: none;
	font-weight: 600;
}

.appuntamento-contact a:hover {
	text-decoration: underline;
}

@media (max-width: 991px) {
	.appuntamento-info-col {
		padding: 40px 24px;
	}
}

/* ======= PAGINA MARCHI: card brand eleganti ======= */
.marchi-grid-section {
	background: #fff;
}

.marchio-card {
	background: #fff;
	border: 1px solid #ececec;
	padding: 26px 20px 18px;
	text-align: center;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.marchio-card:hover {
	box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
	transform: translateY(-3px);
	border-color: #e0e0e0;
}

.marchio-card a {
	color: inherit;
	text-decoration: none;
	display: block;
}

.marchio-logo-link {
	flex: 1;
	display: flex !important;
	align-items: stretch;
}

.marchio-meta-link {
	display: block;
}

.marchio-logo-wrap {
	flex: 1;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 6px;
}

.marchio-logo-wrap img {
	max-width: 100%;
	max-height: 80px;
	width: auto;
	height: auto;
	transition: filter .25s ease, transform .25s ease;
}

.marchio-card:hover .marchio-logo-wrap img {
	filter: contrast(1.1) saturate(1.12);
	transform: scale(1.04);
}

.marchio-label {
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--brand-primary);
	text-transform: uppercase;
	border-top: 1px solid #f0f0f0;
	padding-top: 10px;
}

.marchio-card:hover .marchio-label {
	color: var(--brand-accent);
}

.marchio-cat {
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--brand-muted);
	margin-top: 2px;
}

@media (max-width: 768px) {
	.marchio-card {
		padding: 18px 14px 14px;
	}

	.marchio-logo-wrap {
		min-height: 70px;
	}

	.marchio-logo-wrap img {
		max-height: 60px;
	}

	.marchio-label {
		font-size: .72rem;
	}
}

/* Variante servizi: immagini più piccole e visibili intere (niente crop) */
.projects3-servizi .img {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	min-height: 300px;
	padding: 24px;
}

.projects3-servizi .img img {
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 280px;
	object-fit: contain;
	display: block;
}

.projects3-servizi .img:hover img {
	transform: scale(1.04);
}

@media (max-width: 991px) {
	.projects3-servizi .img {
		min-height: 220px;
		padding: 16px;
	}

	.projects3-servizi .img img {
		max-height: 200px;
	}
}

/* Spaziatura tra prodotti */
.projects3-item+.projects3-item {
	margin-top: 80px;
}

@media (max-width: 991px) {
	.projects3-item+.projects3-item {
		margin-top: 50px;
	}
}

.prodotto-gallery-track .owl-dots {
	position: absolute;
	bottom: 18px;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 3;
}

.prodotto-gallery-track .owl-dot span {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	border: 1px solid rgba(255, 255, 255, .85);
	margin: 0 4px;
	transition: all .2s;
}

.prodotto-gallery-track .owl-dot.active span {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
}

.prodotto-gallery-track {
	position: relative;
}

@media (max-width: 768px) {
	.prodotto-gallery-slide {
		height: 300px;
	}
}

/* Descrizione HTML rich dentro hero azienda/prodotto */
.azienda-hero .muted,
.azienda-hero .muted p {
	color: var(--brand-muted);
	line-height: 1.65;
	font-size: .95rem;
}

.azienda-hero .muted p {
	margin: 0 0 12px;
}

.azienda-hero .muted strong {
	color: var(--brand-primary);
}

/* Video showroom azienda — inline player */
.azienda-video {
	padding: 0 0 80px;
}

.azienda-video-box {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
	cursor: pointer;
}

.azienda-video-poster-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: .92;
	transition: opacity .25s ease, transform .35s ease;
}

.azienda-video-box:hover .azienda-video-poster-img {
	opacity: 1;
	transform: scale(1.02);
}

.azienda-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 82px;
	height: 82px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	border: 2px solid #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.8rem;
	padding: 0;
	cursor: pointer;
	transition: transform .25s ease, background .2s ease;
	z-index: 2;
}

.azienda-video-play i {
	margin-left: 4px;
}

.azienda-video-box:hover .azienda-video-play {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	transform: translate(-50%, -50%) scale(1.08);
}

.azienda-video-iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.azienda-video-box.is-playing {
	cursor: default;
}

@media (max-width: 768px) {
	.azienda-video {
		padding: 0 0 40px;
	}

	.azienda-video-play {
		width: 60px;
		height: 60px;
		font-size: 1.3rem;
	}
}

/* Chip-link: pill grigio chiaro con testo rosso brand */
.chip-link {
	display: inline-block;
	padding: 8px 18px;
	margin: 0 8px 10px 0;
	background: #ececec;
	color: var(--brand-accent) !important;
	font-size: .68rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	border-radius: 3px;
	transition: all .2s ease;
}

.chip-link:hover {
	background: #e0e0e0;
	color: var(--brand-accent-dark) !important;
}

.azienda-hero {
	padding: 90px 0 80px;
}

.azienda-hero-titleblock {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: nowrap;
	margin: 0 0 28px;
}

.azienda-hero-title {
	font-size: 4rem;
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--brand-primary);
	margin: 0;
}

.azienda-hero-titleblock .azienda-hero-title {
	margin: 0;
}

.azienda-hero-logo {
	width: auto;
	height: 72px;
	max-width: 90px;
	flex-shrink: 0;
	display: block;
}

@media (max-width: 575.98px) {
	.azienda-hero-titleblock {
		gap: 14px;
	}

	.azienda-hero-logo {
		height: 56px;
		max-width: 72px;
	}
}

.azienda-hero p.lead {
	font-size: 1.15rem;
	line-height: 1.55;
	color: var(--brand-body);
	margin: 0 0 20px;
}

.azienda-hero p.muted {
	font-size: .95rem;
	line-height: 1.65;
	color: var(--brand-muted);
	margin: 0 0 16px;
}

.azienda-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.azienda-heart-media {
	position: relative;
	display: inline-block;
	max-width: 360px;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 6px;
	cursor: pointer;
}

.azienda-heart {
	max-width: 360px;
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	transition: opacity .25s ease;
}

.azienda-heart-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}

.azienda-heart-media.is-playing .azienda-heart {
	opacity: 0;
}

.azienda-heart-media.is-playing .azienda-heart-video {
	opacity: 1;
}

.azienda-hero-logo {
	cursor: pointer;
	transition: transform .3s ease;
	transform-origin: center center;
}

.azienda-hero-logo:hover {
	animation: heart-pulse 1s ease-in-out infinite;
}

@keyframes heart-pulse {
	0% {
		transform: scale(1);
	}

	25% {
		transform: scale(1.08);
	}

	50% {
		transform: scale(1);
	}

	75% {
		transform: scale(1.06);
	}

	100% {
		transform: scale(1);
	}
}

/* Showroom video ratio */
.azienda-showroom-ratio {
	background: #000;
	position: relative;
	overflow: hidden;
}

.azienda-showroom-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .92;
}

.azienda-showroom-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.azienda-showroom-play {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(181, 16, 29, .92);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease;
}

.azienda-showroom-play:hover {
	transform: scale(1.06);
}

.azienda-showroom-play i {
	color: #fff;
	font-size: 1.6rem;
	margin-left: 4px;
}

/* Filosofia */
/* Filosofia: bg grigio neutro, icona grande, testo tipografia scalata */
.azienda-filosofia {
	background: #ececec;
}

.azienda-filosofia-img {
	max-width: 320px;
	width: 100%;
	height: auto;
}

.azienda-filosofia-title {
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--brand-primary);
	margin: 0 0 28px;
}

.azienda-filosofia p.lead {
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--brand-body);
	margin: 0 0 22px;
}

.azienda-filosofia p.muted {
	font-size: .92rem;
	line-height: 1.6;
	color: var(--brand-muted);
	margin: 0 0 14px;
}

.azienda-filosofia p.muted strong {
	color: var(--brand-primary);
	font-weight: 700;
}

/* Vecchio stile cream-section (retained per backward compat di altre view) */
.cream-section h2 {
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -.01em;
	margin: 0 0 22px;
}

.cream-section p.lead {
	font-size: 1.1rem;
	line-height: 1.55;
	color: var(--brand-body);
	margin: 0 0 18px;
}

.cream-section p.muted {
	font-size: .95rem;
	line-height: 1.65;
	color: var(--brand-muted);
	margin: 0 0 14px;
}

@media (max-width: 768px) {
	.azienda-filosofia-img {
		max-width: 200px;
		margin-bottom: 24px;
	}

	.azienda-filosofia-title {
		font-size: 1.8rem;
	}
}

/* Perché venirci — bg grigio medio (non nero) */
.azienda-perche {
	background: #4B4B4B;
}

.azienda-dark-title {
	color: #fff;
	font-size: 3rem;
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.01em;
	margin: 0 0 34px;
}

.azienda-perche p.lead {
	color: #fff;
	font-size: 1.15rem;
	line-height: 1.5;
	margin: 0 0 26px;
	font-weight: 400;
}

.azienda-perche p.muted {
	color: #cfcfcf;
	font-size: .92rem;
	line-height: 1.65;
	margin: 0 0 18px;
}

.azienda-perche p.muted strong {
	color: #fff;
	font-weight: 700;
}

/* Testo .azienda-rich (contenuto HTML dal CMS via Friday\Pages) dentro la
   dark section "Perché venirci a trovare": paragrafi bianchi con strong puro. */
.azienda-perche .azienda-rich {
	color: #fff;
}

.azienda-perche .azienda-rich p {
	color: #fff;
	font-size: .95rem;
	line-height: 1.65;
	margin: 0 0 18px;
}

.azienda-perche .azienda-rich p:first-child {
	font-size: 1.15rem;
	font-weight: 400;
}

.azienda-perche .azienda-rich strong {
	color: #fff;
	font-weight: 700;
}

.azienda-perche .sub-title-plain {
	color: #e0e0e0;
	text-transform: none;
	letter-spacing: 0;
	font-size: 1rem;
	font-weight: 400;
}

.azienda-perche-img {
	max-width: 380px;
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.azienda-hero {
		padding: 60px 0 40px;
	}

	.azienda-hero-title {
		font-size: 2.6rem;
	}

	.azienda-heart-media {
		max-width: 240px;
		margin-top: 30px;
	}

	.azienda-heart {
		max-width: 240px;
	}

	.azienda-dark-title {
		font-size: 1.8rem;
	}

	.azienda-dark-heart {
		max-width: 180px;
		margin-top: 30px;
		filter: none;
		opacity: 1;
	}
}

/* ======= CTA DARK CARD (bottom) ======= */
/* (cta-card legacy rimosso: ora si usa .cta-hero) */

/* ======= CTA HERO: card centrata translucida sopra background image ======= */
.cta-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 90px 24px;
	/* pari sopra e sotto il box */
	margin: 0;
}

.cta-hero-card {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(2px);
	padding: 60px 70px;
	max-width: 720px;
	width: 100%;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

.cta-hero-card h2 {
	font-size: 2.2rem;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--brand-primary);
	margin: 0 0 18px;
}

.cta-hero-card p {
	color: var(--brand-body);
	font-size: 1.05rem;
	line-height: 1.55;
	margin: 0 0 28px;
}

.cta-hero-card .button-light {
	display: inline-block;
}

@media (max-width: 768px) {
	.cta-hero {
		padding: 50px 16px;
		margin: 0;
	}

	.cta-hero-card {
		padding: 36px 24px;
	}

	.cta-hero-card h2 {
		font-size: 1.5rem;
	}

	.cta-hero-card p {
		font-size: .95rem;
	}
}

/* ======= CREAM SECTION ======= */
.cream-section {
	background: var(--brand-cream);
}

/* ======= HOME: MARCHI carousel ======= */
.home-brands {
	background: #fff;
	margin: 0;
	padding: 0;
}

.home-brands .owl-carousel,
.home-brands .owl-stage-outer {
	margin: 0;
	padding: 0;
	line-height: 0;
}

.home-brands-header {
	background: #ececec;
	padding: 50px 0;
}

.home-brands-header .container-fluid {
	padding: 0 40px;
}

.home-brands-header h3 {
	font-size: 1.75rem;
	line-height: 1.2;
	color: var(--brand-primary);
	margin: 0;
	font-weight: 400;
}

.home-brands-header p.small {
	font-size: .85rem;
	color: var(--brand-muted);
	line-height: 1.55;
	margin: 0;
}

.home-brands-nav {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	border: 1px solid #d0d0d0;
	color: var(--brand-body);
	cursor: pointer;
	margin-left: 6px;
	transition: all .2s;
	font-size: 12px;
}

.home-brands-nav:hover {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: #fff;
}

.home-brands-track-wrap {
	background: #fff;
	margin: 0;
	padding: 0;
	line-height: 0;
}

.home-brand-cell {
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 18px 16px;
	height: 100px;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.home-brand-cell:first-child {
	border-left: 1px solid #eee;
}

/* Override Owl default ".owl-carousel .owl-item img { width:100% }" che deforma i loghi.
   Usiamo selettore con la stessa specificità di Owl + !important sulle dimensioni. */
.home-brands-track .owl-item img,
.home-brand-cell img {
	max-width: 85% !important;
	max-height: 60px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	transition: filter .25s ease, transform .25s ease;
}

.home-brand-cell:hover img,
.home-brand-cell a:hover img {
	filter: contrast(1.12) saturate(1.15);
	transform: scale(1.05);
}

/* Marchi NON associati alla categoria corrente: smorzati in grayscale */
.home-brand-cell-other img {
	filter: grayscale(1);
	opacity: .45;
	transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.home-brand-cell-other:hover img {
	filter: grayscale(0);
	opacity: .9;
	transform: scale(1.05);
}

.home-brand-cell a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	.home-brands-header {
		padding: 30px 0;
	}

	.home-brands-header h3 {
		font-size: 1.3rem;
		margin-bottom: 10px;
	}

	.home-brand-cell {
		height: 80px;
		padding: 14px 12px;
	}
}

/* ======= TEAM ======= */
.team-grid>[class*="col-"] {
	overflow: hidden;
}

.team-grid img {
	width: 100%;
	height: auto;
	display: block;
	filter: grayscale(20%) contrast(.96);
	transform: scale(1);
	transition: transform .45s ease, filter .35s ease, box-shadow .35s ease;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.team-grid img:hover {
	filter: grayscale(0) contrast(1.04) saturate(1.08);
	transform: scale(1.03);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

/* Skeleton visibile sulle foto team finché non sono caricate */
.team-grid img.skel:not(.loaded) {
	aspect-ratio: 4 / 5;
	height: auto;
	filter: none;
	box-shadow: none;
}

.team-grid .name {
	margin-top: 12px;
	font-weight: 600;
}

.team-grid .role {
	color: var(--brand-muted);
	font-size: .85rem;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* ======= BREADCRUMB ======= */
.breadcrumb-nav {
	background: #ececec;
	padding: 18px 0;
	margin: 0;
}

.breadcrumb-nav .breadcrumb {
	margin: 0;
	background: transparent;
	font-size: .85rem;
}

.breadcrumb-nav .breadcrumb-item a {
	color: var(--brand-primary);
}

.breadcrumb-nav .breadcrumb-item.active {
	color: var(--brand-accent);
}

/* ======= BANNER PAGINE INTERNE ======= */
.header-img {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	padding: 140px 0 80px;
	overflow: hidden;
}

.header-img-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 1;
	pointer-events: none;
}

.header-img-inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.header-img h1 {
	color: #fff;
	font-size: 2.8rem;
	margin: 0;
	font-weight: 500;
}

.header-img h4 {
	color: var(--brand-accent);
	margin-bottom: 14px;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: .85rem;
}

@media (max-width: 768px) {
	.header-img {
		min-height: 300px;
		padding: 110px 0 50px;
	}

	.header-img h1 {
		font-size: 2rem;
	}
}

/* ======= FOOTER ======= */
.site-footer {
	font-size: .9rem;
	position: relative;
	background: #fff;
}

/* Top: box grigio che ospita tutto tranne la copyright bar. overflow visible per far uscire il cuore sopra */
.site-footer-top {
	background: #ececec;
	color: var(--brand-body);
	padding: 70px 0 50px;
	position: relative;
	overflow: visible;
	margin-top: 80px;
	/* spazio bianco tra CTA e footer */
}

.site-footer-top p {
	margin: 0 0 6px;
	line-height: 1.6;
	color: var(--brand-body);
}

.site-footer-top strong {
	color: var(--brand-primary);
	font-weight: 700;
}

.site-footer-top h5 {
	color: var(--brand-primary);
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: 1px;
	margin: 0 0 10px;
	text-transform: uppercase;
}

/* Grid 5 colonne: logo / heart+CTA / UFFICI / COLORIFICIO / Privacy */
.footer-grid {
	display: grid;
	grid-template-columns: 1.8fr 1.4fr 1.3fr 1.5fr 1fr;
	gap: 30px;
	align-items: start;
}

/* Allineamento top dei titoli sulla stessa linea orizzontale.
   Col 1 ha il logo (64px + 22px margin = 86px) in alto, le altre compensano. */
@media (min-width: 992px) {

	.footer-col-heart-uffici,
	.footer-col-cta-colorificio,
	.footer-col-meta {
		padding-top: 86px;
	}
}

.footer-col {
	min-width: 0;
}

/* Col 1: logo + indirizzo */
.footer-brand {
	display: inline-block;
	text-decoration: none;
	margin: 0 0 22px;
}

.footer-brand-img {
	height: 64px;
	width: auto;
	display: block;
}

.footer-mail {
	color: var(--brand-accent);
	text-decoration: underline;
}

.footer-mail:hover {
	color: var(--brand-accent-dark);
}

/* Col 2: cuore (sborda sopra) + FISSA */
.footer-col .footer-heart {
	display: block;
	max-width: 170px;
	width: 100%;
	height: auto;
	margin: -100px auto 24px;
	position: relative;
	z-index: 3;
}

.footer-col .footer-cta {
	display: inline-block;
	margin: 0;
	padding: 14px 34px;
	background: var(--brand-accent);
	color: #fff !important;
	font-size: .82rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s;
}

.footer-col .footer-cta:hover {
	background: var(--brand-accent-dark);
	color: #fff !important;
}

/* La colonna heart+CTA è centrata sotto al cuore */
.footer-col:has(.footer-heart) {
	text-align: center;
}

/* Privacy/Cookie links */
.footer-col-meta p {
	margin: 0 0 8px;
}

.footer-col-meta p a {
	color: var(--brand-primary);
	text-decoration: none;
	font-weight: 700;
	font-size: .95rem;
}

.footer-col-meta p a:hover {
	color: var(--brand-accent);
}

/* Social icons rossi cerchiati */
.footer-socials {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid var(--brand-accent);
	color: var(--brand-accent);
	font-size: 1.2rem;
	transition: all .2s;
	text-decoration: none;
}

.footer-socials a:hover {
	background: var(--brand-accent);
	color: #fff;
}

/* Barra copyright */
.site-footer-bottom {
	background: #6D6D6D;
	color: #fff;
	padding: 16px 0;
	font-size: .82rem;
	text-align: center;
}

.site-footer-bottom p {
	margin: 0;
	text-align: left;
	color: #fff;
	font-size: 80%;
}

.site-footer-bottom a {
	color: #fff;
	text-decoration: underline;
}

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

@media (max-width: 1100px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 24px 20px;
	}
}

@media (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer-top {
		padding: 40px 0 30px;
	}

	/* Heart non sborda più su mobile: sta nel footer come le altre col */
	.footer-col .footer-heart {
		margin: 0 auto 20px;
		max-width: 130px;
	}

	.footer-brand-img {
		height: 52px;
	}
}

@media (max-width: 520px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-col .footer-heart {
		margin: 0 auto 16px;
		max-width: 120px;
	}
}

/* ======= FORM ======= */
.form-control {
	border: 1px solid var(--brand-border);
	border-radius: 0;
	padding: 12px 14px;
	background: #fff;
}

.form-control:focus {
	border-color: var(--brand-accent);
	box-shadow: 0 0 0 .15rem rgba(220, 38, 38, .12);
}

.form-check input[type="checkbox"] {
	margin-right: 8px;
}

/* Flash */
.flash-msg {
	padding: 10px 14px;
	font-size: .9rem;
}

.flash-ok {
	background: #e6f7ec;
	color: #1a7f3b;
	border-left: 3px solid #1a7f3b;
}

.flash-err {
	background: #fbe9e9;
	color: #a51a1a;
	border-left: 3px solid var(--brand-accent);
}

/* Slot appuntamento */
.slot-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.slot-wrapper button {
	padding: 8px 14px;
	border: 1px solid var(--brand-border);
	background: #fff;
	cursor: pointer;
	font-size: .85rem;
	transition: .2s;
}

.slot-wrapper button:hover {
	border-color: var(--brand-accent);
	color: var(--brand-accent);
}

.slot-wrapper button.selected {
	background: var(--brand-accent);
	color: #fff;
	border-color: var(--brand-accent);
}

.slot-wrapper button[disabled] {
	opacity: .35;
	cursor: not-allowed;
	text-decoration: line-through;
}