/* =========================================================
   Mihelcic Legnami — stile principale
   Responsive Idee Digitali · https://responsive-web.it/
   ========================================================= */

:root {
	--abete: var(--wp--preset--color--abete, #1F3329);
	--abete-2: var(--wp--preset--color--abete-2, #2C4A3B);
	--abete-3: #14221B;
	--larice: var(--wp--preset--color--larice, #A8632B);
	--larice-text: var(--wp--preset--color--larice-scuro, #8A4F20);
	--resina: var(--wp--preset--color--resina, #D9A441);
	--segatura: var(--wp--preset--color--segatura, #F3ECDF);
	--carta: var(--wp--preset--color--carta, #FBF8F2);
	--ink: var(--wp--preset--color--antracite, #1A1A17);
	--text: var(--wp--preset--color--testo, #47443C);
	--cream: #F3ECDF;
	--white: #fff;
	--display: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	--ease: cubic-bezier(.2, .75, .15, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	--gutter: clamp(1.1rem, 4vw, 3rem);
	--sec: clamp(5rem, 10vw, 9rem);
	--wide: var(--wp--style--global--wide-size, 1320px);
	--line: rgba(31, 51, 41, .14);
	--line-light: rgba(243, 236, 223, .18);
	--radius: 10px;
	--radius-l: 18px;
	--shadow: 0 30px 60px -34px rgba(20, 34, 27, .55);
	--shadow-l: 0 50px 90px -40px rgba(20, 34, 27, .6);
}

/* ---------- BASE ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.site-main { overflow-x: clip; }
img { max-width: 100%; height: auto; }
::selection { background: var(--larice); color: var(--white); }
:focus-visible { outline: 3px solid var(--larice); outline-offset: 3px; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
strong { color: var(--ink); font-weight: 650; }
h1, h2, h3, h4 { text-wrap: balance; font-variation-settings: "SOFT" 30, "WONK" 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--larice); font-weight: 420; }
p { text-wrap: pretty; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.site-main > .entry-content, .site-main > .wp-block-post-content { margin: 0; }
.wp-block-post-content > * { margin-block: 0; }
.wp-block-post-content > .alignfull { margin-inline: 0; }
.has-global-padding .alignfull { margin-inline: calc(var(--wp--style--root--padding-left) * -1) calc(var(--wp--style--root--padding-right) * -1); }
.wp-block-image { margin: 0; }
/* Le sezioni a tutta larghezza usano la larghezza ampia per i contenuti. */
section.alignfull > *:not(.alignfull) { max-width: var(--wide); }
section.alignfull { padding-block: var(--sec); position: relative; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.65; color: var(--text); }

/* Bottoni */
.wp-block-button__link { position: relative; transition: background-color .3s, color .3s, transform .35s var(--ease), box-shadow .3s, border-color .3s; will-change: transform; display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.wp-block-button__link:hover { box-shadow: 0 16px 34px -16px rgba(168, 99, 43, .9); }
.wp-block-button__link::after { content: "→"; font-weight: 400; transition: transform .35s var(--ease); }
.wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--abete); border: 1.5px solid currentColor; padding: calc(1.05rem - 1.5px) calc(1.6rem - 1.5px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--abete); color: var(--white); border-color: var(--abete); box-shadow: none; }
.wp-block-button.is-light > .wp-block-button__link { color: var(--cream); }
.wp-block-button.is-light > .wp-block-button__link:hover { background: var(--cream); color: var(--abete); border-color: var(--cream); }
.wp-block-buttons { gap: .8rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.3rem; border-radius: 6px; background: var(--larice); color: var(--white); font-weight: 600; text-decoration: none; font-size: .95rem; transition: background-color .3s, color .3s; }
.btn:hover { background: var(--resina); color: var(--abete-3); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--light { background: transparent; color: var(--cream); border: 1.5px solid var(--line-light); }
.btn--light:hover { background: var(--cream); color: var(--abete); }

/* Etichetta sopra i titoli */
.kicker { font-size: .78rem; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: var(--larice-text); display: flex; align-items: center; gap: .75rem; margin: 0 0 1.4rem; }
.kicker span { letter-spacing: .06em; font-weight: 700; }
.kicker::after { content: ""; display: block; width: 3.4rem; height: 1.5px; background: currentColor; transform-origin: left; opacity: .6; }
.kicker--light { color: var(--resina); }
.fx-ready .kicker::after { transform: scaleX(0); transition: transform 1s .2s var(--ease); }
.fx-ready .kicker.is-in::after, .fx-ready .is-in .kicker::after { transform: scaleX(1); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.2rem) !important; }
.section-head > * { max-width: 54rem; }
.section-head h2 { margin: 0; }
.section-head .lead { margin-top: 1.3rem; max-width: 44rem; }
.arr { display: inline-block; transition: transform .35s var(--ease); }

/* ---------- MOTIVO GRAFICO: anelli del tronco ---------- */
.rings { display: block; overflow: visible; }
.rings path { fill: none; stroke: var(--larice); stroke-width: .9; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rings .rings__cut { stroke-width: 1.6; stroke: var(--resina); }
.fx-ready .fx-draw.rings path, .fx-ready .fx-draw .rings path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-io); }
.fx-ready .fx-draw.rings path:nth-child(2) { transition-delay: .15s; } .fx-ready .fx-draw.rings path:nth-child(3) { transition-delay: .3s; }
.fx-ready .fx-draw.rings path:nth-child(4) { transition-delay: .45s; } .fx-ready .fx-draw.rings path:nth-child(5) { transition-delay: .6s; }
.fx-ready .fx-draw.rings .rings__cut { transition-delay: 1.4s; transition-duration: .9s; }
.fx-ready .fx-draw.is-in path, .fx-ready .is-in .fx-draw path, .fx-ready .is-in.fx-draw path { stroke-dashoffset: 0; }

/* ---------- COMPARSE ALLO SCROLL ---------- */
.fx-ready .fx-up { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.fx-ready .fx-up.is-in { opacity: 1; transform: none; }
.fx-ready .fx-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .08em .16em 0; margin: -.12em -.08em -.16em 0; }
.fx-ready .fx-words .w > span { display: inline-block; transform: translate3d(0, 112%, 0) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.fx-ready .fx-words.is-in .w > span { transform: none; }
.fx-ready .fx-stagger > .fx-child { opacity: 0; transform: translate3d(0, 44px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.fx-ready .fx-stagger.is-in > .fx-child { opacity: 1; transform: none; }
.fx-ready .fx-curtain img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io), transform 1.2s var(--ease); }
.fx-ready .fx-curtain.is-in img { clip-path: inset(0 0 0 0); }
.fx-curtain { position: relative; }
.fx-parallax { overflow: hidden; }
.fx-parallax img { transform: scale(1.14); will-change: transform; }
.fx-parallax-bg img { transform: scale(1.18); will-change: transform; }

/* Card 3D con riflesso */
.fx-tilt { position: relative; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.fx-tilt.is-tilting { transition: transform .12s linear, box-shadow .5s; box-shadow: var(--shadow-l); }
.fx-tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 236, 200, .55), transparent 55%); opacity: 0; transition: opacity .4s; z-index: 3; mix-blend-mode: soft-light; }
.fx-tilt.is-tilting::after { opacity: 1; }

/* =========================================================
   HEADER (barra flottante)
   ========================================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 14px var(--gutter) 0; pointer-events: none; transition: padding .4s var(--ease); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header__inner { pointer-events: auto; position: relative; display: flex; align-items: center; gap: clamp(.7rem, 1.4vw, 1.4rem); padding: .6rem .6rem .6rem 1.2rem; max-width: 1440px !important; margin: 0 auto !important; background: rgba(251, 248, 242, .86); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .6); border-radius: 12px; box-shadow: 0 18px 40px -26px rgba(20, 34, 27, .6); transition: padding .4s var(--ease), box-shadow .4s, background-color .4s; }
.is-scrolled .site-header { padding-top: 8px; }
.is-scrolled .site-header__inner { padding-block: .45rem; background: rgba(251, 248, 242, .95); box-shadow: 0 20px 44px -22px rgba(20, 34, 27, .55); }
.site-header__inner > * { margin-block: 0 !important; }
.site-logo { flex: 0 0 auto; margin: 0 auto 0 0 !important; }
.site-logo img { width: clamp(180px, 15vw, 230px); height: auto; display: block; transition: width .4s var(--ease); }
.is-scrolled .site-logo img { width: clamp(165px, 13vw, 205px); }
.header-cta-wrap { margin: 0 !important; }
.header-cta .wp-block-button__link { padding: .8rem 1.15rem; font-size: .88rem; }
.progress { position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 2px; pointer-events: none; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--larice); transform-origin: left; transform: scaleX(var(--progress, 0)); }

/* Badge "Aperto ora" */
.open-badge { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); background: rgba(243, 236, 223, .1); border: 1px solid rgba(243, 236, 223, .28); padding: .5rem .85rem; border-radius: 999px; white-space: nowrap; }
.open-badge i { width: .55rem; height: .55rem; border-radius: 50%; background: #a9b4b9; flex: none; }
.open-badge.is-open i { background: #3fbf6f; animation: ping 2s infinite; }
.open-badge.is-closed i { background: var(--resina); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 191, 111, .6); } 70% { box-shadow: 0 0 0 8px rgba(63, 191, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 111, 0); } }
.open-badge--header { color: var(--abete); background: var(--segatura); border-color: rgba(31, 51, 41, .12); font-size: .66rem; padding: .45rem .75rem; }

/* Lingua */
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(31, 51, 41, .07); }
.lang a { font-size: .74rem; font-weight: 700; letter-spacing: .08em; padding: .42rem .55rem; border-radius: 6px; color: var(--abete); text-decoration: none; line-height: 1; }
.lang a[aria-current="true"] { background: var(--abete); color: var(--cream); }
.lang a:hover:not([aria-current]) { background: rgba(31, 51, 41, .12); }

/* Pulsante Menu */
.menu-btn { display: inline-flex; align-items: center; gap: .7rem; border: 0; background: var(--abete); color: var(--cream); padding: .8rem 1.05rem; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 600; font-size: .9rem; transition: background-color .3s; }
.menu-btn:hover { background: var(--larice); }
.menu-btn__i { display: grid; gap: 5px; width: 22px; }
.menu-btn__i i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.menu-btn__i i:last-child { width: 65%; justify-self: end; }
.menu-btn:hover .menu-btn__i i:last-child { transform: scaleX(1.55); transform-origin: right; }

/* ---------- MENU A TENDA ---------- */
.menu-open, .menu-open body { overflow: hidden; }
.mpanel { position: fixed; inset: 0; z-index: 100; background: var(--abete-3); color: var(--cream); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.mpanel.is-open { clip-path: inset(0 0 0 0); }
.mpanel[hidden] { display: none; }
.admin-bar .mpanel { top: var(--wp-admin--admin-bar--height, 32px); }
.mpanel__bg { position: absolute; right: -14vw; bottom: -22vw; width: 62vw; opacity: .14; pointer-events: none; }
.mpanel__bg .rings path { stroke: var(--resina); }
.mpanel__top { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.4rem var(--gutter); max-width: 1440px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.mpanel__logo { margin-right: auto; } .mpanel__logo img { width: clamp(180px, 15vw, 230px); height: auto; display: block; }
.mpanel .lang { background: rgba(243, 236, 223, .08); }
.mpanel .lang a { color: var(--cream); }
.mpanel .lang a[aria-current="true"] { background: var(--resina); color: var(--abete-3); }
.mpanel__close { display: inline-flex; align-items: center; gap: .7rem; border: 1px solid var(--line-light); background: transparent; color: var(--cream); padding: .75rem 1rem; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 600; }
.mpanel__close:hover { background: var(--cream); color: var(--abete-3); }
.mpanel__close i { position: relative; width: 16px; height: 16px; }
.mpanel__close i::before, .mpanel__close i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transform: rotate(45deg); }
.mpanel__close i::after { transform: rotate(-45deg); }
.mpanel__body { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: 1rem var(--gutter) 3rem; max-width: 1440px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__item { border-top: 1px solid var(--line-light); }
.mnav__item:last-child { border-bottom: 1px solid var(--line-light); }
.mnav__link { position: relative; display: flex; align-items: baseline; gap: 1.2rem; padding: .55rem 0 .55rem 1.6rem; color: var(--cream); text-decoration: none; font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 3.3rem); font-weight: 450; line-height: 1.12; transition: color .3s, padding .45s var(--ease); }
.mnav__n { font-family: var(--wp--preset--font-family--body); font-size: .78rem; font-weight: 600; letter-spacing: .1em; color: var(--resina); min-width: 1.6rem; }
.mnav__t { position: relative; }
.mnav__t::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 3px; background: var(--resina); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.mnav__link:hover, .mnav__link:focus-visible { color: var(--resina); padding-left: 2.2rem; }
.mnav__link:hover .mnav__t::after { transform: scaleX(1); transform-origin: left; }
.mnav__item.is-current > .mnav__link, .mnav__item.is-current-parent > .mnav__link { color: var(--resina); }
.mnav__item.is-current > .mnav__link .mnav__t::after, .mnav__item.is-current-parent > .mnav__link .mnav__t::after { transform: scaleX(1); height: 4px; }
.mnav__item.is-current > .mnav__link::before, .mnav__item.is-current-parent > .mnav__link::before { content: ""; position: absolute; left: 0; top: 50%; width: .6rem; height: .6rem; border-radius: 50%; background: var(--resina); transform: translateY(-50%); }
.mnav__sub { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .9rem 4.4rem; padding: 0; }
.mnav__sub a { display: block; padding: .38rem .7rem; border: 1px solid var(--line-light); border-radius: 6px; font-size: .84rem; color: rgba(243, 236, 223, .85); text-decoration: none; transition: background-color .25s, color .25s; }
.mnav__sub a:hover, .mnav__sub .is-current a, .mnav__sub a[aria-current="page"] { background: var(--resina); color: var(--abete-3); border-color: var(--resina); }
.mpanel__photo { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.mpanel__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s, transform 1.2s var(--ease); }
.mpanel__photo.is-swapping img { opacity: 0; transform: scale(1.06); }
.mpanel__side { font-size: .95rem; }
.mpanel__k { margin: 0 0 .25rem; font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--resina); }
.mpanel__v { margin: 0 0 1.2rem; font-size: 1.1rem; }
.mpanel__v a { color: var(--cream); text-decoration: none; } .mpanel__v a:hover { color: var(--resina); }
.hours--menu li { padding: .35rem .6rem; font-size: .86rem; }
.mpanel__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
/* entrata in cascata */
.fx-ready .mpanel .mnav__item, .fx-ready .mpanel__photo, .fx-ready .mpanel__side { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.fx-ready .mpanel.is-open .mnav__item { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 60ms); }
.fx-ready .mpanel.is-open .mpanel__photo { opacity: 1; transform: none; transition-delay: .45s; }
.fx-ready .mpanel.is-open .mpanel__side { opacity: 1; transform: none; transition-delay: .6s; }
.menu-open .fixed-actions { opacity: 0; pointer-events: none; transform: translate(100%, -50%); }
.menu-open .ck-reopen { opacity: 0; pointer-events: none; }

/* =========================================================
   HERO DELLA HOME: SCENA A LIVELLI
   ========================================================= */
.hero--scene { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 8.5rem var(--gutter) 6rem !important; color: var(--cream); background: var(--abete-3); overflow: hidden; isolation: isolate; }
.hero--scene > * { max-width: none !important; margin-inline: 0 !important; }
.scene, .hero__layer, .hero__shade, .dust { position: absolute !important; pointer-events: none; }
.scene { inset: 0; z-index: -6; overflow: hidden; }
.scene__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #172a21 0%, #2a4436 20%, #5d6f52 36%, #b48a55 48%, #e8bd7e 56%, #f3d39b 64%); }
.scene__sun { position: absolute; left: 63%; top: 66%; width: 64vw; height: 64vw; margin: -32vw 0 0 -32vw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 222, 160, .9) 0, rgba(242, 176, 96, .38) 20%, rgba(242, 176, 96, 0) 58%); will-change: transform; }
.scene__l-wrap { position: absolute; inset: -4% -3% -2%; will-change: transform; }
.scene__l { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__far { opacity: .78; }
.scene__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 21%; background: linear-gradient(180deg, #22382D, #121e18 70%); }
.hero__layer--pile { right: 4%; bottom: 11%; width: min(40vw, 900px); z-index: -4; will-change: transform; filter: saturate(.95) brightness(.94); }
.hero__layer--pile img { display: block; width: 100%; height: auto; }
.hero__layer--firs { inset: -2% -3% -4%; z-index: -3; will-change: transform; }
.hero__layer--firs svg { width: 100%; height: 100%; }
.hero__layer--near { left: -9%; bottom: -13%; width: 50vw; z-index: -1; will-change: transform; filter: brightness(.8) saturate(.9); }
.hero__layer--near img { display: block; width: 100%; height: auto; }
.hero__shade { inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(14, 24, 19, .88) 0%, rgba(14, 24, 19, .62) 34%, rgba(14, 24, 19, 0) 62%), linear-gradient(0deg, rgba(14, 24, 19, .75) 0%, rgba(14, 24, 19, 0) 32%), linear-gradient(180deg, rgba(14, 24, 19, .45) 0%, rgba(14, 24, 19, 0) 22%); }
.dust { inset: 0; z-index: -2; }
.dust i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: #ffe3ac; opacity: var(--o); box-shadow: 0 0 6px rgba(255, 220, 160, .9); animation: dust var(--d) ease-in-out infinite alternate; }
@keyframes dust { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(28px, -46px, 0); } }
.hero__content { position: relative; z-index: 2; max-width: min(46rem, 52vw) !important; will-change: transform, opacity; }
.hero__kicker { margin-bottom: 1.6rem !important; }
.hero__title { color: var(--cream) !important; margin: 0 0 1.6rem !important; font-weight: 520; font-size: clamp(2.6rem, 5.4vw, 5rem) !important; }
.hero__title em { color: var(--resina); }
.hero__lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.65; color: rgba(243, 236, 223, .86); max-width: 37rem; margin: 0 !important; }
.hero__cta { margin-top: 2.2rem !important; }
.hero--scene .open-badge { margin-top: 1.8rem; }
.hero__hud { position: absolute !important; left: var(--gutter); right: var(--gutter); bottom: 1.6rem; display: flex; justify-content: space-between; align-items: center; z-index: 2; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 236, 223, .7); }
.hero__scroll { display: inline-flex; align-items: center; gap: .8rem; }
.hero__scroll i { position: relative; width: 1px; height: 40px; background: rgba(243, 236, 223, .3); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--resina); animation: scrollcue 2s var(--ease-io) infinite; }
@keyframes scrollcue { to { top: 100%; } }
/* entrata (l'H1 resta sempre visibile) */
.fx-ready .hero__kicker, .fx-ready .hero__lead, .fx-ready .hero__cta, .fx-ready .hero--scene .open-badge { animation: heroIn 1.2s var(--ease) both; }
.fx-ready .hero__lead { animation-delay: .25s; } .fx-ready .hero__cta { animation-delay: .4s; } .fx-ready .hero--scene .open-badge { animation-delay: .55s; }
.fx-ready .hero__layer--pile img { animation: pileIn 1.8s .1s var(--ease) both; }
.fx-ready .hero__layer--near img { animation: nearIn 1.8s .2s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
@keyframes pileIn { from { opacity: 0; transform: translate3d(0, 60px, 0) scale(.96); } }
@keyframes nearIn { from { opacity: 0; transform: translate3d(-80px, 40px, 0); } }

/* =========================================================
   NUMERI
   ========================================================= */
.stats { background: var(--segatura); padding-block: clamp(3rem, 6vw, 5rem) !important; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid var(--line); }
.stat { padding: .5rem clamp(1rem, 2.4vw, 2.2rem); border-right: 1px solid var(--line); margin: 0 !important; }
.stat > * { margin: 0 !important; }
.stat__n { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: var(--abete); font-weight: 480; letter-spacing: -.02em; }
.stat__t { margin-top: .8rem !important; font-size: .95rem; color: var(--text); max-width: 16rem; }

/* =========================================================
   PRODOTTI: CARD
   ========================================================= */
.products { background: var(--carta); }
.products--related { background: var(--segatura); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.cards--5 { grid-template-columns: repeat(6, 1fr); }
.cards--5 > :nth-child(-n+2) { grid-column: span 3; }
.cards--5 > :nth-child(n+3) { grid-column: span 2; }
.cards--4 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; padding: 0 0 1.6rem !important; margin: 0 !important; overflow: hidden; }
.card > * { margin-block: 0 !important; padding-inline: 1.6rem; }
.card__img { padding: 0 !important; aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img, .card__img a { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__num { margin-top: 1.4rem !important; font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--larice-text); }
.card__title { margin-top: .4rem !important; font-size: clamp(1.35rem, 1.9vw, 1.7rem) !important; }
.card__title a { color: var(--abete); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card__text { margin-top: .7rem !important; font-size: .96rem; }
.card__voci { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0 0 !important; padding: 0 1.6rem; }
.card__voci li { font-size: .76rem; font-weight: 600; padding: .3rem .6rem; border-radius: 5px; background: var(--segatura); color: var(--abete); }
.card__more { margin-top: auto !important; padding-top: 1.3rem; font-weight: 650; font-size: .9rem; color: var(--larice-text); }
.card:hover .arr { transform: translateX(6px); }

/* =========================================================
   DAL BOSCO ALLA TRAVE (percorso orizzontale)
   ========================================================= */
.tl { background: var(--abete-3); color: var(--cream); padding: 0 !important; }
.tl > * { max-width: none !important; margin: 0 !important; }
.tl__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.tl__track { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding: 0 var(--gutter); will-change: transform; position: relative; }
.tl__track > * { margin: 0 !important; flex: none; }
.tl__intro { width: min(34rem, 36vw); padding-right: 2rem; }
.tl__intro h2 { color: var(--cream); margin: 0 !important; }
.tl__intro h2 em { color: var(--resina); }
.tl__intro .lead { color: rgba(243, 236, 223, .8); margin-top: 1.4rem; }
.tl__intro .kicker { color: var(--resina); }
.tl__step { width: clamp(280px, 26vw, 400px); position: relative; }
.tl__step > * { margin: 0 !important; }
.tl__step:nth-child(odd) { transform: translateY(5vh); }
.tl__img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.tl__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl__n { margin-top: 1.2rem !important; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--resina); }
.tl__n span { font-size: .9rem; color: rgba(243, 236, 223, .5); margin-left: .3rem; }
.tl__t { color: var(--cream) !important; margin-top: .6rem !important; }
.tl__d { margin-top: .5rem !important; color: rgba(243, 236, 223, .78); font-size: .96rem; }
.tl__line { position: absolute !important; left: var(--gutter); right: var(--gutter); bottom: -14vh; height: 2px; background: var(--line-light); }
.tl__line span { display: block; height: 100%; background: var(--resina); transform-origin: left; transform: scaleX(var(--hp, 0)); }
.tl .tl__line span { transform: scaleX(calc(var(--hp, 0))); }

/* =========================================================
   FASCIA A TUTTO SCHERMO
   ========================================================= */
.band { min-height: 100vh; display: flex; align-items: center; color: var(--cream); overflow: hidden; isolation: isolate; background: var(--abete-3); }
.band > * { max-width: none !important; }
.band__bg { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; }
.band__bg img, .band__bg picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 24, 19, .9) 0%, rgba(14, 24, 19, .7) 45%, rgba(14, 24, 19, .25) 100%); }
.band__discs { position: absolute !important; inset: 0; z-index: -1; pointer-events: none; margin: 0 !important; }
.band__disc { position: absolute; left: var(--x); top: var(--y); width: var(--w); will-change: transform; }
.band__disc svg { width: 100%; height: auto; display: block; transform: rotate(var(--r)); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); animation: bob 7s ease-in-out infinite alternate; }
.band__disc:nth-child(2) svg { animation-duration: 9s; } .band__disc:nth-child(3) svg { animation-duration: 6s; }
.band__disc:nth-child(1), .band__disc:nth-child(4) { opacity: .9; }
@keyframes bob { to { transform: rotate(calc(var(--r) + 12deg)) translateY(-14px); } }
.band__content { position: relative; max-width: var(--wide) !important; width: 100%; margin: 0 auto !important; }
.band__content > * { max-width: 44rem; }
.band__title { color: var(--cream) !important; margin: 0 !important; }
.band__title em { color: var(--resina); }
.band__text { margin-top: 1.4rem !important; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(243, 236, 223, .86); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.8rem !important; max-width: 52rem !important; }
.facts--2 { grid-template-columns: repeat(2, 1fr); }
.fact { border-top: 1px solid rgba(243, 236, 223, .3); padding-top: 1rem; margin: 0 !important; }
.fact > * { margin: 0 !important; }
.fact__n { font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--resina); line-height: 1.1; }
.fact__t { margin-top: .5rem !important; font-size: .92rem; color: rgba(243, 236, 223, .8); }

