/* ==========================================================================
   EquiPoower – sistema grafico
   Colori campionati dalla brochure (Stampa_Brochure_IT.pdf): verde scuderia,
   crema, sabbia e oro. Titoli in Noto Serif Display, testi in Noto Sans.
   ========================================================================== */

@font-face { font-family: "EP Serif"; src: url("../fonts/noto-serif-display-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EP Serif"; src: url("../fonts/noto-serif-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EP Serif"; src: url("../fonts/noto-serif-display-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EP Serif"; src: url("../fonts/noto-serif-display-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EP Sans"; src: url("../fonts/noto-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EP Sans"; src: url("../fonts/noto-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EP Sans"; src: url("../fonts/noto-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EP Sans"; src: url("../fonts/noto-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EP Sans"; src: url("../fonts/noto-sans-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EP Sans"; src: url("../fonts/noto-sans-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--deep: #07241d;        /* verde brochure: header, footer, sezioni scure */
	--deeper: #051c16;
	--green: #0b3226;       /* verde brochure secondario (#093024) */
	--green-line: #1d4a3b;
	--leaf: #148448;        /* verde secondario: piccoli dettagli */
	--cream: #ffffff;       /* fondo chiaro: bianco */
	--sand: #eef3ef;        /* secondo fondo chiaro: bianco verde */
	--gold: #fab20b;        /* oro brochure: pulsanti, linee */
	--gold-hover: #ffc53d;
	--ink: #07241d;
	--ink-soft: #3c5148;    /* testo secondario su crema: 7.6:1 */
	--cream-soft: #c9d4cb;  /* testo secondario su verde: 9:1 */
	--red: #c8102e;

	--serif: "EP Serif", "Noto Serif Display", Georgia, "Times New Roman", serif;
	--sans: "EP Sans", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 82.5rem;
	--gutter: clamp(1.25rem, 5vw, 4.5rem);
	--space-section: clamp(5rem, 10vw, 9.5rem);
	--radius: 3px;
	--r-sm: 10px;      /* campi, etichette */
	--r-md: 16px;      /* foto e schede */
	--r-pill: 999px;   /* pulsanti */
	--header-h: 5.25rem;
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--shadow: 0 1.25rem 3rem -1.25rem rgba(5, 28, 22, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--gold); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.section--cream :focus-visible, .section--sand :focus-visible { outline-color: var(--deep); }
html { scrollbar-color: var(--green-line) var(--deeper); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--deeper); }
::-webkit-scrollbar-thumb { background: var(--green-line); border: 3px solid var(--deeper); border-radius: 8px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .75rem 1rem; background: var(--gold); color: var(--deep); font-weight: 600; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

main { overflow-x: clip; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--cream { background: var(--cream); color: var(--ink); }
.section--sand { background: var(--sand); color: var(--ink); }
.section--green { background: var(--green); color: var(--cream); }
.section--deep { background: var(--deep); color: var(--cream); }

/* ---------- Tipografia ---------- */
.display { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; }
.display--xl { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
.display--lg { font-size: clamp(2.2rem, 4.3vw, 3.75rem); }
.display--md { font-size: clamp(1.6rem, 2.5vw, 2.15rem); line-height: 1.12; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.55; }
.small { font-size: .8125rem; line-height: 1.5; }
.muted { color: var(--cream-soft); }
p { max-width: 66ch; text-wrap: pretty; }
.rule { display: none; }
.display + p, .display + .lead, .hero__title + .hero__text { margin-top: clamp(1.25rem, 2.2vw, 1.9rem); }
.thanks__title + .lead { margin-top: 1.75rem; }

/* ---------- Pulsanti e link ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .65rem; min-height: 3.4rem; padding: 1rem 1.5rem 1rem 1.75rem; border: 0; border-radius: var(--r-pill); background: var(--gold); color: var(--deep); font: 600 1rem/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden; transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-hover); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.btn .icon { width: 1.15rem; height: 1.15rem; transition: transform .45s var(--ease-out); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover .icon--arrow { transform: translateX(.3rem); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.section--cream .btn:focus-visible, .section--sand .btn:focus-visible { outline-color: var(--deep); }
.btn--small { min-height: 2.75rem; padding: .7rem 1.2rem; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.btn--ghost::before { background: rgba(255, 255, 255, .12); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--cream); }

.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: .15rem; transition: background-size .5s var(--ease-out); }
.link-arrow .icon { width: 1.05rem; height: 1.05rem; color: var(--gold); transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .icon { transform: translateX(.25rem); }
.link-arrow--light { color: var(--cream); }
.section--cream .link-arrow .icon { color: var(--leaf); }

.round-btn { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 1px solid currentColor; border-radius: 50%; background: none; cursor: pointer; transition: background .3s, color .3s; }
.round-btn:hover { background: var(--deep); color: var(--cream); }

/* ---------- Testata ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--cream); transition: background .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.site-header:not(.site-header--over), .site-header.is-scrolled { background: var(--deep); box-shadow: 0 1px 0 rgba(250, 178, 11, .18); }
.site-header__inner { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); height: var(--header-h); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.site-header__brand { flex: none; display: block; width: clamp(12rem, 16vw, 14.5rem); }
.site-header__brand .logo { width: 100%; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav__list a { position: relative; display: block; padding-block: .5rem; font-size: .92rem; font-weight: 500; text-decoration: none; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__list a:hover::after, .nav__list .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.nav__contact { display: none; }
.lang { display: flex; gap: .25rem; margin-left: 1.25rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.lang a { display: block; padding: .35rem .45rem; text-decoration: none; opacity: .65; }
.lang a[aria-current] { opacity: 1; box-shadow: inset 0 -2px 0 var(--gold); }
.nav-toggle { display: none; place-items: center; width: 3rem; height: 3rem; margin-right: -.6rem; border: 0; background: none; cursor: pointer; }
.nav-toggle .icon { width: 1.6rem; height: 1.6rem; }
.nav-toggle__close { display: none; }

@media (max-width: 67.49em) {
	.nav-toggle { display: grid; }
	.site-header__cta { margin-left: auto; }
	.site-header__inner { gap: .75rem; }
	.nav { position: fixed; inset: var(--header-h) 0 0; display: flex; flex-direction: column; margin: 0; padding: 2rem var(--gutter) 2.5rem; background: var(--deep); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-.75rem); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
	.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding-block: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .12); font: 600 clamp(1.5rem, 5.5vw, 2rem)/1.15 var(--sans); letter-spacing: -.02em; }
	.nav__list a::after { display: none; }
	.lang { margin: 1.5rem 0 0; }
	.nav__contact { display: grid; gap: .75rem; margin-top: auto; padding-top: 2rem; }
	.nav__contact a { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--cream-soft); }
	.nav__contact .icon { width: 1.15rem; color: var(--gold); }
	.is-nav-open { overflow: hidden; }
	.is-nav-open .site-header { background: var(--deep); }
	.is-nav-open .nav-toggle__open { display: none; }
	.is-nav-open .nav-toggle__close { display: block; }
}
@media (max-width: 30em) {
	.site-header__cta { display: none; }
	.lang-switch { margin-left: auto; }
}
.nav__cta { display: none; }
@media (max-width: 67.49em) { .nav__cta { display: inline-flex; align-self: flex-start; margin-top: 2rem; } }

/* ---------- 01 Apertura ---------- */
.hero { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 100vh; min-height: 100svh; padding-top: var(--header-h); overflow: hidden; background: var(--deep); color: var(--cream); }
.hero__media { position: absolute; inset: 0 0 0 30%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.hero__shade { position: absolute; inset: 0; background:
	linear-gradient(90deg, var(--deep) 0%, var(--deep) 30%, rgba(7, 36, 29, .9) 40%, rgba(7, 36, 29, .35) 62%, rgba(7, 36, 29, 0) 80%),
	linear-gradient(0deg, rgba(7, 36, 29, .85) 0%, rgba(7, 36, 29, 0) 28%); }
.hero__content { position: relative; align-self: center; padding-block: clamp(2.5rem, 7vh, 5rem) 2rem; }
.hero__title { max-width: 11.5em; font-size: clamp(2.9rem, 6.6vw, 6rem); line-height: 1; letter-spacing: -.025em; color: #fff; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; }
.hero__text { max-width: 34rem; font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--cream-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; }
.hero__foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.hero__note { display: flex; align-items: center; gap: .9rem; font-size: .95rem; font-weight: 500; color: var(--cream-soft); }
.tricolore { flex: none; width: 3.25rem; height: 3px; background: linear-gradient(90deg, var(--leaf) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.hero__scroll { position: absolute; left: 50%; bottom: clamp(1.5rem, 4vh, 2.5rem); margin-left: -.875rem; display: block; width: 1.75rem; height: 3rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 1rem; }
.hero__scroll span { position: absolute; left: 50%; top: .55rem; width: 3px; height: .6rem; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollcue 2.2s var(--ease-out) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80%, 100% { transform: translateY(1.2rem); opacity: 0; } }

@media (min-width: 48em) and (max-width: 79.99em) {
	.hero__media { inset: 0 0 0 40%; }
	.hero__media img { object-position: 72% 55%; }
	.hero__shade { background:
		linear-gradient(90deg, var(--deep) 0%, var(--deep) 42%, rgba(7, 36, 29, .78) 52%, rgba(7, 36, 29, .25) 72%, rgba(7, 36, 29, 0) 88%),
		linear-gradient(0deg, rgba(7, 36, 29, .85) 0%, rgba(7, 36, 29, 0) 28%); }
	.hero__title { font-size: clamp(2.9rem, 6vw, 4.5rem); }
	.hero__text { max-width: 26rem; }
}
@media (max-width: 47.99em) {
	.hero__media img { -webkit-mask-image: none; mask-image: none; }
	.hero { grid-template-rows: auto auto; }
	.hero__media { inset: var(--header-h) 0 auto; height: 52svh; }
	.hero__media img { object-position: 64% 60%; }
	.hero__shade { background: linear-gradient(180deg, rgba(7, 36, 29, .2) 0, rgba(7, 36, 29, 0) calc(var(--header-h) + 20svh), var(--deep) calc(var(--header-h) + 52svh)); }
	.hero__content { align-self: end; padding-top: calc(36svh); }
	.hero__scroll { display: none; }
}

/* ---------- 02 La cura del box ---------- */
.cura__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cura__copy .lead { margin-bottom: 1.25rem; color: var(--ink); }
.cura__copy p:not(.lead) { color: var(--ink-soft); }
.cura__media { position: relative; aspect-ratio: 6 / 5; overflow: hidden; border-radius: var(--r-md); }
.cura__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
@media (max-width: 55em) { .cura__grid { grid-template-columns: 1fr; } .cura__media { aspect-ratio: 4 / 3; } }

/* ---------- 03 Vantaggi ---------- */
.vantaggi { padding-top: 0; }
.adv { border-top: 1px solid rgba(7, 36, 29, .16); }
.adv__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1rem clamp(2rem, 5vw, 5rem); align-items: end; padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: 1px solid rgba(7, 36, 29, .16); }
.adv__line { font: 600 clamp(2.8rem, 7.4vw, 6rem)/.95 var(--serif); letter-spacing: -.035em; color: var(--deep); }
.adv__line .adv__pre { color: rgba(7, 36, 29, .32); transition: color .6s var(--ease-out); }
.adv__row:hover .adv__pre { color: rgba(7, 36, 29, .55); }
.adv__line .adv__word { display: inline-block; }
.adv__text { max-width: 28rem; padding-bottom: .6rem; font-size: 1.1rem; color: var(--ink-soft); }
.adv__foot { margin-top: clamp(1.5rem, 3vw, 2.25rem); font-size: 1.1rem; font-weight: 500; color: var(--ink); }
@media (max-width: 55em) {
	.adv__row { grid-template-columns: 1fr; }
	.adv__text { padding-bottom: 0; }
}

/* ---------- 04 Prima e dopo ---------- */
.differenza__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.differenza__text { color: var(--cream-soft); }
.compare { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--r-md); background: var(--deeper); user-select: none; touch-action: pan-y; }
.compare__layer { position: absolute; inset: 0; }
.compare__layer img { width: 100%; height: 100%; object-fit: cover; }
.compare__layer--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__placeholder { display: grid; place-items: end start; width: 100%; height: 100%; padding: 2rem; text-align: center; font-size: .9rem; font-weight: 600;  }
.compare__placeholder--before { background: #4a3523; color: #f1e5cc; }
.compare__placeholder--after { background: #d9b47a; color: var(--deep); }
.compare__placeholder--after { place-items: end end; text-align: right; }
.compare__placeholder span { max-width: min(16rem, 40%); font-size: clamp(.68rem, 1.4vw, .9rem); opacity: .85; }
.compare__tag { position: absolute; top: 1.25rem; padding: .45rem .8rem; border-radius: var(--r-pill); background: rgba(5, 28, 22, .78); color: var(--cream); font-size: .85rem; font-weight: 600; pointer-events: none; }
.compare__tag--before { left: 1.25rem; }
.compare__tag--after { right: 1.25rem; background: var(--gold); color: var(--deep); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: .1rem; width: 3.75rem; height: 3.75rem; margin: -1.875rem 0 0 -1.875rem; border-radius: 50%; background: var(--gold); color: var(--deep); box-shadow: 0 .5rem 1.5rem rgba(5, 28, 22, .4); transition: transform .4s var(--ease-out); }
.compare__handle .icon { width: 1rem; height: 1rem; stroke-width: 2; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:hover .compare__handle span, .compare.is-dragging .compare__handle span { transform: scale(1.08); }
.compare:has(.compare__range:focus-visible) .compare__handle span { outline: 2px solid var(--cream); outline-offset: 4px; }
.differenza__claim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.differenza__claim p:first-child { font: 500 clamp(1.15rem, 1.6vw, 1.35rem)/1.45 var(--sans); }
.differenza__claim sup { color: var(--gold); }
.differenza__claim .small { color: var(--cream-soft); align-self: end; }
@media (max-width: 55em) {
	.differenza__head, .differenza__claim { grid-template-columns: 1fr; }
	.compare { aspect-ratio: 4 / 3; }
}

/* ---------- 05 Come funziona: video a tutta larghezza ---------- */
.come--video { padding: 0; background: var(--deep); }
.come__frame { position: relative; height: clamp(24rem, 62vh, 38rem); overflow: hidden; background: var(--deep); color: #fff; }
.come__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.come__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 28, 22, .88) 0%, rgba(5, 28, 22, .62) 30%, rgba(5, 28, 22, .12) 58%, rgba(5, 28, 22, 0) 75%); }
.come__copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter); }
.come__eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .02em; }
.come__title { margin-top: .6rem; color: #fff; }
.come__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.come__title .line > span { display: inline-block; }
.come__text { max-width: 26rem; margin-top: 1.25rem; color: var(--cream-soft); }
@media (max-width: 40em) {
	.come__frame { height: clamp(26rem, 74vh, 34rem); }
	.come__video { object-position: 62% 50%; }
	.come__shade { background: linear-gradient(0deg, rgba(5, 28, 22, .92) 0%, rgba(5, 28, 22, .7) 38%, rgba(5, 28, 22, .1) 70%, rgba(5, 28, 22, 0) 85%); }
	.come__copy { justify-content: flex-end; padding-bottom: 2.25rem; }
}

/* ---------- 05 Come funziona ---------- */
.come__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.come__head .lead { color: var(--ink-soft); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4rem); counter-reset: step; }
.step-card { display: flex; flex-direction: column; }
.step-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--sand); }
.step-card__media video { width: 100%; height: 100%; object-fit: cover; }
.step-card__body { position: relative; padding: 1.5rem .25rem 0; }
.step-card__num { position: absolute; top: -1.4rem; left: 1.25rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--gold); color: var(--deep); font: 600 1.35rem/1 var(--serif); box-shadow: 0 0 0 5px var(--cream); }
.step-card__name { margin-top: 1rem; font: 600 clamp(1.25rem, 1.8vw, 1.45rem)/1.2 var(--sans); letter-spacing: -.01em; }
.step-card__text { margin-top: .6rem; color: var(--ink-soft); }

/* Illustrazioni */
.step-art { position: absolute; inset: 8% 6%; width: 88%; height: 84%; overflow: visible; }
.step-art path, .step-art rect, .step-art circle { vector-effect: non-scaling-stroke; }
.step-art .ln { fill: none; stroke: var(--deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.step-art .au { fill: none; stroke: #d99a00; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-art .au--fill { fill: var(--gold); stroke: #d99a00; }
.step-art .fl { fill: none; stroke: #c98a00; stroke-width: 2.4; stroke-linecap: round; }
.step-art .lm { fill: #4a3523; }
.step-art .lm-fill { fill: #4a3523; }
.step-art .vb { fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linecap: round; opacity: .7; }
.step-art .arrow--dash { stroke-dasharray: 5 6; }
@media (prefers-reduced-motion: no-preference) {
	.step-art .fl, .step-art .fl-group .lm { transform-box: fill-box; animation: flake 2.2s cubic-bezier(.45, 0, .7, 1) infinite; animation-delay: var(--d, 0s); }
	.step-art--2 .fl { animation-name: flake-long; }
	.step-art .fork { transform-box: view-box; transform-origin: 214px 14px; animation: fork 2.2s ease-in-out infinite; }
	.step-art .sieve { animation: shake .18s linear infinite; }
	.step-art .vb { animation: buzz 1s ease-in-out infinite; }
	.step-art--3 .arrow--dash { animation: dash 1.2s linear infinite; }
}
@keyframes flake { 0% { transform: translateY(-6px); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@keyframes flake-long { 0% { transform: translateY(-4px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
@keyframes fork { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-6deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.2px); } }
@keyframes buzz { 0%, 100% { opacity: .25; } 50% { opacity: .8; } }
@keyframes dash { to { stroke-dashoffset: -22; } }
@media (max-width: 55em) {
	.come__head { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; gap: 2.5rem; }
	.step-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.25rem; align-items: center; }
	.step-card__body { padding: 0; }
	.step-card__num { position: static; width: 2.4rem; height: 2.4rem; font-size: 1.15rem; box-shadow: none; }
	.step-card__name { margin-top: .6rem; }
}
@media (max-width: 30em) {
	.step-card { grid-template-columns: 1fr; }
	.step-card__body { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
	.step-card__name { margin: 0; }
	.step-card__text { grid-column: 1 / -1; }
}

/* ---------- 06 Video ---------- */
.video { background: var(--deep); }
.video__frame { position: relative; height: min(88vh, 52rem); min-height: 32rem; overflow: hidden; color: var(--cream); background: var(--deep); }
.video__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.video__shade { position: absolute; inset: 0; background: linear-gradient(15deg, rgba(5, 28, 22, .95) 0%, rgba(5, 28, 22, .78) 38%, rgba(5, 28, 22, .2) 68%, rgba(5, 28, 22, 0) 85%); }
.video__copy { position: absolute; left: 0; right: 0; bottom: 0; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter) clamp(2.5rem, 6vw, 4.5rem); }
.video__copy h2 { max-width: 15ch; color: #fff; }
.video__copy p { max-width: 36rem; margin-top: 1.25rem; color: var(--cream-soft); }
.video__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.video__actions .icon { width: 1.1rem; height: 1.1rem; }
[data-video-sound] .is-on, [data-video-sound][aria-pressed="true"] .is-off { display: none; }
[data-video-sound][aria-pressed="true"] .is-on { display: block; }

/* ---------- 07 Esplora 3D ---------- */
.esplora__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.esplora__head p { color: var(--ink-soft); }
.esplora__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.viewer { position: relative; height: clamp(24rem, 62vh, 40rem); border-radius: var(--r-md); overflow: hidden; background: radial-gradient(70% 70% at 50% 42%, #ffffff 0%, #f4f7f5 55%, #e2ebe5 100%); }
.viewer__model { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; background: transparent; opacity: 0; transition: opacity .8s var(--ease-out); }
.viewer__model:focus-visible { outline: 2px solid var(--deep); outline-offset: -4px; }
.viewer__poster { position: absolute; inset: 10% 8% 16%; width: 84%; height: 74%; object-fit: contain; filter: drop-shadow(0 2rem 1.75rem rgba(7, 36, 29, .22)); transition: opacity .6s var(--ease-out); pointer-events: none; }
.viewer.is-ready .viewer__model { opacity: 1; }
.viewer.is-ready .viewer__poster { opacity: 0; }
.viewer.is-static .viewer__bar { display: none; }
.viewer__loading { position: absolute; left: 50%; bottom: 1.25rem; width: 8rem; height: 3px; margin-left: -4rem; border-radius: 3px; background: rgba(7, 36, 29, .12); overflow: hidden; }
.viewer__loading span { display: block; width: 40%; height: 100%; background: var(--gold); animation: loadbar 1.2s ease-in-out infinite; }
.viewer.is-ready .viewer__loading { display: none; }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.viewer__bar { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; pointer-events: none; }
.viewer__hint { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); }
.viewer__hint .icon { width: 1.1rem; color: var(--leaf); }
.viewer__reset { pointer-events: auto; min-height: 2.5rem; padding: .5rem 1rem; border: 1px solid rgba(7, 36, 29, .25); border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .3s, border-color .3s; }
.viewer__reset:hover { background: #fff; border-color: var(--deep); }
.viewer:not(.is-ready) .viewer__reset { visibility: hidden; }

.hotspot { display: block; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; --min-hotspot-opacity: 0; transition: opacity .3s; }
.hotspot:not([data-visible]) { opacity: .25; }
.hotspot__dot { position: absolute; left: 50%; top: 50%; width: .95rem; height: .95rem; margin: -.475rem 0 0 -.475rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 .3rem rgba(250, 178, 11, .3), 0 0 0 1px var(--deep); transition: transform .4s var(--ease-out); }
.hotspot__dot::after { content: ""; position: absolute; inset: -.35rem; border-radius: 50%; border: 1px solid var(--gold); animation: ring 2.4s var(--ease-out) infinite; }
.hotspot__label { position: absolute; left: calc(50% + 1rem); top: 50%; transform: translateY(-50%); padding: .3rem .65rem; border-radius: var(--r-pill); background: var(--deep); color: var(--cream); font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out); }
.hotspot:hover .hotspot__dot, .hotspot.is-active .hotspot__dot { transform: scale(1.3); }
.hotspot:hover .hotspot__label, .hotspot.is-active .hotspot__label, .hotspot:focus-visible .hotspot__label { opacity: 1; }
.hotspot:focus-visible { outline: none; }
.hotspot:focus-visible .hotspot__dot { box-shadow: 0 0 0 3px var(--deep), 0 0 0 6px var(--gold); }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

.parts { border-top: 1px solid rgba(7, 36, 29, .18); }
.part { border-bottom: 1px solid rgba(7, 36, 29, .18); }
.part__name { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.15rem 0; border: 0; background: none; text-align: left; font: 600 clamp(1.05rem, 1.4vw, 1.2rem)/1.3 var(--sans); color: var(--ink); cursor: pointer; transition: color .3s; }
.part__name .icon { flex: none; width: 1.2rem; color: var(--leaf); transition: transform .45s var(--ease-out); }
.part__name:hover { color: var(--leaf); }
.part.is-open .part__name .icon { transform: rotate(45deg); }
.part__text { padding: 0 0 1.4rem; color: var(--ink-soft); }
.viewer__note { margin-top: 1.25rem; color: var(--ink-soft); }
@media (max-width: 61.99em) { .esplora__head, .esplora__grid { grid-template-columns: 1fr; } }
@media (max-width: 40em) {
	.viewer { height: 24rem; }
	.hotspot__label { display: none; }
	.viewer__hint { font-size: .8rem; }
}

/* ---------- 08 Tecnologia ---------- */
.tecnologia__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: start; }
.tecnologia__intro .lead { color: var(--ink-soft); }
.details { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem) 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.detail { margin: 0; }
.detail img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
.detail figcaption { margin-top: .7rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.detail--1 { grid-column: 1 / -1; }
.detail--1 img { aspect-ratio: 16 / 9; }
.detail--2 img, .detail--3 img { aspect-ratio: 4 / 3; }
.specs { position: sticky; top: calc(var(--header-h) + 2rem); border-top: 2px solid var(--deep); }
.specs__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(7, 36, 29, .16); }
.specs dt { display: flex; align-items: flex-start; gap: .7rem; font-size: .95rem; font-weight: 500; color: var(--ink-soft); padding-top: .1rem; }
.specs dt .icon { flex: none; width: 1.3rem; height: 1.3rem; margin-top: -.05rem; color: var(--leaf); }
.specs dd { font: 500 1.1rem/1.4 var(--sans); font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 55em) { .tecnologia__grid { grid-template-columns: 1fr; } .specs { position: static; } }

/* ---------- 09 Simulatore ---------- */
.risparmio__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.calc { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.calc__field { display: grid; gap: .5rem; margin: 0; padding: 0; border: 0; }
.calc__field label, .calc__field legend { font-size: .85rem; font-weight: 600; }
.calc__field input[type="number"] { width: 100%; max-width: 14rem; padding: .8rem 1rem; border: 1px solid rgba(7, 36, 29, .3); border-radius: var(--r-sm); background: var(--cream); font: 600 1.25rem var(--sans); font-variant-numeric: tabular-nums; }
.calc__field input[type="range"] { width: 100%; max-width: 22rem; accent-color: var(--deep); }
.calc__field output { font-weight: 700; }
.calc__period { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.calc__period legend { width: 100%; margin-bottom: .5rem; }
.calc__period label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.calc__period input { accent-color: var(--deep); }
.calc__result { padding: clamp(1.75rem, 3vw, 2.75rem); border-radius: var(--r-md); background: var(--deep); color: var(--cream); }
.calc__label { font-size: 1rem; font-weight: 500; color: var(--cream-soft); }
.calc__big { margin-top: .5rem; font: 700 clamp(3rem, 6vw, 4.75rem)/1 var(--sans); letter-spacing: -.03em; color: var(--gold); font-variant-numeric: tabular-nums lining-nums; }
.calc__per { margin-top: .4rem; color: var(--cream-soft); }
.calc__bars { display: grid; gap: 1rem; margin: 2rem 0 1.5rem; }
.calc__bar span { display: block; font-size: .8rem; margin-bottom: .35rem; color: var(--cream-soft); }
.calc__bar i { display: block; height: .7rem; width: var(--w, 100%); border-radius: 1px; background: rgba(255, 255, 255, .35); transition: width .8s var(--ease-out); }
.calc__bar--gold i { background: var(--gold); }
.calc__result .small { color: var(--cream-soft); }
@media (max-width: 55em) { .risparmio__grid { grid-template-columns: 1fr; } }

/* ---------- 10 Filosofia ---------- */
.filosofia { position: relative; display: flex; align-items: flex-end; min-height: min(92vh, 56rem); overflow: hidden; background: var(--deep); color: var(--cream); }
.filosofia__media { position: absolute; inset: 0; }
.filosofia__media img { width: 100%; height: 118%; object-fit: cover; object-position: 30% 50%; }
.filosofia::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5, 28, 22, .86) 0%, rgba(5, 28, 22, .5) 36%, rgba(5, 28, 22, .06) 72%), linear-gradient(90deg, rgba(5, 28, 22, .45) 0%, rgba(5, 28, 22, 0) 55%); }
.filosofia__copy { position: relative; z-index: 2; padding-block: var(--space-section); }
.filosofia__copy h2 { max-width: 16ch; color: #fff; }
.filosofia__copy p { max-width: 38rem; font-size: 1.15rem; color: var(--cream-soft); }

/* ---------- 11 Testimonianze ---------- */
.testimonianze__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.carousel__nav { display: flex; gap: .75rem; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 40rem); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 2.25rem; border-radius: var(--r-md); background: var(--sand); }
.quote__photo { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; }
.quote blockquote p { font: 500 1.2rem/1.5 var(--sans); }
.quote footer { margin-top: 1.25rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- 12 Rivenditori e modulo di interesse ---------- */
.rivenditori__pitch-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(2.5rem, 6vw, 6rem); align-items: end; }
.rivenditori__pitch .lead { color: var(--ink-soft); }
.rivenditori__pitch .link-arrow { margin-top: 1.5rem; }
.ticks { display: grid; gap: .85rem; }
.ticks li { position: relative; padding: 0 0 .85rem 1.6rem; border-bottom: 1px solid rgba(7, 36, 29, .12); font-weight: 500; }
.ticks li:last-child { border-bottom: 0; padding-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem; border-radius: 2px; background: var(--gold); }
.rivenditori__form-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2.5rem, 6vw, 6rem); align-items: start; }
.rivenditori__form-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.rivenditori__form-head .display { color: #fff; }
.rivenditori__form-head .muted { margin: 1.25rem 0 1rem; }
.rivenditori__form-head .form__legend { margin: 0; }
@media (max-width: 61.99em) {
	.rivenditori__pitch-grid, .rivenditori__form-grid { grid-template-columns: 1fr; }
	.rivenditori__form-head { position: static; }
}

/* ---------- Moduli ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; margin: 0; max-width: none; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--cream-soft); }
.field abbr { color: var(--gold); text-decoration: none; }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--r-sm); background: rgba(255, 255, 255, .06); color: var(--cream); transition: border-color .3s, background .3s; }
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .5); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(250, 178, 11, .2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff8f7a; }
.field--short input { max-width: 10rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .85rem; color: var(--cream-soft); max-width: none; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--gold); }
.check a { color: var(--cream); }
.form .btn { justify-self: start; margin-top: .5rem; }
.form__legend { margin: -1rem 0 1.5rem; font-size: .85rem; color: var(--cream-soft); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .6rem 1.25rem; margin: .4rem 0 0; padding: 0; border: 0; }
.choices legend { margin-bottom: .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--cream-soft); }
.choice { display: flex; gap: .65rem; align-items: center; padding: .7rem .9rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-sm); font-size: .95rem; color: var(--cream); cursor: pointer; transition: border-color .3s, background .3s; }
.choice:hover { border-color: rgba(255, 255, 255, .5); }
.choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--gold); }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(250, 178, 11, .1); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--r-sm); font-weight: 500; }
.form__notice--ok { background: var(--gold); color: var(--deep); }
.form__notice--error { background: #5c1a12; color: #ffe2dc; }
@media (max-width: 40em) { .form__row { grid-template-columns: 1fr; } }

/* ---------- 13 FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__grid > h2 { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__list { border-top: 2px solid var(--deep); }
.faq__item { border-bottom: 1px solid rgba(7, 36, 29, .16); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font: 600 clamp(1.05rem, 1.4vw, 1.2rem)/1.35 var(--sans); cursor: pointer; list-style: none; transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--leaf); }
.faq__item summary .icon { flex: none; width: 1.3rem; color: var(--leaf); transition: transform .45s var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding-bottom: 1.5rem; color: var(--ink-soft); }
@media (max-width: 55em) { .faq__grid { grid-template-columns: 1fr; } .faq__grid > h2 { position: static; } }

/* ---------- 14 Contatti ---------- */
.contatti__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.contatti__cta { margin-top: 2rem; }
.contatti__direct { margin-top: 0 !important; }
.contatti__copy h2 { max-width: 12ch; color: #fff; }
.contatti__copy .lead { color: var(--cream-soft); }
.contatti__direct { display: grid; gap: .25rem; margin-top: 2.5rem; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); text-decoration: none; transition: color .3s; }
.contact-line .icon { flex: none; width: 1.5rem; height: 1.5rem; color: var(--gold); }
.contact-line small { display: block; font-size: .85rem; font-weight: 500; color: var(--cream-soft); }
.contact-line span { font-size: 1.15rem; font-weight: 500; }
.contact-line:hover { color: var(--gold); }
.contatti__form { padding: clamp(1.5rem, 3vw, 2.75rem); border-radius: var(--r-md); background: var(--green); box-shadow: inset 0 0 0 1px rgba(250, 178, 11, .14); }
@media (max-width: 55em) { .contatti__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; background: var(--deeper); color: var(--cream-soft); font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__brand .logo { width: min(100%, 21rem); }
.site-footer__made { margin-top: 1.25rem; font-size: .9rem; }
.site-footer__title { margin-bottom: 1rem; font: 600 1rem var(--sans); color: var(--cream); }
.site-footer__list { display: grid; gap: .6rem; }
.site-footer__list a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.site-footer__list a:hover, .site-footer__legal a:hover { color: var(--gold); }
.site-footer__list .icon { width: 1.05rem; color: var(--gold); }
.site-footer__address { line-height: 1.7; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; transition: border-color .3s, color .3s; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social .icon { width: 1.15rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: 1.5rem; font-size: .8rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
.site-footer__legal a { text-decoration: none; }
.site-footer .lang { margin-left: 0; }
@media (max-width: 55em) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } .site-footer__legal { margin-left: 0; } }
@media (max-width: 30em) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Pagine interne ---------- */
.page-main { padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 var(--space-section); min-height: 70vh; }
.page__title { font: 600 clamp(2.2rem, 4.5vw, 3.75rem)/1.05 var(--serif); letter-spacing: -.02em; margin-bottom: 2rem; text-wrap: balance; }
.page__lead { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 2rem; }
.page__item { font: 600 1.6rem var(--sans); margin: 2.5rem 0 .75rem; }
.page__item a { text-decoration: none; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--serif); line-height: 1.15; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }

/* ---------- Selettore lingua ---------- */
.lang-switch { flex: none; display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .6rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--r-pill); font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; transition: border-color .3s, color .3s; }
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }
.nav .lang { display: none; }
@media (max-width: 67.49em) { .nav .lang { display: flex; } }
.linklike { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover { color: var(--gold); }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 60; display: flex; align-items: center; justify-content: center; gap: .6rem; min-width: 3.5rem; height: 3.5rem; padding: 0 15px; border-radius: 2rem; background: #25d366; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: 0 .75rem 1.75rem -.5rem rgba(5, 28, 22, .5); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), bottom .4s var(--ease-out); }
.wa-float svg { flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease-out); }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 1rem 2rem -.5rem rgba(5, 28, 22, .6); }
.wa-float__label:empty { display: none; }
.wa-float:not(:hover):not(:focus-visible) { gap: 0; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 14rem; }
.wa-float:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; box-shadow: 0 0 0 5px var(--gold); }
.has-consent-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Banner cookie ---------- */
.consent { border-radius: var(--r-md); position: fixed; left: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 70; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 2rem; align-items: end; max-width: 64rem; margin-inline: auto; padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.1rem, 2.5vw, 1.75rem); background: var(--cream); color: var(--ink); box-shadow: 0 1.5rem 3.5rem -1rem rgba(5, 28, 22, .55), 0 0 0 1px rgba(7, 36, 29, .08); opacity: 0; transform: translateY(1rem); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.consent.is-in { opacity: 1; transform: none; }
.consent__title { font: 600 1.1rem/1.3 var(--sans); }
.consent__text { margin-top: .4rem; font-size: .9rem; color: var(--ink-soft); }
.consent__text a { color: var(--ink); font-weight: 600; }
.consent__prefs { display: grid; gap: .6rem; margin-top: 1rem; }
.consent__opt { display: flex; gap: .65rem; align-items: baseline; font-size: .9rem; }
.consent__opt input { accent-color: var(--deep); width: 1.05rem; height: 1.05rem; }
.consent__opt span { color: var(--ink-soft); }
.consent__opt strong { color: var(--ink); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.consent__btn { min-height: 2.75rem; padding: .65rem 1.2rem; border: 0; border-radius: var(--r-pill); background: var(--deep); color: var(--cream); font: 600 .92rem/1 var(--sans); cursor: pointer; transition: background .3s, color .3s; }
.consent__btn:hover { background: var(--green-line); }
.consent__btn--ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1px rgba(7, 36, 29, .35); }
.consent__btn--ghost:hover { background: rgba(7, 36, 29, .06); }
.consent__btn:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }
.consent[hidden], .consent [hidden] { display: none; }
@media (max-width: 47.99em) {
	.consent { grid-template-columns: 1fr; }
	.consent__actions { justify-content: stretch; }
	.consent__actions .consent__btn { flex: 1 1 auto; }
}

/* ---------- Pagina grazie ---------- */
.thanks { min-height: 100vh; padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); }
.thanks__wrap { max-width: calc(52rem + 2 * var(--gutter)); margin-inline: 0; }
.thanks__mark { display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 2rem; border-radius: 50%; background: var(--gold); color: var(--deep); }
.thanks__mark .icon { width: 2rem; height: 2rem; stroke-width: 2.2; }
.thanks__title { color: #fff; max-width: 18ch; }
.thanks__lead { color: var(--cream-soft); }
.thanks__steps { display: grid; gap: 1rem; margin: 2.5rem 0; counter-reset: step; }
.thanks__steps li { position: relative; padding-left: 3rem; color: var(--cream-soft); counter-increment: step; }
.thanks__steps li::before { content: counter(step); position: absolute; left: 0; top: -.15rem; font: 600 1.75rem/1 var(--sans); color: var(--gold); }
.thanks__steps strong { color: var(--cream); }
.thanks__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Social nei contatti ---------- */
.contatti__social { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.contatti__social-title { font-weight: 600; color: var(--cream-soft); }
.social-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-pills a { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: 0 1.1rem 0 .9rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-pill); color: #fff; text-decoration: none; font-weight: 500; transition: border-color .3s, color .3s, background-color .3s; }
.social-pills a:hover { border-color: var(--gold); color: var(--gold); }
.social-pills .icon { width: 1.15rem; height: 1.15rem; }

/* ---------- Torna in alto ---------- */
.to-top { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + 4.25rem); z-index: 59; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--gold); color: var(--deep); box-shadow: 0 .75rem 1.75rem -.5rem rgba(5, 28, 22, .5); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility 0s .4s, background-color .3s; }
.to-top .icon { width: 1.35rem; height: 1.35rem; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--gold-hover); }
.no-wa .to-top { bottom: clamp(1rem, 2.5vw, 1.75rem); }
@media (min-width: 48em) { .site-footer__bottom { padding-right: 5.5rem; } }
.contatti__social { margin-top: 0; }

/* ---------- Barra di amministrazione (solo da collegati) ---------- */
body.admin-bar { --ab: 32px; }
body.admin-bar .site-header { top: var(--ab); }
body.admin-bar .skip { top: calc(var(--ab) + .75rem); }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 32px); }
@media screen and (max-width: 782px) { body.admin-bar { --ab: 46px; } html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 46px); } }
@media screen and (max-width: 600px) { #wpadminbar { position: fixed; } }
@media (max-width: 67.49em) { body.admin-bar .nav { top: calc(var(--header-h) + var(--ab)); } }

/* ---------- Linea di avanzamento sotto l'header ---------- */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease-out); }
.site-header.is-scrolled .scroll-progress, .site-header:not(.site-header--over) .scroll-progress { opacity: 1; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; border-radius: 0 3px 3px 0; }
.is-nav-open .scroll-progress { opacity: 0; }
@media (max-width: 40em) { .filosofia__media img { object-position: 54% 40%; } }
