/* Font ospitati sul sito (nessuna richiesta a Google Fonts). Poppins e Playfair Display, licenza SIL OFL. */

/* latin-ext */
@font-face {
  font-family: 'Poppins'; font-display: swap;
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins-300-n-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Poppins'; font-display: swap;
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins-300-n-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Poppins'; font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-400-n-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Poppins'; font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-400-n-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Poppins'; font-display: swap;
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-600-n-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Poppins'; font-display: swap;
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-600-n-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Poppins'; font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-700-n-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Poppins'; font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-700-n-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display'; font-display: swap;
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/playfair-display-400-i-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display'; font-display: swap;
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/playfair-display-400-i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display'; font-display: swap;
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/playfair-display-600-i-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display'; font-display: swap;
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/playfair-display-600-i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
	Harmony - foglio di stile unico (2026)
	Sostituisce skel + style/-wide/-normal/-narrow/-narrower/-mobile.
	Mobile-first, variabili CSS, CSS Grid. Nessuna dipendenza da JavaScript per il layout.
*/

/* ------------------------------------------------------------------ */
/* Variabili                                                          */
/* ------------------------------------------------------------------ */

:root {
	--green: #3f7a3b;          /* 5,2:1 con il bianco */
	--green-dark: #2d5a28;
	--green-deep: #1f3d1c;
	--sage: #eaf1e6;
	--sage-soft: #f4f8f1;
	--cream: #faf8f3;
	--ink: #1f2a24;
	--ink-soft: #4a5750;
	--line: #e3e8e0;
	--gold: #f5b301;
	--white: #fff;

	--radius: 1.25rem;
	--radius-sm: 0.75rem;
	--shadow-sm: 0 1px 2px rgba(31, 42, 36, 0.06), 0 4px 12px rgba(31, 42, 36, 0.06);
	--shadow: 0 2px 4px rgba(31, 42, 36, 0.05), 0 12px 32px rgba(31, 42, 36, 0.10);

	--gutter: clamp(1rem, 4vw, 2rem);
	--section-y: clamp(3.5rem, 9vw, 7rem);
	--header-h: 4.25rem;

	--font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ------------------------------------------------------------------ */
/* Reset                                                              */
/* ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video, iframe { max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

body {
	min-width: 320px;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Icone (sprite SVG images/icons.svg, Font Awesome Free 6.5.1, CC BY 4.0) */
i { font-style: normal; }
.ic { display: inline-block; flex: none; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; overflow: visible; }

/* ------------------------------------------------------------------ */
/* Tipografia                                                         */
/* ------------------------------------------------------------------ */

h1, h2, h3, h4 {
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ink);
}
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); letter-spacing: -0.01em; }

p + p { margin-top: 1em; }
strong, b { font-weight: 600; }

a {
	color: var(--green);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s;
}
a:hover { color: var(--green-dark); }

:focus-visible {
	outline: 3px solid var(--green);
	outline-offset: 3px;
	border-radius: 4px;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--green);
}

/* ------------------------------------------------------------------ */
/* Layout di base                                                     */
/* ------------------------------------------------------------------ */

.container {
	width: min(100% - 2 * var(--gutter), 72rem);
	margin-inline: auto;
}
.container.small { width: min(100% - 2 * var(--gutter), 52rem); }

.main { position: relative; }
.main.style3 { padding-block: var(--section-y); }
.main.style3.primary { background: var(--white); }
.main.style3.secondary { background: var(--sage-soft); }

/* Piu' blocchi .content dentro la stessa sezione */
.main > .content + .content { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.content > header { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.content > header p { max-width: 40rem; margin: 1rem auto 0; color: var(--ink-soft); }
.content > header h2 + p { margin-top: 0.75rem; }

.category-icon-hero {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: var(--sage);
	color: var(--green);
	font-size: 1.6rem;
	line-height: 1;
}

.box {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.25rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-sm);
}
.box.container { margin-inline: auto; }
.box + .gallery, .box + .row, .box + .box, .gallery + .box, .row + .box { margin-top: 1.5rem; }
.secondary .box { border-color: transparent; }

/* ------------------------------------------------------------------ */
/* Griglia (.row + .Nu, compatibile col markup esistente)             */
/* ------------------------------------------------------------------ */

.row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.75rem);
}
.row > [class~="12u"] { grid-column: span 12; }
.row > [class~="6u"]  { grid-column: span 6; }
.row > [class~="4u"]  { grid-column: span 4; }
.row > [class~="3u"]  { grid-column: span 3; }
.row > * { min-width: 0; }