/* =========================================================
   PER CHI LAVORIAMO
   ========================================================= */
.audience { background: var(--carta); }
.auds { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
.aud { border-radius: var(--radius-l); padding: clamp(1.8rem, 3.5vw, 3rem) !important; margin: 0 !important; overflow: hidden; }
.aud > * { margin-block: 0 !important; position: relative; z-index: 1; }
.aud--privati { background: var(--segatura); }
.aud--imprese { background: var(--abete); color: rgba(243, 236, 223, .86); }
.aud--imprese .aud__title { color: var(--cream) !important; }
.aud--imprese .checklist li::before { background-color: var(--resina); }
.aud--imprese .wp-block-button__link { background: var(--resina); color: var(--abete-3); }
.aud__tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 5px; background: var(--abete); color: var(--cream); }
.aud--imprese .aud__tag { background: var(--resina); color: var(--abete-3); }
.aud__title { margin-top: 1.4rem !important; font-size: clamp(1.7rem, 2.6vw, 2.4rem) !important; }
.aud__text { margin-top: 1rem !important; }
.aud .checklist { margin-top: 1.4rem !important; }
.aud__cta { margin-top: 1.8rem !important; }

/* Liste con spunta */
.checklist { list-style: none; padding: 0 !important; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border-radius: 4px; background: var(--larice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* =========================================================
   SPECIE LEGNOSE (card che si girano)
   ========================================================= */
.species { background: var(--segatura); }
.sps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); max-width: var(--wide); margin: 0 auto; }
.sp { perspective: 1200px; height: clamp(340px, 30vw, 420px); }
.sp__in { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left; transform-style: preserve-3d; transition: transform 1s var(--ease); border-radius: var(--radius-l); }
.sp.is-flipped .sp__in { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .sp:hover .sp__in { transform: rotateY(180deg); } }
.sp__front, .sp__back { position: absolute; inset: 0; border-radius: var(--radius-l); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; box-shadow: var(--shadow); }
.sp__grain { position: absolute; inset: 0; background-color: var(--c, #c8955a); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.13 0.005' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.22 0 0 0 0 0.11 0 0 0 0 0.03 0 0 0 1.9 -0.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); background-size: cover; }
.sp__grain::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 34, 27, 0) 35%, rgba(20, 34, 27, .78) 100%); }
.sp--larice { --c: #c47a3c; } .sp--abete { --c: #e2c08e; } .sp--rovere { --c: #a7794a; } .sp--douglasia { --c: #b86a45; }
.sp__name { position: relative; font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1; color: var(--cream); }
.sp__lat { position: relative; margin-top: .45rem; font-style: italic; color: rgba(243, 236, 223, .8); font-size: .92rem; }
.sp__hint { position: absolute; top: 1.2rem; right: 1.2rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: rgba(243, 236, 223, .2); color: var(--cream); font-size: 1.1rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sp__back { transform: rotateY(180deg); background: var(--abete); color: rgba(243, 236, 223, .88); justify-content: flex-start; }
.sp__back .sp__name { font-size: 1.6rem; color: var(--resina); }
.sp__d { margin-top: 1rem; font-size: .95rem; line-height: 1.6; }
.sp__uses { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-light); font-size: .8rem; font-weight: 650; letter-spacing: .06em; color: var(--cream); }

/* =========================================================
   STORIA: COLLAGE
   ========================================================= */
.story { background: var(--carta); }
.story__cols { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; }
.collage { position: relative; height: clamp(460px, 48vw, 660px); }
.collage > figure { position: absolute !important; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-l); margin: 0 !important; }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage__a { left: 0; top: 0; width: 66%; height: 64%; }
.collage__b { right: 0; top: 22%; width: 42%; height: 50%; z-index: 2; border: 6px solid var(--carta); }
.collage__c { left: 12%; bottom: 0; width: 50%; height: 36%; z-index: 3; border: 6px solid var(--carta); }
.collage__badge { position: absolute; right: 6%; bottom: 4%; width: 150px; height: 150px; display: grid; place-items: center; text-align: center; z-index: 4; color: var(--abete); }
.collage__badge b { position: relative; z-index: 1; font-family: var(--display); font-size: 2.4rem; line-height: 1; font-weight: 500; }
.collage__badge span { position: absolute; z-index: 1; bottom: 30%; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--larice-text); }
.collage__badge .rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.collage__badge .rings path { stroke: var(--larice); }
.motto { margin: 2rem 0 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--resina); }
.motto p { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.3; color: var(--abete); margin: 0; }
.motto cite { display: block; margin-top: .6rem; font-style: normal; font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--larice-text); }

