/* ==========================================================================
   Fornace Cotto Umbro — Design system
   ========================================================================== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 800; font-display: swap; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF; }

:root {
  --cream: #F7F1E9;
  --sand: #EFE5D8;
  --sand-2: #E5D5C2;
  --paper: #FFFCF7;
  --white: #FFFFFF;
  --clay: #B4532F;
  --clay-2: #C8693F;
  --clay-d: #8C3A1D;
  --ink: #2A211C;
  --ink-2: #5B4D43;
  --ink-3: #8A7B6F;
  --olive: #6E6C4C;
  --gold: #A88B5B;
  --gold-l: #D9C29A;
  --glass: rgba(255, 255, 255, .62);
  --glass-d: rgba(28, 19, 14, .48);
  --glass-line: rgba(255, 255, 255, .45);
  --glass-line-d: rgba(255, 255, 255, .14);
  --blur: saturate(160%) blur(18px);
  --line: rgba(42, 33, 28, .12);
  --line-2: rgba(42, 33, 28, .2);
  --ok: #4F7A4A;
  --ff-d: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ff: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --r-s: 14px;
  --r-l: 34px;
  --sh: 0 1px 2px rgba(42, 33, 28, .05), 0 12px 32px -12px rgba(42, 33, 28, .18);
  --sh-l: 0 30px 80px -30px rgba(60, 30, 15, .35);
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--ff); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(180, 83, 47, .4); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 999; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--ff-d); font-weight: 330; text-wrap: balance; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "opsz" 96; }
h1 { font-size: clamp(40px, 5.5vw, 78px); }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--clay); font-weight: 300; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 600 11.5px/1 var(--ff); letter-spacing: .32em; text-transform: uppercase; color: var(--clay); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; position: relative; }
.sec--sand { background: var(--sand); }
.sec--paper { background: var(--cream); }
.sec--white { background: var(--white); }
.sec--dark { background: #221A16; color: #F3EAE0; }
.sec--dark .lead, .sec--dark p { color: #CDBFB2; }
.sec--dark h2 em { color: #E58C62; }
.sec__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.sec__head--c { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec__head--c .eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
.sec__head h2 { margin: 0; }
.sec__head p { margin: 0; }

/* ---------- Bottoni ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font: 700 15px/1.1 var(--ff); letter-spacing: .01em; text-decoration: none; transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease); position: relative; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); z-index: -1; }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(140, 58, 29, .55); }
.btn:hover::after { transform: translateX(120%); }
.btn--primary { --bg: var(--clay); }
.btn--primary:hover { --bg: var(--clay-d); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { --fg: var(--ink); background: var(--paper); box-shadow: var(--sh); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --fg: var(--clay); }
.btn--wa { --bg: #1FA855; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 16px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--clay); text-decoration: none; }
.link-arrow svg { width: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink); color: #E9DDD0; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 20px; }
.topbar ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar li svg { width: 15px; color: #E58C62; }
.topbar a { text-decoration: none; }
.topbar__r { display: flex; gap: 20px; align-items: center; }
.topbar__r a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.topbar__r svg { width: 15px; }

.hdr { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(42, 33, 28, .3); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; transition: min-height .3s var(--ease); }
/* altezza costante: nessun salto durante lo scroll */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 44px; height: 44px; }
.logo__t { display: flex; flex-direction: column; line-height: 1; }
.logo__t b { font: 600 21px/1 var(--ff); letter-spacing: .02em; }
.logo__t span { font: 300 17px/1.1 var(--ff); letter-spacing: .01em; }
.logo img { max-height: 48px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { white-space: nowrap; display: block; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s; }
.nav > ul > li > a:hover, .nav .current-menu-item > a { background: rgba(180, 83, 47, .09); color: var(--clay); }
.nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; opacity: .6; }
.nav .sub-menu { position: absolute; left: -10px; top: 100%; min-width: 280px; list-style: none; margin: 0; padding: 10px; background: var(--paper); border-radius: 18px; box-shadow: var(--sh-l); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.nav .sub-menu a:hover { background: var(--sand); color: var(--clay); }
.hdr__cta { display: flex; gap: 10px; align-items: center; }
.hdr__cta .btn { min-height: 46px; padding: 0 20px; font-size: 14px; }
.kit-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; display: grid; place-items: center; transition: .2s; }
.kit-btn:hover { background: var(--paper); border-color: var(--clay); color: var(--clay); }
.kit-btn svg { width: 20px; }
.kit-btn b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--clay); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; transform: scale(0); transition: transform .35s var(--ease); }
.kit-btn.has b { transform: scale(1); }
.kit-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 3.6vw, 56px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 { font-size: clamp(40px, 4.9vw, 70px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 38px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust-i { display: flex; gap: 12px; align-items: center; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.trust-i svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--paper); color: var(--clay); box-shadow: var(--sh); flex: none; }
.trust-i b { color: var(--ink); display: block; }
.hero__vis { position: relative; }
.hero__floor { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--sh-l); background: linear-gradient(180deg, #EADCCB 0%, #C98B6C 100%); }
.hero__floor canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.hero__floor::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(250, 246, 240, .96) 0%, rgba(250, 246, 240, .55) 22%, rgba(250, 246, 240, 0) 42%), radial-gradient(120% 70% at 20% 0%, rgba(255, 240, 215, .45), transparent 60%); pointer-events: none; }
.hero__floor img.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero__wall { position: absolute; z-index: 3; left: 9%; right: 9%; top: 7%; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.hero__wall .arch { width: 34%; aspect-ratio: 1 / 1.25; border-radius: 999px 999px 8px 8px; background: linear-gradient(180deg, #DCE5E6, #F3ECDF); box-shadow: inset 0 0 0 7px #EFE6DA, inset 0 0 0 9px rgba(42, 33, 28, .12); }
.hero__panel { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 252, 247, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 22px; padding: 16px 18px; box-shadow: var(--sh); display: grid; gap: 12px; }
.hero__panel-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.hero__panel-top b { font: 500 19px/1.1 var(--ff-d); }
.hero__panel-top small { color: var(--ink-3); display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.hero__dots { display: flex; gap: 8px; flex-wrap: wrap; }
.hero__dots button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); background: var(--c); transition: transform .25s var(--ease), box-shadow .25s; padding: 0; }
.hero__dots button:hover { transform: scale(1.1); }
.hero__dots button.is-on { box-shadow: 0 0 0 2px var(--clay); transform: scale(1.08); }
.hero__pats { display: flex; gap: 6px; flex-wrap: wrap; }
.hero__pats button { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; }
.hero__pats button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__sticker { position: absolute; z-index: 5; top: -22px; right: -18px; width: 132px; height: 132px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; text-align: center; font: 600 13px/1.25 var(--ff); padding: 20px; box-shadow: var(--sh-l); text-decoration: none; transition: transform .4s var(--ease); }
.hero__sticker:hover { color: #fff; transform: rotate(-8deg) scale(1.05); }
.hero__sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__sticker text { fill: rgba(255, 255, 255, .85); font: 700 10.5px var(--ff); letter-spacing: .22em; text-transform: uppercase; }
.hero__sticker i { font-style: normal; font-size: 30px; display: block; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* foto in sovrapposizione nell'hero */
.hero__pic { position: absolute; z-index: 6; left: -12%; bottom: 22%; width: 36%; aspect-ratio: 3 / 4; margin: 0; border-radius: 22px; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--sh-l); animation: floaty 7s ease-in-out infinite; }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.hero__pic figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 6px; align-items: center; background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 7px 9px; font-size: 11.5px; font-weight: 700; line-height: 1.25; }
.hero__pic figcaption svg { width: 16px; flex: none; color: var(--clay); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Mosaico fotografico ---------- */
.mosaic { display: grid; grid-template-columns: 1fr 1.6fr 1fr; grid-template-rows: 300px 300px; gap: 10px; padding: 10px; background: var(--white); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: 18px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic figure:hover img, .mosaic__b:hover > img { transform: scale(1.05); }
.mosaic__a { grid-row: span 2; }
.mosaic__b { grid-row: span 2; position: relative; overflow: hidden; border-radius: 18px; display: flex; align-items: flex-end; }
.mosaic__b > img { position: absolute; inset: 0; }
.mosaic__b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 18, 12, .05) 20%, rgba(27, 18, 12, .78) 100%); }
.mosaic__txt { position: relative; z-index: 2; padding: clamp(24px, 4vw, 56px); color: #fff; max-width: 620px; }
.mosaic__txt h2 { color: #fff; font-size: clamp(32px, 3.8vw, 56px); }
.mosaic__txt h2 em { color: #FFC9A9; }
.mosaic__txt p { color: #F1E4D8; font-size: 17px; max-width: 46ch; margin-bottom: 26px; }
.mosaic figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }

/* ---------- Galleria ---------- */
.gal-nav { display: grid; gap: 18px; }
.gal-ctrl { display: flex; gap: 10px; align-items: center; }
.gal-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--white); display: grid; place-items: center; transition: .25s; }
.gal-btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.gal-btn svg { width: 20px; }
.gal-btn[data-gal="-1"] svg { transform: scaleX(-1); }
.gal-ctrl .link-arrow { margin-left: 10px; }
.gal { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 10px; scrollbar-width: none; cursor: grab; }
.gal::-webkit-scrollbar { display: none; }
.gal.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gal__i { flex: none; width: clamp(240px, 24vw, 340px); height: clamp(340px, 34vw, 480px); margin: 0; border-radius: var(--r); overflow: hidden; position: relative; scroll-snap-align: start; }
.gal__i--w { width: clamp(300px, 36vw, 520px); }
.gal__i img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; user-select: none; }
.gal__i:hover img { transform: scale(1.06); }
.gal__i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 12, 8, .7)); }
.gal__i figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: #fff; font: 400 23px/1.2 var(--ff-d); }
.gal__i figcaption small { display: block; font: 700 11.5px var(--ff); letter-spacing: .14em; text-transform: uppercase; color: #FFC9A9; margin-bottom: 6px; }

.split__badge { position: absolute; left: -18px; top: 30px; background: var(--clay); color: #fff; border-radius: 16px; padding: 14px 18px; font-size: 13px; line-height: 1.35; box-shadow: var(--sh-l); }
.split__badge b { display: block; font: 500 19px var(--ff-d); }
.cta-band .cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; min-height: clamp(520px, 72vh, 760px); display: grid; place-items: center; overflow: hidden; isolation: isolate; color: #fff; text-align: center; padding: 90px var(--gut); }
.manifesto__bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; animation: kenburns 28s ease-in-out infinite alternate; }
.manifesto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, rgba(25, 16, 10, .35), rgba(25, 16, 10, .72)); }
.manifesto__in { max-width: 860px; }
.manifesto__mark { display: inline-block; width: 46px; color: var(--gold-l); margin-bottom: 30px; }
.manifesto blockquote { margin: 0; font: 300 clamp(28px, 3.6vw, 50px)/1.3 var(--ff-d); letter-spacing: -.01em; }
.manifesto blockquote p { margin: 0 0 .6em; }
.manifesto blockquote em { color: var(--gold-l); font-style: italic; }
.manifesto cite { display: inline-flex; gap: 14px; align-items: center; font: 600 11.5px var(--ff); letter-spacing: .32em; text-transform: uppercase; font-style: normal; color: #E9DCCB; }
.manifesto cite::before, .manifesto cite::after { content: ""; width: 40px; height: 1px; background: var(--gold-l); }
@keyframes kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.12) translateY(-2%); } }
/* grana pellicola sulle foto */
.mosaic__b::before, .manifesto::after, .cta-band::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .18; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.manifesto::after { z-index: 0; }
.cta-band .cta-band__bg { animation: kenburns 30s ease-in-out infinite alternate; }
.mosaic__txt h2 { font-weight: 300; }