@media (max-width: 800px) {
	.row > [class~="4u"], .row > [class~="3u"] { grid-column: span 6; }
}
@media (max-width: 600px) {
	.row > [class~="6u"], .row > [class~="4u"], .row > [class~="3u"] { grid-column: span 12; }
}

/* Schede con azioni: centrate e flessibili */
.contact-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(0.75rem, 2vw, 1.25rem);
}
.contact-actions > * { flex: 1 1 13rem; max-width: 20rem; }
.contact-actions > [class~="12u"], .contact-actions > [class~="6u"] { max-width: 24rem; }

/* ------------------------------------------------------------------ */
/* Pulsanti                                                           */
/* ------------------------------------------------------------------ */

.button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 3rem;
	padding: 0.7em 1.6em;
	border: 2px solid var(--green);
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
	font-family: var(--font);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.button:hover, input[type="submit"]:hover, input[type="button"]:hover {
	background: var(--green-dark);
	border-color: var(--green-dark);
	color: var(--white);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(45, 90, 40, 0.28);
}
.button:active { background: var(--green-deep); border-color: var(--green-deep); transform: none; box-shadow: none; }

.button.style2 {
	background: transparent;
	color: var(--green);
	border-color: var(--green);
}
.button.style2:hover { background: var(--green); color: var(--white); border-color: var(--green); }

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.skip-link {
	position: fixed;
	left: 1rem;
	top: -5rem;
	z-index: 2000;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	background: var(--green-dark);
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	transition: top 0.2s;
}
.skip-link:focus { top: 0.75rem; color: var(--white); }

/* ------------------------------------------------------------------ */
/* Intestazione                                                       */
/* ------------------------------------------------------------------ */

#header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-inline: var(--gutter);
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) { #header { background: var(--white); } }

#logo { margin-right: auto; font-size: 1.05rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
#logo a { color: var(--ink); text-decoration: none; display: block; }
#logo .logo-sub {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--ink-soft);
}

.home-toggle {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--sage);
	color: var(--green);
	text-decoration: none;
	flex: none;
}
.home-toggle:hover { background: var(--green); color: var(--white); }
#header.has-home #logo { margin-right: auto; }
#header.has-home .home-toggle { order: -1; }

#nav a {
	display: block;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}
#nav a:hover { color: var(--green-dark); }

.nav-toggle {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.7rem;
	border-radius: 50%;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.2s; }
.nav-active .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-active .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-active .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	padding: 0.75rem var(--gutter) 1.25rem;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 16px 32px rgba(31, 42, 36, 0.12);
}
.nav-active #nav { display: block; max-height: calc(100vh - var(--header-h) - 1rem); overflow-y: auto; }
#nav ul { display: flex; flex-direction: column; gap: 0; }
#nav a { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
#nav a[aria-current] { color: var(--green-dark); font-weight: 600; }
#nav li[hidden] { display: none; }
#nav a.nav-special { color: #9b1c2e; font-weight: 600; }
#nav a.nav-special:hover { color: #7d1624; background: #fdf3f4; }
#nav a:hover { background: var(--sage-soft); }
#nav li:last-child a { border-bottom: 0; }

.header-call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0 1.1rem;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s;
}
.header-call:hover { background: var(--green-dark); color: var(--white); }
@media (min-width: 431px) { .header-call { min-width: 8.6rem; } }
@media (max-width: 430px) {
	.header-call { width: 2.75rem; padding: 0; }
	.header-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

/* Su schermi larghi la tendina e' una scheda ancorata a destra, non a tutta larghezza */
@media (min-width: 821px) {
	#nav {
		left: auto;
		right: var(--gutter);
		top: calc(100% + 0.5rem);
		width: 18rem;
		padding: 0.5rem 1rem;
		border: 1px solid var(--line);
		border-radius: var(--radius);
	}
}

/* ------------------------------------------------------------------ */
/* Home: hero                                                         */
/* ------------------------------------------------------------------ */

.hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: min(88svh, 52rem);
	min-height: min(88vh, 52rem);
	overflow: hidden;
	background: var(--green-deep);
	color: var(--white);
	isolation: isolate;
}
.hero-media, .hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Sfumatura misurata sul contrasto del testo bianco sopra le lettere luminose dell'insegna (min. 3:1 titolo, 4,5:1 testo) */
	background:
		linear-gradient(180deg, rgba(16, 28, 20, 0.3) 0%, rgba(16, 28, 20, 0.65) 35%, rgba(16, 28, 20, 0.92) 100%),
		linear-gradient(90deg, rgba(16, 28, 20, 0.8), rgba(16, 28, 20, 0) 95%);
}
.hero-inner { padding-block: clamp(3rem, 8vw, 6rem); }
.hero .eyebrow { color: #cfe6c9; }
.hero h1 { max-width: 20ch; color: var(--white); text-wrap: balance; }
.hero p.lead { max-width: 38rem; margin-top: 1.25rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: rgba(255, 255, 255, 0.92); }
.hero .button.style2 { color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.hero .button.style2:hover { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.hero .button:not(.style2) { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.hero .button:not(.style2):hover { background: var(--sage); border-color: var(--sage); }

@media (max-width: 640px) {
	.hero .cta-row .button { flex: 1 1 calc(50% - 0.4rem); padding-inline: 1rem; }
	.hero .cta-row .button:first-child { flex-basis: 100%; }
}

/* Banner stagionale (es. Natale): temporaneo, si nasconde da solo dopo data-until */
.season-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem 1.5rem;
	max-width: 44rem;
	margin-bottom: 1.75rem;
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	background: #9b1c2e; /* bianco su rosso: 8:1 */
	color: var(--white);
	box-shadow: var(--shadow);
}
.season-banner[hidden] { display: none; }
.season-banner-text { flex: 1 1 16rem; margin: 0; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.95); }
.season-banner-text strong { display: block; font-size: 1.05rem; color: var(--white); }
.hero .season-banner .button:not(.style2):hover { background: #fbe9ec; border-color: #fbe9ec; }
.season-banner-countdown {
	flex: 1 1 100%;
	margin: 0;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.95);
}
.season-banner-countdown strong { color: var(--white); }
@media (max-width: 640px) {
	.season-banner .button { flex: 1 1 100%; }
}

/* Contatore alla rovescia (pagina Natale): si nasconde da solo dopo la data */
.countdown {
	display: flex;
	align-items: center;
	gap: 1rem;
	border-color: #e6b8c0;
	background: #fdf3f4;
}
.countdown[hidden], .season-banner-countdown[hidden] { display: none; }
.countdown-santa { flex: none; font-size: 2.5rem; line-height: 1; }
.countdown-text { margin: 0; line-height: 1.45; }
.countdown-text strong { display: block; font-size: 1.2rem; color: #9b1c2e; }

/* Fascia con i numeri/punti di forza */
.trust {
	background: var(--cream);
	border-bottom: 1px solid var(--line);
}
.trust ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1rem 2rem;
	padding-block: 1.5rem;
}
.trust li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; font-weight: 500; line-height: 1.35; }
.trust li i { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--sage); color: var(--green); }

/* ------------------------------------------------------------------ */
/* Home: sezioni con foto + testo                                      */
/* ------------------------------------------------------------------ */

.split { padding-block: var(--section-y); background: var(--white); }
.split.alt { background: var(--cream); }
.split-inner {
	display: grid;
	gap: clamp(1.75rem, 5vw, 4.5rem);
	align-items: center;
}
.split-media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.split-text h2 { margin-bottom: 1.25rem; }
.split-text p { color: var(--ink-soft); }
@media (min-width: 860px) {
	.split-inner { grid-template-columns: 1fr 1fr; }
	.split.reverse .split-media { order: 2; }
}

/* ------------------------------------------------------------------ */
.rating-note { margin: 0 0 1.25rem; line-height: 1.5; }
.rating-note small { color: var(--ink-soft); font-size: 0.8rem; }
.stars { margin-bottom: 0.5rem; font-size: 1.5rem; letter-spacing: 0.15em; color: var(--gold); }

/* Schede categorie / brand                                            */
/* ------------------------------------------------------------------ */

.category-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	padding: clamp(1.4rem, 3vw, 2rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); color: var(--ink); }
.category-card i {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1.1rem;
	border-radius: 14px;
	background: var(--sage);
	color: var(--green);
	font-size: 1.35rem;
}
.category-card h3 { margin-bottom: 0.5rem; }
.category-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.category-card .category-card-link { margin-top: auto; padding-top: 1.1rem; font-size: 0.92rem; font-weight: 600; color: var(--green); }
.category-card:hover .category-card-link { color: var(--green-dark); }