/* =========================================================
   STRISCIA DI FOTO
   ========================================================= */
.mq { background: var(--carta); padding-top: 0 !important; overflow: hidden; }
.mq > * { max-width: none !important; }
.mq__track { display: flex; gap: 1rem; width: max-content; margin: 0 !important; }
.mq__track.is-ready { animation: mq 70s linear infinite; }
.mq__track:hover { animation-play-state: paused; }
.mq__item { flex: none; height: clamp(200px, 22vw, 300px); margin: 0 !important; border-radius: var(--radius); overflow: hidden; }
.mq__item img { height: 100%; width: auto; display: block; object-fit: cover; aspect-ratio: auto; filter: saturate(.9); transition: filter .4s; }
.mq__item:hover img { filter: saturate(1.1); }
.mq__cta { justify-content: center; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }

/* =========================================================
   INVITO FINALE
   ========================================================= */
.cta { min-height: 88vh; display: flex; align-items: center; color: var(--cream); overflow: hidden; isolation: isolate; background: var(--abete-3); }
.cta > * { max-width: none !important; }
.cta__bg { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; }
.cta__bg img, .cta__bg picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 25% 60%, rgba(14, 24, 19, .9), rgba(14, 24, 19, .55) 60%, rgba(14, 24, 19, .35)); }
.cta__content { max-width: var(--wide) !important; width: 100%; margin: 0 auto !important; }
.cta__content > * { max-width: 46rem; }
.cta__title { color: var(--cream) !important; margin: 0 !important; font-size: clamp(2.4rem, 5.4vw, 4.6rem) !important; }
.cta__title em { color: var(--resina); }
.cta__text { margin-top: 1.4rem !important; color: rgba(243, 236, 223, .86); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.cta .open-badge { margin-top: 1.6rem; }
.cta__deco { position: absolute !important; right: -6vw; bottom: -10vw; width: min(52vw, 720px); z-index: -1; opacity: .5; pointer-events: none; margin: 0 !important; }
.cta__deco .rings path { stroke: var(--resina); }

/* =========================================================
   PAGINE INTERNE
   ========================================================= */
.page-hero { background: var(--segatura); padding-top: clamp(8rem, 13vw, 11rem) !important; padding-bottom: clamp(4rem, 7vw, 6rem) !important; overflow: hidden; }
.page-hero__cols { gap: clamp(2rem, 5vw, 5rem) !important; align-items: center !important; }
.page-hero__title { margin: 0 !important; font-size: clamp(2.7rem, 5.6vw, 5rem) !important; }
.page-hero__lead { margin-top: 1.6rem !important; font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 36rem; }
.page-hero__media { position: relative; }
.page-hero__bg { height: clamp(380px, 62vh, 640px); clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 13%); border-radius: 0 var(--radius-l) var(--radius-l) var(--radius-l); overflow: hidden; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__deco { position: absolute !important; left: -12%; bottom: -14%; width: 46%; z-index: 2; pointer-events: none; --py: -80; }
.page-hero__deco .rings path { stroke: var(--larice); }
.fx-ready .page-hero__bg img { animation: heroImg 1.6s var(--ease) both; }
.fx-ready .page-hero__text > * { animation: heroIn 1.1s var(--ease) both; }
.fx-ready .page-hero__text > :nth-child(1) { animation-delay: 0s; }
.fx-ready .page-hero__text > .page-hero__title { animation: none; }
.fx-ready .page-hero__text > :nth-child(3) { animation-delay: .15s; }
.fx-ready .page-hero__text > :nth-child(4) { animation-delay: .3s; }
.fx-ready .page-hero__text > :nth-child(5) { animation-delay: .45s; }
@keyframes heroImg { from { clip-path: inset(0 0 100% 0); transform: scale(1.25); } }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 1.8rem 0 0; }
.chips a { display: inline-block; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 6px; font-size: .84rem; font-weight: 600; color: var(--abete); text-decoration: none; background: rgba(255, 255, 255, .5); transition: background-color .25s, color .25s; }
.chips a:hover { background: var(--abete); color: var(--cream); }