/* ---------- Chiaroscuro e overlay ---------- */
.sec--photo { position: relative; isolation: isolate; color: #F3EAE0; overflow: hidden; }
.sec--photo .sec__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sec--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 15, 11, .88) 0%, rgba(22, 15, 11, .72) 45%, rgba(22, 15, 11, .9) 100%); }
.sec--photo h2 { color: #fff; } .sec--photo h2 em { color: var(--gold-l); }
.sec--photo .eyebrow { color: var(--gold-l); }
.sec--photo .steps::before { background: repeating-linear-gradient(90deg, rgba(217, 194, 154, .5) 0 8px, transparent 8px 16px); }
.sec--photo .step { background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 26px 24px 24px; transition: background .4s, transform .5s var(--ease); }
.sec--photo .step:hover { background: rgba(255, 255, 255, .12); transform: translateY(-6px); }
.sec--photo .step .num { background: transparent; border-color: var(--gold-l); color: var(--gold-l); }
.sec--photo .step:hover .num { background: var(--clay); border-color: var(--clay); color: #fff; }
.sec--photo .step h3 { color: #fff; }
.sec--photo .step p { color: #D8CABC; }
.sec--photo .link-arrow { color: var(--gold-l); }
.sec--photo .steps::before { top: 63px; }

.sec--dark .gal-btn { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.sec--dark .gal-btn:hover { background: var(--clay); border-color: var(--clay); }
.sec--dark .eyebrow { color: var(--gold-l); }
.gal__i::after { transition: background .6s var(--ease); }
.gal__i:hover::after { background: linear-gradient(180deg, rgba(140, 58, 29, .15) 0%, rgba(20, 12, 8, .88) 75%); }
.gal__i figcaption { transition: transform .6s var(--ease); }
.gal__cta { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 13px var(--ff); text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); max-height: 0; overflow: hidden; }
.gal__cta svg { width: 16px; }
.gal__i:hover .gal__cta, .gal__i:focus-within .gal__cta { opacity: 1; transform: none; max-height: 60px; }
.gal__cta:hover { color: var(--clay); }

.tone__ov { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: linear-gradient(180deg, rgba(34, 22, 15, .1), rgba(34, 22, 15, .72)); opacity: 0; transition: opacity .45s var(--ease); text-decoration: none; }
.tone__ov span { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 700; font-size: 14px; padding: 11px 18px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; transform: translateY(10px); transition: transform .45s var(--ease), background .3s; }
.tone__ov span svg { width: 17px; }
.tone__ov:hover span { background: #fff; color: var(--ink); }
.tone:hover .tone__ov, .tone__ov:focus-visible { opacity: 1; }
.tone:hover .tone__ov span { transform: none; }
.tone__sw .chip { z-index: 3; }

.col-card::before { transition: background .6s var(--ease); }
.col-card:hover::before { background: linear-gradient(180deg, rgba(140, 58, 29, .25) 0%, rgba(20, 12, 8, .85) 100%); }
.col-card p { max-height: 0; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; overflow: hidden; }
.col-card:hover p, .col-card:focus-visible p { max-height: 80px; opacity: .9; }
@media (hover: none) { .col-card p { max-height: none; opacity: .88; } .gal__cta { opacity: 1; transform: none; max-height: 60px; } }

.ph-quote { position: absolute; z-index: 3; left: 22px; right: 30%; bottom: 22px; margin: 0; padding: 20px 22px; border-radius: 18px; background: rgba(27, 18, 12, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: 300 clamp(17px, 1.5vw, 21px)/1.35 var(--ff-d); border: 1px solid rgba(255, 255, 255, .14); }
.ph-quote em { color: var(--gold-l); }
.split__media .ph { position: relative; }
.split__media .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 12, 8, .55)); pointer-events: none; }

.post-card .ph { position: relative; }
.post-card .ph::after { content: ""; position: absolute; inset: 0; background: rgba(140, 58, 29, 0); transition: background .5s var(--ease); }
.post-card:hover .ph::after { background: rgba(60, 28, 14, .35); }

/* ==========================================================================
   Trasparenze e cura grafica
   ========================================================================== */
/* header: vetro più leggero, linea dorata sottile */
.hdr { background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.hdr.is-scrolled { background: rgba(255, 255, 255, .72); border-color: rgba(168, 139, 91, .25); }
.topbar { background: linear-gradient(90deg, #1E1612, #2A1F19 50%, #1E1612); }

/* hero: luci calde sfocate dietro i contenuti */
.hero { isolation: isolate; }
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero__glow i:nth-child(1) { width: 520px; height: 520px; right: 4%; top: -12%; background: radial-gradient(circle, rgba(200, 105, 63, .45), transparent 65%); }
.hero__glow i:nth-child(2) { width: 420px; height: 420px; right: 30%; bottom: -20%; background: radial-gradient(circle, rgba(217, 194, 154, .55), transparent 65%); animation-delay: -6s; }
.hero__glow i:nth-child(3) { width: 360px; height: 360px; left: -8%; top: 10%; background: radial-gradient(circle, rgba(239, 229, 216, .9), transparent 65%); animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero__floor { box-shadow: 0 40px 90px -40px rgba(90, 40, 15, .55), 0 0 0 1px rgba(255, 255, 255, .6) inset; }
.hero__panel { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); box-shadow: 0 20px 40px -20px rgba(60, 30, 15, .35); }
.hero__pic { border: 0; box-shadow: 0 30px 60px -25px rgba(60, 30, 15, .55), 0 0 0 1px rgba(255, 255, 255, .7); padding: 6px; background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.hero__pic img { border-radius: 16px; }
.hero__pic figcaption { left: 14px; right: 14px; bottom: 14px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); }
.hero__sticker { background: rgba(180, 83, 47, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 6px rgba(255, 255, 255, .35), var(--sh-l); }
.trust-i svg { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(168, 139, 91, .25); box-shadow: none; }

/* vantaggi: carte di vetro su una trama di cotto appena accennata */
.usp-sec { isolation: isolate; overflow: hidden; }
.usp-sec__bg { position: absolute; inset: 0; z-index: -1; }
.usp-sec__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: saturate(.8); }
.usp-sec__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, .55) 45%, var(--white) 100%); }
.usp__i { background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(168, 139, 91, .18), 0 20px 40px -30px rgba(60, 30, 15, .35); }
.usp__i:hover { background: rgba(255, 255, 255, .85); }
.usp__i .ico { background: linear-gradient(145deg, rgba(239, 229, 216, .9), rgba(255, 255, 255, .6)); border: 1px solid rgba(168, 139, 91, .22); }
.usp__i .n { color: var(--gold); }

/* mosaico: testo su lastra di vetro scuro */
.mosaic__txt { margin: clamp(14px, 2vw, 26px); padding: clamp(24px, 3vw, 42px); background: var(--glass-d); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line-d); border-radius: 22px; }
.mosaic figcaption, .col-card .tag, .tone__sw .chip { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); }
.mosaic figure::after, .col-card::after, .gal__i figure::after { pointer-events: none; }
.mosaic figure::before, .gal__i::before, .col-card .bg::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); pointer-events: none; }

/* simulatore: pannelli traslucidi */
.sim__stage { background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line-d); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.sim__panel { background: rgba(255, 252, 247, .9); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.sim__step { background: rgba(247, 241, 233, .7); }
.sim__badge { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); }
.sim-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 10% 90%, rgba(168, 139, 91, .14), transparent 70%); }

/* catalogo: titolo su banda di vetro */
.col-card { padding: 14px; }
.col-card h3, .col-card p { position: relative; z-index: 2; }
.col-card .info { position: relative; padding: 20px 22px; border-radius: 16px; background: rgba(28, 19, 14, .28); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border: 1px solid var(--glass-line-d); transition: background .5s var(--ease); }
.col-card:hover .info { background: rgba(28, 19, 14, .45); }
.col-card .go { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); }
.col-card .tag { top: 26px; left: 26px; }
.col-card .go { top: 24px; right: 24px; }

/* tonalità e galleria */
.tone { border-color: rgba(168, 139, 91, .2); }
.tone--cta { background: linear-gradient(160deg, #2E221B, #1E1612); box-shadow: inset 0 0 0 1px rgba(217, 194, 154, .18); }
.gal__i figcaption { left: 14px; right: 14px; bottom: 14px; padding: 18px 18px 16px; border-radius: 16px; background: rgba(28, 19, 14, .3); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); border: 1px solid var(--glass-line-d); }
.gal__i::after { background: linear-gradient(180deg, transparent 60%, rgba(20, 12, 8, .35)); }

/* fornace */
.split__media .ph { box-shadow: 0 40px 80px -40px rgba(60, 30, 15, .6), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.split__media .ph2 { border: 0; padding: 6px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 30px 60px -25px rgba(60, 30, 15, .55), 0 0 0 1px rgba(255, 255, 255, .8); }
.split__media .ph2 img { border-radius: 16px; }
.split__badge { background: rgba(180, 83, 47, .82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .25); }

/* FAQ: card su foto */
.faq-aside .card--photo { position: relative; overflow: hidden; isolation: isolate; background: transparent; border: 1px solid var(--glass-line-d); }
.faq-aside .card--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.faq-aside .card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 19, 14, .55), rgba(28, 19, 14, .88)); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.faq details { border-color: rgba(168, 139, 91, .28); }