.contact-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 1.5rem 1rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	text-align: center;
	text-decoration: none;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.contact-action:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
.contact-action-icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 0.9rem;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	font-size: 1.4rem;
	transition: background-color 0.2s;
}
.contact-action:hover .contact-action-icon { background: var(--green-dark); }
.contact-action-label { font-weight: 600; font-size: 0.98rem; line-height: 1.35; color: var(--ink); }
.contact-action-caption { display: block; margin-top: 0.35rem; font-size: 0.82rem; font-weight: 400; line-height: 1.45; color: var(--ink-soft); }
.contact-action-badge {
	display: inline-block;
	margin-top: 0.6rem;
	padding: 0.2em 0.75em;
	border-radius: 999px;
	background: var(--gold);
	color: var(--ink);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Passi "Come lavoriamo" */
.steps-list { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
.step-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-number {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	font-weight: 700;
}
.step-content h3 { margin-bottom: 0.2rem; }
.step-content p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; }

/* Brand */
.brand-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: box-shadow 0.25s, border-color 0.25s;
}
.brand-card:hover { box-shadow: var(--shadow); border-color: var(--green); }
.brand-card-link { color: inherit; text-decoration: none; display: block; }
.brand-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.brand-card-media a, .brand-card-media picture { display: block; height: 100%; }
.brand-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.brand-card:hover .brand-card-media img { transform: scale(1.04); }
.brand-card-placeholder { height: 100%; display: grid; place-items: center; color: var(--green); font-size: 2.5rem; }
.brand-card h3 { padding: 1.1rem 1.25rem 0; }
.brand-card-blurb { padding: 0.4rem 1.25rem 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.brand-card-details { margin: 0.75rem 1.25rem 1.25rem; }
.brand-card-details summary {
	cursor: pointer;
	list-style: none;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--green);
}
.brand-card-details summary::-webkit-details-marker { display: none; }
.brand-card-details summary::after { content: ' +'; }
.brand-card-details[open] summary::after { content: ' \2212'; }
.brand-card-details p { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.65; color: var(--ink-soft); }
.badge-coming-soon {
	display: inline-block;
	margin: 0.5rem 1.25rem 0;
	padding: 0.2em 0.8em;
	border-radius: 999px;
	background: var(--gold);
	color: var(--ink);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--green); }
.faq-item summary {
	position: relative;
	padding: 1.1rem 3.5rem 1.1rem 1.4rem;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+';
	position: absolute;
	top: 50%;
	right: 1.1rem;
	display: grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	margin-top: -0.95rem;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }
.faq-item .faq-answer p { font-size: 0.97rem; line-height: 1.7; }

/* Mappa del sito e testi legali */
.sitemap-list h2 { margin: 2rem 0 0.75rem; font-size: 1.3rem; }
.sitemap-list h2:first-child { margin-top: 0; }
.sitemap-list ul li { border-bottom: 1px solid var(--line); }
.sitemap-list ul li a { display: block; padding: 0.6rem 0; color: var(--ink); text-decoration: none; }
.sitemap-list ul li a:hover { color: var(--green); }
.legal-text h2 { margin: 2rem 0 0.6rem; font-size: 1.35rem; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p, .legal-text li { font-size: 0.97rem; line-height: 1.7; }
.legal-text ul { margin: 0.75rem 0 0.75rem 1.25rem; list-style: disc; }
.legal-text ul ul { list-style: circle; }
.legal-text li + li { margin-top: 0.3rem; }

/* Citazione */
.quote-elegant {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
	line-height: 1.45;
	text-align: center;
	color: var(--ink);
}
.quote-author { display: block; margin-top: 1rem; font-family: var(--font); font-style: normal; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
#citazione .box { background: transparent; border: 0; box-shadow: none; }

/* Navigazione brand (vetrina) e intestazioni di sezione galleria */
.brand-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.brand-nav a {
	padding: 0.4rem 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
}
.brand-nav a:hover { border-color: var(--green); color: var(--green-dark); background: var(--sage-soft); }
.brand-nav a.allestimenti-link { border-color: var(--green); color: var(--green-dark); background: var(--sage); }

.gallery-section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1.5rem;
	margin-bottom: 1.5rem !important;
	text-align: left !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.gallery-section-header h2 { margin-right: auto; font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); }
.gallery-section-header .back-to-nav { font-size: 0.88rem; font-weight: 500; text-decoration: none; }
.gallery-section-header .brand-page-link {
	padding: 0.4rem 1.1rem;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}
.gallery-section-header .brand-page-link:hover { background: var(--green-dark); color: var(--white); }
.gallery-section-header p { flex-basis: 100%; margin: 0; max-width: none !important; }

/* Schede social */
.social-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.social-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	padding: 0.65em 1.5em;
	border: 2px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-weight: 600;
	transition: all 0.2s;
}
.social-tab:hover { border-color: var(--green); color: var(--green-dark); }
.social-tab.is-active { background: var(--green); border-color: var(--green); color: var(--white); }