/* Foto + testo */
.split { background: var(--carta); }
.split__cols { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; }
.split--rev .split__cols { flex-direction: row-reverse; }
.split__media { position: relative; }
.split__img { aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.split__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__media--2 { padding-bottom: 12%; }
.split__media--2 .split__img { width: 84%; }
.split__img2 { position: absolute !important; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--carta); box-shadow: var(--shadow-l); }
.split--rev .split__img2 { right: auto; left: 0; } .split--rev .split__media--2 .split__img { margin-left: auto; }
.split__img2 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__text h2, .story__text h2 { margin: 0 !important; }
.story__text .lead { margin-top: 1.4rem; }
.split__text .lead { margin-top: 1.4rem; }

/* Schede prodotto */
.types { background: var(--carta); }
.types--alt, .split + .types { background: var(--segatura); }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.items--4, .items--2 { grid-template-columns: repeat(2, 1fr); }
.item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem !important; margin: 0 !important; box-shadow: var(--shadow); overflow: hidden; }
.item > * { margin-block: 0 !important; }
.item--img { padding-top: 0 !important; }
.item__img { margin: 0 -1.8rem 1.4rem !important; aspect-ratio: 16 / 10; overflow: hidden; }
.item__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.item:hover .item__img img { transform: scale(1.05); }
.item__n { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--larice); }
.item__t { margin-top: .9rem !important; }
.item__d { margin-top: .7rem !important; font-size: .97rem; }
.item__list { list-style: none; padding: 0 !important; margin-top: 1rem !important; border-top: 1px solid var(--line); }
.item__list li { padding: .55rem 0 .55rem 1.3rem; border-bottom: 1px solid var(--line); font-size: .9rem; position: relative; }
.item__list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .6rem; height: 2px; background: var(--larice); }