/* modulo: lato sinistro con foto e velo cotto trasparente */
.quote__side { background: #6E2B17; isolation: isolate; }
.quote__side .quote__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote__side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(180, 83, 47, .9) 0%, rgba(140, 58, 29, .82) 55%, rgba(60, 24, 10, .9) 100%); }
.quote__contacts a { background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(255, 255, 255, .22); }
.quote { box-shadow: 0 50px 100px -50px rgba(60, 30, 15, .55), 0 0 0 1px rgba(168, 139, 91, .15); }
.fld input, .fld select, .fld textarea { background: rgba(247, 241, 233, .6); }
.form-tabs { background: rgba(247, 241, 233, .8); border: 1px solid rgba(168, 139, 91, .18); }

/* CTA finale e manifesto: lastra di vetro */
.cta-band { padding: clamp(18px, 3vw, 40px); }
.cta-band > :not(img):not(canvas) { position: relative; z-index: 2; }
.cta-band .eyebrow, .cta-band h2, .cta-band p, .cta-band .row { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band::before { background: radial-gradient(80% 120% at 50% 100%, rgba(34, 26, 22, .25), rgba(34, 26, 22, .7)); }
.cta-band__glass { padding: clamp(30px, 5vw, 70px) clamp(20px, 4vw, 60px); border-radius: 26px; background: rgba(28, 19, 14, .32); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--glass-line-d); max-width: 900px; margin: 0 auto; }
.manifesto__in { padding: clamp(30px, 5vw, 64px); border-radius: 28px; background: rgba(28, 19, 14, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(217, 194, 154, .2); }

/* pulsanti: varianti vetro */
.btn--light { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sec--dark .btn--ghost, .sec--photo .btn--ghost { --fg: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.fab-wa { box-shadow: 0 0 0 6px rgba(31, 168, 85, .15), 0 14px 30px -10px rgba(31, 168, 85, .7); }
.kit__p { background: rgba(250, 246, 240, .88); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.kit__bg { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.toast { background: rgba(34, 26, 22, .86); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line-d); }
.nav .sub-menu { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: rgba(168, 139, 91, .2); }

/* footer su foto velata */
.ftr { position: relative; isolation: isolate; overflow: hidden; }
.ftr__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.ftr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 21, 18, .97) 0%, rgba(27, 21, 18, .9) 60%, rgba(27, 21, 18, .8) 100%); }
.ftr__big { color: transparent; -webkit-text-stroke: 1px rgba(217, 194, 154, .22); }
.ftr__social a { background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero__panel, .usp__i, .sim__panel { background: rgba(255, 255, 255, .95); }
  .mosaic__txt, .col-card .info, .gal__i figcaption, .cta-band__glass { background: rgba(28, 19, 14, .7); }
}

/* ---------- Menu: barra glossy flottante ---------- */
.hdr, .hdr.is-scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; padding: 12px clamp(14px, 3vw, 56px) 0; pointer-events: none; }
.hdr .wrap { pointer-events: auto; position: relative; max-width: 1560px; width: 100%; gap: clamp(12px, 1.4vw, 26px); min-height: 74px; padding: 0 12px 0 28px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .55) 100%);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 rgba(168, 139, 91, .18), 0 1px 2px rgba(60, 30, 15, .06), 0 14px 40px -18px rgba(60, 30, 15, .32);
  transition: box-shadow .35s var(--ease), background .35s; }