/* Foto segnaposto, video */
.mobile-photo { display: block; width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 1.5rem; }

/* ------------------------------------------------------------------ */
/* Gallerie fotografiche                                               */
/* ------------------------------------------------------------------ */

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: clamp(0.6rem, 1.5vw, 1rem);
}
.gallery .row { display: contents; }
.gallery .row > * { grid-column: auto; }
.gallery a.image {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--sage);
	aspect-ratio: 4 / 5;
	box-shadow: var(--shadow-sm);
}
.gallery a.image::after {
	content: '';
	background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath fill=%22#2d5a28%22 d=%22M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z%22/%3E%3C/svg%3E") center / 1rem no-repeat;
	position: absolute;
	right: 0.7rem;
	bottom: 0.7rem;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.2s, transform 0.2s;
}
.gallery a.image:hover::after, .gallery a.image:focus-visible::after { opacity: 1; transform: none; }
.gallery a.image picture, .gallery a.image img { display: block; width: 100%; height: 100%; }
.gallery a.image img { object-fit: cover; transition: transform 0.5s; }
.gallery a.image:hover img { transform: scale(1.05); }

/* Vetrina: segnaposto mentre le foto si caricano */
.page-vetrina .gallery a.image::before {
	content: 'Caricamento foto\2026';
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	text-align: center;
	font-size: 0.8rem;
	color: #6c7a70;
	animation: gallery-ph-pulse 1.8s ease-in-out infinite;
}
.page-vetrina .gallery a.image img { position: relative; z-index: 1; }
@keyframes gallery-ph-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.85; } }

/* Biglietto da visita nel piede pagina */
.footer-bcard { padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 0; background: var(--ink); }
.footer-bcard .gallery { display: block; max-width: 34rem; margin: 0 auto; }
.footer-bcard a.image { aspect-ratio: auto; background: transparent; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.footer-bcard a.image::after { display: none; }
.footer-bcard img { height: auto !important; }

/* ------------------------------------------------------------------ */
/* Lightbox                                                           */
/* ------------------------------------------------------------------ */

.lightbox {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--white);
	overflow: hidden;
}
.lightbox::backdrop { background: rgba(14, 22, 17, 0.92); }
.lightbox-figure { position: absolute; inset: 0; display: grid; place-items: center; padding: 3.5rem 1rem 4rem; }
.lightbox-figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 1rem; padding: 0 4rem; text-align: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: var(--white);
	font-size: 1.5rem;
	line-height: 1;
	transition: background-color 0.2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-close { top: 0.75rem; right: 0.75rem; }
.lightbox-prev { left: 0.75rem; top: 50%; margin-top: -1.5rem; }
.lightbox-next { right: 0.75rem; top: 50%; margin-top: -1.5rem; }
@media (max-width: 600px) {
	.lightbox-prev, .lightbox-next { top: auto; bottom: 0.75rem; margin: 0; }
	.lightbox-caption { padding: 0 4rem; bottom: 1.25rem; }
}

/* ------------------------------------------------------------------ */
/* Piede pagina                                                       */
/* ------------------------------------------------------------------ */

.back-to-top-wrap { padding: 1.5rem var(--gutter); text-align: center; background: var(--white); border-top: 1px solid var(--line); }
.back-to-top { font-weight: 600; text-decoration: none; }

#footer { padding: 2.5rem var(--gutter) 2rem; background: var(--ink); color: rgba(255, 255, 255, 0.75); text-align: center; }
#footer .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
#footer .actions a {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	font-size: 1.3rem;
	text-decoration: none;
	transition: background-color 0.2s, transform 0.2s;
}
#footer .actions a:hover { background: var(--green); transform: translateY(-2px); }
#footer .menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 1rem; line-height: 1.75; }
#footer .menu a { color: rgba(255, 255, 255, 0.85); }
#footer .menu a:hover { color: var(--white); }