/* Scheda tecnica */
.spec-sec { background: var(--abete); color: rgba(243, 236, 223, .86); overflow: hidden; }
.spec-sec__cols { gap: clamp(2rem, 5vw, 5rem) !important; }
.spec-sec h2 { color: var(--cream); margin: 0 !important; }
.spec-sec h2 em { color: var(--resina); }
.spec-sec .kicker { color: var(--resina); }
.spec-sec .lead { color: rgba(243, 236, 223, .8); margin-top: 1.3rem; }
.spec__deco { width: 70%; margin-top: 2.5rem; opacity: .55; --py: -60; }
.spec__deco .rings path { stroke: var(--resina); }
.spec { margin: 0 !important; overflow-x: auto; }
.spec table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.spec thead th { text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--resina); padding: .9rem 1rem; border-bottom: 1px solid rgba(243, 236, 223, .35); }
.spec tbody td { padding: 1.05rem 1rem; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.spec tbody td:first-child { font-family: var(--display); font-size: 1.12rem; color: var(--cream); }
.spec tbody tr { transition: background-color .25s; }
.spec tbody tr:hover { background: rgba(243, 236, 223, .06); }
.spec figcaption { margin-top: 1rem; font-size: .85rem; color: rgba(243, 236, 223, .65); text-align: left; }
.spec table.has-fixed-layout, .spec table { table-layout: auto !important; }
.spec th, .spec td { border: 0 !important; border-bottom: 1px solid var(--line-light) !important; }
.spec thead th { border-bottom-color: rgba(243, 236, 223, .35) !important; white-space: nowrap; }
.spec thead { border: 0 !important; }

/* Domande frequenti */
.faq-sec { background: var(--carta); }
.faq-sec__cols { gap: clamp(2rem, 6vw, 6rem) !important; }
.faq-sec__head h2 { margin: 0 !important; }
.faq-sec__head p { margin-top: 1.2rem; }
.form-fallback__t { font-family: var(--display); font-size: 1.6rem; color: var(--abete); margin: 0 0 .6rem; }
.btn--line { background: transparent; color: var(--abete); border: 1.5px solid var(--abete); }
.btn--line:hover { background: var(--abete); color: var(--cream); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.4rem 3.4rem 1.4rem 0; position: relative; font-family: var(--display); font-size: clamp(1.12rem, 1.45vw, 1.35rem); color: var(--abete); transition: color .3s; }
.faq__item summary:hover { color: var(--larice-text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 2.3rem; height: 2.3rem; margin-top: -1.15rem; border-radius: 6px; background: var(--segatura) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23A8632B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 55% no-repeat; transition: transform .45s var(--ease), background-color .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--resina); }
.faq__a p { margin: 0 0 1.5rem; max-width: 44rem; }

/* Passaggi verticali */
.percorso { background: var(--segatura); }
.percorso__cols { gap: clamp(2rem, 6vw, 6rem) !important; }
.percorso__head h2 { margin: 0 !important; }
.percorso__head .lead { margin-top: 1.3rem; }
.percorso__head { position: sticky; top: 8rem; align-self: flex-start !important; }
.percorso__steps { position: relative; }
.path { position: absolute; left: 1.45rem; top: 1rem; bottom: 1rem; width: 2px; background: var(--line); }
.path span { display: block; width: 100%; height: 100%; background: var(--larice); transform-origin: top; transform: scaleY(var(--pp, 0)); }
.fx-reduced .path span { transform: none; }
.steps { display: grid; gap: 1.2rem; }
.steps--v .step { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.6rem; padding: 0 0 1.4rem !important; margin: 0 !important; }
.step > * { margin: 0 !important; }
.step__n { grid-row: span 2; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 8px; background: var(--abete); color: var(--cream); font-weight: 700; font-size: .9rem; position: relative; z-index: 1; }
.step__t { font-size: clamp(1.25rem, 1.7vw, 1.5rem) !important; align-self: center; }
.step__d { margin-top: .4rem !important; grid-column: 2; }

/* Vantaggi */
.uses { background: var(--carta); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { padding: 2rem !important; margin: 0 !important; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .4s; }
.feat:hover { background: var(--segatura); }
.feat > * { margin: 0 !important; }
.feat__n { font-family: var(--display); font-size: 1.9rem; color: var(--larice); line-height: 1; }
.feat__t { margin-top: 1rem !important; font-size: 1.3rem !important; }
.feat__d { margin-top: .6rem !important; font-size: .96rem; }

/* Catalogo in breve */
.catalogo { background: var(--segatura); }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.cat { border-top: 3px solid var(--larice); padding-top: 1.2rem !important; margin: 0 !important; }
.cat > * { margin: 0 !important; }
.cat__list { list-style: none; padding: 0 !important; margin-top: 1rem !important; }
.cat__list li { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }

/* Illustrazioni giardino */
.garden { background: var(--carta); }
.ills { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); max-width: var(--wide); margin: 0 auto; }
.ill { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .5s var(--ease), box-shadow .5s; }
.ill:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ill__ico { width: 84px; height: 84px; border-radius: 12px; background: var(--segatura); display: grid; place-items: center; }
.illu { width: 70%; height: 70%; }
.illu path, .illu circle { fill: none; stroke: var(--larice); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill__t { margin: 1.2rem 0 0; font-size: 1.2rem; }
.ill__d { margin: .5rem 0 0; font-size: .93rem; }
.fx-ready .ill:hover .illu path { animation: illu 1.2s var(--ease-io); }
@keyframes illu { from { stroke-dasharray: 300; stroke-dashoffset: 300; } to { stroke-dasharray: 300; stroke-dashoffset: 0; } }

/* Storia: linea del tempo */
.storia { background: var(--carta); }
.storia__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2rem); padding-top: 2.4rem; }
.storia__line { position: absolute !important; left: 0; right: 0; top: .5rem; height: 2px; background: var(--line); margin: 0 !important; }
.storia__line span { display: block; height: 100%; background: var(--larice); transform-origin: left; transform: scaleX(var(--tlp, 0)); }
.fx-reduced .storia__line span { transform: none; }
.storia__item { position: relative; margin: 0 !important; }
.storia__item::before { content: ""; position: absolute; top: -2.25rem; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--carta); border: 2px solid var(--larice); }
.storia__item > * { margin: 0 !important; }
.storia__y { font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.5rem); color: var(--larice); line-height: 1; }
.storia__t { margin-top: .8rem !important; }
.storia__d { margin-top: .5rem !important; font-size: .95rem; }