.hdr .wrap::before { content: ""; position: absolute; left: 18px; right: 18px; top: 1px; height: 48%; border-radius: 999px 999px 40px 40px; background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); pointer-events: none; }
.hdr.is-scrolled .wrap { background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .66) 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(168, 139, 91, .2), 0 20px 50px -20px rgba(60, 30, 15, .42); }
.hdr .wrap > *:not(.nav) { position: relative; }
.nav > ul { background: rgba(247, 241, 233, .55); border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px; box-shadow: inset 0 1px 2px rgba(60, 30, 15, .06); }
.nav > ul > li > a { padding: 9px 15px; }
.nav > ul > li > a:hover, .nav .current-menu-item > a { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .7)); color: var(--clay); box-shadow: 0 1px 0 #fff inset, 0 4px 12px -6px rgba(60, 30, 15, .3); }
.nav .sub-menu { top: calc(100% + 12px); border-radius: 22px; padding: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -25px rgba(60, 30, 15, .4); }
.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav .sub-menu a { border-radius: 14px; }
.hdr__cta .btn--primary { background: linear-gradient(180deg, #C8693F, #A9482A); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -10px rgba(140, 58, 29, .7); }
.hdr__cta .btn--ghost, .kit-btn, .burger { background: rgba(255, 255, 255, .6); border-color: rgba(168, 139, 91, .28); box-shadow: inset 0 1px 0 #fff; }
.topbar { position: relative; z-index: 81; }

/* ---------- Menu: variante vetro scuro ---------- */
.hdr .wrap { color: #F3EAE0; background: linear-gradient(180deg, rgba(38, 28, 22, .88) 0%, rgba(18, 12, 9, .76) 100%); border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(217, 194, 154, .22), 0 18px 46px -18px rgba(20, 12, 8, .55); }
.hdr .wrap::before { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0)); }
.hdr.is-scrolled .wrap { background: linear-gradient(180deg, rgba(38, 28, 22, .92) 0%, rgba(18, 12, 9, .84) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(217, 194, 154, .25), 0 22px 50px -18px rgba(20, 12, 8, .6); }
.hdr .logo { color: #fff; }
.hdr .logo__t span { color: var(--gold-l); }
.hdr .logo img { filter: brightness(0) invert(1); } /* logo caricato: versione reverse */
.hdr .nav > ul { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); }
.hdr .nav > ul > li > a { color: #EDE2D6; }
.hdr .nav > ul > li > a:hover, .hdr .nav .current-menu-item > a { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 14px -8px rgba(0, 0, 0, .5); }
.hdr .nav .sub-menu { background: linear-gradient(180deg, rgba(38, 28, 22, .94), rgba(18, 12, 9, .88)); -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px); border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -25px rgba(0, 0, 0, .6); }
.hdr .nav .sub-menu a { color: #E4D8CB; }
.hdr .nav .sub-menu a:hover { background: rgba(255, 255, 255, .08); color: var(--gold-l); }
.hdr__cta .btn--ghost, .hdr .kit-btn, .hdr .burger { color: #F3EAE0; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.hdr__cta .btn--ghost:hover, .hdr .kit-btn:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: var(--gold-l); }
@media (max-width: 1024px) {
  .hdr .wrap { background: linear-gradient(180deg, rgba(46, 34, 27, .97), rgba(28, 20, 15, .95)); }
  .hdr .nav { color: #F3EAE0; background: linear-gradient(180deg, rgba(40, 29, 23, .92), rgba(22, 15, 11, .88)); border-color: rgba(255, 255, 255, .12); }
  .hdr .nav > ul { background: transparent; border: 0; box-shadow: none; }
  .hdr .nav > ul > li > a { color: #fff; border-color: rgba(255, 255, 255, .1); }
  .hdr .nav > ul > li > a:hover { background: none; box-shadow: none; color: var(--gold-l); }
  .hdr .nav .sub-menu { background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* menu: capsula interna più ampia e ariosa */
@media (min-width: 1025px) {
  .hdr .nav { flex: 1; display: flex; justify-content: center; margin: 0 6px; }
  .hdr .nav > ul { flex: 0 0 auto; justify-content: center; padding: 5px 8px; gap: 6px; }
  .hdr .nav > ul > li > a { padding: 10px 22px; }
  .hdr .nav > ul > li > a { padding: 11px 20px; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .hdr .nav > ul > li > a { padding: 10px 12px; }
}

/* ==========================================================================
   Pagine interne
   ========================================================================== */
.ihero { position: relative; isolation: isolate; overflow: hidden; color: #fff; margin-top: -86px; padding: calc(86px + clamp(70px, 9vw, 130px)) 0 clamp(60px, 8vw, 110px); min-height: clamp(520px, 70vh, 720px); display: flex; align-items: flex-end; }
.ihero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 30s ease-in-out infinite alternate; }
.ihero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 13, 9, .55) 0%, rgba(20, 13, 9, .25) 40%, rgba(20, 13, 9, .82) 100%), linear-gradient(90deg, rgba(20, 13, 9, .55), transparent 70%); }
.ihero__in { position: relative; }
.ihero--s { min-height: clamp(420px, 56vh, 560px); }
.ihero--s h1 { font-size: clamp(36px, 4.6vw, 66px); max-width: 22ch; }
.ihero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 82px); max-width: 16ch; margin-bottom: 22px; }
.ihero h1 em { color: var(--gold-l); }
.ihero .lead { color: #EADFD2; max-width: 58ch; }
.ihero .eyebrow { color: var(--gold-l); }
.ihero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #D9CCBE; margin-bottom: 26px; padding: 7px 14px; border-radius: 999px; width: fit-content; background: rgba(28, 19, 14, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { color: var(--gold-l); }
.crumbs span { opacity: .7; }
.btn--glass { --bg: rgba(255, 255, 255, .1); --fg: #fff; border-color: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .2); --fg: #fff; }

.uses { position: relative; z-index: 3; margin-top: -42px; }
.uses__bar { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 18px 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(38, 28, 22, .9), rgba(18, 12, 9, .82)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -30px rgba(20, 12, 8, .6); color: #EDE2D6; }
.uses__t { font: 600 11.5px var(--ff); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-l); }
.uses ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; font-weight: 600; }
.uses li { display: flex; gap: 8px; align-items: center; }
.uses li svg { width: 17px; color: var(--gold-l); }

.iarticle__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.iarticle__grid.no-toc { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 110px; }
.toc ol { list-style: none; counter-reset: t; margin: 0 0 26px; padding: 0; border-left: 1px solid rgba(168, 139, 91, .35); }
.toc li { counter-increment: t; }
.toc ol a { display: block; padding: 8px 0 8px 18px; font-size: 14.5px; text-decoration: none; color: var(--ink-2); position: relative; transition: color .2s; }
.toc ol a::before { content: counter(t, decimal-leading-zero); font: 400 12px var(--ff-d); color: var(--gold); margin-right: 10px; }
.toc ol a:hover, .toc ol a.is-on { color: var(--clay); }
.toc ol a.is-on::after { content: ""; position: absolute; left: -1.5px; top: 8px; bottom: 8px; width: 2px; background: var(--clay); }
.toc__card { padding: 22px; border-radius: 20px; background: var(--cream); border: 1px solid rgba(168, 139, 91, .22); }
.toc__card b { font: 400 21px var(--ff-d); display: block; margin-bottom: 4px; }
.toc__card p { font-size: 14px; color: var(--ink-2); }
.entry--fcu { max-width: 760px; margin: 0; }
.entry--fcu h2 { font-size: clamp(28px, 2.8vw, 40px); margin: 1.8em 0 .5em; scroll-margin-top: 110px; }
.entry--fcu h2:first-child { margin-top: 0; }
.entry--fcu h2::before { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin-bottom: 18px; }
.entry--fcu p { color: var(--ink-2); line-height: 1.8; }
.entry--fcu ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 1.2em 0 1.6em; }
.entry--fcu ul li { position: relative; padding: 14px 18px 14px 48px; border-radius: 14px; background: var(--cream); border: 1px solid rgba(168, 139, 91, .18); }
.entry--fcu ul li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 1.5px solid var(--clay); transform: rotate(45deg); }
mark.todo { background: rgba(217, 194, 154, .35); color: inherit; padding: 1px 6px; border-radius: 6px; border: 1px dashed var(--gold); font-style: italic; }

.chapters__list { display: grid; gap: clamp(40px, 6vw, 90px); }
.chapter { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(26px, 5vw, 80px); align-items: center; }
.chapter--r .chapter__ph { order: 2; }
.chapter__ph { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 40px 80px -40px rgba(60, 30, 15, .55); }
.chapter__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.chapter:hover .chapter__ph img { transform: scale(1.05); }
.chapter__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 12, 8, .55)); }
.chapter__ph figcaption { position: absolute; z-index: 2; left: 18px; bottom: 18px; padding: 8px 16px; border-radius: 999px; color: #fff; font: 400 italic 18px var(--ff-d); background: rgba(28, 19, 14, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); }
.chapter__n { font: 600 11.5px var(--ff); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 14px; }
.chapter__tx h3 { font-size: clamp(30px, 3vw, 44px); }
.chapter__tx p { color: var(--ink-2); font-size: 17.5px; line-height: 1.75; }

.manifesto--s { min-height: clamp(380px, 52vh, 520px); }
.manifesto--s blockquote { font-size: clamp(26px, 3.2vw, 44px); }

.usp.usp--3 { grid-template-columns: repeat(3, 1fr); }

.process__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pstep { position: relative; border-radius: var(--r); overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; isolation: isolate; }
.pstep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pstep::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 12, 8, .1) 20%, rgba(20, 12, 8, .55) 100%); }
.pstep:hover img { transform: scale(1.06); }
.pstep__tx { margin: 12px; padding: 20px 22px; border-radius: 16px; background: rgba(28, 19, 14, .45); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(255, 255, 255, .12); width: 100%; }
.pstep__n { font: 300 34px/1 var(--ff-d); color: var(--gold-l); display: block; margin-bottom: 10px; }
.pstep h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.pstep p { color: #DCCFC2; font-size: 14.5px; margin: 0; }

.cmp { overflow-x: auto; border-radius: var(--r); background: var(--white); box-shadow: 0 30px 60px -40px rgba(60, 30, 15, .4); border: 1px solid rgba(168, 139, 91, .2); }
.cmp table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid rgba(168, 139, 91, .15); vertical-align: top; }
.cmp thead th { font: 400 21px var(--ff-d); padding-top: 24px; }
.cmp tbody th { font-weight: 700; color: var(--ink); width: 18%; }
.cmp td { color: var(--ink-2); }
.cmp .is-hl { background: rgba(180, 83, 47, .06); color: var(--ink); }
.cmp thead .is-hl { color: var(--clay); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

.gloss { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; margin: 0; }
.gloss__i { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(168, 139, 91, .25); }
.gloss dt { font: 400 22px var(--ff-d); color: var(--clay); }
.gloss dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tips__c { padding: 34px; border-radius: var(--r); border: 1px solid rgba(168, 139, 91, .2); }
.tips__c--ok { background: linear-gradient(160deg, #F3F6EE, #FFFFFF); }
.tips__c--no { background: linear-gradient(160deg, #FBEEE8, #FFFFFF); }
.tips__c h3 { font-size: 26px; }
.tips__c ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tips__c li { position: relative; padding-left: 34px; color: var(--ink-2); }
.tips__c li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.tips__c--no li::before { background: #B4532F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.where__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.where__card { padding: 30px; border-radius: 24px; background: rgba(28, 19, 14, .45); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .14); }
.where__card p { display: flex; gap: 14px; align-items: flex-start; color: #EDE2D6; margin-bottom: 18px; }
.where__card p svg { width: 22px; flex: none; color: var(--gold-l); margin-top: 3px; }
.where__card small { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); font-weight: 600; }
.where__card .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--r); text-decoration: none; background: var(--cream); border: 1px solid rgba(168, 139, 91, .2); transition: transform .4s var(--ease), box-shadow .4s, background .3s; }
.ccard:hover { transform: translateY(-5px); box-shadow: var(--sh-l); background: var(--white); color: var(--ink); }
.ccard .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); margin-bottom: 14px; }
.ccard .ico svg { width: 24px; }
.ccard small { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.ccard b { font: 400 20px/1.3 var(--ff-d); word-break: break-word; }

.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel__i { position: relative; border-radius: var(--r); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; }
.rel__i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.rel__i::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(20, 12, 8, .6)); }
.rel__i:hover img { transform: scale(1.06); }
.rel__tx { margin: 12px; padding: 20px; border-radius: 16px; width: 100%; background: rgba(28, 19, 14, .4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.rel__tx small { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-l); font-weight: 600; }
.rel__tx h3 { color: #fff; font-size: 24px; margin: 6px 0 10px; }
.rel__tx .link-arrow { color: var(--gold-l); font-size: 14px; }

@media (max-width: 1024px) {
  .iarticle__grid { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .chapter, .where__grid { grid-template-columns: 1fr; }
  .chapter--r .chapter__ph { order: 0; }
  .process__list, .rel { grid-template-columns: 1fr 1fr; }
  .ccards { grid-template-columns: 1fr 1fr; }
  .gloss { grid-template-columns: 1fr; }
  .usp.usp--3 { grid-template-columns: 1fr; }
  .ihero { margin-top: -78px; padding-top: calc(78px + 70px); }
}
@media (max-width: 700px) {
  .process__list, .rel, .ccards, .tips { grid-template-columns: 1fr; }
  .gloss__i { grid-template-columns: 1fr; gap: 6px; }
  .pstep { min-height: 340px; }
  .ihero { margin-top: -70px; padding-top: calc(70px + 60px); min-height: 0; }
  .uses { margin-top: -24px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--gold-l); overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(0, 0, 0, .08); }
.marquee__in { display: flex; gap: 0; width: max-content; animation: marq 38s linear infinite; }
.marquee span { font: 300 clamp(20px, 2.2vw, 30px)/1 var(--ff-d); font-style: italic; display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; white-space: nowrap; }
.marquee span::after { content: ""; width: 12px; height: 12px; border: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.marquee:hover .marquee__in { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Box vantaggi ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usp__i { background: var(--cream); border-radius: var(--r); padding: 34px 28px 30px; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.usp__i:hover { transform: translateY(-6px); box-shadow: var(--sh-l); border-color: transparent; background: var(--white); }
.usp__i .ico { width: 58px; height: 58px; border-radius: 18px; background: var(--sand); color: var(--clay); display: grid; place-items: center; margin-bottom: 26px; transition: background .3s, color .3s; }
.usp__i:hover .ico { background: var(--clay); color: #fff; }
.usp__i .ico svg { width: 28px; height: 28px; }
.usp__i h3 { font-size: 24px; margin-bottom: 10px; }
.usp__i p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.usp__i .n { position: absolute; top: 24px; right: 26px; font: 400 15px var(--ff-d); color: var(--ink-3); }

/* ---------- Split (fornace / storia) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split__media { position: relative; }
.split__media .ph { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sh-l); background: var(--sand-2); }
.split__media .ph img, .split__media .ph canvas { width: 100%; height: 100%; object-fit: cover; }
.split__media .ph2 { position: absolute; width: 46%; aspect-ratio: 1; right: -6%; bottom: -8%; border-radius: var(--r); overflow: hidden; border: 8px solid var(--cream); box-shadow: var(--sh-l); }
.split__media .ph2 canvas, .split__media .ph2 img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--clay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks b { display: block; }
.checks span { color: var(--ink-2); font-size: 15.5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(60px, 7vw, 100px); }
.stat { border-top: 1px solid var(--gold); padding-top: 20px; }
.stat b { display: block; font: 250 clamp(44px, 4.8vw, 72px)/1 var(--ff-d); color: var(--clay); margin-bottom: 8px; }
.stat span { font-size: 15px; color: var(--ink-2); }

/* ---------- Simulatore (sezione) ---------- */
.sim-sec { background: radial-gradient(1200px 500px at 85% -10%, rgba(200, 105, 63, .25), transparent 60%), #221A16; color: #F3EAE0; }
.sim-sec .sec__head p { color: #CDBFB2; }
.sim-sec .eyebrow { color: #E58C62; }
.sim-sec h2 em { color: #E58C62; }
.sim-steps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.sim-steps span { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; font-weight: 600; color: #EADFD3; }
.sim-steps b { width: 22px; height: 22px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; font-size: 12px; }

/* ---------- Simulatore (componente) ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; color: var(--ink); }
.sim__stage { background: #2E2520; border-radius: var(--r-l); padding: 14px; border: 1px solid rgba(255, 255, 255, .08); position: sticky; top: 96px; }
.sim__toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #EADFD3; }
.sim__seg { display: flex; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 4px; gap: 2px; }
.sim__seg button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: inherit; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s; }
.sim__seg button svg { width: 18px; height: 18px; }
.sim__seg button:hover { background: rgba(255, 255, 255, .08); }
.sim__seg button.is-on { background: #F7F1E9; color: var(--ink); }
.sim__brush { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.sim__brush[hidden] { display: none; }
.sim__brush input { accent-color: var(--clay-2); width: 120px; }
.sim__canvas { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: #3a302a; touch-action: none; user-select: none; -webkit-user-select: none; }
.sim__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sim__orig { clip-path: inset(0 100% 0 0); }
.sim__out { transition: filter .4s; }
.sim__canvas:not(.is-revealed) .sim__out { filter: blur(6px) saturate(.6); }
.sim__quad { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sim__quad polygon { fill: rgba(255, 255, 255, .05); stroke: #fff; stroke-width: 2.5; stroke-dasharray: 10 8; vector-effect: non-scaling-stroke; opacity: .9; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.sim__h { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(180, 83, 47, .45), 0 6px 18px rgba(0, 0, 0, .35); cursor: grab; touch-action: none; z-index: 4; transition: transform .2s var(--ease), box-shadow .2s; }
.sim__h::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--clay); }
.sim__h:hover, .sim__h.is-drag { transform: scale(1.18); box-shadow: 0 0 0 9px rgba(180, 83, 47, .35), 0 8px 22px rgba(0, 0, 0, .4); }
.sim__h.is-drag { cursor: grabbing; }
.sim__canvas[data-mode="brush"] .sim__h, .sim__canvas[data-mode="erase"] .sim__h, .sim__canvas[data-mode="brush"] .sim__quad, .sim__canvas[data-mode="erase"] .sim__quad { opacity: 0; pointer-events: none; }
.sim__canvas.is-split .sim__h, .sim__canvas.is-split .sim__quad { opacity: 0; pointer-events: none; }
.sim__cursor { position: absolute; left: 0; top: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); pointer-events: none; margin: 0; translate: -50% -50%; display: none; z-index: 5; }
.sim__canvas[data-mode="brush"] .sim__cursor, .sim__canvas[data-mode="erase"] .sim__cursor { display: block; }
.sim__canvas[data-mode="erase"] .sim__cursor { border-style: dashed; }
.sim__canvas[data-mode="brush"], .sim__canvas[data-mode="erase"] { cursor: none; }
.sim__split { position: absolute; top: 0; bottom: 0; width: 0; left: 50%; z-index: 6; display: none; }
.sim__canvas.is-split .sim__split { display: block; }
.sim__split i { position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .4); }
.sim__split i::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font: 700 18px/1 var(--ff); letter-spacing: 4px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); cursor: ew-resize; }
.sim__split span { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(34, 26, 22, .7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.sim__split span:first-child { right: 14px; } .sim__split span:last-child { left: 14px; }
.sim__badge { position: absolute; left: 14px; bottom: 14px; z-index: 6; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 252, 247, .92); font-size: 13px; font-weight: 700; box-shadow: var(--sh); pointer-events: none; }
.sim__badge i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.sim__loader { position: absolute; inset: 0; display: none; place-items: center; align-content: center; gap: 12px; background: rgba(34, 26, 22, .55); color: #fff; font-weight: 700; z-index: 7; }
.sim__loader.is-on { display: grid; }
.sim__loader span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .8s linear infinite; }
.sim__drop { position: absolute; inset: 10px; border: 2px dashed rgba(255, 255, 255, .7); border-radius: 18px; background: rgba(180, 83, 47, .72); color: #fff; display: none; place-items: center; text-align: center; z-index: 8; }
.sim__drop svg { width: 44px; margin: 0 auto 10px; }
.sim__canvas.is-drop .sim__drop { display: grid; }
.sim__hint { margin: 12px 4px 2px; font-size: 13.5px; color: #CDBFB2; }
.sim__hint b { color: #fff; }
.sim__panel { background: var(--paper); border-radius: var(--r-l); padding: 8px; display: grid; gap: 6px; }
.sim__step { padding: 18px 18px 16px; border-radius: 22px; background: var(--cream); }
.sim__stephead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sim__stephead b { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
.sim__stephead h3 { font: 600 16px/1.2 var(--ff); margin: 0; letter-spacing: 0; }
.sim__stephead em { font-style: normal; color: var(--ink-3); font-size: 13px; margin-left: auto; }
.sim__more summary { list-style: none; cursor: pointer; }
.sim__more summary::-webkit-details-marker { display: none; }
.sim__more summary .sim__stephead { margin: 0; }
.sim__more summary .sim__stephead::after { content: "+"; font-size: 22px; line-height: 1; color: var(--clay); margin-left: 6px; transition: transform .3s; }
.sim__more[open] summary .sim__stephead { margin-bottom: 14px; }
.sim__more[open] summary .sim__stephead::after { transform: rotate(45deg); }
.sim__upload { width: 100%; min-height: 54px; white-space: normal; text-align: left; cursor: pointer; }
.sim__rooms, .sim__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sim__chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; transition: .2s; }
.sim__chip i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.sim__chip:hover { border-color: var(--clay); }
.sim__chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sim__privacy { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; line-height: 1.45; }
.sim__privacy svg { width: 18px; flex: none; color: var(--ok); }
.sim__tones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sim__tone { border: 0; background: none; padding: 0; text-align: center; font-size: 11.5px; font-weight: 600; line-height: 1.2; color: var(--ink-2); }
.sim__tone canvas { width: 100%; aspect-ratio: 1; border-radius: 14px; margin-bottom: 6px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .3s var(--ease); background: var(--sand-2); }
.sim__tone:hover canvas { transform: translateY(-2px); }
.sim__tone.is-on canvas { box-shadow: 0 0 0 2.5px var(--clay), 0 8px 18px -8px rgba(140, 58, 29, .6); }
.sim__tone.is-on { color: var(--ink); }
.sim__tonedesc { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-2); font-style: italic; min-height: 1.4em; }
.sim__pats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.sim__pat { border: 0; background: none; padding: 0; font-size: 11px; font-weight: 700; color: var(--ink-2); text-align: center; }
.sim__pat canvas { width: 100%; aspect-ratio: 1; border-radius: 12px; margin-bottom: 5px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; background: var(--sand-2); }
.sim__pat.is-on canvas { box-shadow: 0 0 0 2.5px var(--clay); }
.sim__pat.is-on { color: var(--ink); }
.sim__field { display: block; margin-bottom: 14px; }
.sim__field > span { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.sim__field output { color: var(--clay); }
.sim__field input[type=range] { width: 100%; accent-color: var(--clay); margin-top: 8px; }
.sim__summary { padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.sim__summary small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 700; }
.sim__summary strong { font: 500 18px/1.25 var(--ff-d); }
.sim__ctas { padding: 0 10px 12px; display: grid; gap: 8px; }
.sim__ctas .btn { min-height: 54px; font-size: 14.5px; }
.sim__mini { display: flex; justify-content: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.sim__mini button, .sim__mini a { display: inline-flex; gap: 6px; align-items: center; border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.sim__mini svg { width: 17px; }
.sim__mini a { color: #178a45; }
.sim__mini button:hover, .sim__mini a:hover { background: var(--cream); }
.sim__mini [hidden] { display: none; }

/* ---------- Collezioni (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 18px; }
.col-card { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; background: var(--clay-d); }
.col-card:hover { color: #fff; }
.col-card .bg { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--ease); }
.col-card .bg canvas, .col-card .bg img { width: 100%; height: 100%; object-fit: cover; }
.col-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 12, 8, 0) 30%, rgba(20, 12, 8, .72) 100%); }
.col-card:hover .bg { transform: scale(1.06); }
.col-card h3 { font-size: clamp(22px, 2.2vw, 32px); margin: 0 0 6px; }
.col-card p { margin: 0; font-size: 14.5px; opacity: .88; max-width: 38ch; }
.col-card .tag { position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 252, 247, .92); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.col-card .go { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transform: rotate(-45deg) scale(.85); opacity: 0; transition: .4s var(--ease); }
.col-card .go svg { width: 20px; }
.col-card:hover .go { opacity: 1; transform: none; }
.bento > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.bento > :nth-child(2) { grid-column: span 5; }
.bento > :nth-child(3) { grid-column: span 5; }
.bento > :nth-child(4) { grid-column: span 4; }
.bento > :nth-child(5) { grid-column: span 4; }
.bento > :nth-child(6) { grid-column: span 4; }

/* ---------- Tonalità ---------- */
.tones { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tone { background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tone:hover { transform: translateY(-6px); box-shadow: var(--sh-l); }
.tone__sw { position: relative; aspect-ratio: 1.25; overflow: hidden; background: var(--sand-2); }
.tone__sw canvas, .tone__sw img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tone:hover .tone__sw canvas { transform: scale(1.08) rotate(1deg); }
.tone__sw .chip { position: absolute; left: 14px; top: 14px; display: inline-flex; gap: 6px; align-items: center; background: rgba(255, 252, 247, .92); padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.tone__sw .chip i { width: 10px; height: 10px; border-radius: 50%; }
.tone__b { padding: 22px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tone__b h3 { font-size: 24px; margin-bottom: 6px; }
.tone__b p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 18px; }
.tone__a { margin-top: auto; display: flex; gap: 8px; }
.tone--cta { background: var(--ink); color: #F3EAE0; border: 0; padding: 30px; justify-content: space-between; position: relative; overflow: hidden; }
.tone--cta h3 { color: #fff; font-size: 28px; }
.tone--cta p { color: #CDBFB2; font-size: 15px; }
.tone--cta .mini { display: flex; margin: 6px 0 22px; }
.tone--cta .mini i { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ink); margin-right: -10px; }
.tone__a .btn { min-height: 44px; padding: 0 16px; font-size: 13.5px; flex: 1; }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 37px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.step { position: relative; padding: 0 6px; }
.step .num { width: 74px; height: 74px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--line-2); display: grid; place-items: center; font: 400 26px var(--ff-d); color: var(--clay); margin-bottom: 24px; position: relative; transition: .4s var(--ease); }
.step:hover .num { background: var(--clay); color: #fff; border-color: var(--clay); transform: rotate(-8deg); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; }

/* ---------- Recensioni ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--white); border-radius: var(--r); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.review .stars { color: #D69A2D; letter-spacing: 3px; font-size: 17px; }
.review blockquote { margin: 0; font: 400 19px/1.5 var(--ff-d); }
.review footer { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.review footer i { width: 42px; height: 42px; border-radius: 50%; background: var(--sand-2); display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--clay); }
.review--empty { grid-column: 1 / -1; text-align: center; align-items: center; background: transparent; border: 1.5px dashed var(--line-2); }
.review--empty p { color: var(--ink-2); max-width: 60ch; margin: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside .card { background: var(--ink); color: #F3EAE0; border-radius: var(--r); padding: 30px; margin-top: 30px; }
.faq-aside .card h3 { color: #fff; font-size: 24px; }
.faq-aside .card p { color: #CDBFB2; font-size: 15px; }
.faq-aside .card .btn { margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 400 clamp(19px, 1.6vw, 23px)/1.3 var(--ff-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23B4532F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper); }
.faq .a { padding: 0 60px 24px 0; color: var(--ink-2); }

/* ---------- Form preventivo ---------- */
.quote { background: var(--white); border-radius: var(--r-l); overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; box-shadow: var(--sh-l); }
.quote__side { background: linear-gradient(160deg, var(--clay) 0%, var(--clay-d) 100%); color: #FBEFE6; padding: clamp(30px, 4vw, 54px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.quote__side canvas.tex { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .18; mix-blend-mode: multiply; }
.quote__side > * { position: relative; }
.quote__side h2 { color: #fff; font-size: clamp(32px, 3.6vw, 50px); }
.quote__side h2 em { color: #FFD7BF; }
.quote__side p { color: #F6DCCB; }
.quote__contacts { display: grid; gap: 12px; margin-top: auto; padding-top: 30px; }
.quote__contacts a { display: flex; gap: 14px; align-items: center; text-decoration: none; padding: 14px 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; transition: background .25s; color: #fff; }
.quote__contacts a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.quote__contacts svg { width: 22px; flex: none; }
.quote__contacts small { display: block; font-size: 12px; opacity: .75; }
.quote__contacts b { font-size: 16px; }
.quote__form { padding: clamp(26px, 4vw, 54px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; border: 1.5px solid var(--line); background: var(--cream); border-radius: 14px; padding: 14px 16px; font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235B4D43' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--clay); background: #fff; box-shadow: 0 0 0 4px rgba(180, 83, 47, .12); }
.form-tabs { display: flex; background: var(--cream); border-radius: 999px; padding: 5px; margin-bottom: 24px; gap: 4px; }
.form-tabs button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 11px 14px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: .25s; }
.form-tabs button.is-on { background: var(--ink); color: #fff; }
.form-attach { display: none; grid-column: 1 / -1; gap: 14px; align-items: center; background: var(--cream); border-radius: 16px; padding: 10px; border: 1.5px dashed var(--clay); }
.form-attach.is-on { display: flex; }
.form-attach img { width: 110px; height: 72px; object-fit: cover; border-radius: 10px; }
.form-attach p { margin: 0; font-size: 14px; color: var(--ink-2); }
.form-attach b { color: var(--ink); display: block; }
.form-attach button { margin-left: auto; border: 0; background: none; font-size: 22px; color: var(--ink-3); padding: 6px 10px; }
.kit-list { grid-column: 1 / -1; display: none; flex-wrap: wrap; gap: 8px; }
.kit-list.is-on { display: flex; }
.kit-list span { display: inline-flex; gap: 8px; align-items: center; padding: 6px 8px 6px 6px; background: var(--cream); border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--line); }
.kit-list span i { width: 22px; height: 22px; border-radius: 50%; }
.kit-list span button { border: 0; background: none; padding: 0 4px; color: var(--ink-3); font-size: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); grid-column: 1 / -1; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--clay); flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--ink-3); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.form-foot small svg { width: 16px; color: var(--ok); }
.hp { position: absolute; left: -9999px; }
.notice { grid-column: 1 / -1; padding: 16px 18px; border-radius: 14px; font-weight: 600; }
.notice--ok { background: #E7F0E3; color: #2F5A2B; }
.notice--err { background: #F6E1DA; color: #8C2E14; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { text-decoration: none; display: block; }
.post-card .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 18px; background: var(--sand-2); }
.post-card .ph img, .post-card .ph canvas { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .ph img, .post-card:hover .ph canvas { transform: scale(1.05); }
.post-card .meta { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--clay); margin-bottom: 8px; }
.post-card h3 { font-size: 23px; margin-bottom: 8px; transition: color .2s; }
.post-card:hover h3 { color: var(--clay); }
.post-card p { color: var(--ink-2); font-size: 15px; }

/* ---------- CTA finale ---------- */
.cta-band { position: relative; border-radius: var(--r-l); overflow: hidden; padding: clamp(40px, 6vw, 90px); color: #fff; isolation: isolate; text-align: center; }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 50% 100%, rgba(34, 26, 22, .35), rgba(34, 26, 22, .8)); }
.cta-band h2 { color: #fff; max-width: 18ch; margin: 0 auto 18px; }
.cta-band h2 em { color: #FFC9A9; }
.cta-band p { color: #F2E3D7; max-width: 56ch; margin: 0 auto 30px; }
.cta-band .row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.ftr { background: #1B1512; color: #CDBFB2; padding: 90px 0 30px; font-size: 15px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr .logo { color: #fff; margin-bottom: 20px; }
.ftr h4 { font: 700 12.5px var(--ff); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__news { display: flex; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 5px; margin-top: 16px; border: 1px solid rgba(255, 255, 255, .1); }
.ftr__news input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; color: #fff; outline: 0; }
.ftr__news .btn { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
.ftr__social { display: flex; gap: 10px; margin-top: 22px; }
.ftr__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: .25s; }
.ftr__social a:hover { background: var(--clay); border-color: var(--clay); }
.ftr__social svg { width: 18px; }
.ftr__bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; color: #8E8076; }
.ftr__bot ul { display: flex; gap: 20px; }
.ftr__big { font: 300 clamp(60px, 13vw, 210px)/0.9 var(--ff-d); color: rgba(255, 255, 255, .05); letter-spacing: -.03em; margin: 40px 0 0; white-space: nowrap; overflow: hidden; user-select: none; }

/* ---------- Elementi flottanti ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 60px; height: 60px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .7); transition: transform .3s var(--ease); }
.fab-wa:hover { color: #fff; transform: scale(1.08); }
.fab-wa svg { width: 30px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FA855; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.fab-wa span { position: absolute; right: 72px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; padding: 9px 14px; border-radius: 12px; opacity: 0; transform: translateX(8px); transition: .3s var(--ease); pointer-events: none; }
.fab-wa:hover span { opacity: 1; transform: none; }
.mbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 120; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 18px 14px 14px; border-radius: 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--sh-l); transition: transform .5s var(--ease); max-width: calc(100% - 32px); font-size: 14.5px; }
.toast.is-on { transform: translate(-50%, 0); }
.toast i { width: 34px; height: 34px; border-radius: 50%; flex: none; border: 2px solid #fff; }
.toast a { color: #FFC9A9; font-weight: 700; margin-left: 6px; white-space: nowrap; }

/* Drawer kit campioni */
.kit { position: fixed; inset: 0; z-index: 110; pointer-events: none; }
.kit__bg { position: absolute; inset: 0; background: rgba(27, 21, 18, .45); opacity: 0; transition: opacity .35s; }
.kit__p { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; padding: 28px; overflow: auto; }
.kit.is-on { pointer-events: auto; }
.kit.is-on .kit__bg { opacity: 1; }
.kit.is-on .kit__p { transform: none; }
.kit__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.kit__h h3 { margin: 0; font-size: 30px; }
.kit__x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; font-size: 22px; }
.kit__items { display: grid; gap: 10px; margin: 20px 0; }
.kit__it { display: flex; gap: 14px; align-items: center; background: var(--paper); border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.kit__it canvas { width: 64px; height: 64px; border-radius: 12px; }
.kit__it b { display: block; font: 500 18px var(--ff-d); }
.kit__it small { color: var(--ink-3); }
.kit__it button { margin-left: auto; border: 0; background: none; color: var(--ink-3); font-size: 20px; padding: 8px; }
.kit__empty { color: var(--ink-2); background: var(--paper); border-radius: 16px; padding: 22px; border: 1.5px dashed var(--line-2); }
.kit__sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.kit__sugg button { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line-2); background: var(--paper); padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.kit__sugg button i { width: 20px; height: 20px; border-radius: 50%; }
.kit__p .btn { margin-top: auto; }

/* ---------- Pagine interne ---------- */
.page-hero { padding: clamp(50px, 7vw, 100px) 0 clamp(40px, 5vw, 70px); position: relative; }
.page-hero .crumbs { font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 74px); max-width: 18ch; }
.entry { max-width: 760px; margin: 0 auto; font-size: 18px; }
.entry h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry img { border-radius: var(--r); margin: 1.5em 0; }
.entry blockquote { border-left: 3px solid var(--clay); margin: 1.5em 0; padding: 4px 0 4px 24px; font: 400 22px/1.5 var(--ff-d); }
.entry .wp-block-button__link { background: var(--clay); color: #fff; border-radius: 999px; padding: 14px 26px; text-decoration: none; font-weight: 700; }
.entry-wide { max-width: var(--wrap); }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--ink); color: #fff; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .hdr__cta .btn--ghost { display: none; }
  .nav > ul > li > a { padding: 10px 11px; }
}
@media (max-width: 1180px) {
  .nav > ul > li > a { padding: 10px 8px; font-size: 14px; }
  .sim { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 1024px) {
  .burger { display: grid; }
  .hdr .wrap { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(46, 34, 27, .97), rgba(28, 20, 15, .95)); border-radius: 26px; }
  .hdr .wrap::before { border-radius: 26px 26px 20px 20px; }
  .nav > ul { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .nav { visibility: hidden; }
  .nav-open .nav { visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav { position: fixed; inset: 10px 10px 10px auto; width: min(400px, calc(100% - 20px)); border-radius: 28px; color: #F3EAE0; background: linear-gradient(180deg, rgba(40, 29, 23, .92), rgba(22, 15, 11, .88)); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); border: 1px solid rgba(255, 255, 255, .9); margin: 0; padding: 100px 26px 30px; transform: translateX(100%); transition: transform .45s var(--ease), visibility .45s; overflow: auto; z-index: -1; box-shadow: var(--sh-l); }
  .nav-open .nav { transform: none; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li > a { font: 400 26px/1.2 var(--ff-d); padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a:hover { background: none; }
  .nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 6px 0 10px 12px; min-width: 0; }
  .nav .menu-item-has-children > a::after { display: none; }
  .hdr__cta { margin-left: auto; }
  .hero .wrap, .split, .faq-wrap, .quote { grid-template-columns: 1fr; }
  .hero__vis { max-width: 620px; }
  .hero__pic { left: -4%; width: 32%; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 460px 260px; }
  .mosaic__a { display: none; }
  .mosaic__b { grid-column: 1 / -1; grid-row: auto; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .steps::before { display: none; }
  .sim { grid-template-columns: 1fr; }
  .sim__stage { position: relative; top: 0; }
  .bento > * { grid-column: span 6 !important; grid-row: span 1 !important; }
  .reviews, .posts { grid-template-columns: 1fr 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .faq-aside { position: static; }
  .sec__head { grid-template-columns: 1fr; gap: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .topbar ul li:nth-child(n+3) { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar ul { display: none; }
  .topbar .wrap { justify-content: center; }
  .hdr { padding: 8px 8px 0; }
  .hdr .wrap { min-height: 62px; gap: 12px; padding: 0 8px 0 16px; }
  .logo svg { width: 36px; height: 36px; }
  .logo__t b { font-size: 17px; } .logo__t span { font-size: 14px; }
  .hdr__cta .btn { display: none; }
  .hero__ctas .btn { width: 100%; }
  .hero__sticker { width: 104px; height: 104px; right: -4px; top: -26px; font-size: 11px; }
  .hero__floor { aspect-ratio: 4/4.6; }
  .usp, .reviews, .posts, .form-grid, .ftr__top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 220px; }
  .bento > * { grid-column: 1 / -1 !important; }
  .sim__tones { grid-template-columns: repeat(4, 1fr); }
  .hero__pic { width: 38%; left: -2%; bottom: auto; top: 18%; border-width: 4px; }
  .hero__pic figcaption { display: none; }
  .mosaic { grid-template-rows: 520px 200px; padding: 6px; gap: 6px; }
  .split__badge { left: 10px; top: 10px; }
  .ph-quote { right: 22px; bottom: 60px; }
  .sim__seg button span { display: none; }
  .sim__seg button { padding: 9px 12px; }
  .sim__stage { padding: 8px; border-radius: 22px; margin: 0 calc(var(--gut) * -1 + 6px); }
  .sim__canvas { border-radius: 16px; }
  .faq .a { padding-right: 0; }
  .fab-wa { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 75; background: rgba(34, 26, 22, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 6px; border-radius: 20px; box-shadow: var(--sh-l); transform: translateY(130%); transition: transform .45s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #F3EAE0; text-decoration: none; font-size: 11.5px; font-weight: 700; padding: 8px 4px; border-radius: 14px; }
  .mbar a svg { width: 21px; height: 21px; }
  .mbar a.pri { background: var(--clay); color: #fff; flex-direction: row; font-size: 13.5px; gap: 8px; }
  body { padding-bottom: 80px; }
  .toast { bottom: 96px; }
  .ftr__bot { flex-direction: column; }
}

/* ==========================================================================
   Hero: composizione "stanza" (parete con arco, pavimento vivo, pannello scuro)
   ========================================================================== */
.hero__floor { aspect-ratio: 4 / 4.5; border-radius: 30px; background: #E9DDCD; box-shadow: 0 50px 90px -45px rgba(70, 35, 15, .6), 0 0 0 1px rgba(255, 255, 255, .7) inset; }
.hero__floor::before { background: linear-gradient(180deg, transparent 38%, rgba(255, 240, 220, .25) 44%, transparent 58%); z-index: 2; }
.hero__floor canvas[data-hero-floor] { z-index: 1; }
.hero__wall { position: absolute; z-index: 2; inset: 0 0 auto 0; height: 43.5%; left: 0; right: 0; top: 0; display: block; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 100%, #F3EADF 0%, #E8DCCB 60%, #DCCCB7 100%); }
.hero__wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60, 35, 20, .14), transparent 22%, transparent 78%, rgba(60, 35, 20, .14)); }
.hero__arch { position: absolute; left: 50%; bottom: 0; width: 40%; height: 82%; transform: translateX(-50%); border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow: 0 0 0 10px #EFE5D8, 0 0 0 11px rgba(120, 80, 50, .18), inset 0 0 0 1px rgba(0, 0, 0, .08); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; filter: saturate(.9) brightness(1.04); }
.hero__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 246, 232, .25), rgba(255, 236, 210, .05) 60%, rgba(60, 35, 20, .18)); box-shadow: inset 0 18px 30px -12px rgba(60, 35, 20, .35); }
.hero__skirt { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: linear-gradient(180deg, #F6EFE6, #E2D4C2); box-shadow: 0 2px 6px rgba(60, 35, 20, .18); }
.hero__beam { position: absolute; z-index: 2; left: 30%; right: 30%; top: 43.5%; bottom: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .75;
  background: linear-gradient(180deg, rgba(255, 244, 222, .9), rgba(255, 244, 222, 0) 85%); clip-path: polygon(0 0, 100% 0, 135% 100%, -35% 100%); filter: blur(6px); }
.hero__live { position: absolute; z-index: 4; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff;
  background: rgba(28, 19, 14, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .2); }
.hero__live i { width: 8px; height: 8px; border-radius: 50%; background: #6FD08C; box-shadow: 0 0 0 0 rgba(111, 208, 140, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(111, 208, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 208, 140, 0); } }

.hero__panel { left: 14px; right: 14px; bottom: 14px; padding: 16px 18px 14px; gap: 14px; border-radius: 22px; color: #F3EAE0;
  background: linear-gradient(180deg, rgba(38, 28, 22, .78), rgba(18, 12, 9, .72)); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 40px -24px rgba(0, 0, 0, .6); }
.hero__panel-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hp-name { min-width: 0; }
.hero__panel-top small { color: var(--gold-l); font-size: 10.5px; letter-spacing: .24em; }
.hero__panel-top b { display: block; color: #fff; font: 400 22px/1.15 var(--ff-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-link { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gold-l); text-decoration: none; padding: 6px 0; }
.hp-link svg { width: 15px; transition: transform .3s var(--ease); }
.hp-link:hover { color: #fff; } .hp-link:hover svg { transform: translateX(3px); }
.hero__dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.hero__dots button { position: relative; width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 0; padding: 0; background: var(--c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 4px 10px -4px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), box-shadow .3s; }
.hero__dots button canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.hero__dots button canvas.is-ready { opacity: 1; }
.hero__dots button:hover { transform: translateY(-2px); }
.hero__dots button.is-on { transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(217, 194, 154, .7), 0 8px 16px -6px rgba(0, 0, 0, .6); }
.hero__pats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.hero__pats button { border: 0; border-radius: 999px; padding: 7px 6px; font-size: 12px; font-weight: 700; color: #E4D8CB; background: transparent; white-space: nowrap; transition: background .25s, color .25s; }
.hero__pats button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hero__pats button.is-on { background: linear-gradient(180deg, #fff, #EFE6DA); color: var(--ink); border: 0; box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .4); }

.hero__pic { left: -9%; bottom: auto; top: 24%; width: 30%; aspect-ratio: 4 / 5; transform: rotate(-3deg); animation: none; transition: transform .6s var(--ease); }
.hero__pic:hover { transform: rotate(0deg) scale(1.03); }
.hero__pic figcaption { font-size: 10.5px; padding: 6px 8px; left: 10px; right: 10px; bottom: 10px; }
.hero__sticker { width: 116px; height: 116px; top: -22px; right: -20px; font-size: 12px; }
@media (max-width: 1024px) {
  .hero__pic { left: -3%; width: 28%; top: 20%; }
}
@media (max-width: 700px) {
  .hero__floor { aspect-ratio: 4 / 5.2; }
  .hero__dots { gap: 6px; }
  .hero__dots button { border-radius: 9px; }
  .hero__panel-top b { font-size: 19px; }
  .hp-link { display: none; }
  .hero__pic { display: none; }
  .hero__sticker { width: 96px; height: 96px; right: -6px; top: -20px; }
  .hero__arch { width: 46%; }
}

/* ==========================================================================
   Hero in chiaroscuro (stesso stile di "Come funziona")
   ========================================================================== */
.hero--dark { color: #F3EAE0; margin-top: -86px; padding-top: calc(86px + clamp(40px, 5vw, 80px)); padding-bottom: clamp(70px, 8vw, 120px); }
.hero--dark .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; animation: kenburns 32s ease-in-out infinite alternate; }
.hero--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 15, 11, .82) 0%, rgba(22, 15, 11, .5) 42%, rgba(22, 15, 11, .88) 100%), linear-gradient(90deg, rgba(22, 15, 11, .7) 0%, rgba(22, 15, 11, .15) 60%), radial-gradient(60% 70% at 75% 55%, rgba(200, 105, 63, .18), transparent 70%); }
.hero--dark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero--dark .hero__glow { display: none; }
.hero--dark h1 { color: #fff; }
.hero--dark h1 em { color: var(--gold-l); }
.hero--dark .eyebrow { color: var(--gold-l); }
.hero--dark .lead { color: #D8CABC; }
.hero--dark .btn--ghost { --fg: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero--dark .btn--ghost:hover { --fg: #fff; background: rgba(255, 255, 255, .14); box-shadow: none; }
.hero--dark .hero__trust { border-top-color: rgba(217, 194, 154, .25); }
.hero--dark .trust-i { color: #CDBFB2; }
.hero--dark .trust-i b { color: #fff; }
.hero--dark .trust-i svg { background: rgba(255, 255, 255, .07); border-color: rgba(217, 194, 154, .3); color: var(--gold-l); }
.hero--dark .hero__floor { box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12); }
.hero--dark .hero__pic { background: rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .2); }
.hero--dark .hero__sticker { box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 20px 40px -15px rgba(0, 0, 0, .6); }
@media (max-width: 1024px) { .hero--dark { margin-top: -82px; padding-top: calc(82px + 40px); } }
@media (max-width: 700px) { .hero--dark { margin-top: -70px; padding-top: calc(70px + 30px); } }

/* ---------- Recensioni: badge Google ---------- */
.rev-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(36px, 5vw, 60px); }
.rev-head h2 { margin-bottom: 14px; }
.rev-head .lead { margin: 0; }
.gbadge { position: relative; overflow: hidden; isolation: isolate; padding: 28px 30px; border-radius: 26px; color: #F3EAE0;
  background: linear-gradient(160deg, #2E221B, #1A120E); box-shadow: inset 0 0 0 1px rgba(217, 194, 154, .2), 0 40px 70px -40px rgba(30, 15, 8, .7); }
.gbadge::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(200, 105, 63, .35), transparent 65%); }
.gbadge__top { display: flex; align-items: center; gap: 10px; font: 600 11.5px var(--ff); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-l); }
.gbadge__g { width: 26px; height: 26px; padding: 4px; background: #fff; border-radius: 50%; }
.gbadge__score { display: flex; align-items: center; gap: 16px; margin: 14px 0 4px; }
.gbadge__score b { font: 300 64px/1 var(--ff-d); color: #fff; }
.gbadge__stars { position: relative; font-size: 26px; letter-spacing: 4px; color: rgba(255, 255, 255, .2); }
.gbadge__stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--p); overflow: hidden; color: #F4B740; white-space: nowrap; }
.gbadge p { color: #CDBFB2; font-size: 14.5px; margin: 0 0 18px; }
.gbadge__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gbadge__btns .btn { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
.rev-widget { border-radius: var(--r); }
.rev-note { padding: 18px 22px; border-radius: 16px; border: 1.5px dashed var(--line-2); color: var(--ink-2); font-size: 14.5px; }
.trust-i--g svg { color: #F4B740 !important; }
@media (max-width: 1024px) { .rev-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   Prestazioni: niente animazioni pesanti a tutto schermo (scorrimento fluido)
   ========================================================================== */
.hero--dark .hero__bg, .ihero__bg, .manifesto__bg, .cta-band .cta-band__bg { animation: none; transform: none; }
.manifesto__bg { inset: 0; height: 100%; }
.hero--dark::after, .manifesto::after, .cta-band::after, .mosaic__b::before { display: none; }
.hero__beam { filter: none; mix-blend-mode: normal; opacity: .22; }
.hdr .wrap { -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); }
.hero__panel { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__floor canvas[data-hero-floor] { transform: translateZ(0); }

/* ---------- Recensioni Google (card) ---------- */
.grev { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; cursor: grab; }
.grev::-webkit-scrollbar { display: none; }
.grev__i { flex: 0 0 clamp(280px, 31%, 400px); scroll-snap-align: start; margin: 0; padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid rgba(168, 139, 91, .2); box-shadow: 0 20px 40px -30px rgba(60, 30, 15, .35); display: flex; flex-direction: column; gap: 14px; }
.grev__top { display: flex; gap: 12px; align-items: center; }
.grev__top img, .grev__top i { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.grev__top i { display: grid; place-items: center; background: var(--sand-2); color: var(--clay); font-style: normal; font-weight: 700; }
.grev__top b { display: block; font-size: 15px; } .grev__top b a { text-decoration: none; }
.grev__top small { color: var(--ink-3); font-size: 13px; }
.grev__stars { color: #F4B740; letter-spacing: 3px; font-size: 16px; } .grev__stars span { color: var(--sand-2); }
.grev__txt { margin: 0; font: 400 16.5px/1.6 var(--ff); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.grev__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.grev__attr { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.grev__attr svg { width: 62px; height: 20px; }
@media (max-width: 700px) { .grev__i { flex-basis: 86%; } }

/* ==========================================================================
   Scorrimento fluido: niente sfocature "vetro" ricalcolate durante lo scroll
   (stesso aspetto con fondi semitrasparenti più pieni)
   ========================================================================== */
*, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.hdr .wrap { background: linear-gradient(180deg, rgba(40, 30, 24, .97) 0%, rgba(24, 17, 13, .95) 100%); }
.hdr.is-scrolled .wrap { background: linear-gradient(180deg, rgba(40, 30, 24, .98) 0%, rgba(22, 15, 11, .97) 100%); }
.hdr .nav > ul { background: rgba(255, 255, 255, .06); }
.hdr .nav .sub-menu { background: linear-gradient(180deg, #2A1F19, #1C140F); }
.hero__panel { background: linear-gradient(180deg, rgba(36, 26, 20, .93), rgba(20, 14, 10, .92)); }
.hero__live, .crumbs { background: rgba(28, 19, 14, .7); }
.hero__pic figcaption, .mosaic figcaption, .col-card .tag, .tone__sw .chip, .sim__badge { background: rgba(255, 255, 255, .94); }
.col-card .go { background: rgba(255, 255, 255, .95); }
.usp__i { background: rgba(255, 255, 255, .86); }
.mosaic__txt { background: rgba(28, 19, 14, .74); }
.col-card .info { background: rgba(28, 19, 14, .55); }
.col-card:hover .info { background: rgba(28, 19, 14, .7); }
.gal__i figcaption, .pstep__tx, .rel__tx { background: rgba(28, 19, 14, .62); }
.sec--photo .step { background: rgba(30, 21, 16, .55); }
.sec--photo .step:hover { background: rgba(30, 21, 16, .72); }
.where__card { background: rgba(28, 19, 14, .7); }
.cta-band__glass { background: rgba(28, 19, 14, .55); }
.manifesto__in { background: rgba(28, 19, 14, .35); }
.sim__stage { background: #2B221D; }
.sim__panel { background: #FFFCF7; }
.uses__bar { background: linear-gradient(180deg, #2A1F19, #18110D); }
.kit__p { background: #F8F3EC; }
.toast { background: rgba(34, 26, 22, .96); }
.quote__contacts a { background: rgba(255, 255, 255, .12); }
.btn--glass { --bg: rgba(255, 255, 255, .14); }
.hero--dark .btn--ghost { background: rgba(255, 255, 255, .1); }
.faq-aside .card--photo::before { background: linear-gradient(180deg, rgba(28, 19, 14, .62), rgba(28, 19, 14, .9)); }
.fab-wa::before { animation: none; }

/* ---------- Menu mobile: chiusura sicura ---------- */
.nav-close { display: none; }
@media (max-width: 1024px) {
  .hdr .nav { z-index: 90; top: 10px; }
  .nav-close { display: grid; place-items: center; position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
  .hdr .nav { padding-top: 84px; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 70; background: rgba(18, 12, 9, .55); }
}

/* ---------- Scorrimento: meno lavoro per il browser ---------- */
.sec:not(.sim-sec):not(.hero), .mosaic, .manifesto, .marquee + .sec, .ftr { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.hero__live i { animation: none; box-shadow: 0 0 0 3px rgba(111, 208, 140, .25); }
.sim__quad polygon { animation: none; }
@media (max-width: 1024px), (hover: none) {
  .hero__sticker svg { animation: none; }
  .marquee__in { animation-duration: 60s; }
  .rv { transition-duration: .6s; }
}

@media (max-width: 1024px) {
  .hdr .nav { background: linear-gradient(180deg, #2A1F19 0%, #18110D 100%); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .1); }
  .hdr .nav > ul { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0; padding: 0; }
  .hdr .nav .sub-menu { background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0; padding: 4px 0 12px 14px; }
  .hdr .nav .sub-menu a { padding: 9px 0; font-size: 15.5px; color: #CDBFB2; background: none !important; }
  .hdr .nav > ul > li > a, .hdr .nav > ul > li > a:hover, .hdr .nav > ul > li > a:focus, .hdr .nav .current-menu-item > a { background: none !important; box-shadow: none !important; color: #fff; }
  .hdr .nav a:active { color: var(--gold-l) !important; }
}
@media (max-width: 1024px) { body.nav-open .topbar { z-index: 1; } }

/* ==================================================================
 * v1.4.0 — Simulatore, tonalità e hero: rifiniture
 * ================================================================== */

/* Le vecchie regole del "CSS aggiuntivo" sostituivano alcune anteprime con foto
   del vecchio sito (pose sbagliate, dominio esterno): le neutralizziamo qui. */
#simulatore .sim__tone > canvas,
#simulatore .sim__pat > canvas,
.tone__sw > canvas { content: normal !important; }

/* --- Simulatore --- */
.sim__pat canvas { image-rendering: auto; }
.sim__note { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--ink-3); font-weight: 500; }
.sim__h.is-out { background: var(--clay); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 0 9px rgba(180, 83, 47, .35), 0 6px 18px rgba(0, 0, 0, .35); }
.sim__h.is-out::after { inset: 8px; background: #fff; border-radius: 2px; transform: rotate(45deg); }
.sim__h:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sim__tone.is-on > span { color: var(--ink); font-weight: 700; }
.sim__tone[data-tone]::before { transition: transform .3s var(--ease), box-shadow .2s; box-shadow: 0 0 0 1px var(--line); }
.sim__tone:hover::before { transform: translateY(-2px); }
.sim__tone.is-on::before { box-shadow: 0 0 0 2.5px var(--clay), 0 8px 18px -8px rgba(140, 58, 29, .6); }
#simulatore { scroll-margin-top: 90px; }

/* --- Card tonalità: foto reale come <img> --- */
.tone__sw img { display: block; }
.tone:hover .tone__sw img { transform: scale(1.06); }
.tone__sw::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(30, 18, 10, .18), transparent 32%, transparent 70%, rgba(30, 18, 10, .12)); }
.tone__sw .chip { color: var(--ink); }
.tone__sw .chip i { width: 12px; height: 12px; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(0, 0, 0, .12); }
.tone--cta .mini i { box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6); }

/* --- Hero: anteprima dal vivo --- */
.hero__beam { display: none; } /* la luce della finestra ora è disegnata sul pavimento in prospettiva */
.hero__floor::before { background: linear-gradient(180deg, transparent 42%, rgba(40, 22, 12, .10) 44%, transparent 52%, transparent 80%, rgba(30, 16, 8, .18)); }
.hero__skirt { height: 9px; box-shadow: 0 3px 8px rgba(60, 35, 20, .22); }
.hero__pic figcaption { color: var(--ink); background: rgba(255, 252, 247, .94); text-shadow: none; }
.hero__dots button { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 4px 10px -6px rgba(0, 0, 0, .6); }
.hero__dots button::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); pointer-events: none; }
.hero__dots button.is-on { box-shadow: 0 0 0 2px #2A1F19, 0 0 0 4px #F3E7D6, 0 10px 18px -8px rgba(0, 0, 0, .7); }
.hero__panel-top b { transition: opacity .25s; }
@media (max-width: 560px) {
  .hero__dots { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
}
/* badge della tonalità in alto: in basso copriva i due angoli del pavimento */
.sim__badge { top: 14px; bottom: auto; }
@media (max-width: 760px) { .sim__badge { top: 10px; left: 10px; padding: 6px 11px 6px 6px; font-size: 12px; } }
@media (max-width: 560px) {
  .hero__sticker { font-size: 10px; line-height: 1.15; padding: 24px; }
  .hero__sticker i { font-size: 20px; }
}
/* stato della foto leggibile sul pannello chiaro; etichetta pennello non attaccata al bordo */
.sim__panel [data-photo-status] { color: var(--ink-2); margin: 10px 2px 0; font-weight: 600; }
.sim__panel [data-photo-status]:empty { display: none; }
.sim__brush { padding-inline: 6px; }