.label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.footer-legal {
	padding: 1.5rem var(--gutter) 2rem;
	background: #151d18;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.875rem;
	line-height: 1.8;
	text-align: center;
}
.footer-legal a, .footer-legal .link-button { color: rgba(255, 255, 255, 0.85); }
.footer-legal a:hover, .footer-legal .link-button:hover { color: var(--white); }
.footer-legal .footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 0.25rem; margin-top: 0.25rem; }
/* Bersagli toccabili di almeno 44 px e ben distanziati (requisito mobile di Lighthouse) */
.footer-legal a, .footer-legal .link-button, #footer .menu a, .back-to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 0 0.75rem;
}
#footer .menu { gap: 0 0.5rem; }
#footer .menu li { display: flex; align-items: center; min-height: 44px; }
.link-button { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ------------------------------------------------------------------ */
/* Animazioni all'ingresso (solo se JS le attiva)                      */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
	.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
	.reveal.is-in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* Mobile                                                             */
/* ------------------------------------------------------------------ */

@media (max-width: 640px) {
	body { font-size: 1rem; line-height: 1.7; }
	.footer-legal { padding-bottom: 6rem; }
	.hero { min-height: 80svh; min-height: 80vh; }
	.cta-row .button { flex: 1 1 100%; }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery-section-header h2 { flex-basis: 100%; }
}

/* ------------------------------------------------------------------ */
/* Componenti invariati: cookie, segnaposto mappa, video, WhatsApp    */
/* ------------------------------------------------------------------ */

/*********************************************************************************/

/* Cookie consent                                                                */

/*********************************************************************************/

	.consent-banner {

		position: fixed;

		left: 1em;

		right: 1em;

		bottom: 1em;

		max-width: 46em;

		margin: 0 auto;

		z-index: 10100;

		background: #fff;

		color: #39454b;

		border-radius: 0.6em;

		box-shadow: 0 0.4em 2em rgba(0,0,0,0.3);

		font-size: 0.85em;

		line-height: 1.5;

		text-align: left;

		max-height: calc(100% - 2em);

		overflow-y: auto;

	}

	.consent-banner[hidden] {

		display: none;

	}

		.consent-inner {

			padding: 1.25em 1.5em;

		}

		.consent-banner h2 {

			margin: 0 0 0.4em 0;

			font-size: 1.15em;

			letter-spacing: 0;

			word-spacing: normal;

			text-align: left;

		}

		.consent-banner p {

			margin: 0 0 1em 0;

		}

		.consent-banner a {

			color: #2d5a28;

		}

		.consent-prefs {

			margin: 0 0 1em 0;

			border-top: solid 1px #e5e6e7;

		}

		.consent-prefs[hidden] {

			display: none;

		}

		.consent-option {

			display: -moz-flex;

			display: -webkit-flex;

			display: flex;

			gap: 0.75em;

			padding: 0.7em 0;

			border-bottom: solid 1px #e5e6e7;

			cursor: pointer;

		}

		.consent-option input {

			margin-top: 0.3em;

			-moz-flex-shrink: 0;

			-webkit-flex-shrink: 0;

			flex-shrink: 0;

		}

		.consent-option strong {

			display: block;

		}

		.consent-actions {

			display: -moz-flex;

			display: -webkit-flex;

			display: flex;

			flex-wrap: wrap;

			gap: 0.6em;

		}

		.consent-actions [hidden] {

			display: none;

		}

		.consent-btn {

			-moz-flex: 1 1 auto;

			-webkit-flex: 1 1 auto;

			flex: 1 1 auto;

			min-width: 8em;

			padding: 0.75em 1.25em;

			background: #fff;

			border: solid 2px #98c593;

			border-radius: 3em;

			color: #39454b;

			font: inherit;

			font-weight: 600;

			cursor: pointer;

			-moz-appearance: none;

			-webkit-appearance: none;

			appearance: none;

		}

		.consent-btn:hover {

			background: #eef5ed;

		}

		.consent-btn-primary {

			background: #98c593;

			color: #1f2d24;

		}

		.consent-btn-primary:hover {

			background: #88b583;

		}

	.consent-placeholder {

		display: -moz-flex;

		display: -webkit-flex;

		display: flex;

		-moz-flex-direction: column;

		-webkit-flex-direction: column;

		flex-direction: column;

		-moz-align-items: center;

		-webkit-align-items: center;

		align-items: center;

		-moz-justify-content: center;

		-webkit-justify-content: center;

		justify-content: center;

		gap: 0.75em;

		padding: 1.5em;

		background: #f5f6f7;

		border: dashed 2px #ddd;

		border-radius: 0.35em;

		color: #666;

		font-size: 0.9em;

		text-align: center;

	}

		.consent-placeholder p {

			margin: 0;

		}

		.consent-placeholder .consent-btn {

			-moz-flex: 0 0 auto;

			-webkit-flex: 0 0 auto;

			flex: 0 0 auto;

		}

	.legal-text,

	.legal-text h2,

	.legal-text p {

		text-align: left;

	}

		.legal-text h2 {

			margin: 1.5em 0 0.4em 0;

			font-size: 1.25em;

			letter-spacing: 0;

			word-spacing: normal;

		}

		.legal-text h2:first-child {

			margin-top: 0;

		}

		.legal-text ul {

			margin: 0 0 1em 1.25em;

			padding: 0;

			text-align: left;

			list-style: disc outside;

		}

		.legal-text ul ul {

			margin: 0.6em 0 0 0.5em;

			list-style: circle outside;

		}

		.legal-text li {

			margin-bottom: 0.6em;

		}

		.video-embed .consent-placeholder {

			padding: 0.5em;

			gap: 0.4em;

			font-size: 0.8em;

			overflow: auto;

			position: absolute;

			top: 0;

			left: 0;

			width: 100%;

			height: 100%;

			-moz-box-sizing: border-box;

			-webkit-box-sizing: border-box;

			box-sizing: border-box;

		}

	html.consent-thirdparty .consent-placeholder {

		display: none;

	}

	html:not(.consent-thirdparty) .consent-gated,

	html:not(.consent-thirdparty) blockquote.instagram-media,

	html:not(.consent-thirdparty) .fb-page {

		display: none;

	}



/*********************************************************************************/

/* Photo placeholder                                                             */

/*********************************************************************************/

	.photo-placeholder {

		display: -moz-flex;

		display: -webkit-flex;

		display: flex;

		-moz-flex-direction: column;

		-webkit-flex-direction: column;

		flex-direction: column;

		-moz-align-items: center;

		-webkit-align-items: center;

		align-items: center;

		-moz-justify-content: center;

		-webkit-justify-content: center;

		justify-content: center;

		gap: 0.5em;

		width: 100%;

		aspect-ratio: 4 / 5;

		background: #f5f5f5;

		border: dashed 2px #ddd;

		border-radius: 0.35em;

		color: #999;

		font-size: 0.9em;

		text-align: center;

		text-decoration: none;

		padding: 1em;

		-moz-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;

		-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;

		transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;

	}

		.photo-placeholder i {

			font-size: 2em;

			color: #3f7a3b;

		}

		.photo-placeholder:hover {

			background: #eef5ed;

			border-color: #3f7a3b;

		}



/*********************************************************************************/

/* Video embed                                                                   */

/*********************************************************************************/

	.video-embed {

		position: relative;

		width: 100%;

		height: 0;

		padding-bottom: 56.25%;

		overflow: hidden;

		border-radius: 0.5em;

		box-shadow: 0 0.25em 1em rgba(0,0,0,0.15);

	}

		.video-embed iframe {

			position: absolute;

			top: 0;

			left: 0;

			width: 100%;

			height: 100%;

			border: 0;

		}



/*********************************************************************************/

/* WhatsApp floating button                                                      */

/*********************************************************************************/

	.whatsapp-float {

		display: -moz-flex;

		display: -webkit-flex;

		display: flex;

		-moz-align-items: center;

		-webkit-align-items: center;

		align-items: center;

		-moz-justify-content: center;

		-webkit-justify-content: center;

		justify-content: center;

		position: fixed;

		right: 1.5em;

		bottom: 1.5em;

		width: 3.5em;

		height: 3.5em;

		border-radius: 50%;

		background: #0b7d3f;

		color: #fff;

		font-size: 1.5em;

		box-shadow: 0 0.35em 1em rgba(0,0,0,0.25);

		opacity: 0;

		visibility: hidden;

		-moz-transform: translateY(1em);

		-webkit-transform: translateY(1em);

		transform: translateY(1em);

		-moz-transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, visibility 0.25s;

		-webkit-transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, visibility 0.25s;

		transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, visibility 0.25s;

		z-index: 10000;

	}

		.whatsapp-float:hover {

			background: #086a35;

		}

		.whatsapp-float.is-visible {

			opacity: 1;

			visibility: visible;

			-moz-transform: translateY(0);

			-webkit-transform: translateY(0);

			transform: translateY(0);

		}

		.whatsapp-float.is-pulsing {

			-moz-animation: whatsapp-pulse 1.5s ease-out 3;

			-webkit-animation: whatsapp-pulse 1.5s ease-out 3;

			animation: whatsapp-pulse 1.5s ease-out 3;

		}

		@-webkit-keyframes whatsapp-pulse {

			0% { box-shadow: 0 0.35em 1em rgba(0,0,0,0.25), 0 0 0 0 rgba(11,125,63,0.6); }

			100% { box-shadow: 0 0.35em 1em rgba(0,0,0,0.25), 0 0 0 1.2em rgba(11,125,63,0); }

		}

		@keyframes whatsapp-pulse {

			0% { box-shadow: 0 0.35em 1em rgba(0,0,0,0.25), 0 0 0 0 rgba(11,125,63,0.6); }

			100% { box-shadow: 0 0.35em 1em rgba(0,0,0,0.25), 0 0 0 1.2em rgba(11,125,63,0); }

		}

/* Banner cookie: "Accetta" e "Rifiuta" con la stessa evidenza, bordo con contrasto sufficiente */
.consent-banner .consent-btn,
.consent-banner .consent-btn-primary {
	background: #fff;
	color: #1f2d24;
	border: solid 2px #3f7a3b;
}
.consent-banner .consent-btn:hover,
.consent-banner .consent-btn-primary:hover { background: #eaf1e6; }

/* ------------------------------------------------------------------ */
/* Galleria delle sale di Natale: una scheda per sala, le foto si aprono nel lightbox */
/* ------------------------------------------------------------------ */

.sale-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.25rem);
}
@media (max-width: 640px) { .sale-cards { grid-template-columns: 1fr; } }
.sala-gallery { display: block; }
.sala-gallery a.image.sala-cover {
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
}
.sala-gallery a.image.sala-cover img { width: 100%; height: 100%; object-fit: cover; }
.sala-label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 0.75rem;
	padding: 3rem 1.1rem 1rem;
	background: linear-gradient(0deg, rgba(16, 28, 20, 0.85), rgba(16, 28, 20, 0));
	color: var(--white);
	text-align: left;
}
.sala-label strong { font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.sala-label small {
	flex: none;
	padding: 0.2em 0.8em;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	font-size: 0.8rem;
	font-weight: 600;
}

/* Timbro "Santa Claus Approved" sopra il titolo della galleria: compare insieme alla galleria */
.sale-stamp {
	display: block;
	width: clamp(6rem, 22vw, 8.5rem);
	margin: 0 auto 1rem;
	transform: rotate(-8deg);
	mix-blend-mode: multiply;
	pointer-events: none;
}
.sale-stamp img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
	/* parte quando la sezione passa da nascosta a visibile */
	.sale-stamp { animation: stamp-in 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.25s both; }
}
@keyframes stamp-in {
	0% { opacity: 0; transform: scale(1.7) rotate(-16deg); }
	60% { opacity: 1; transform: scale(0.94) rotate(-6deg); }
	100% { opacity: 1; transform: scale(1) rotate(-8deg); }
}

/* Contatore "vivo" giorni : ore : minuti : secondi (pagina Natale) */
.cd-live {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: clamp(0.25rem, 1.5vw, 0.6rem);
	margin: 0.4rem 0 0.2rem;
}
.cd-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: clamp(3.4rem, 15vw, 4.6rem);
	padding: 0.55rem 0.3rem 0.4rem;
	border-radius: var(--radius);
	background: var(--white);
	border: 1px solid #e6b8c0;
}
.cd-unit b {
	font-size: clamp(1.6rem, 7vw, 2.3rem);
	line-height: 1.1;
	color: #9b1c2e;
	font-variant-numeric: tabular-nums;
}
.cd-unit small { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted, #5a6b5f); }
.cd-sep { padding-top: 0.55rem; font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 700; color: #9b1c2e; line-height: 1.1; }
[data-cd-clock][hidden], [data-cd-done][hidden] { display: none; }