/* Galleria */
.gallery-sec { background: var(--carta); }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem !important; }
.filters button { border: 1px solid var(--line); background: var(--white); color: var(--abete); padding: .65rem 1.05rem; border-radius: 6px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .25s, color .25s; }
.filters button.is-active, .filters button:hover { background: var(--abete); color: var(--cream); border-color: var(--abete); }
.gal--masonry { columns: 3 300px; column-gap: 1rem; }
.gal__item { break-inside: avoid; margin: 0 0 1rem !important; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gal__item img { width: 100%; display: block; transition: transform 1s var(--ease); }
.gal__item:hover img { transform: scale(1.04); }
.gal__item.is-hidden { display: none; }

/* Preventivo e modulo */
section.quote { background: var(--segatura); }
.quote__cols { gap: clamp(2rem, 5vw, 5rem) !important; }
.quote__side h2 { margin: 0 !important; }
.quote__side .lead { margin-top: 1.3rem; }
.info { margin-top: 1.8rem !important; }
.info__row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.info__row strong { font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--larice-text); }
.info__row a { color: var(--abete); word-break: break-word; }
.form-card { background: var(--white); padding: clamp(1.6rem, 4vw, 3rem) !important; border-radius: var(--radius-l); box-shadow: var(--shadow-l); border: 1px solid var(--line); }
.cf-tipo { margin-bottom: 1.3rem; }
.cf-tipo .wpcf7-radio { display: flex; flex-wrap: wrap; gap: .5rem; }
.cf-tipo .wpcf7-list-item { margin: 0; }
.cf-tipo label { display: block; cursor: pointer; }
.cf-tipo input { position: absolute; opacity: 0; pointer-events: none; }
.cf-tipo .wpcf7-list-item-label { display: inline-block; padding: .7rem 1.1rem; border-radius: 6px; border: 1.5px solid rgba(31, 51, 41, .25); font-weight: 600; font-size: .92rem; color: var(--abete); transition: background-color .25s, color .25s, border-color .25s; }
.cf-tipo input:checked + .wpcf7-list-item-label { background: var(--abete); border-color: var(--abete); color: var(--cream); }
.cf-tipo input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--larice); outline-offset: 2px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.cf-grid p { margin: 0; }
.cf-full { grid-column: 1 / -1; }
.wpcf7 label { display: block; font-size: .8rem; font-weight: 650; letter-spacing: .04em; color: var(--abete); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea { width: 100%; margin-top: .45rem; padding: .95rem 1rem; border: 1.5px solid #ddd6c8; border-radius: 8px; background: var(--carta); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background-color .25s; box-sizing: border-box; max-width: 100%; }
.wpcf7 input[type="file"] { margin-top: .5rem; font: inherit; font-size: .9rem; }
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--larice); background: var(--white); box-shadow: 0 0 0 4px rgba(168, 99, 43, .15); }
.cf-check { margin: 1.1rem 0 0; font-size: .9rem; }
.cf-check .wpcf7-list-item { margin: 0; }
.cf-check label { font-size: .9rem; font-weight: 450; letter-spacing: 0; color: var(--text); display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; }
.cf-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; border: 1.5px solid #c2b9a6; border-radius: 5px; background: var(--white); display: grid; place-content: center; cursor: pointer; }
.cf-check input[type="checkbox"]::after { content: ""; width: .65rem; height: .65rem; border-radius: 2px; background: var(--larice); transform: scale(0); transition: transform .25s var(--ease); }
.cf-check input[type="checkbox"]:checked { border-color: var(--larice); }
.cf-check input[type="checkbox"]:checked::after { transform: scale(1); }
.cf-submit { margin-top: 1.6rem; }
.wpcf7 input[type="submit"] { background: var(--larice); color: var(--white); border: 0; padding: 1.1rem 2rem; font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .3s, box-shadow .3s; border-radius: 6px; }
.wpcf7 input[type="submit"]:hover { background: var(--abete); }
.wpcf7-not-valid-tip { color: #a3271c; font-size: .84rem; margin-top: .35rem; font-weight: 500; letter-spacing: 0; }
.wpcf7 form .wpcf7-response-output { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border: 1.5px solid var(--abete); border-radius: 8px; color: var(--ink); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #a3271c; }
.wpcf7-spinner { background: var(--larice); }

/* Contatti */
.contacts { background: var(--carta); padding-top: clamp(3rem, 6vw, 5rem) !important; }
.ccards { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 1rem; }
.ccard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem !important; margin: 0 !important; box-shadow: var(--shadow); }
.ccard > * { margin: 0 !important; }
.ccard__k { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--larice-text); }
.ccard__v { margin-top: .6rem !important; font-family: var(--display); font-size: 1.35rem; line-height: 1.25; }
.ccard__v a { color: var(--abete); text-decoration: none; word-break: break-word; }
.ccard__d { margin-top: .6rem !important; font-size: .86rem; }
.ccard--hours { background: var(--abete); color: rgba(243, 236, 223, .88); }
.ccard--hours .ccard__k { color: var(--resina); }
.ccard--hours .hours li.is-today { background: rgba(217, 164, 65, .2); color: var(--cream); }
.hours { list-style: none; padding: 0; margin: .6rem 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .7rem; border-radius: 6px; font-size: .9rem; }
.hours li b { font-weight: 600; text-align: right; white-space: nowrap; }
.hours li.is-today { background: var(--segatura); color: var(--abete); }
.hours li.is-today span::after { content: " ●"; color: var(--larice); font-size: .7em; vertical-align: middle; }
.map-sec { padding: 0 !important; }
.map-sec > * { max-width: none !important; }
.map-consent { position: relative; height: clamp(380px, 55vh, 560px); background: var(--segatura); display: grid; place-items: center; text-align: center; margin: 0 !important; overflow: hidden; padding: 1rem; }
.map-consent::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse at 50% 55%, transparent 0 40px, rgba(168, 99, 43, .12) 40px 41.5px); }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }
.map-consent__box { position: relative; max-width: 32rem; padding: 2rem; background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-l); }
.map-consent__t { font-family: var(--display); font-size: 1.8rem; color: var(--abete); margin: 0 0 .5rem; }
.map-consent__btn { margin: 1rem 1rem 0 0; background: var(--larice); color: var(--white); border: 0; padding: .9rem 1.4rem; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; }
.map-consent__btn:hover { background: var(--abete); }

/* Pagina legale e 404 */
.legal-page { background: var(--carta); padding-top: clamp(8rem, 13vw, 11rem) !important; }
.legal h2 { font-size: clamp(1.4rem, 2vw, 1.8rem) !important; margin-top: 2.6rem !important; }
.legal__title { margin: 0 0 1.4rem !important; }
.legal__lead { font-size: 1.1rem; color: var(--abete); }
.legal__list li { margin-bottom: .6rem; }
.btn-cookie-settings { background: var(--abete); color: var(--cream); border: 0; padding: .9rem 1.3rem; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; }
.btn-cookie-settings:hover { background: var(--larice); }
.e404 { min-height: 100vh; display: flex; align-items: center; background: var(--abete-3); color: rgba(243, 236, 223, .86); overflow: hidden; }
.e404 > * { max-width: var(--wide) !important; }
.e404__content { position: relative; z-index: 1; width: 100%; }
.e404__content > * { max-width: 42rem; }
.e404__title { color: var(--cream) !important; margin: 0 !important; }
.e404__title em { color: var(--resina); }
.e404__text { margin-top: 1.4rem !important; }
.e404__rings { position: absolute !important; right: -10vw; top: 50%; width: 60vw; transform: translateY(-50%); opacity: .35; margin: 0 !important; }
.e404__rings .rings path { stroke: var(--resina); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--abete-3); color: rgba(243, 236, 223, .76); overflow: hidden; }
.site-footer__inner { padding: clamp(4rem, 8vw, 7rem) var(--gutter) 2rem !important; }
.site-footer__inner > * { max-width: var(--wide) !important; }
.footer-big { font-family: var(--display); font-size: clamp(2.8rem, 9vw, 8.5rem); line-height: .95; color: var(--cream); letter-spacing: -.03em; margin: 0 0 clamp(3rem, 6vw, 5rem) !important; display: grid; }
.footer-big span:nth-child(2) { font-style: italic; color: var(--resina); padding-left: 12vw; --px: -80; }
.footer-big span:first-child { --px: 60; }
.footer-cols { gap: clamp(1.5rem, 4vw, 4rem) !important; border-top: 1px solid var(--line-light); padding-top: 3rem; }
.footer-logo img { width: 230px; height: auto; }
.footer-claim { margin-top: 1.4rem !important; font-size: .95rem; }
.footer-social a { display: inline-flex; align-items: center; gap: .5rem; color: var(--cream); text-decoration: none; font-weight: 600; font-size: .9rem; }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; }
.footer-t { font-family: var(--wp--preset--font-family--body) !important; font-size: .74rem !important; font-weight: 700 !important; letter-spacing: .18em; text-transform: uppercase; color: var(--resina) !important; margin: 0 0 1.2rem !important; }
.footer-row { margin: 0 0 1rem !important; font-size: .95rem; }
.footer-row span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 236, 223, .5); }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--resina); }
.site-footer .hours li { padding: .35rem .6rem; font-size: .86rem; }
.site-footer .hours li.is-today { background: rgba(217, 164, 65, .16); color: var(--cream); }
.footer-links { list-style: none; padding: 0 !important; margin: 0; columns: 2; column-gap: 1.4rem; }
.footer-links li { margin-bottom: .55rem; font-size: .93rem; break-inside: avoid; }
.footer-links [aria-current="page"] { color: var(--resina); }
.footer-legal { margin-top: 3rem !important; padding-top: 1.6rem; border-top: 1px solid var(--line-light); font-size: .82rem; color: rgba(243, 236, 223, .6); }

/* =========================================================
   PULSANTI FISSI
   ========================================================= */
.fixed-actions { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 55; display: flex; flex-direction: column; gap: 2px; transition: opacity .3s, transform .4s var(--ease); }
.lb-open .fixed-actions { opacity: 0; pointer-events: none; transform: translate(100%, -50%); }
.fa-btn { width: 62px; min-height: 60px; padding: .65rem 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; color: var(--cream); background: var(--abete); text-decoration: none; font-weight: 650; letter-spacing: .02em; font-size: .62rem; transition: width .3s var(--ease), background-color .3s; box-shadow: -10px 10px 30px -12px rgba(20, 34, 27, .6); }
.fa-btn:first-child { border-radius: 10px 0 0 0; background: var(--larice); color: var(--white); }
.fa-btn:last-child { border-radius: 0 0 0 10px; }
.fa-btn svg { width: 22px; height: 22px; fill: currentColor; }
.fa-btn:hover { width: 70px; background: var(--resina); color: var(--abete-3); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(14, 24, 19, .96); display: grid; place-items: center; padding: 4rem 5rem; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 10rem); object-fit: contain; border-radius: var(--radius); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.lb__fig figcaption { margin-top: 1rem; color: rgba(243, 236, 223, .85); font-size: .95rem; text-align: center; }
.lb button { position: absolute; background: var(--cream); color: var(--abete); border: 0; width: 52px; height: 52px; border-radius: 8px; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lb__x { top: 1.2rem; right: 1.2rem; }
.lb__p { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb__n { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-open, .lb-open body { overflow: hidden; }

/* =========================================================
   BANNER COOKIE
   ========================================================= */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 300; width: min(470px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); color: var(--ink); padding: 1.6rem 1.5rem 1.3rem; box-shadow: 0 30px 80px -10px rgba(20, 34, 27, .55); border-top: 4px solid var(--larice); border-radius: 14px; font-size: .9rem; line-height: 1.5; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s var(--ease); }
.ck.is-in { opacity: 1; transform: none; }
.ck.is-expanded { width: min(640px, calc(100vw - 32px)); }
.ck a { color: var(--larice-text); }
.ck__x { position: absolute; top: .5rem; right: .6rem; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink); }
.ck__title { font-family: var(--display); font-size: 1.45rem; line-height: 1.1; margin: 0 0 .7rem; color: var(--abete); padding-right: 2rem; }
.ck__text { margin: 0 0 1rem; color: var(--text); }
.ck__cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .4rem; margin-bottom: 1rem; }
.ck__cat { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--carta); border: 1px solid #e8e1d2; border-radius: 8px; padding: .5rem .6rem; font-weight: 600; font-size: .78rem; cursor: pointer; }
.ck__switch { appearance: none; -webkit-appearance: none; flex: none; width: 36px; height: 20px; border-radius: 20px; background: #c2b9a6; position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.ck__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.ck__switch:checked { background: var(--abete); }
.ck__switch:checked::after { transform: translateX(16px); }
.ck__switch:disabled { opacity: .55; cursor: not-allowed; }
.ck__switch:focus-visible { outline: 3px solid var(--larice); outline-offset: 2px; }
.ck__details { border-top: 1px solid #ece5d6; padding-top: .8rem; margin-bottom: 1rem; }
.ck__tabs { display: flex; gap: .3rem; margin-bottom: .8rem; }
.ck__tabs button { flex: 1; border: 0; background: var(--segatura); padding: .65rem .5rem; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: .82rem; color: var(--ink); }
.ck__tabs button[aria-selected="true"] { background: var(--abete); color: #fff; }
.ck__acc { border-bottom: 1px solid #efe9dc; padding: .5rem 0; }
.ck__acc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 650; list-style: none; padding: .3rem 0; }
.ck__acc summary::-webkit-details-marker { display: none; }
.ck__acc summary::before { content: "+"; margin-right: .6rem; color: var(--larice); font-weight: 800; }
.ck__acc[open] summary::before { content: "–"; }
.ck__acc summary span { flex: 1; }
.ck__acc summary em { font-style: normal; color: #6f6a5e; font-weight: 500; }
.ck__acc summary b { font-size: .75rem; color: #2e7a43; }
.ck__acc table { width: 100%; border-collapse: collapse; font-size: .76rem; margin: .5rem 0; }
.ck__acc th, .ck__acc td { text-align: left; padding: .35rem .4rem; border-bottom: 1px solid #f0ebe0; vertical-align: top; }
.ck__acc th { background: var(--carta); }
.ck__none { color: #6f6a5e; font-style: italic; }
.ck__meta { font-size: .78rem; color: #5d584d; }
.ck__actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.ck__btn { flex: 1 1 auto; border: 1.5px solid var(--abete); background: transparent; color: var(--abete); padding: .7rem .9rem; border-radius: 6px; font: inherit; font-weight: 600; font-size: .84rem; cursor: pointer; transition: background .2s, color .2s; }
.ck__btn:hover { background: var(--abete); color: #fff; }
.ck__btn--primary { background: var(--larice); border-color: var(--larice); color: #fff; }
.ck__btn--primary:hover { background: var(--abete); border-color: var(--abete); color: #fff; }
.ck__btn--link { flex-basis: 100%; border: 0; text-decoration: underline; padding: .3rem; font-size: .8rem; order: 9; font-weight: 500; }
.ck__btn--link:hover { background: transparent; color: var(--larice-text); }
.ck-reopen { position: fixed; left: 16px; bottom: 16px; z-index: 290; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--larice); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(20, 34, 27, .45); transition: transform .3s var(--ease), opacity .3s; }
.ck-reopen:hover { transform: rotate(-20deg) scale(1.08); }
.ck-reopen svg { width: 24px; height: 24px; fill: currentColor; }
.ck-reopen[hidden], .ck[hidden] { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
	.open-badge--header { display: none; }
	.mpanel__body { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); }
	.mpanel__photo { display: none; }
	.cards--5 { grid-template-columns: repeat(2, 1fr); }
	.cards--5 > * { grid-column: auto !important; }
	.sps { grid-template-columns: repeat(2, 1fr); }
	.ccards { grid-template-columns: 1fr 1fr; }
	.ills { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 999px) {
	/* percorso orizzontale: diventa verticale */
	.tl__sticky { position: static; height: auto; display: block; padding-block: var(--sec); }
	.tl__track { flex-direction: column; align-items: stretch; transform: none !important; gap: 3rem; }
	.tl__intro, .tl__step { width: 100%; }
	.tl__step:nth-child(odd) { transform: none; }
	.tl__step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0 1.5rem; align-items: end; }
	.tl__step .tl__img { grid-row: span 3; }
	.tl__line { display: none; }
	.cards, .items, .cats { grid-template-columns: repeat(2, 1fr); }
	.feats { grid-template-columns: repeat(2, 1fr); }
	.storia__list { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
	.storia__line { display: none; }
	.storia__item::before { display: none; }
}
@media (max-width: 860px) {
	.header-cta-wrap, .site-header__inner > .lang { display: none !important; }
}
@media (max-width: 781px) {
	:root { --sec: clamp(4rem, 14vw, 5.5rem); }
	.site-header { padding: 10px 10px 0; }
	.site-header__inner { padding: .45rem .45rem .45rem .9rem; }
	.site-logo img, .is-scrolled .site-logo img { width: 168px; }
	.menu-btn { padding: .7rem .85rem; }
	.mpanel__top { padding: 1rem var(--gutter); }
	.mpanel__logo img { width: 160px; }
	.mpanel__close span { display: none; }
	.mpanel__body { grid-template-columns: 1fr; align-items: start; padding-top: .5rem; gap: 2rem; }
	.mnav__link { padding-left: 1.2rem; font-size: clamp(1.7rem, 7.6vw, 2.3rem); gap: .9rem; }
	.mnav__link:hover { padding-left: 1.6rem; }
	.mnav__sub { margin-left: 3.3rem; }
	.mpanel__bg { width: 120vw; right: -50vw; bottom: -40vw; }

	.hero--scene { padding: 7rem var(--gutter) 5rem !important; justify-content: flex-start; }
	.hero__content { max-width: none !important; }
	.hero__shade { background: linear-gradient(180deg, rgba(14, 24, 19, .82) 0%, rgba(14, 24, 19, .55) 48%, rgba(14, 24, 19, .1) 70%, rgba(14, 24, 19, .7) 100%); }
	.hero__layer--pile { width: 104vw; right: -26vw; bottom: 0; }
	.hero--scene { min-height: 0; padding-bottom: 46vw !important; }
	.hero__layer--near { display: none; }
	.hero__hud { display: none; }
	.scene__sun { left: 70%; top: 74%; width: 140vw; height: 140vw; margin: -70vw 0 0 -70vw; }
	.dust i:nth-child(n+10) { display: none; }

	.stats__grid { grid-template-columns: 1fr 1fr; border-left: 0; row-gap: 2rem; }
	.stat { border-right: 0; border-left: 1px solid var(--line); }
	.cards, .items, .items--4, .items--2, .cats, .auds, .feats, .ccards, .storia__list, .ills, .sps { grid-template-columns: 1fr; }
	.ills { grid-template-columns: 1fr 1fr; }
	.ill { padding: 1.2rem; }
	.sp { height: 300px; }
	.tl__step { grid-template-columns: 1fr; }
	.band { min-height: 0; }
	.band__disc { width: calc(var(--w) * .55); }
	.facts { grid-template-columns: 1fr; gap: 1rem; }
	.cta { min-height: 0; }
	.collage { height: 420px; margin-bottom: 1rem; }
	.collage__badge { width: 110px; height: 110px; } .collage__badge b { font-size: 1.8rem; }
	.page-hero__bg { height: 340px; }
	.page-hero__deco { width: 40%; left: auto; right: -8%; bottom: -10%; }
	.split--rev .split__cols { flex-direction: column; }
	.split__img { aspect-ratio: 4 / 3; }
	.percorso__head { position: static; }
	.cf-grid { grid-template-columns: 1fr; }
	.info__row { grid-template-columns: 1fr; gap: .2rem; }
	.footer-links { columns: 1; }
	.footer-big span:nth-child(2) { padding-left: 0; }
	.fixed-actions { top: auto; bottom: 0; right: 0; left: 0; transform: none; flex-direction: row; gap: 1px; }
	.fa-btn { flex: 1; width: auto; min-height: 56px; border-radius: 0 !important; flex-direction: row; gap: .5rem; font-size: .8rem; }
	.fa-btn:hover { width: auto; }
	.menu-open .fixed-actions, .lb-open .fixed-actions { transform: translateY(100%); }
	body { padding-bottom: 56px; }
	.ck, .ck-reopen { bottom: 72px; }
	.lb { padding: 4rem 1rem; }
	.lb__p, .lb__n { top: auto; bottom: 1.2rem; transform: none; }
}

/* Movimento ridotto */
@media (prefers-reduced-motion: reduce) {
	.dust, .mq__track.is-ready { animation: none !important; }
	.dust { display: none; }
	.mq__track { overflow-x: auto; width: auto; }
	.band__disc svg, .hero__scroll i::after { animation: none !important; }
	.mpanel { transition: none; }
}
.hours--menu li.is-today { background: rgba(217, 164, 65, .18); color: var(--cream); }
