/* =========================================================================
   Studio Spunto · foglio di stile
   Tema scuro per scelta di marca (la scintilla vive sul buio).
   Un solo colore d'accento (arancione scintilla), angoli morbidi ovunque.
   ========================================================================= */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #e3ddd5; --bg-2: #ddd7cf; --bg-3: #d7d1c9; --line: #cfc9c2; --line-2: #c3beb7;
  --text: #24221f; --text-2: #3c3a37; --muted: #64615c;
  --spark: #9b4a27; --spark-2: #ae592c; --spark-ink: #e2dcd4;
  --acc: #24221f; --acc-2: #3c3a37; --dim: #8b8781;
  --radius: 22px; --radius-s: 14px; --wrap: 1240px; --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.i { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.8; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--acc); color: var(--spark-ink); padding: 10px 16px; border-radius: 10px; font-weight: 650; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(27,26,23,0.158); }

/* ---------- Tipografia ---------- */
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.04; font-weight: 720; }
.h1 { font-size: clamp(44px, 7vw, 104px); letter-spacing: -.05em; line-height: .98; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); }
.h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 46ch; line-height: 1.5; }
.sub { color: var(--muted); font-size: 18px; max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--acc-2); letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px 2px rgba(27,26,23,0.27); }
em.hl, .hl { font-style: normal; color: var(--acc); }

/* ---------- Bottoni (con il glow) ---------- */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--acc); color: var(--spark-ink); font-weight: 650; font-size: 16px; letter-spacing: -.005em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i.go { transform: translateX(3px); }
.btn.ghost { background: rgba(27,26,23,.03); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(27,26,23,.07); box-shadow: inset 0 0 0 1px #a9a49e; }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.big { min-height: 60px; padding: 0 32px; font-size: 17px; }
/* glow: un anello di luce che gira attorno al bottone + alone che respira */
.glow::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ang), rgba(27,26,23,0) 0deg, #b8602e 50deg, var(--spark) 95deg, rgba(27,26,23,0) 150deg, rgba(27,26,23,0) 230deg, var(--sp-2) 300deg, rgba(27,26,23,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glow::after {
  content: ""; position: absolute; inset: -16px; z-index: -2; border-radius: inherit;
  background: radial-gradient(closest-side, rgba(var(--sp-rgb),0.385), rgba(var(--sp-rgb),0)); filter: blur(16px); opacity: .55;
  transition: opacity .4s var(--ease);
}
.glow:hover::after { opacity: .95; }
.glow:hover { box-shadow: 0 18px 50px -18px rgba(27,26,23,0.338); }
@media (prefers-reduced-motion: no-preference) {
  .glow::before { animation: spin 3.6s linear infinite; }
  .glow::after { animation: breathe 3.4s ease-in-out infinite; }
}
@keyframes spin { to { --ang: 360deg; } }
@keyframes breathe { 50% { opacity: .85; transform: scale(1.04); } }

/* ---------- Header e mega menu ---------- */
.site-h { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-h.solid, .site-h.open { background: rgba(226,220,212,.72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-color: rgba(27,26,23,.06); }
.site-h .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 680; letter-spacing: -.015em; font-size: 17px; flex: none; }
.dot { width: 13px; height: 13px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 18px 3px rgba(27,26,23,0.248); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-t { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; color: var(--text-2); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.nav > a:hover, .nav-t:hover, .nav-t[aria-expanded="true"], .nav > a[aria-current="page"] { color: var(--text); background: rgba(27,26,23,.05); }
.nav-t .i { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-t[aria-expanded="true"] .i { transform: rotate(180deg); }
.h-act { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(27,26,23,.05); cursor: pointer; align-items: center; justify-content: center; }
.burger .i { width: 22px; height: 22px; }
.mega {
  position: absolute; left: 0; right: 0; top: var(--nav-h); padding: 26px 0 30px;
  background: #e0dad3;
  border-bottom: 1px solid rgba(27,26,23,.07); box-shadow: 0 40px 80px -40px rgba(234,228,220,.9);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .3s;
}
.mega.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.mega .wrap { height: auto; display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 26px; align-items: start; }
.mega h3 { font-size: 13px; letter-spacing: .02em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.mega ul { list-style: none; display: grid; gap: 4px; }
.mlink { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px; margin-left: -10px; border-radius: 14px; transition: background .2s; }
.mlink:hover { background: rgba(27,26,23,.05); }
.mlink .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(27,26,23,0.045); color: var(--acc-2); box-shadow: inset 0 0 0 1px rgba(27,26,23,0.081); }
.mlink strong { display: block; font-size: 15px; font-weight: 620; letter-spacing: -.01em; line-height: 1.25; }
.mlink small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.mfeat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; border-radius: 20px; overflow: hidden; padding: 20px; background: var(--bg-3); }
.mfeat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1s var(--ease), opacity .4s; }
.mfeat:hover img { transform: scale(1.04); opacity: .7; }
.mfeat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(226,220,212,.95) 20%, rgba(226,220,212,.1)); }
.mfeat > *:not(img) { position: relative; z-index: 1; }
.mfeat small { color: var(--acc-2); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.mfeat strong { font-size: 20px; letter-spacing: -.02em; line-height: 1.15; margin-top: 4px; }
.mfeat span { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--text-2); }
.mfeat span .i { width: 15px; height: 15px; }
.mmenu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 39; background: rgba(226,220,212,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow-y: auto; padding: 18px 20px calc(30px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .3s; }
.mmenu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease); }
.mmenu > a, .mmenu summary { display: flex; align-items: center; justify-content: space-between; min-height: 58px; font-size: 24px; font-weight: 650; letter-spacing: -.025em; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.mmenu summary::-webkit-details-marker { display: none; }
.mmenu details[open] summary .i { transform: rotate(180deg); }
.mmenu summary .i { transition: transform .3s; width: 22px; height: 22px; }
.mmenu .grp { padding: 14px 0 8px; }
.mmenu .grp p { font-size: 13px; color: var(--muted); margin: 8px 0 2px; font-weight: 600; }
.mmenu .grp a { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: 17px; color: var(--text-2); }
.mmenu .grp a .i { color: var(--acc-2); }
.mmenu .mm-cta { display: grid; gap: 10px; margin-top: 26px; }

/* ---------- Sezioni ---------- */
section { position: relative; }
.block { padding: 130px 0; }
.block.tight { padding: 90px 0; }
.sec-head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* Hero della home: la scena legata allo scorrimento */
#scene { position: relative; height: 320vh; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.ov { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.ov .wrap { height: 100%; position: relative; }
.ov-intro .wrap { display: grid; place-items: end center; align-content: end; gap: 26px; padding-bottom: 11vh; }
.ov-intro p { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); text-align: center; }
.ov-intro p b { color: var(--text); font-weight: 600; }
.cue { display: grid; justify-items: center; gap: 12px; }
.cue span { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #7e7b75; }
.cue i { position: relative; display: block; width: 1px; height: 64px; background: rgba(27,26,23,.12); overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: linear-gradient(to bottom, rgba(27,26,23,0), var(--acc)); }
@media (prefers-reduced-motion: no-preference) { .cue i::after { animation: cue 1.8s cubic-bezier(.65,0,.35,1) infinite; } }
@keyframes cue { to { top: 100%; } }
.ov-title .wrap { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 12vh; }
.ov-title .eyebrow { margin-bottom: 18px; }
.ov-title h1 { max-width: 15ch; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; }
.ov-title .lead { margin-top: 22px; }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* Senza JavaScript o senza WebGL: hero statico, alto una schermata, titolo subito visibile */
.no-js #scene, .no-gl #scene { height: auto; }
.no-js .sticky, .no-gl .sticky { background: radial-gradient(50% 45% at 72% 40%, rgba(var(--sp-rgb),0.182), rgba(var(--sp-rgb),0) 70%); }
.no-js #gl, .no-gl #gl, .no-js .ov-intro, .no-gl .ov-intro { display: none; }
.no-js .ov-title, .no-gl .ov-title { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }

/* Pagine interne: hero con la scintilla leggera */
.phero { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; }
.phero canvas { position: absolute; top: 0; right: 0; width: min(62vw, 820px); height: 100%; pointer-events: none; }
.phero .wrap { position: relative; }
.phero h1 { max-width: 14ch; margin-top: 18px; }
.phero .lead { margin-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* Clienti: badge che girano senza fine */
.proof { padding: 80px 0 30px; }
.proof p { color: var(--muted); font-size: 15px; }
.marquee { margin-top: 22px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { list-style: none; display: flex; gap: 14px; width: max-content; padding: 6px 0; }
.track li { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: linear-gradient(180deg, rgba(27,26,23,.06), rgba(27,26,23,.02)); border: 1px solid rgba(27,26,23,.09); box-shadow: inset 0 1px 0 rgba(27,26,23,.08); white-space: nowrap; transition: border-color .3s, background .3s; }
.track li:hover { border-color: rgba(27,26,23,0.248); background: linear-gradient(180deg, rgba(27,26,23,0.063), rgba(27,26,23,0.018)); }
.track img, .track .mono { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #282724; padding: 4px; flex: none; }
.track .mono { display: grid; place-items: center; background: var(--acc); color: var(--spark-ink); font-weight: 750; padding: 0; }
.track strong { display: block; font-size: 16px; letter-spacing: -.01em; line-height: 1.2; }
.track small { color: var(--muted); font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .track { animation: marquee var(--dur, 40s) linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(var(--shift, -50%)); } }

/* Problema e soluzione */
.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ps > div { border-radius: var(--radius); padding: 38px 34px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.06); }
.ps .sol { background: radial-gradient(130% 100% at 100% 0%, rgba(var(--sp-rgb),0.182), rgba(var(--sp-rgb),0) 55%), var(--bg-2); border-color: rgba(27,26,23,0.099); }
.ps h3 { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.ps ul { list-style: none; margin-top: 18px; display: grid; gap: 16px; }
.ps li { font-size: 19px; line-height: 1.38; letter-spacing: -.01em; display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.ps li .i { margin-top: 3px; color: #96928c; }
.ps .sol li .i { color: var(--acc); }

/* Lavori: arco di card che gira (come nel reel) */
#lavori-arc { position: relative; height: 520vh; }
.arc-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.arc-head { width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 3vh; }
.arc-stage { position: relative; height: min(62vh, 580px); perspective: 1400px; }
.arc { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; will-change: transform; }
.gcard {
  position: absolute; width: min(34vw, 440px); height: min(56vh, 540px); left: calc(min(34vw, 440px) / -2); top: calc(min(56vh, 540px) / -2);
  transform: rotateY(var(--a)) translateZ(var(--r)); border-radius: 26px; overflow: hidden; background: var(--bg-2);
  border: 1px solid rgba(27,26,23,.08); box-shadow: 0 40px 80px -40px rgba(234,228,220,.9); backface-visibility: hidden; transition: border-color .4s, box-shadow .4s;
}
.gcard.on { border-color: rgba(27,26,23,0.27); box-shadow: 0 40px 110px -40px rgba(27,26,23,0.225); }
.gcard .shot { position: absolute; inset: 0; overflow: hidden; }
.gcard .shot img { width: 100%; height: 100%; object-fit: cover; }
.gcard[data-tall] .shot img { height: auto; object-fit: initial; will-change: transform; }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(228,222,215,.97) 0%, rgba(228,222,215,.9) 24%, rgba(228,222,215,.45) 44%, rgba(228,222,215,0) 62%); pointer-events: none; }
.glabel { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; }
.glabel small { display: block; color: var(--acc-2); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.glabel strong { display: block; font-size: clamp(32px, 3.5vw, 54px); line-height: .98; letter-spacing: -.045em; font-weight: 740; }
.glabel span { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; max-width: 32ch; }

/* Servizi: card con inclinazione 3D */
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.group { position: relative; border-radius: 26px; padding: 34px 32px 30px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.06); overflow: hidden; }
.group:nth-child(1) { background: radial-gradient(120% 90% at 0% 0%, rgba(var(--sp-rgb),0.126), rgba(var(--sp-rgb),0) 55%), var(--bg-2); }
.group:nth-child(4) { background: radial-gradient(120% 90% at 100% 100%, rgba(var(--sp-rgb),0.14), rgba(var(--sp-rgb),0) 55%), var(--bg-2); }
.group .eyebrow { margin-bottom: 14px; }
.group h3 { font-size: clamp(26px, 2.6vw, 36px); }
.group p.d { color: var(--muted); margin-top: 10px; max-width: 42ch; }
.group ul { list-style: none; margin-top: 22px; display: grid; gap: 8px; }
.slink { display: grid; grid-template-columns: 44px 1fr 22px; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(27,26,23,.03); border: 1px solid rgba(27,26,23,.05); transition: background .25s, border-color .25s; }
.slink:hover { background: rgba(27,26,23,0.036); border-color: rgba(27,26,23,0.135); }
.slink .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(27,26,23,0.045); color: var(--acc-2); }
.slink strong { display: block; font-size: 17px; letter-spacing: -.015em; }
.slink small { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; }
.slink > .i { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.slink:hover > .i { transform: translate(2px, -2px); color: var(--acc); }

[data-tilt] { transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
[data-tilt]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(27,26,23,.07), transparent 45%); opacity: 0; transition: opacity .4s; }
[data-tilt]:hover::before { opacity: 1; }

/* Chi sono */
.me { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: radial-gradient(120% 90% at 30% 15%, rgba(var(--sp-rgb),0.21), rgba(var(--sp-rgb),0) 60%), var(--bg-3); border: 1px solid rgba(27,26,23,.08); display: grid; place-items: center; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .mono-big { font-size: clamp(80px, 10vw, 140px); font-weight: 760; letter-spacing: -.06em; color: rgba(27,26,23,.08); }
.photo .tag { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(226,220,212,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(27,26,23,.1); }
.photo .tag strong { display: block; font-size: 16px; }
.photo .tag small { color: var(--muted); font-size: 13px; }
.me .bio { margin-top: 22px; color: var(--text-2); font-size: 18px; max-width: 54ch; display: grid; gap: 14px; }
.sign { margin-top: 22px; font-size: 26px; font-style: italic; color: var(--acc-2); letter-spacing: -.01em; }
.why { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.why div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.why .i { color: var(--acc); margin-top: 2px; width: 22px; height: 22px; }
.why strong { display: block; font-size: 17px; letter-spacing: -.01em; }
.why span { color: var(--muted); font-size: 15px; }

/* Come lavoro: passi con una linea di luce */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, rgba(27,26,23,0), rgba(27,26,23,0.27), rgba(27,26,23,0)); }
.step { position: relative; }
.step .n { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid rgba(27,26,23,0.225); color: var(--acc-2); font-weight: 700; box-shadow: 0 0 22px rgba(27,26,23,0.113); }
.step h3 { margin-top: 20px; font-size: 22px; }
.step p { margin-top: 8px; color: var(--muted); max-width: 30ch; }

/* Prezzi */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { position: relative; display: flex; flex-direction: column; border-radius: 26px; padding: 34px 30px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.07); }
.price.feat { background: radial-gradient(120% 80% at 50% 0%, rgba(var(--sp-rgb),0.14), rgba(var(--sp-rgb),0) 60%), var(--bg-2); border-color: rgba(27,26,23,0.158); }
.price h3 { font-size: 24px; }
.price .amt { margin-top: 16px; font-size: 46px; font-weight: 740; letter-spacing: -.04em; line-height: 1; }
.price .amt small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-right: 6px; }
.price p.d { margin-top: 12px; color: var(--muted); font-size: 15px; }
.price ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; }
.price li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--text-2); }
.price li .i { color: var(--acc); margin-top: 3px; width: 17px; height: 17px; }
.price .btn { margin-top: auto; }
.promise { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 15px; }
.promise span { display: inline-flex; align-items: center; gap: 8px; }
.promise .i { color: var(--acc); }

/* Caratteristiche di un servizio */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { position: relative; border-radius: 22px; padding: 28px 26px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.06); }
.feat .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(27,26,23,0.045); color: var(--acc-2); box-shadow: inset 0 0 0 1px rgba(27,26,23,0.09); }
.feat .ic .i { width: 24px; height: 24px; }
.feat h3 { margin-top: 20px; font-size: 21px; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.pains { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pains li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 22px 22px; border-radius: 18px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.06); font-size: 17px; color: var(--text-2); }
.pains .i { color: #807d78; margin-top: 3px; }

/* Lavori (pagina) */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work { position: relative; border-radius: 26px; overflow: hidden; background: var(--bg-2); border: 1px solid rgba(27,26,23,.07); }
.work .pic { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.work .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .pic img { transform: scale(1.04); }
.work .badge { position: absolute; top: 16px; left: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--text); background: rgba(226,220,212,.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(27,26,23,.14); }
.work .badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #269859; box-shadow: 0 0 10px 2px rgba(38,152,89,.55); }
.work .badge.soon::before { background: var(--acc); box-shadow: 0 0 10px 2px rgba(27,26,23,0.27); }

/* Profondità: le card arrivano da lontano, inclinate, e si avvicinano mentre scorri (site.js imposta scale, translate e rotate) */
.depth-scope { perspective: 1600px; perspective-origin: 50% 30%; }
.js .depth { transform-origin: 50% 100%; will-change: scale, translate, rotate; }
.js .depth.reveal { transform: none; transition: transform .6s var(--ease), border-color .4s; transition-delay: 0s; }
.work .body { padding: 24px 26px 28px; }
.work .meta { color: var(--acc-2); font-size: 13px; font-weight: 600; }
.work h3 { margin-top: 8px; font-size: 28px; }
.work p { margin-top: 10px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(27,26,23,.05); border: 1px solid rgba(27,26,23,.07); color: var(--text-2); }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 19px; font-weight: 620; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 19px; font-size: 28px; font-weight: 400; color: var(--acc); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 26px 0; color: var(--muted); font-size: 17px; max-width: 66ch; }

/* Fascia finale con la chiamata all'azione */
.cta-band { position: relative; padding: 150px 0; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(var(--sp-rgb),0.154), rgba(var(--sp-rgb),0) 60%); pointer-events: none; }
.cta-band .wrap { position: relative; display: grid; justify-items: center; gap: 22px; }
.cta-band h2 { max-width: 15ch; }
.cta-band .cta { justify-content: center; margin-top: 10px; }
.zones { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; max-width: 760px; }
.zones span { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }

/* Contatti */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { position: relative; display: flex; flex-direction: column; gap: 14px; border-radius: 24px; padding: 30px 28px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.07); }
.way.feat { background: radial-gradient(120% 90% at 0% 0%, rgba(var(--sp-rgb),0.154), rgba(var(--sp-rgb),0) 55%), var(--bg-2); border-color: rgba(27,26,23,0.158); }
.way .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(27,26,23,0.054); color: var(--acc-2); }
.way .ic .i { width: 25px; height: 25px; }
.way h3 { font-size: 24px; }
.way p { color: var(--muted); }
.way .btn { margin-top: auto; align-self: flex-start; }

/* Testi legali */
.legal { max-width: 780px; display: grid; gap: 18px; color: var(--text-2); }
.legal h2 { font-size: 26px; margin-top: 26px; color: var(--text); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--acc-2); text-decoration: underline; text-underline-offset: 3px; }
.note { padding: 16px 18px; border-radius: 14px; background: rgba(27,26,23,0.036); border: 1px solid rgba(27,26,23,0.113); font-size: 15px; }

/* ---------- Footer ---------- */
.site-f { position: relative; border-top: 1px solid var(--line); padding: 80px 0 40px; background: linear-gradient(180deg, rgba(27,26,23,0.018), rgba(27,26,23,0) 40%); }
.f-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.f-brand p { margin-top: 16px; color: var(--muted); max-width: 34ch; font-size: 15px; }
.f-brand .claim { margin-top: 18px; font-size: 22px; letter-spacing: -.02em; color: var(--text); font-weight: 650; }
.f-social { display: flex; gap: 10px; margin-top: 22px; }
.f-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(27,26,23,.05); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.f-social a:hover { background: rgba(27,26,23,0.054); border-color: rgba(27,26,23,0.18); }
.f-social .i { width: 19px; height: 19px; }
.f-col h3 { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; }
.f-col ul { list-style: none; display: grid; gap: 10px; }
.f-col a { color: var(--text-2); font-size: 15px; transition: color .2s; }
.f-col a:hover { color: var(--text); }
.f-col li span { color: var(--text-2); font-size: 15px; }
.f-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: 13.5px; color: var(--muted); }
.f-bottom nav { display: flex; gap: 20px; }
.f-bottom a:hover { color: var(--text); }
.f-mark { margin-top: 50px; font-size: clamp(64px, 14vw, 210px); font-weight: 780; letter-spacing: -.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(27,26,23,.08); user-select: none; white-space: nowrap; overflow: hidden; }

/* ---------- Preventivo a passi ---------- */
.qwrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; pointer-events: none; visibility: hidden; transition: visibility 0s .55s; }
.qbackdrop { position: absolute; inset: 0; background: rgba(231,225,217,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; }
.qsheet { position: relative; width: min(680px, 100%); max-height: min(820px, calc(100dvh - 40px)); display: flex; flex-direction: column; background: rgba(218,212,205,.94); backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%); border: 1px solid rgba(27,26,23,.09); border-radius: 28px; box-shadow: inset 0 1px 0 rgba(27,26,23,.07), 0 50px 140px -40px rgba(234,228,220,.95); opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .35s, transform .55s var(--ease); }
.qwrap.open { pointer-events: auto; visibility: visible; transition: none; }
.qwrap.open .qbackdrop { opacity: 1; }
.qwrap.open .qsheet { opacity: 1; transform: none; }
.qgrab { display: none; }
.qhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 14px; }
.qlabel { font-size: 13px; color: var(--muted); font-weight: 600; }
.qhead h2 { margin-top: 4px; font-size: clamp(24px, 3vw, 30px); line-height: 1.12; letter-spacing: -.03em; }
.qclose { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(27,26,23,.03); cursor: pointer; display: grid; place-items: center; }
.qclose:hover { border-color: #a7a29c; background: rgba(27,26,23,.07); }
.qbar { height: 3px; margin: 0 28px; background: #cac5be; border-radius: 3px; overflow: hidden; }
.qbar i { display: block; height: 100%; width: 16%; background: var(--acc); border-radius: 3px; transition: width .5s var(--ease); box-shadow: 0 0 12px rgba(27,26,23,0.36); }
#qForm { overflow-y: auto; padding: 22px 28px 8px; flex: 1; overscroll-behavior: contain; }
.qstep { display: none; }
.qstep.is-active { display: block; }
.qhint { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.qgroup { grid-column: 1 / -1; margin-top: 10px; font-size: 13px; font-weight: 650; color: var(--text-2); }
.qgroup:first-child { margin-top: 0; }
.qtiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.qtile, .qchip { position: relative; cursor: pointer; }
.qtile input, .qchip input { position: absolute; opacity: 0; pointer-events: none; }
.qtile span, .qchip span { display: flex; align-items: center; min-height: 48px; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.25; background: #d5cfc8; border: 1px solid #c3beb7; color: #937c55; transition: border-color .2s, background .2s, transform .15s; }
.qtile span::before { content: ""; flex: none; width: 18px; height: 18px; margin-right: 10px; border-radius: 6px; border: 1.5px solid #a7a29c; transition: background .2s, border-color .2s, box-shadow .2s; }
.qtile:hover span, .qchip:hover span { border-color: #b1aca6; }
.qtile input:checked + span, .qchip input:checked + span { border-color: var(--acc); background: rgba(27,26,23,0.054); color: var(--text); }
.qtile input:checked + span::before { background: var(--acc); border-color: var(--acc); box-shadow: inset 0 0 0 3px #d5cfc8; }
.qtile input:focus-visible + span, .qchip input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.qtile:active span, .qchip:active span { transform: scale(.98); }
.qq { margin: 20px 0 10px; font-size: 16px; font-weight: 650; }
.qq:first-child { margin-top: 0; }
.qq span, .qfield label span { color: var(--muted); font-weight: 500; font-size: 14px; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchips .qchip span { border-radius: 999px; padding: 10px 16px; min-height: 44px; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.qfield { display: grid; gap: 7px; margin-top: 16px; }
.qrow .qfield { margin-top: 0; }
.qfield label { font-size: 14px; font-weight: 600; color: #3e3c38; }
.qfield input, .qfield textarea { width: 100%; min-height: 48px; font: inherit; font-size: 16px; color: var(--text); background: #d5cfc8; border: 1px solid #c2bdb6; border-radius: 14px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.qfield textarea { min-height: 110px; resize: vertical; }
.qfield input::placeholder, .qfield textarea::placeholder { color: #807d78; }
.qfield input:focus, .qfield textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(27,26,23,0.099); }
.qcount { justify-self: end; color: var(--muted); font-size: 12px; }
.qcheck { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 20px; font-size: 14px; color: #585551; cursor: pointer; }
.qcheck input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--acc); }
.qcheck a { color: var(--acc-2); text-decoration: underline; }
.qerr { display: none; margin-top: 8px; color: #a8492a; font-size: 13px; }
.qerr.on { display: block; }
.qsum { display: grid; border: 1px solid #c3beb7; border-radius: 18px; overflow: hidden; }
.qsum div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 16px; border-top: 1px solid #cbc6bf; }
.qsum div:first-child { border-top: 0; }
.qsum dt { color: var(--muted); font-size: 14px; }
.qsum dd { font-size: 15px; }
.qfoot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 28px 24px; border-top: 1px solid #cbc6bf; }
.qfoot .btn { min-height: 48px; }

/* ---------- Comparsa allo scorrimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Telefono e tablet ---------- */
@media (max-width: 1080px) {
  .mega .wrap { grid-template-columns: repeat(2, 1fr); }
  .mfeat { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 18px; }
  .nav, .h-act .btn.cta-desk { display: none; }
  .burger { display: inline-flex; }
  .h-act { margin-left: auto; }
  .block { padding: 96px 0; }
  .sec-head { margin-bottom: 40px; }
  .ps, .groups, .me, .why, .prices, .feats, .pains, .works, .ways { grid-template-columns: 1fr; }
  .me { gap: 36px; }
  .phero { padding: calc(var(--nav-h) + 56px) 0 60px; }
  .phero canvas { width: 100%; opacity: .55; }
  #scene { height: 300vh; }
  .ov-title .wrap { padding-bottom: 8vh; }
  #lavori-arc { height: 480vh; }
  .gcard { width: 72vw; height: 56vh; left: -36vw; top: -28vh; }
  .arc-stage { height: 60vh; }
  .arc-head .btn { display: none; }
  .steps { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 110px 0; }
  .qwrap { padding: 0; place-items: end center; }
  .qsheet { width: 100%; max-height: 94dvh; border-radius: 26px 26px 0 0; transform: translateY(100%); transition: opacity .2s, transform .5s var(--ease); }
  .qwrap.open .qsheet { transform: none; }
  .qgrab { display: block; width: 40px; height: 5px; border-radius: 3px; background: #b2ada7; margin: 10px auto 0; touch-action: none; }
  .qhead { padding: 14px 20px 12px; touch-action: none; }
  .qbar { margin: 0 20px; }
  #qForm { padding: 18px 20px 8px; }
  .qtiles, .qrow { grid-template-columns: 1fr; }
  .qsum div { grid-template-columns: 1fr; gap: 2px; }
  .qfoot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
  .qfoot .btn { flex: 1; }
}
@media (max-width: 520px) {
  .h-act .btn.cta-mob { min-height: 40px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 400px) {
  .site-h .wrap { gap: 12px; }
  .h-act { gap: 8px; }
  .brand { font-size: 16px; gap: 9px; }
}
@media (max-width: 359px) { .h-act .cta-mob { display: none; } }
@media (min-width: 861px) { .cta-mob { display: none !important; } }

/* Chi preferisce meno movimento vede tutto fermo ma leggibile */
@media (prefers-reduced-motion: reduce) {
  #scene { height: auto; }
  #lavori-arc { height: auto; }
  .arc-sticky { position: static; height: auto; padding: 100px 0; }
  .arc-stage { height: auto; perspective: none; overflow-x: auto; }
  .arc { position: static; display: flex; gap: 16px; padding: 0 18px; transform: none !important; }
  .gcard { position: relative; left: 0; top: 0; flex: none; transform: none; opacity: 1 !important; }
}

/* =========================================================================
   Direzione D · Noir con tocco editoriale (2026-10-21)
   Nero profondo, grigi freddi, bottoni bianchi. Un solo colore: la scintilla arancione,
   che fa da sorgente di luce. La firma: la parola "spunto" in corsivo serif.
   ========================================================================= */
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
:root { --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif; --nav-h: 76px; }
h1, h2, h3 { font-weight: 600; }

/* la firma: corsivo serif che sfuma nel colore della scintilla */
.serif, em.hl, .hl { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; padding-right: .06em;
  background: linear-gradient(180deg, var(--sp-4) 0%, var(--sp-3) 55%, var(--sp-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 .serif, .h1 .hl { font-size: 1.1em; line-height: .9; }
.dim { color: var(--dim); }

/* la scintilla: l'unico colore */
.dot { background: var(--spark); box-shadow: 0 0 12px 2px rgba(var(--sp-rgb),.55); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { width: 6px; height: 6px; background: var(--spark); box-shadow: 0 0 10px 1px rgba(var(--sp-rgb),.6); }
:focus-visible { outline-color: var(--spark); }
::selection { background: rgba(var(--sp-rgb),.35); }

/* bottoni: bianchi e pieni, o fili sottili. Nessun neon */
.btn { background: #24221f; color: #e2dcd4; font-weight: 600; border-radius: 14px; box-shadow: 0 0 0 1px rgba(27,26,23,.1), 0 10px 30px -14px rgba(var(--sp-rgb),.45); }
.btn:hover { background: #1b1a17; box-shadow: 0 0 0 1px rgba(27,26,23,.2), 0 14px 36px -14px rgba(var(--sp-rgb),.6); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(27,26,23,.13); }
.btn.ghost:hover { background: rgba(27,26,23,.05); box-shadow: inset 0 0 0 1px rgba(27,26,23,.22); }
.btn.small { border-radius: 12px; }
.glow::before { display: none; }
.glow::after { inset: -8px; opacity: .12; filter: blur(16px); animation: none; background: radial-gradient(closest-side, rgba(var(--sp-rgb),.7), rgba(var(--sp-rgb),0)); }
.glow:hover::after { opacity: .22; }

/* header: a tutta larghezza e trasparente in cima; scorrendo diventa una capsula di vetro scuro (come Rujada) */
.site-h, .site-h.solid, .site-h.open { height: auto; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-h > .wrap { position: relative; isolation: isolate; height: var(--nav-h); max-width: 100%; margin: 0 auto;
  padding: 0 max(28px, calc((100% - var(--wrap)) / 2 + 28px)); border-radius: 0;
  transition: max-width .6s var(--ease), height .6s var(--ease), padding .6s var(--ease), border-radius .6s var(--ease), margin .6s var(--ease); }
.site-h > .wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .5s var(--ease);
  background: rgba(216,211,203,.62); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.08), inset 0 1px 0 rgba(27,26,23,.07), 0 24px 48px -24px rgba(234,228,220,.9); }
.site-h.solid > .wrap, .site-h.open > .wrap { max-width: min(1100px, calc(100% - 32px)); height: 58px; margin-top: 12px; padding: 0 8px 0 22px; border-radius: 16px; }
.site-h.solid > .wrap::before, .site-h.open > .wrap::before { opacity: 1; }
.nav > a, .nav-t { font-size: 14.5px; color: var(--muted); }
.nav > a:hover, .nav-t:hover, .nav-t[aria-expanded="true"], .nav > a[aria-current="page"] { color: var(--text); background: rgba(27,26,23,.06); }

/* menu dei servizi: pannello di vetro sospeso */
.mega { left: 50%; right: auto; top: calc(100% + 10px); width: min(1100px, calc(100% - 32px)); padding: 24px 26px 26px; border: 0; border-radius: 20px;
  transform: translate(-50%, -8px); background: rgba(219,214,206,.92); backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.08), inset 0 1px 0 rgba(27,26,23,.06), 0 40px 80px -30px rgba(234,228,220,.95); }
.mega.open { transform: translate(-50%, 0); }
.mega .wrap { max-width: none; padding: 0; }
.mega h3 { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--dim); }
.mlink .ic, .slink .ic, .feat .ic, .way .ic { background: rgba(27,26,23,.05); color: var(--text); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08); }

/* superfici: nero con filo di luce sul bordo */
.ps > div, .group, .price, .feat, .pains li, .work, .way, .slink, .gcard, .qsheet, .photo { box-shadow: inset 0 1px 0 rgba(27,26,23,.05); }
.step .n { color: var(--text); border-color: rgba(27,26,23,.16); box-shadow: 0 0 22px rgba(var(--sp-rgb),.18); }
.steps::before { background: linear-gradient(90deg, rgba(27,26,23,0), rgba(27,26,23,.18), rgba(27,26,23,0)); }
.faq summary::after { color: var(--muted); }
.qbar i { background: var(--spark); box-shadow: 0 0 12px rgba(var(--sp-rgb),.7); }
.qtile input:checked + span, .qchip input:checked + span { border-color: rgba(var(--sp-rgb),.75); background: rgba(var(--sp-rgb),.1); }
.qtile input:checked + span::before { background: var(--spark); border-color: var(--spark); box-shadow: inset 0 0 0 3px #d5cfc8; }
.gcard.on { border-color: rgba(27,26,23,.22); box-shadow: 0 40px 110px -40px rgba(var(--sp-rgb),.35); }
.work .badge.soon::before { background: var(--spark); box-shadow: 0 0 10px 2px rgba(var(--sp-rgb),.6); }

/* footer: nero, una riga di luce in alto, e la firma grande */
.site-f { background: radial-gradient(60% 120% at 50% 120%, rgba(var(--sp-rgb),.08), rgba(var(--sp-rgb),0) 60%), #e4ded7; border-top: 1px solid rgba(27,26,23,.07); }
.f-col h3 { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--dim); }
.f-brand .claim { font-size: 24px; font-weight: 500; }
.f-mark { margin-top: 56px; font-weight: 600; letter-spacing: -.055em; line-height: .9; -webkit-text-stroke: 0; color: #d4cfc7; font-size: clamp(56px, 13vw, 196px); white-space: nowrap; overflow: visible; }
.f-mark .serif { font-size: 1.12em; letter-spacing: -.02em; opacity: .9; }

@media (max-width: 860px) {
  .site-h > .wrap, .site-h.solid > .wrap { max-width: calc(100% - 20px); height: 58px; margin-top: 10px; padding: 0 6px 0 16px; border-radius: 16px; }
  .site-h > .wrap::before { opacity: 1; }
  .mmenu { inset: 78px 0 0 0; }
  .mega { display: none; }
}
@media (prefers-reduced-motion: reduce) { .site-h > .wrap { transition: none; } }

/* =========================================================================
   I 10 effetti "da Awwwards" (2026-10-21) — stile e stati di partenza; il movimento è in awards.js
   ========================================================================= */
/* 1 · scorrimento morbido (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* 10 · lo sfondo che cambia tono */
body { background: var(--page-bg, var(--bg)); transition: background-color 1.2s var(--ease); }

/* 2 · la frase-manifesto: centrata, compatta, si accende mentre attraversa lo schermo (senza fermare lo scorrimento) */
.manifesto { padding: 170px 0 150px; text-align: center; }
.manifesto .eyebrow { justify-content: center; }
.m-text { margin: 26px auto 0; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; max-width: 19ch; }
.m-text .serif { font-size: 1.06em; }
.mw { opacity: .16; transition: opacity .25s linear; }

/* 3 · i titoli che salgono parola per parola */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .wi { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 32ms); }
.split.in .wi { transform: none; }

/* 4 · i servizi in orizzontale (solo schermi larghi) */
.hscroll { position: relative; padding: 110px 0; }
.hscroll .h-track { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.hscroll.on { padding: 0; }
.hscroll.on .h-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: calc(var(--nav-h) - 10px); }
.hscroll.on .sec-head { margin-bottom: 34px; }
.hscroll.on .h-track { display: flex; gap: 18px; width: max-content; max-width: none; margin: 0; padding: 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); will-change: transform; }
.hscroll.on .h-track > .group { flex: 0 0 min(520px, 40vw); }

/* 8 · il testo gigante che scorre */
.bigline { padding: 64px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bl-track { display: flex; align-items: center; gap: .45em; width: max-content; white-space: nowrap; font-size: clamp(54px, 8.6vw, 148px); font-weight: 600; letter-spacing: -.05em; line-height: 1.05; will-change: transform; }
.bl-track > span { color: transparent; -webkit-text-stroke: 1px rgba(27,26,23,.3); }
.bl-track > span.serif { -webkit-text-stroke: 0; font-size: 1.08em; letter-spacing: -.02em; }
.bl-track > i { flex: none; width: .16em; height: .16em; border-radius: 50%; background: var(--spark); box-shadow: 0 0 .25em .05em rgba(var(--sp-rgb),.55); }

/* 5 · i passi che si impilano (schermi da 861 px in su) */
.steps .n { font-variant-numeric: tabular-nums; }
@media (min-width: 861px) {
  .steps.stack { display: block; }
  .steps.stack::before { display: none; }
  .steps.stack .step { position: sticky; top: calc(var(--nav-h) + 36px + var(--i, 0) * 22px); display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 20px;
    min-height: 240px; margin-bottom: 22px; padding: 40px 48px; border-radius: 28px; background: #ddd7cf; transform-origin: 50% 0;
    box-shadow: inset 0 0 0 1px rgba(27,26,23,.07), inset 0 1px 0 rgba(27,26,23,.06), 0 -20px 40px -24px rgba(234,228,220,.9); }
  .steps.stack .step .n { width: auto; height: auto; border: 0; border-radius: 0; background: none; box-shadow: none; display: block;
    font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 120px; line-height: .9; letter-spacing: -.02em;
    background: linear-gradient(180deg, var(--sp-4), var(--sp-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .steps.stack .step h3 { margin-top: 0; font-size: clamp(28px, 3vw, 42px); }
  .steps.stack .step p { margin-top: 10px; font-size: 18px; max-width: 46ch; }
}

/* 6 · immagini che si aprono */
.clip { clip-path: inset(12% 10% 12% 10% round 24px); transition: clip-path 1.4s var(--ease); }
.clip img { scale: 1.2; transition: scale 1.6s var(--ease); }
.clip.shown { clip-path: inset(0 0 0 0 round 0); }
.photo.clip.shown { clip-path: inset(0 0 0 0 round 30px); }
.clip.shown img { scale: 1.08; }
.photo.clip.shown img { scale: 1; }

@media (max-width: 860px) {
  .hscroll { padding: 90px 0; }
  .hscroll .h-track { padding: 0 18px; }
  .bigline { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) { .mw { opacity: 1; } }

/* =========================================================================
   I siti dal vivo: Mac che scorrono di lato, con la registrazione del sito sullo schermo (2026-10-21)
   ========================================================================= */
.macs .h-track { gap: 4vw; align-items: flex-end; }
.mac { flex: 0 0 min(660px, 48vw); margin: 0; transform-origin: 50% 70%; will-change: transform, opacity; }
.mac-lid { position: relative; padding: 1.6% 1.6% 2.4%; border-radius: 20px 20px 8px 8px; background: linear-gradient(180deg, #c6c1ba, #d9d3cc);
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.12), inset 0 1px 0 rgba(27,26,23,.18), 0 50px 90px -40px rgba(234,228,220,.95); }
.mac-lid::before { content: ""; position: absolute; top: .55%; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #e0dad3; box-shadow: inset 0 0 0 1.5px #cac4bd; }
.mac-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #eae4dc; }
.mac-screen video, .mac-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mac-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(27,26,23,.07) 0%, rgba(27,26,23,0) 38%); }
.mac-base { position: relative; height: 16px; margin: 0 -7%; border-radius: 2px 2px 16px 16px / 2px 2px 12px 12px;
  background: linear-gradient(180deg, #aba7a1 0%, #c5c0b9 45%, #d6d1c9 100%); box-shadow: inset 0 1px 0 rgba(27,26,23,.22), 0 24px 40px -18px rgba(234,228,220,.9); }
.mac-base span { display: block; width: 16%; height: 6px; margin: 0 auto; border-radius: 0 0 9px 9px; background: #d1cbc4; box-shadow: inset 0 -1px 0 rgba(27,26,23,.08); }
.mac figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 30px; padding: 0 4px; }
.mac figcaption small { color: var(--muted); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.mac figcaption strong { width: 100%; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.035em; font-weight: 600; line-height: 1.05; }
.mac .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--text); padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(27,26,23,.14); }
.mac .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #269859; box-shadow: 0 0 8px 1px rgba(38,152,89,.6); }
.mac .badge.soon::before { background: var(--spark); box-shadow: 0 0 8px 1px rgba(var(--sp-rgb),.6); }
/* telefono, o senza animazioni: si scorrono col dito, uno alla volta */
.hscroll.macs:not(.on) { padding: 100px 0 80px; }
.hscroll.macs:not(.on) .h-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hscroll.macs:not(.on) .h-viewport::-webkit-scrollbar { display: none; }
.hscroll.macs:not(.on) .h-track { display: flex; width: max-content; max-width: none; margin: 0; padding: 0 18px; gap: 18px; }
.hscroll.macs:not(.on) .mac { flex-basis: 84vw; scroll-snap-align: center; }

/* =========================================================================
   Problema e soluzione, sul modello di Artifex (2026-10-21)
   ========================================================================= */
.problem-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.problem .h2 { margin-top: 20px; max-width: 15ch; }
.problem .lead { margin-top: 24px; max-width: 48ch; }
.pains-n { list-style: none; margin-top: 40px; display: grid; }
.pains-n li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.pains-n li:last-child { border-bottom: 1px solid var(--line); }
.pn { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; background: linear-gradient(180deg, var(--sp-4), var(--sp-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pains-n h3 { font-size: 21px; letter-spacing: -.02em; }
.pains-n p { margin-top: 6px; color: var(--muted); font-size: 16px; }

.problem-visual { position: relative; display: grid; place-items: center; padding: 30px 0; }
.problem-visual::before { content: ""; position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, rgba(var(--sp-rgb),.18), rgba(var(--sp-rgb),0)); filter: blur(12px); }
.tag-oggi { position: absolute; top: 46px; left: 50%; transform: translateX(-190px); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(227,221,213,.7); box-shadow: inset 0 0 0 1px rgba(27,26,23,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.phone { position: relative; width: min(330px, 100%); aspect-ratio: 9 / 18.5; border-radius: 48px; border: 11px solid #d9d3cc; background: #262421; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; color: #dcd7cf;
  box-shadow: 0 0 0 1px rgba(27,26,23,.14), 0 60px 110px -40px #eae4dc; }
.ph-top { display: flex; justify-content: center; margin-bottom: 4px; }
.ph-top span { width: 36%; height: 24px; border-radius: 999px; background: #e1dbd3; }
.ph-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 999px; background: #1b1a17; font-size: 14px; color: #b6b2ab; box-shadow: 0 1px 3px rgba(234,228,220,.12); }
.ph-search .i { width: 16px; height: 16px; color: #99958f; }
.ph-res { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #1b1a17; box-shadow: 0 1px 2px rgba(234,228,220,.08); }
.ph-res strong { display: block; font-size: 15px; letter-spacing: -.01em; }
.ph-res small { display: block; font-size: 12px; color: #99958f; line-height: 1.45; }
.ph-res b { color: #dcd7cf; }
.ph-img { width: 62px; height: 62px; border-radius: 12px; background: linear-gradient(135deg, #a6692a, #b65e2e); }
.ph-img.b { background: linear-gradient(135deg, #4c8451, #3f7d58); }
.ph-img.c { background: repeating-linear-gradient(45deg, #32312d 0 6px, #2b2a26 6px 12px); }
.ph-res.lose { opacity: .7; outline: 2px dashed rgba(var(--sp-rgb),.75); outline-offset: 3px; }

.solution .sec-head { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; max-width: 900px; }
.solution .h2 .serif { display: block; }
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-areas: "site orders" "site maps" "me me"; gap: 16px; }
.bx { position: relative; border-radius: 28px; padding: 30px; background: linear-gradient(180deg, #d9d4cc, #ded9d1); overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.08), inset 0 1px 0 rgba(27,26,23,.06); }
.bx-site { grid-area: site; } .bx-orders { grid-area: orders; } .bx-maps { grid-area: maps; }
.bx-me { grid-area: me; flex-direction: row; align-items: center; gap: 24px; background: radial-gradient(80% 140% at 0% 50%, rgba(var(--sp-rgb),.1), rgba(var(--sp-rgb),0) 60%), linear-gradient(180deg, #d9d4cc, #ded9d1); }
.bx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.bx .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--sp-rgb),.1); color: var(--sp-3); box-shadow: inset 0 0 0 1px rgba(var(--sp-rgb),.25); }
.bx .ic .i { width: 22px; height: 22px; }
.chip { font-size: 12.5px; color: var(--text-2); padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(27,26,23,.14); background: rgba(27,26,23,.03); }
.bx h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; line-height: 1.12; max-width: 24ch; }
.bx p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.browser { margin-top: auto; border-radius: 14px; overflow: hidden; background: #eae4dc; box-shadow: inset 0 0 0 1px rgba(27,26,23,.1), 0 30px 60px -30px #eae4dc; }
.br-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #d2cdc6; }
.br-bar i { width: 9px; height: 9px; border-radius: 50%; background: #b8b4ad; }
.br-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #dbd5ce; padding: 3px 12px; border-radius: 8px; }
.browser video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.bx-img { margin-top: auto; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; box-shadow: inset 0 0 0 1px rgba(27,26,23,.1); }
.bx-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.map-card { margin-top: auto; display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #24231f; color: #dcd7cf; }
.mc-img { width: 58px; height: 58px; border-radius: 12px; background: linear-gradient(135deg, var(--sp-3), var(--spark)); }
.map-card strong { display: block; font-size: 15px; }
.map-card small { display: block; font-size: 12.5px; color: #99958f; line-height: 1.45; }
.map-card b { color: #dcd7cf; }
.bx-me .me-av { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(27,26,23,.14), 0 0 30px rgba(var(--sp-rgb),.2); }
.bx-me > div { flex: 1; }
.bx-me .btn { flex: none; }

@media (max-width: 1080px) { .problem-grid { grid-template-columns: 1fr; gap: 40px; } .tag-oggi { transform: translateX(-170px); } }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "site" "orders" "maps" "me"; }
  .bx { padding: 24px; }
  .bx-me { flex-direction: column; align-items: flex-start; }
  .pains-n li { grid-template-columns: 44px 1fr; gap: 12px; }
  .pn { font-size: 26px; }
  .phone { width: min(300px, 100%); }
  .tag-oggi { transform: translateX(-150px); }
}

.ph-map { flex: 1; min-height: 90px; margin-top: 4px; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(0deg, rgba(27,26,23,.0), rgba(27,26,23,.0)), repeating-linear-gradient(0deg, #2e2d2a 0 1px, transparent 1px 26px), repeating-linear-gradient(90deg, #2e2d2a 0 1px, transparent 1px 26px), #23221e;
  box-shadow: inset 0 0 0 1px #34332f; }
.ph-map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 46%; height: 10px; background: #1b1a17; transform: rotate(-8deg); box-shadow: 0 0 0 1px #34332f; }
.ph-map .pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 4px rgba(234,228,220,.25); }
.ph-map .p1 { left: 28%; top: 26%; background: #992f26; } .ph-map .p2 { left: 62%; top: 38%; background: #992f26; } .ph-map .p3 { left: 44%; top: 66%; background: #55534f; }

/* =========================================================================
   Aggiornamento 2026-10-24: fascia chiara, risultati, tripla visibilità, metodo AI, prezzi in chiaro
   Ispirato a V430 (impatto visivo) e Swimme (prezzi trasparenti), con testi e grafica nostri
   ========================================================================= */
/* fascia chiara ad alto contrasto, subito dopo i clienti */
.stacco { position: relative; background: #987e56; color: #e2dcd4; padding: 120px 0 0; overflow: hidden; }
.stacco .wrap { display: grid; gap: 22px; justify-items: start; }
.stacco .eyebrow { color: #98948e; }
.stacco .h2 { max-width: 16ch; color: #e2dcd4; }
.stacco .serif { background: linear-gradient(180deg, var(--sp-2) 0%, var(--sp-0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stacco .sub { color: #b1ada6; max-width: 60ch; font-size: 19px; }
.caps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.caps li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #1b1a17; font-weight: 600; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(234,228,220,.06), 0 12px 30px -20px rgba(234,228,220,.4); }
.caps .i { color: var(--spark); width: 18px; height: 18px; }
.sectors { margin-top: 90px; padding: 26px 0; border-top: 1px solid rgba(234,228,220,.08); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sec-track { display: flex; width: max-content; animation: sectors 46s linear infinite; }
.sec-track span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 42px); color: #e2dcd4; }
.sec-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--spark); }
.sec-track span:empty { display: none; }
@keyframes sectors { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sec-track { animation: none; } }

/* risultato concreto sotto i Mac e le card dei lavori */
.mac .tags { width: 100%; margin-top: 2px; }
.mac .res, .work .res { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 15px; font-weight: 500; line-height: 1.4;
  color: var(--sp-4); background: rgba(var(--sp-rgb),.08); box-shadow: inset 0 0 0 1px rgba(var(--sp-rgb),.22); }
.mac .res { width: 100%; }
.res .i { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--spark); }

/* i numeri, quelli veri */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rs { border-radius: 26px; padding: 34px 30px 28px; background: linear-gradient(180deg, #d9d4cc, #ded9d1); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08), inset 0 1px 0 rgba(27,26,23,.06); }
.rs .big { font-size: clamp(64px, 7vw, 108px); font-weight: 600; letter-spacing: -.055em; line-height: .95;
  background: linear-gradient(180deg, #1b1a17 30%, var(--sp-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs .big small { font-size: .38em; letter-spacing: -.02em; margin-left: 6px; }
.rs .what { margin-top: 18px; font-size: 18px; color: var(--text-2); max-width: 26ch; }
.rs .who { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }

/* Google, Apple Maps e AI */
.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tri-card { position: relative; display: flex; flex-direction: column; gap: 14px; border-radius: 28px; padding: 30px; overflow: hidden;
  background: linear-gradient(180deg, #d9d4cc, #ded9d1); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08), inset 0 1px 0 rgba(27,26,23,.06); }
.tri-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #24221f; color: #e2dcd4; box-shadow: 0 14px 30px -16px rgba(var(--sp-rgb),.6); }
.tri-card .ic .i { width: 26px; height: 26px; }
.tri-card h3 { font-size: 24px; letter-spacing: -.025em; line-height: 1.15; }
.tri-card p { color: var(--muted); font-size: 16px; }
.tri-card ul { list-style: none; display: grid; gap: 9px; margin-top: auto; }
.tri-card li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; }
.tri-card li .i { width: 17px; height: 17px; color: var(--spark); }
.tri-demo { margin-top: auto; display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: #24231f; color: #dcd7cf; font-size: 14px; line-height: 1.4; }
.tri-demo .lbl { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #7e7b75; }
.tri-demo .q { justify-self: end; max-width: 92%; padding: 9px 12px; border-radius: 16px 16px 4px 16px; background: #255d95; color: #1b1a17; }
.tri-demo .a { max-width: 92%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: #1b1a17; box-shadow: 0 1px 2px rgba(234,228,220,.08); }
.tri .cta { margin-top: 30px; }

/* il metodo: l'AI dietro le quinte */
.ai-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.ai .h2 { margin-top: 18px; max-width: 13ch; }
.ai-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-col { border-radius: 24px; padding: 28px 26px; background: var(--bg-2); box-shadow: inset 0 0 0 1px rgba(27,26,23,.07), inset 0 1px 0 rgba(27,26,23,.05); }
.ai-col h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -.01em; }
.ai-col h3 .i { color: var(--spark); width: 20px; height: 20px; }
.ai-col ul { list-style: none; margin-top: 16px; display: grid; gap: 12px; }
.ai-col li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 15.5px; }
.ai-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--spark); }
.ai-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; color: var(--text-2); background: rgba(27,26,23,.03); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08); }
.ai-note .i { flex: none; width: 22px; height: 22px; color: var(--spark); }

/* prezzi in chiaro */
.pk { align-items: stretch; }
.pk .price { padding: 32px 28px 28px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.js .pk > .price.reveal:hover, .pk > .price:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(27,26,23,.06), 0 44px 80px -44px rgba(var(--sp-rgb),.45); }
.pk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pk-badge { flex: none; font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: var(--spark); color: var(--sp-ink); }
.pk .amt { margin-top: 18px; }
.pk .amt .per { font-size: 18px; margin: 0 0 0 4px; }
.pk .unit { margin-top: 8px; color: var(--muted); font-size: 14px; }
.pk dl { margin: 24px 0; display: grid; gap: 18px; }
.pk dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.pk dd { margin-top: 7px; color: var(--text-2); font-size: 15px; }
.pk dd ul { margin: 0; gap: 10px; }
.pk li.plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 13px; background: rgba(27,26,23,.03); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08); }
.plan strong { display: block; font-size: 15px; color: var(--text); }
.plan small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.plan b { flex: none; font-size: 17px; font-weight: 650; white-space: nowrap; }
.plan b small { display: inline; font-size: 12px; font-weight: 500; }
.gift { display: flex; align-items: flex-start; gap: 10px; margin: -6px 0 22px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45;
  color: var(--sp-4); background: rgba(var(--sp-rgb),.08); box-shadow: inset 0 0 0 1px rgba(var(--sp-rgb),.22); }
.gift .i { flex: none; width: 18px; height: 18px; color: var(--spark); }
.addons-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 64px 0 18px; }
.addons-h h3 { font-size: 22px; letter-spacing: -.02em; }
.addons-h p { color: var(--muted); }
.addons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1180px) { .addons { grid-template-columns: repeat(3, 1fr); } }
.addon { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.07), inset 0 1px 0 rgba(27,26,23,.05); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.addon:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(27,26,23,.18), 0 30px 60px -36px rgba(var(--sp-rgb),.4); }
.addon .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 4px; background: rgba(var(--sp-rgb),.1); color: var(--sp-3); box-shadow: inset 0 0 0 1px rgba(var(--sp-rgb),.25); }
.addon .ic .i { width: 20px; height: 20px; }
.addon strong { font-size: 17px; letter-spacing: -.01em; }
.addon .p { font-weight: 650; font-size: 20px; letter-spacing: -.02em; }
.addon small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.upkeep { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 16px; color: var(--muted); font-size: 15px; box-shadow: inset 0 0 0 1px rgba(27,26,23,.07); }
.upkeep strong { color: var(--text); font-weight: 600; }
.upkeep .i { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--spark); }
.ost-h { margin: 64px 0 18px; display: grid; gap: 10px; }
.ost-h h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.ostaggi { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #d9d4cc, #ded9d1); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08); }
.ostaggi > div { display: grid; align-content: start; gap: 10px; padding: 30px 28px; }
.ostaggi > div + div { border-left: 1px solid var(--line); }
.ostaggi .i { width: 26px; height: 26px; color: var(--spark); }
.ostaggi h3 { font-size: 19px; letter-spacing: -.01em; }
.ostaggi p { color: var(--muted); font-size: 15px; }

@media (max-width: 1080px) {
  .addons { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr; gap: 34px; }
  .tri-grid, .res-grid { grid-template-columns: 1fr; }
  .prices.pk { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .stacco { padding-top: 90px; }
  .stacco .sub { font-size: 17px; }
  .sectors { margin-top: 60px; }
  .ai-cols, .addons, .ostaggi { grid-template-columns: 1fr; }
  .ostaggi > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .tri-card, .rs { padding: 26px 22px; }
}
/* fascia chiara: testo a sinistra, notifiche in stile iPhone a destra */
.stacco .wrap.st-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; }
.st-text { display: grid; gap: 22px; justify-items: start; }
.notifs { display: grid; gap: 12px; padding: 10px 0; }
.notifs .cap { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #7e7b75; margin: 0 0 4px 6px; }
.ntf { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 24px;
  background: rgba(27,26,23,.78); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(27,26,23,.9), 0 0 0 1px rgba(234,228,220,.05), 0 24px 44px -28px rgba(234,228,220,.45); }
.ntf:nth-child(3) { margin-left: 28px; margin-right: -14px; }
.ntf .app { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: #1b1a17; }
.ntf .app .i { width: 22px; height: 22px; }
.app.o { background: linear-gradient(180deg, var(--sp-2), var(--sp-0)); }
.app.k { background: #dbd6ce; }
.app.w { background: #32c669; }
.ntf .top { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #98948e; }
.ntf strong { display: block; margin-top: 1px; font-size: 15px; letter-spacing: -.01em; color: #e2dcd4; }
.ntf p:not(.top) { font-size: 14px; color: #bab5ae; line-height: 1.4; }
.tri-card ul { margin-top: 4px; }
.tri-demo .search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; background: #1b1a17; color: #b6b2ab; box-shadow: 0 1px 3px rgba(234,228,220,.12); }
.tri-demo .search .i { width: 15px; height: 15px; color: #99958f; }
@media (max-width: 1080px) {
  .stacco .wrap.st-grid { grid-template-columns: 1fr; gap: 40px; }
  .ntf:nth-child(3) { margin-left: 0; margin-right: 0; }
}
.price.hot { background: radial-gradient(120% 80% at 50% 0%, rgba(var(--sp-rgb),.16), rgba(var(--sp-rgb),0) 60%), var(--bg-2); box-shadow: inset 0 0 0 1px rgba(27,26,23,.16), inset 0 1px 0 rgba(27,26,23,.08); }

/* =========================================================================
   Revisione 2026-10-24 sera (richieste di Damian)
   ========================================================================= */
/* 1 · titoli a due toni, come Apple: niente parole colorate o sfumate, la seconda frase è grigia nello stesso carattere */
.h1 .serif, .h2 .serif, .sec-head .serif, .stacco .serif, .solution .h2 .serif {
  font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; font-size: inherit; line-height: inherit; padding-right: 0;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #73706b; -webkit-text-fill-color: #73706b; }
.stacco .serif { color: #7a7772; -webkit-text-fill-color: #7a7772; }
.solution .h2 .serif { display: inline; }
.pn { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--dim); -webkit-text-fill-color: var(--dim); font-family: var(--font); font-style: normal; font-size: 15px; font-weight: 600; letter-spacing: .12em; padding-top: 4px; }
.rs .big { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #24221f; -webkit-text-fill-color: #24221f; }
.rs .big small { color: #73706b; -webkit-text-fill-color: #73706b; }

/* 2 · i due banner scorrono in direzioni opposte: clienti verso sinistra, settori verso destra */
.sec-track { animation-direction: reverse; }

/* 3 · servizi in breve, con rimando alla pagina completa */
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.svc-head .sec-head { margin-bottom: 0; }
.svc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc-tile { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: 24px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.07), inset 0 1px 0 rgba(27,26,23,.05); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc-tile:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(27,26,23,.16), 0 34px 70px -40px rgba(var(--sp-rgb),.35); }
.svc-tile h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.svc-tile ul { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.svc-tile li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; }
.svc-tile li .i { width: 17px; height: 17px; color: var(--muted); }

/* 4 · chi c'è dietro, con il metodo in due colonne compatte */
.ai-cols.mini { margin-top: 26px; }
.ai-cols.mini .ai-col { padding: 22px 20px; }
.ai-cols.mini .ai-col h3 { font-size: 16px; }
.ai-cols.mini .ai-col li { font-size: 14.5px; }
.me .h2 { max-width: 14ch; }

@media (max-width: 1080px) { .svc-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } .ai-cols.mini { grid-template-columns: 1fr; } }

/* 5 · profondità tra le sezioni: ogni sezione è un pannello che arriva da dietro e, uscendo, si allontana */
html.deep { background: #eae4dc; }
.deep body { background: #eae4dc; }
.deep main > section.dp { position: relative; background: var(--page-bg, var(--bg)); transform-origin: 50% 0%; will-change: transform; }
.deep main > section.dp.stacco { background: #987e56; }
.deep main > section.dp::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #eae4dc; opacity: var(--pdim, 0); border-radius: inherit; }
.deep main > section.dp.edge { box-shadow: inset 0 1px 0 rgba(27,26,23,.07); }
.deep main > section.proof, .deep main > section.hscroll, .deep main > #scene { position: relative; background: var(--page-bg, var(--bg)); }

/* 6 · hero più corta: niente tratti in cui si scorre e non succede nulla */
#scene { height: 240vh; }
@media (max-width: 860px) { #scene { height: 330vh; } } /* telefono: più corsa, il titolo resta in vista (2026-10-24) */

/* 7 · preventivo guidato in platino: grigi freddi, bordi metallici, titoli con profondità */
.qbackdrop { background: rgba(234,228,220,.66); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); }
.qsheet { background: linear-gradient(180deg, rgba(208,203,195,.97) 0%, rgba(221,215,207,.98) 60%); border: 0; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(27,26,23,.14), 0 0 0 1px rgba(234,228,220,.7), 0 70px 160px -40px #eae4dc, 0 30px 60px -30px rgba(234,228,220,.9); }
.qsheet::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(27,26,23,.55), rgba(27,26,23,.08) 28%, rgba(27,26,23,.02) 55%, rgba(27,26,23,.22) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.qlabel { color: #605d59; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.qhead h2, .qok h2, .qsheet h2 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.035em;
  background: linear-gradient(180deg, #1b1a17 0%, #252421 34%, #504e4a 62%, #2e2c29 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(234,228,220,.85)) drop-shadow(0 10px 18px rgba(234,228,220,.55)); }
.qclose { border: 0; background: linear-gradient(180deg, #c6c1ba, #d3cec6); box-shadow: inset 0 1px 0 rgba(27,26,23,.14), 0 0 0 1px rgba(234,228,220,.6), 0 8px 18px -8px #eae4dc; color: #2e2c29; }
.qbar { height: 4px; background: #d2ccc5; box-shadow: inset 0 1px 1px rgba(234,228,220,.6); }
.qbar i { background: linear-gradient(90deg, #74716c, #21201c 45%, #54524d 70%, #282724); box-shadow: 0 0 14px rgba(27,26,23,.35); background-size: 200% 100%; animation: platino 3.2s linear infinite; }
@keyframes platino { to { background-position: -200% 0; } }
.qhint { color: #696662; }
.qgroup, .qq { color: #383632; letter-spacing: .01em; }
.qtile span, .qchip span { background: linear-gradient(180deg, #d2ccc5, #d8d2cb); border: 1px solid rgba(27,26,23,.08); color: #2f2e2a;
  box-shadow: inset 0 1px 0 rgba(27,26,23,.04), 0 6px 14px -10px #eae4dc; }
.qtile:hover span, .qchip:hover span { border-color: rgba(27,26,23,.18); }
.qtile span::before { border-color: rgba(27,26,23,.28); background: #ddd7cf; box-shadow: inset 0 1px 2px rgba(234,228,220,.7); }
.qtile input:checked + span, .qchip input:checked + span { color: #1b1a17; border-color: transparent;
  background: linear-gradient(180deg, #c9c4bd, #d5cfc8) padding-box, linear-gradient(135deg, #1b1a17, #73706b 40%, #2b2926 70%, #686560) border-box;
  box-shadow: inset 0 1px 0 rgba(27,26,23,.1), 0 10px 26px -14px rgba(27,26,23,.28); }
.qtile input:checked + span::before { border-color: transparent; background: linear-gradient(180deg, #1b1a17, #504e4a); box-shadow: inset 0 0 0 3px #d1cbc4, 0 0 10px rgba(27,26,23,.35); }
.qfield label { color: #3b3a36; }
.qfield input, .qfield textarea { background: #dad5cd; border-color: rgba(27,26,23,.09); box-shadow: inset 0 1px 3px rgba(234,228,220,.6); }
.qfield input::placeholder, .qfield textarea::placeholder { color: #8d8984; }
.qfield input:focus, .qfield textarea:focus { border-color: rgba(27,26,23,.4); box-shadow: inset 0 1px 3px rgba(234,228,220,.6), 0 0 0 3px rgba(27,26,23,.08); }
.qcheck { color: #5e5c57; }
.qcheck input { accent-color: #383632; }
.qfoot .btn:not(.ghost), .qsheet .btn:not(.ghost) { background: linear-gradient(180deg, #1b1a17 0%, #2f2d2a 55%, #44423e 100%); color: #e0dad3;
  box-shadow: inset 0 1px 0 #1b1a17, inset 0 -1px 0 rgba(234,228,220,.18), 0 0 0 1px rgba(234,228,220,.5), 0 14px 30px -14px rgba(27,26,23,.35); text-shadow: 0 1px 0 rgba(27,26,23,.6); }
.qfoot .btn.ghost { background: linear-gradient(180deg, #ccc7bf, #d5d0c8); box-shadow: inset 0 1px 0 rgba(27,26,23,.1), 0 0 0 1px rgba(234,228,220,.6); }


/* =========================================================================
   Colore d'accento con un solo interruttore (2026-10-24): arancio "scintilla" o indaco "galassia"
   html[data-accent] lo imposta lo script in testa alla pagina (?accento=arancio | ?accento=indaco)
   ========================================================================= */
:root, html[data-accent="arancio"] {
  --spark: #9b4a27; --sp-rgb: 255,106,43; --sp-0: #ca5e32; --sp-2: #a35229; --sp-3: #ae5b2c; --sp-4: #ba632e; --sp-ink: #dfdad2; --spark-2: #ae592c;
  --pt-1: #9b4a27; --pt-2: #b76b2e; --pt-3: #993626; --pt-core: #a35229; --pt-halo: #994526; --pt-orb: #b86a2e;
}
html[data-accent="indaco"] {
  --spark: #3529a5; --sp-rgb: 107,92,255; --sp-0: #31279c; --sp-2: #3a2bac; --sp-3: #3e2db5; --sp-4: #4230be; --sp-ink: #0b0822; --spark-2: #3e2db5;
  --pt-1: #2f29a4; --pt-2: #2f44be; --pt-3: #5d29a5; --pt-core: #352bae; --pt-halo: #30289f; --pt-orb: #2e42b9;
}
/* nero siderale e platino: testi grigio-metallici freddi invece del bianco pieno */
:root { --bg: #e4ded6; --text: #2a2825; --text-2: #44423e; --muted: #686560; }
body { color: var(--text); }
/* titoli cromati: luce in alto, platino in basso (parola per parola, così regge l'animazione) */
.h1:not(.split), .split .wi:not(.serif), .ov-title .h1 { background: linear-gradient(180deg, #1b1a17 0%, #282723 45%, #4f4d48 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ov-title .h1 .serif, .split .wi.serif { background: none; -webkit-text-fill-color: #726f6a; color: #726f6a; }
.stacco .split .wi:not(.serif), .stacco .h2 { background: none; -webkit-text-fill-color: #e2dcd4; color: #e2dcd4; }
.stacco .split .wi.serif { -webkit-text-fill-color: #7a7772; color: #7a7772; }
/* grana finissima su tutto: il nero non è mai piatto */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }

/* dopo la hero e dopo i lavori la sezione nuova sale subito, senza tratti di nero (2026-10-24) */
main > section.proof { margin-top: -55vh; position: relative; z-index: 3; background: transparent !important; padding-top: 70px; }
.deep main > section.proof { background: transparent !important; }
main > section.hscroll + section { margin-top: -38vh; position: relative; z-index: 3; }
.hscroll.on { margin-bottom: 0; }
.mmenu > .grp { border-bottom: 1px solid var(--line); padding: 4px 0 14px 4px; }
.mmenu > .grp p { margin-top: 10px; }
.mmenu > .grp a { min-height: 40px; font-size: 16px; }
@media (max-width: 860px) { main > section.proof { margin-top: -40vh; } main > section.hscroll + section { margin-top: 0; } }


/* =========================================================================
   8 · Preventivo a carrello (2026-10-24): scegli la base, aggiungi i servizi, il totale cresce
   ========================================================================= */
.qhp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qsheet { width: min(760px, 100%); max-height: min(860px, calc(100dvh - 40px)); }
.qsheet svg { width: 18px; height: 18px; flex: none; }
.qp { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap;
  background: linear-gradient(180deg, #1b1a17, #44423e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qp i { font-style: normal; font-weight: 500; font-size: .78em; color: #73706b; -webkit-text-fill-color: #73706b; }
.qn { font-weight: 650; color: #252421; letter-spacing: -.01em; }
.qtag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-family: inherit; font-size: 10px; font-weight: 650; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; font-style: normal;
  color: #e0dad3; background: linear-gradient(180deg, #1b1a17, #44423e); vertical-align: 2px; }
.qnote { margin-top: 12px; color: #73706b; font-size: 13px; line-height: 1.5; }
.qnote b { color: #383632; font-weight: 600; }

/* superfici "metalliche" condivise */
.qbase span, .qadd, .qplan span, .qpay span, .qlines, .qdrop, .qfiles li, .qgifts {
  background: linear-gradient(180deg, #d2ccc5, #d8d2cb); border: 1px solid rgba(27,26,23,.08); border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(27,26,23,.04), 0 6px 14px -10px #eae4dc; transition: border-color .2s, background .2s, transform .15s, opacity .2s; }
.qbase, .qplan, .qpay { position: relative; cursor: pointer; display: block; }
.qbase input, .qplan input, .qpay input { position: absolute; opacity: 0; pointer-events: none; }
.qbase:hover span, .qplan:hover span, .qpay:hover span, .qadd:hover { border-color: rgba(27,26,23,.18); }
.qbase input:checked + span, .qplan input:checked + span, .qpay input:checked + span, .qadd.on {
  border-color: transparent;
  background: linear-gradient(180deg, #c9c4bd, #d5cfc8) padding-box, linear-gradient(135deg, #1b1a17, #73706b 40%, #2b2926 70%, #686560) border-box;
  box-shadow: inset 0 1px 0 rgba(27,26,23,.1), 0 10px 26px -14px rgba(27,26,23,.28); }
.qbase input:focus-visible + span, .qplan input:focus-visible + span, .qpay input:focus-visible + span { outline: 2px solid #383632; outline-offset: 2px; }
.qbase:active span, .qplan:active span, .qpay:active span { transform: scale(.985); }

/* 1 · basi */
.qbases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qbase span { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; padding: 16px 16px 15px; min-height: 100%; }
.qbase small { grid-column: 1 / -1; color: #696662; font-size: 13.5px; line-height: 1.45; }
.qbase .qp { font-size: 15px; }

/* 2 · aggiunte */
.qgifts { display: none; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 12px; font-size: 13.5px; color: #4d4b47; }
.qgifts.on { display: flex; }
.qgifts b { color: #252421; font-weight: 600; }
.qgifts svg { color: #1b1a17; }
.qadds { display: grid; gap: 8px; }
.qadd { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 12px 12px 16px; }
.qadd > div:first-child { display: grid; gap: 2px; min-width: 0; }
.qadd small { color: #73706b; font-size: 13px; line-height: 1.4; }
.qadd-r { display: flex; align-items: center; gap: 12px; flex: none; }
.qadd-r .qp { font-size: 14.5px; }
.qadd.off { opacity: .38; }
.qbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 116px; height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: #2e2c29; border: 0; background: linear-gradient(180deg, #c6c1ba, #d3cec6);
  box-shadow: inset 0 1px 0 rgba(27,26,23,.14), 0 0 0 1px rgba(234,228,220,.6), 0 8px 18px -8px #eae4dc; transition: transform .15s, background .2s, color .2s; }
.qbtn svg { width: 16px; height: 16px; }
.qbtn:hover { background: linear-gradient(180deg, #beb9b2, #cec9c1); }
.qbtn:active { transform: scale(.96); }
.qbtn:disabled { cursor: not-allowed; }
.qbtn[aria-pressed="true"] { color: #e0dad3; background: linear-gradient(180deg, #1b1a17 0%, #2f2d2a 55%, #44423e 100%);
  box-shadow: inset 0 1px 0 #1b1a17, inset 0 -1px 0 rgba(234,228,220,.18), 0 0 0 1px rgba(234,228,220,.5), 0 10px 24px -12px rgba(27,26,23,.4); }
.qbtn:focus-visible { outline: 2px solid #383632; outline-offset: 2px; }
.qstep > .qgroup { margin: 22px 0 10px; }
.qplans, .qpays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qplan span, .qpay span { display: grid; gap: 4px; align-content: start; padding: 13px 14px; min-height: 100%; }
.qplan small, .qpay small { color: #73706b; font-size: 12.5px; line-height: 1.4; }
.qplan .qp { font-size: 15px; margin-top: 2px; }

/* 4 · riepilogo */
.qlines { display: grid; padding: 4px 16px; }
.qlines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(27,26,23,.06); font-size: 14.5px; color: #3b3a36; }
.qlines > div:first-child { border-top: 0; }
.qlines > div b { font-variant-numeric: tabular-nums; font-weight: 600; color: #252421; white-space: nowrap; }
.qlines > div b i { font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #504e4a; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(27,26,23,.14); }
.qlines > .tot { border-top: 1px solid rgba(27,26,23,.16); padding: 14px 0; font-size: 16px; color: #1b1a17; }
.qlines > .tot b { font-size: 22px; letter-spacing: -.02em; background: linear-gradient(180deg, #1b1a17, #44423e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qlines > .rec { font-size: 13.5px; color: #696662; }
.qlines > .rec b { color: #3b3a36; font-weight: 500; }
.qlines > .qnote { margin: 0 0 12px; }
.qpay b { color: #252421; font-size: 15px; }

/* 5 · allegati */
.qdrop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 22px 16px; text-align: center; cursor: pointer; border-style: dashed; border-color: rgba(27,26,23,.2); }
.qdrop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qdrop svg { width: 26px; height: 26px; color: #383632; }
.qdrop b { font-size: 15px; color: #252421; font-weight: 600; }
.qdrop small { max-width: 46ch; color: #73706b; font-size: 12.5px; line-height: 1.45; }
.qdrop.over, .qdrop:hover { border-color: rgba(27,26,23,.5); background: linear-gradient(180deg, #ccc7c0, #d5d0c8); }
.qdrop:focus-within { outline: 2px solid #383632; outline-offset: 2px; }
.qfiles { display: grid; gap: 6px; margin-top: 8px; list-style: none; padding: 0; }
.qfiles li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; font-size: 13.5px; color: #2f2e2a; }
.qfiles li span { display: grid; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.qfiles li small { color: #73706b; font-size: 12px; }
.qfiles li.big small, .qfiles li.ko small { color: #ad432b; }
.qfiles li.ok small { color: #3ba555; }
.qfiles li button { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #44423e; background: rgba(27,26,23,.05); }
.qfiles li button svg { width: 14px; height: 14px; }

/* fatto */
.qdone { text-align: center; padding: 18px 0 8px; }
.qdone-ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #e0dad3;
  background: linear-gradient(180deg, #1b1a17, #44423e); box-shadow: 0 0 0 6px rgba(27,26,23,.06), 0 18px 40px -16px rgba(27,26,23,.45); }
.qdone-ic svg { width: 30px; height: 30px; }
.qdone-t { max-width: 44ch; margin: 0 auto; color: #44423e; font-size: 16px; line-height: 1.55; }
.qdone-a { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.qdone-a .btn { gap: 8px; }

/* barra del totale, sempre in vista */
.qcart { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 28px; border-top: 1px solid rgba(27,26,23,.07);
  background: linear-gradient(180deg, rgba(27,26,23,.03), rgba(27,26,23,0)); transform-origin: right center; }
.qcart[hidden], .qfoot .btn[hidden] { display: none; }
.qc-l { color: #696662; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.qc-v { display: grid; justify-items: end; gap: 1px; }
.qc-v b { font-size: 26px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #1b1a17 0%, #252421 34%, #504e4a 62%, #2e2c29 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qc-v small { color: #696662; font-size: 12.5px; }
.qc-v small:empty { display: none; }
.qfoot { border-top: 0; padding-top: 4px; }

@media (max-width: 860px) {
  .qsheet { max-height: 96dvh; }
  #qForm { padding: 14px 16px 8px; }
  .qhead { padding: 10px 16px 10px; }
  .qhead h2 { font-size: 22px; }
  .qbar { margin: 0 16px; }
  .qhint { font-size: 14px; margin-bottom: 12px; }
  .qbases { grid-template-columns: 1fr; gap: 8px; }
  .qbase span { padding: 13px 14px; }
  .qbase small { font-size: 12.5px; }
  .qadd { padding: 10px 10px 10px 13px; gap: 10px; }
  .qadd small { font-size: 12px; }
  .qadd-r { flex-direction: column; align-items: flex-end; gap: 6px; }
  .qadd-r .qp { font-size: 13.5px; }
  .qbtn { min-width: 0; height: 36px; padding: 0 12px; font-size: 13px; }
  .qplans, .qpays { grid-template-columns: 1fr; gap: 6px; }
  .qplan span, .qpay span { grid-template-columns: 1fr auto; align-items: baseline; padding: 11px 13px; }
  .qplan small, .qpay small { grid-column: 1 / -1; }
  .qplan .qp { grid-row: 1; grid-column: 2; margin: 0; }
  .qcart { padding: 10px 16px; }
  .qc-v b { font-size: 22px; }
  .qfoot { padding: 4px 16px calc(14px + env(safe-area-inset-bottom)); }
}


/* =========================================================================
   9 · Galleria dei lavori da trascinare, al posto dello scorrimento bloccato (2026-10-24)
   ========================================================================= */
.gallery { position: relative; padding: 120px 0 90px; overflow: hidden; }
.g-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.g-head .sec-head { margin-bottom: 0; }
.g-nav { display: flex; align-items: center; gap: 10px; flex: none; }
.g-count { margin-right: 10px; color: var(--muted); font-size: 13px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.g-count b { color: var(--text); font-weight: 600; }
.g-nav button { width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #2e2c29;
  background: linear-gradient(180deg, #c6c1ba, #d3cec6); box-shadow: inset 0 1px 0 rgba(27,26,23,.14), 0 0 0 1px rgba(234,228,220,.6), 0 8px 18px -8px #eae4dc; transition: transform .15s, opacity .2s, background .2s; }
.g-nav button svg { width: 20px; height: 20px; }
.g-nav button:hover:not(:disabled) { background: linear-gradient(180deg, #bdb8b2, #ccc7c0); }
.g-nav button:active:not(:disabled) { transform: scale(.94); }
.g-nav button:disabled { opacity: .28; cursor: default; }
.g-nav button:focus-visible { outline: 2px solid rgba(27,26,23,.6); outline-offset: 3px; }
.gallery .h-viewport { margin-top: 28px; padding: 20px 0 8px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  cursor: grab; outline: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.gallery .h-viewport::-webkit-scrollbar { display: none; }
.gallery .h-viewport.drag { cursor: grabbing; }
.gallery .h-viewport.drag * { user-select: none; pointer-events: none; }
.gallery .h-viewport.free { scroll-snap-type: none; }
.gallery .h-viewport:focus-visible { box-shadow: inset 0 0 0 2px rgba(27,26,23,.35); }
.gallery .h-track { display: flex; width: max-content; max-width: none; margin: 0; gap: 3vw; align-items: flex-end; }
.gallery .mac { flex: 0 0 min(620px, 44vw); scroll-snap-align: center; transition: opacity .3s; }
.gallery .mac img, .gallery .mac video { -webkit-user-drag: none; user-select: none; }
.g-hint { display: none; }
@media (max-width: 860px) {
  .gallery { padding: 72px 0 56px; }
  .g-nav { display: none; }
  .gallery .h-viewport { margin-top: 22px; padding-top: 8px; }
  .gallery .h-track { gap: 12px; }
  .gallery .mac { flex-basis: 84vw; }
  .gallery .mac figcaption { margin-top: 18px; }
  .g-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
  .g-hint svg { width: 16px; height: 16px; }
}


/* =========================================================================
   10 · I numeri: la velocità dei siti misurata, con la soglia di Google (2026-10-24)
   ========================================================================= */
.sp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.sp-text .h2 { margin-top: 18px; }
.sp-text .sub { margin-top: 20px; max-width: 46ch; }
.sp-more { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.sp-more > div { padding: 18px 18px 16px; border-radius: 18px; background: linear-gradient(180deg, #d9d4cc, #ded9d1); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08), inset 0 1px 0 rgba(27,26,23,.06); }
.sp-more .n { font-size: 40px; font-weight: 600; letter-spacing: -.045em; line-height: 1; color: #24221f; }
.sp-more .n span { color: #73706b; font-size: .6em; margin-left: 2px; }
.sp-more p:not(.n) { margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: var(--text-2); }
.sp-more small { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.speed { margin: 0; padding: 26px 26px 22px; border-radius: 26px; background: linear-gradient(180deg, #d9d4cc, #dfd9d2);
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.08), inset 0 1px 0 rgba(27,26,23,.07), 0 40px 80px -40px #eae4dc; }
.sp-cap { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.sp-cap span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #383632; }
.sp-cap svg { width: 16px; height: 16px; }
.sp-bars, .sp-lim { display: grid; grid-template-columns: 124px 1fr 64px; column-gap: 16px; }
.sp-bars { list-style: none; margin: 26px 0 0; padding: 0; row-gap: 18px; align-items: center; }
.sp-bars > li { display: contents; }
.sp-n { display: grid; font-size: 15px; font-weight: 600; color: #252421; letter-spacing: -.01em; }
.sp-n small { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.sp-bar { position: relative; height: 12px; border-radius: 999px; background: rgba(27,26,23,.05); box-shadow: inset 0 1px 2px rgba(234,228,220,.6); }
/* scala da 0 a 3 secondi; la linea tratteggiata è la soglia di Google (2,5 s) */
.sp-bar::after { content: ""; position: absolute; top: -10px; bottom: -10px; left: calc(2.5 / 3 * 100%); border-left: 1.5px dashed rgba(27,26,23,.32); }
.sp-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / 3 * 100%); border-radius: inherit;
  background: linear-gradient(90deg, #74716c, #21201c 70%, #1b1a17); box-shadow: 0 0 16px rgba(27,26,23,.25);
  transform-origin: left center; transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0s); }
.speed.in .sp-bar i { transform: none; }
.sp-bars b { font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 600; color: #24221f; text-align: right; white-space: nowrap; }
.sp-lim { margin-top: 12px; }
.sp-lim span { position: relative; }
.sp-lim em { position: absolute; top: 0; left: calc(2.5 / 3 * 100%); transform: translateX(-50%); font-style: normal; color: #605d59; font-size: 11.5px; white-space: nowrap; }
.sp-note { margin-top: 44px; color: #83807a; font-size: 12px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .sp-bar i { transform: none; transition: none; } }
@media (max-width: 960px) {
  .sp-grid { grid-template-columns: 1fr; gap: 28px; }
  .sp-more { order: 3; }
}
@media (max-width: 860px) {
  .speed { padding: 20px 16px 16px; border-radius: 20px; }
  .sp-bars, .sp-lim { grid-template-columns: 86px 1fr 46px; column-gap: 10px; }
  .sp-bars { row-gap: 14px; margin-top: 20px; }
  .sp-bar::after { top: -8px; bottom: -8px; }
  .sp-lim em { font-size: 10.5px; }
  .sp-n { font-size: 13.5px; }
  .sp-n small { font-size: 11px; }
  .sp-bars b { font-size: 14px; }
  .sp-bar { height: 10px; }
  .sp-note { margin-top: 36px; font-size: 11px; }
  .sp-cap { font-size: 10.5px; letter-spacing: .12em; }
  .sp-more { gap: 10px; margin-top: 24px; }
  .sp-more > div { padding: 14px 14px 12px; border-radius: 16px; }
  .sp-more .n { font-size: 30px; }
  .sp-more p:not(.n) { font-size: 13px; }
}


/* =========================================================================
   11 · Telefono più compatto (2026-10-24): meno spazio vuoto, caratteri in scala,
   card affiancate da scorrere di lato invece di colonne lunghissime
   ========================================================================= */
@media (max-width: 860px) {
  .block { padding: 68px 0; }
  .block.tight { padding: 56px 0; }
  .sec-head { margin-bottom: 26px; gap: 12px; }
  .h2 { font-size: clamp(28px, 7.8vw, 34px); line-height: 1.06; }
  .lead { font-size: 16.5px; line-height: 1.5; }
  .sub { font-size: 15.5px; line-height: 1.5; }
  .eyebrow { font-size: 11px; }
  .ov-title .lead { font-size: 15.5px; margin-top: 16px; }
  .ov-title .cta { margin-top: 22px; gap: 10px; }
  .btn.big { min-height: 52px; padding: 0 22px; font-size: 15.5px; }
  .cta-band { padding: 80px 0; }

  /* card da scorrere di lato: si vede un pezzo della successiva */
  .prices.pk, .tri-grid, .svc-row, .bento {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: 0 -18px; padding: 6px 18px 18px; max-width: none; grid-template-columns: none; grid-template-areas: none; }
  .prices.pk::-webkit-scrollbar, .tri-grid::-webkit-scrollbar, .svc-row::-webkit-scrollbar, .bento::-webkit-scrollbar { display: none; }
  .prices.pk > *, .tri-grid > *, .svc-row > *, .bento > * { flex: 0 0 84%; scroll-snap-align: center; min-width: 0; }
  .js .pk > .price.reveal:hover, .pk > .price:hover, .svc-tile:hover { transform: none; }

  /* prezzi */
  .pk .price { padding: 24px 20px 20px; border-radius: 22px; }
  .price h3 { font-size: 21px; }
  .price .amt { font-size: 40px; margin-top: 12px; }
  .pk dl { margin: 18px 0; gap: 14px; }
  .pk dd { font-size: 14px; }
  .price li { font-size: 14px; gap: 8px; }
  .price ul { gap: 8px; }
  .pk li.plan { padding: 9px 11px; }
  .plan small { font-size: 12px; }
  .gift { font-size: 13px; margin-bottom: 16px; }
  .addons-h { margin: 40px 0 14px; }
  .addons-h h3 { font-size: 19px; }
  .addons { grid-template-columns: 1fr 1fr; gap: 8px; }
  .addon { padding: 14px 13px; border-radius: 16px; gap: 6px; }
  .addon .ic { width: 34px; height: 34px; border-radius: 10px; }
  .addon strong { font-size: 14.5px; }
  .addon .p { font-size: 15px; }
  .addon small { font-size: 12px; line-height: 1.4; }
  .upkeep { font-size: 13.5px; padding: 13px 14px; }
  .ostaggi { margin-top: 36px; }
  .ostaggi > div { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; padding: 16px 16px; }
  .ostaggi > div .i { grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 2px; }
  .ostaggi h3 { font-size: 16.5px; margin: 0; }
  .ostaggi p { font-size: 13.5px; margin-top: 4px; }

  /* tre posti, servizi, soluzione */
  .tri-card { padding: 22px 20px; border-radius: 22px; gap: 10px; }
  .tri-card h3 { font-size: 20px; }
  .tri-card p { font-size: 14px; }
  .svc-tile { padding: 20px 18px; border-radius: 20px; }
  .svc-tile h3 { font-size: 18px; }
  .svc-tile li { font-size: 14px; }
  .bx { padding: 20px; border-radius: 22px; gap: 8px; }
  .bx h3 { font-size: 19px; }
  .bx p { font-size: 14px; }
  .bx-me { flex-direction: column; align-items: flex-start; }
  .bx-img { aspect-ratio: 16 / 9; }

  /* problema: telefono finto più piccolo */
  .problem-grid { gap: 28px; }
  .pains-n { margin-top: 24px; }
  .pains-n li { grid-template-columns: 44px 1fr; gap: 10px; padding: 14px 0; }
  .pn { font-size: 26px; }
  .pains-n h3 { font-size: 17px; }
  .pains-n p { font-size: 14px; }
  .phone { width: 250px; border-radius: 40px; border-width: 9px; padding: 12px 10px; gap: 9px; }
  .tag-oggi { top: 30px; transform: translateX(-150px); }

  /* fascia chiara e "chi c'è dietro" */
  .stacco { padding-top: 64px; }
  .stacco .wrap.st-grid { gap: 28px; }
  .stacco .sub { font-size: 15.5px; }
  .sectors { margin-top: 40px; }
  .ntf { padding: 11px 14px 11px 11px; border-radius: 20px; gap: 11px; grid-template-columns: 38px 1fr; }
  .ntf .app { width: 38px; height: 38px; border-radius: 10px; }
  .ntf strong { font-size: 14px; }
  .ntf p:not(.top) { font-size: 13px; }
  .me { gap: 24px; }

  /* come lavoriamo */
  .steps { gap: 14px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; }

  /* footer: colonne affiancate, zone in riga */
  .site-f { padding-top: 64px; }
  .f-top { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .f-brand, .f-col:last-child { grid-column: 1 / -1; }
  .f-col ul { gap: 8px; }
  .f-col a, .f-col span { font-size: 14px; }
  .f-col:last-child ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .f-brand .claim { font-size: 19px; }
}
@media (max-width: 860px) {
  .me .photo { aspect-ratio: 5 / 4; border-radius: 22px; }
  .me .photo img { object-position: 50% 22%; }
  .bio p { font-size: 15.5px; }
  .ai-cols.mini { gap: 10px; margin-top: 22px; }
  .ai-cols.mini .ai-col { padding: 16px 16px 14px; }
  .ai-cols.mini h3 { font-size: 15.5px; }
  .ai-cols.mini li { font-size: 13.5px; }
}

/* 12 · Marchio "S a nastro" con la scintilla (2026-10-24) */
.brand .mark { display: block; width: 30px; height: 30px; margin: -4px -2px -4px -4px; flex: none; }
@media (max-width: 860px) { .brand .mark { width: 28px; height: 28px; } }
.f-brand .brand .mark { width: 36px; height: 36px; }


/* =========================================================================
   13 · Palette "Titanio, platino e oro champagne" (2026-10-26, deciso da Damian)
   Nero siderale 60% · platino 30% · champagne 10%. Niente bagliori colorati:
   il champagne è un metallo, non una luce al neon.
   ========================================================================= */
html[data-accent="champagne"] {
  --bg: #e2dcd4; --bg-2: #dbd5ce; --bg-3: #d5d0c8;
  --text: #23221f; --text-2: #64615c; --muted: #64615c; --dim: #8b8781;
  --spark: #8a6f43; --sp-rgb: 200,178,142; --sp-0: #837f7a; --sp-2: #a07839; --sp-3: #a47e3c; --sp-4: #ae843b; --sp-ink: #e2dcd4; --spark-2: #a07839;
  /* particelle: platino per la maggior parte, una su cinque champagne */
  --pt-1: #64615c; --pt-2: #23221f; --pt-3: #8a6f43; --pt-share: .22; --pt-core: #a07839; --pt-halo: #8b8782; --pt-orb: #8a6f43;
  --champ: #8a6f43; --champ-l: #a07839; --champ-d: #837f7a;
}
html[data-accent="champagne"] body { background: var(--bg); }

/* bottoni: pieno champagne con scritta nera, il secondario in platino che si scalda */
html[data-accent="champagne"] .btn:not(.ghost), html[data-accent="champagne"] .qfoot .btn:not(.ghost), html[data-accent="champagne"] .qsheet .btn:not(.ghost) {
  background: var(--champ); color: #e2dcd4; text-shadow: none; box-shadow: inset 0 1px 0 rgba(27,26,23,.35), 0 0 0 1px rgba(234,228,220,.4); transition: background .25s, transform .2s; }
html[data-accent="champagne"] .btn:not(.ghost):hover { background: var(--champ-l); box-shadow: inset 0 1px 0 rgba(27,26,23,.45), 0 0 0 1px rgba(234,228,220,.4); }
html[data-accent="champagne"] .btn.ghost { background: rgba(27,26,23,.03); color: var(--text); box-shadow: inset 0 0 0 1px rgba(27,26,23,.14); }
html[data-accent="champagne"] .btn.ghost:hover { background: rgba(138,111,67,.06); box-shadow: inset 0 0 0 1px rgba(138,111,67,.45); }
html[data-accent="champagne"] .glow::after, html[data-accent="champagne"] .glow::before { display: none; }

/* niente bagliori colorati */
html[data-accent="champagne"] .dot, html[data-accent="champagne"] .eyebrow::before, html[data-accent="champagne"] .mac .badge.soon::before,
html[data-accent="champagne"] .work .badge.soon::before, html[data-accent="champagne"] .bl-track > i { box-shadow: none; }
html[data-accent="champagne"] .step .n, html[data-accent="champagne"] .tri-card .ic, html[data-accent="champagne"] .bx-me .me-av { box-shadow: 0 0 0 1px rgba(27,26,23,.14); }
html[data-accent="champagne"] .js .pk > .price.reveal:hover, html[data-accent="champagne"] .pk > .price:hover,
html[data-accent="champagne"] .addon:hover, html[data-accent="champagne"] .svc-tile:hover, html[data-accent="champagne"] .gcard.on { box-shadow: inset 0 0 0 1px rgba(27,26,23,.18), 0 30px 60px -36px rgba(234,228,220,.9); }
html[data-accent="champagne"] .qbar i { background: linear-gradient(90deg, var(--champ-d), var(--champ-l)); box-shadow: none; animation: none; }

/* titoli a due tempi: la seconda frase in grigio platino, in champagne nella hero e nei prezzi */
html[data-accent="champagne"] .ov-title .h1 .serif, html[data-accent="champagne"] .ov-title .h1 .wi.serif,
html[data-accent="champagne"] #prezzi .h2 .serif, html[data-accent="champagne"] #prezzi .h2 .wi.serif { color: var(--champ); -webkit-text-fill-color: var(--champ); background: none; }
html[data-accent="champagne"] .split .wi.serif, html[data-accent="champagne"] .h2 .serif { color: #64615c; -webkit-text-fill-color: #64615c; }
html[data-accent="champagne"] #prezzi .h2 .wi.serif, html[data-accent="champagne"] .ov-title .h1 .wi.serif { color: var(--champ); -webkit-text-fill-color: var(--champ); }

/* card e superfici */
html[data-accent="champagne"] .price, html[data-accent="champagne"] .pk .price { background: #dbd5ce; border: 1px solid rgba(27,26,23,.08); box-shadow: none; }
html[data-accent="champagne"] .price.hot { background: linear-gradient(180deg, rgba(138,111,67,.04), rgba(138,111,67,0) 40%), #dbd5ce; border: 1px solid rgba(138,111,67,.45); box-shadow: none; }
html[data-accent="champagne"] .pk-badge { background: var(--champ); color: #e2dcd4; }
html[data-accent="champagne"] .price li .i, html[data-accent="champagne"] .tri-card li .i, html[data-accent="champagne"] .ai-col h3 .i { color: var(--champ); }
html[data-accent="champagne"] .pk dt { color: var(--champ); }
html[data-accent="champagne"] .gift { color: var(--champ-l); background: rgba(138,111,67,.06); box-shadow: inset 0 0 0 1px rgba(138,111,67,.22); }
html[data-accent="champagne"] .gift .i, html[data-accent="champagne"] .upkeep .i, html[data-accent="champagne"] .ostaggi .i { color: var(--champ); }
html[data-accent="champagne"] .bx .ic, html[data-accent="champagne"] .addon .ic { background: rgba(138,111,67,.08); color: var(--champ-l); box-shadow: inset 0 0 0 1px rgba(138,111,67,.22); }

/* etichette dei lavori e righe di risultato */
html[data-accent="champagne"] .tags span { background: rgba(138,111,67,.08); border: 1px solid rgba(138,111,67,.2); color: var(--champ-l); }
html[data-accent="champagne"] .mac .res, html[data-accent="champagne"] .work .res { color: #23221f; background: rgba(27,26,23,.03); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08); }
html[data-accent="champagne"] .mac .res .i, html[data-accent="champagne"] .work .res .i { color: var(--champ); }

/* numeri e velocità: come il quadrante di un cronografo */
html[data-accent="champagne"] .sp-bars b, html[data-accent="champagne"] .sp-more .n, html[data-accent="champagne"] .rs .big { color: var(--champ); -webkit-text-fill-color: var(--champ); }
html[data-accent="champagne"] .sp-more .n span { color: var(--champ-d); -webkit-text-fill-color: var(--champ-d); }
html[data-accent="champagne"] .sp-bar i { background: linear-gradient(90deg, var(--champ-d), var(--champ-l)); box-shadow: none; }
html[data-accent="champagne"] .sp-cap span:first-child svg { color: var(--champ); }
html[data-accent="champagne"] .g-count b { color: var(--champ); }
html[data-accent="champagne"] .pn { background: none; color: var(--champ); -webkit-text-fill-color: var(--champ); }

/* preventivo a carrello */
html[data-accent="champagne"] .qbtn[aria-pressed="true"] { background: var(--champ); color: #e2dcd4; box-shadow: inset 0 1px 0 rgba(27,26,23,.35); }
html[data-accent="champagne"] .qbase input:checked + span, html[data-accent="champagne"] .qplan input:checked + span,
html[data-accent="champagne"] .qpay input:checked + span, html[data-accent="champagne"] .qadd.on,
html[data-accent="champagne"] .qtile input:checked + span, html[data-accent="champagne"] .qchip input:checked + span {
  background: linear-gradient(180deg, #d2cdc6, #d9d3cc) padding-box, linear-gradient(135deg, var(--champ-l), var(--champ-d) 50%, var(--champ)) border-box; border-color: transparent; box-shadow: none; }
html[data-accent="champagne"] .qtag, html[data-accent="champagne"] .qdone-ic { background: var(--champ); color: #e2dcd4; box-shadow: none; }
html[data-accent="champagne"] .qc-v b, html[data-accent="champagne"] .qlines > .tot b, html[data-accent="champagne"] .qp { background: none; color: var(--champ-l); -webkit-text-fill-color: var(--champ-l); }
html[data-accent="champagne"] .qp i { -webkit-text-fill-color: #73706b; }


/* =========================================================================
   14 · Rilievo (2026-10-26, idea di Damian): bottoni come tasti di metallo, titoli come metallo inciso.
   Chip dei clienti molto più piccole.
   ========================================================================= */
.track { gap: 8px; padding: 4px 0; }
.track li { gap: 8px; padding: 4px 12px 4px 4px; }
.track img, .track .mono { width: 24px; height: 24px; padding: 2px; }
.track strong { font-size: 12.5px; font-weight: 600; }
.track small { font-size: 10.5px; }
.proof p { font-size: 13px; }
.marquee { margin-top: 14px; }

/* bottone principale: tasto champagne in rilievo, con lo spessore sotto e la scritta incisa */
html[data-accent="champagne"] .btn:not(.ghost), html[data-accent="champagne"] .qfoot .btn:not(.ghost), html[data-accent="champagne"] .qsheet .btn:not(.ghost) {
  background: linear-gradient(180deg, #af8334 0%, #94743f 42%, #826a44 100%); color: #17130c; text-shadow: 0 1px 0 rgba(27,26,23,.35);
  box-shadow: inset 0 1px 0 rgba(27,26,23,.65), inset 0 -2px 0 rgba(90,70,40,.25), 0 0 0 1px rgba(60,46,26,.55), 0 2px 0 #7d6a4e, 0 10px 18px -8px rgba(234,228,220,.85);
  transition: background .25s, transform .15s, box-shadow .15s; }
html[data-accent="champagne"] .btn:not(.ghost):hover { background: linear-gradient(180deg, #b98b2e 0%, #9d783a 42%, #886e41 100%);
  box-shadow: inset 0 1px 0 rgba(27,26,23,.75), inset 0 -2px 0 rgba(90,70,40,.22), 0 0 0 1px rgba(60,46,26,.55), 0 3px 0 #7d6a4e, 0 14px 22px -10px rgba(234,228,220,.85); transform: translateY(-1px); }
html[data-accent="champagne"] .btn:not(.ghost):active { transform: translateY(2px);
  box-shadow: inset 0 1px 2px rgba(60,46,26,.35), 0 0 0 1px rgba(60,46,26,.55), 0 0 0 #7d6a4e, 0 4px 8px -6px rgba(234,228,220,.85); }
/* bottone secondario: tasto in titanio scuro */
html[data-accent="champagne"] .btn.ghost { background: linear-gradient(180deg, #ccc7bf 0%, #d6d0c9 55%, #dbd5ce 100%); color: #23221f; text-shadow: 0 -1px 0 rgba(234,228,220,.6);
  box-shadow: inset 0 1px 0 rgba(27,26,23,.14), inset 0 -1px 0 rgba(234,228,220,.5), 0 0 0 1px rgba(27,26,23,.1), 0 2px 0 #e6e0d8, 0 10px 18px -8px rgba(234,228,220,.9);
  transition: box-shadow .2s, transform .15s; }
html[data-accent="champagne"] .btn.ghost:hover { transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(27,26,23,.16), inset 0 -1px 0 rgba(234,228,220,.5), 0 0 0 1px rgba(138,111,67,.45), 0 3px 0 #e6e0d8, 0 14px 22px -10px rgba(234,228,220,.9); }
html[data-accent="champagne"] .btn.ghost:active { transform: translateY(2px); box-shadow: inset 0 1px 3px rgba(234,228,220,.6), 0 0 0 1px rgba(27,26,23,.1), 0 0 0 #e6e0d8; }

/* titoli: platino spazzolato e champagne, con un filo di luce sopra e l'ombra sotto, come lettere ricavate nel metallo */
html[data-accent="champagne"] .h1, html[data-accent="champagne"] .h2, html[data-accent="champagne"] .phero .h1 {
  filter: drop-shadow(0 -1px 0 rgba(27,26,23,.16)) drop-shadow(0 2px 1px rgba(234,228,220,.85)) drop-shadow(0 10px 16px rgba(234,228,220,.45)); }
html[data-accent="champagne"] .h1:not(.split), html[data-accent="champagne"] .split .wi:not(.serif), html[data-accent="champagne"] .ov-title .h1 {
  background: linear-gradient(180deg, #1b1a17 0%, #272623 38%, #55534f 60%, #373532 82%, #252421 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-accent="champagne"] .split .wi.serif, html[data-accent="champagne"] .h2 .serif, html[data-accent="champagne"] .h1 .serif {
  background: linear-gradient(180deg, #44423e 0%, #64615c 45%, #8d8983 70%, #65625e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-accent="champagne"] .ov-title .h1 .serif, html[data-accent="champagne"] .ov-title .h1 .wi.serif,
html[data-accent="champagne"] #prezzi .h2 .serif, html[data-accent="champagne"] #prezzi .h2 .wi.serif {
  background: linear-gradient(180deg, #b98b2e 0%, #9d783a 38%, #776446 64%, #8d7041 86%, #a27e3b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* fascia chiara: inciso al contrario, luce sotto */
html[data-accent="champagne"] .stacco .h2 { filter: drop-shadow(0 1px 0 rgba(27,26,23,.9)) drop-shadow(0 -1px 0 rgba(234,228,220,.08)); }
@media (max-width: 860px) {
  .track li { padding: 3px 10px 3px 3px; gap: 7px; }
  .track img, .track .mono { width: 22px; height: 22px; }
  .track strong { font-size: 12px; }
  .track small { display: none; }
}
@media (max-width: 860px) { .ov-title .eyebrow { font-size: 10.5px; letter-spacing: .13em; white-space: nowrap; } }
/* marchio a due colori: "Studio" platino, "Spunto" champagne (2026-10-26) */

html[data-accent="champagne"] .brand .b2 { color: var(--champ); }


/* =========================================================================
   15 · Ritocchi del 2026-10-26 (pomeriggio, richieste di Damian)
   ========================================================================= */
/* prezzi: vetrina, professionale, e-commerce; il menu digitale a tutta larghezza sotto */
.pk-wide { margin-top: 16px; }
.pk-wide .price { display: grid; grid-template-columns: minmax(240px, .8fr) 1.7fr; column-gap: 48px; align-items: start; }
.pk-wide .price > * { grid-column: 1; }
.pk-wide .price > dl { grid-column: 2; grid-row: 1 / span 5; margin: 0; }
.pk-wide .price > .btn { align-self: end; margin-top: 22px; }
@media (max-width: 960px) { .pk-wide .price { grid-template-columns: 1fr; } .pk-wide .price > dl { grid-column: 1; grid-row: auto; margin: 18px 0; } }

/* come lavoriamo: titolo su due righe e card centrate */
.how-head { margin-left: auto; margin-right: auto; }
@media (min-width: 861px) {
  .steps.stack .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding-top: 34px; padding-bottom: 34px; }
  .steps.stack .step .n { font-size: 56px; }
  .steps.stack .step p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) { .steps .step { text-align: center; } .steps .step .s-body { justify-items: center; } }

/* fascia chiara: titolo leggibile (nero e titanio scuro sul beige) */
html[data-accent="champagne"] .stacco .split .wi:not(.serif), html[data-accent="champagne"] .stacco .h2 { background: none; -webkit-text-fill-color: #e2dcd4; color: #e2dcd4; }
html[data-accent="champagne"] .stacco .split .wi.serif, html[data-accent="champagne"] .stacco .h2 .serif { background: none; -webkit-text-fill-color: #99958f; color: #99958f; }

/* notifiche: si sollevano al passaggio del mouse */
.ntf { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
@media (hover: hover) {
  .ntf:hover { transform: translateY(-6px) scale(1.015); box-shadow: inset 0 1px 0 rgba(27,26,23,.9), 0 0 0 1px rgba(234,228,220,.05), 0 34px 54px -26px rgba(234,228,220,.5); }
}

/* settori che scorrono: più piccoli */
.sec-track span { font-size: clamp(20px, 2vw, 28px); gap: 22px; padding-right: 22px; }
.sec-track span::after { width: 6px; height: 6px; }
.sectors { padding: 18px 0; }

/* chiusura della home: la S in 3D, sfumata nel nero */
.cta-s { width: clamp(180px, 22vw, 300px); height: auto; margin-bottom: 4px;
  -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent 100%); mask-image: radial-gradient(closest-side, #000 68%, transparent 100%); }
@media (prefers-reduced-motion: no-preference) {
  .cta-s { animation: galleggia 7s ease-in-out infinite; }
  @keyframes galleggia { 50% { transform: translateY(-8px); } }
}

/* scritta grande del footer: Studio platino, Spunto champagne; al passaggio una luce la attraversa */
.f-mark { font-family: var(--font); font-weight: 700; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 0; }
.f-mark .fm1, .f-mark .fm2 { background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  transition: background-position 1.6s var(--ease); filter: drop-shadow(0 -1px 0 rgba(27,26,23,.12)) drop-shadow(0 3px 2px rgba(234,228,220,.8)); }
.f-mark .fm1 { background-image: linear-gradient(110deg, #b8b4ad 0%, #8d8983 30%, #8d8983 42%, #23221f 50%, #8d8983 58%, #b8b4ad 100%); }
.f-mark .fm2 { background-image: linear-gradient(110deg, #4e4130 0%, #8a7658 30%, #8a7658 42%, #bc8c30 50%, #8a7658 58%, #4e4130 100%); }
@media (hover: hover) { .f-mark:hover .fm1, .f-mark:hover .fm2 { background-position: 0 0; } }
.f-mark { cursor: default; }
@media (max-width: 860px) {
  .steps .step { display: grid; justify-items: center; gap: 10px; }
  .steps .step .n { margin: 0 auto; }
  .steps .step h3 { margin-top: 0; }
}

/* 16 · Scritta in 3D in fondo al sito (render approvato da Damian, 2026-10-26): al passaggio del mouse una luce attraversa il metallo */
.f-mark { position: relative; display: block; width: min(100%, 1180px); margin: 56px auto 0; font-size: 0; line-height: 0; overflow: hidden; cursor: default; }
.f-mark img { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.fm-luce { position: absolute; inset: 0; pointer-events: none; filter: brightness(1.9) contrast(1.05);
  -webkit-mask-image: linear-gradient(105deg, transparent 40%, #000 50%, transparent 60%); mask-image: linear-gradient(105deg, transparent 40%, #000 50%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 130% 0; mask-position: 130% 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .f-mark:hover .fm-luce { animation: luce 1.4s var(--ease) forwards; }
  @keyframes luce { from { -webkit-mask-position: 130% 0; mask-position: 130% 0; } to { -webkit-mask-position: -30% 0; mask-position: -30% 0; } }
}


/* =========================================================================
   17 · Home più corta (2026-10-27, sul modello di V430): nastro dei servizi, 9 card, clienti, prezzi in breve, recensioni
   ========================================================================= */
/* nastro dei servizi, subito sotto la hero: sale meno dei loghi di prima, così non copre il titolo che sfuma */
main > section.proof.svc-ticker { margin-top: -22vh; padding: 40px 0 34px; }
.svc-ticker .marquee { margin-top: 0; }
.svc-ticker .track { gap: 40px; padding: 10px 0; }
.svc-ticker .track li { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 12px;
  font-size: clamp(19px, 2.1vw, 28px); font-weight: 600; letter-spacing: -.025em; color: #23221f; }
.svc-ticker .track li:hover { background: none; border: 0; }
.svc-ticker .track li .i { width: 24px; height: 24px; color: var(--sp-2); }
.svc-ticker .track li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--spark); margin-left: 28px; }

/* clienti sotto i lavori, cliccabili */
.clients { padding: 26px 0 0; }
.clients p { color: var(--muted); font-size: 13px; text-align: center; }
.clients .marquee { margin-top: 14px; }
.track li > a { display: flex; align-items: center; gap: inherit; color: inherit; }

/* "Visita il sito" sotto i lavori */
.mac-visit, .work .visit { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 500; color: var(--sp-2);
  border-bottom: 1px solid rgba(var(--sp-rgb), .35); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.mac-visit .i, .work .visit .i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.mac-visit:hover, .work .visit:hover { color: var(--text); border-color: var(--text); }
.mac-visit:hover .i, .work .visit:hover .i { transform: translate(2px, -2px); }

/* servizi: 9 card */
.svc9-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc9 { display: grid; align-content: start; gap: 10px; padding: 26px 24px 22px; border-radius: 22px; background: var(--bg-2);
  border: 1px solid rgba(27,26,23,.08); transition: transform .4s var(--ease), border-color .3s; }
.svc9:hover { transform: translateY(-4px); border-color: rgba(var(--sp-rgb), .4); }
.svc9 .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(var(--sp-rgb), .08); color: var(--sp-2); box-shadow: inset 0 0 0 1px rgba(var(--sp-rgb), .22); }
.svc9 .ic .i { width: 21px; height: 21px; }
.svc9 h3 { margin-top: 6px; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.svc9 p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.svc9 .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13.5px; color: var(--sp-2); }
.svc9 .go .i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.svc9:hover .go .i { transform: translate(2px, -2px); }
@media (max-width: 1000px) { .svc9-grid { grid-template-columns: 1fr 1fr; } }

/* prezzi in breve */
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto; }
.pt { display: grid; gap: 10px; padding: 26px 24px; border-radius: 22px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.08); transition: transform .4s var(--ease), border-color .3s; }
.pt:hover { transform: translateY(-4px); border-color: rgba(27,26,23,.18); }
.pt.hot { border-color: rgba(var(--sp-rgb), .45); background: linear-gradient(180deg, rgba(var(--sp-rgb), .05), rgba(var(--sp-rgb), 0) 50%), var(--bg-2); }
.pt-n { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; font-weight: 600; color: var(--text); }
.pt-n i { font-style: normal; font-size: 10.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--spark); color: var(--sp-ink); }
.pt-p { font-size: 40px; font-weight: 650; letter-spacing: -.04em; line-height: 1; color: var(--spark); }
.pt-p small { margin-right: 6px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pt-l { font-size: 14.5px; color: var(--muted); }
.pt-more { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: 15px; color: var(--muted); text-align: center; }
.pt-more b { color: var(--text); font-weight: 600; }
.pt-more .i { width: 18px; height: 18px; flex: none; color: var(--spark); }
.price-teaser .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* recensioni */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; max-width: 1040px; margin: 0 auto; }
.rev { margin: 0; padding: 26px 24px; border-radius: 22px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.08); display: grid; gap: 14px; }
.rev .stars { color: var(--spark); letter-spacing: .12em; font-size: 15px; }
.rev blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text); }
.rev figcaption strong { display: block; font-size: 15px; }
.rev figcaption small { color: var(--muted); font-size: 13px; }
.reviews .cta { display: flex; justify-content: center; margin-top: 24px; }

@media (max-width: 860px) {
  main > section.proof.svc-ticker { margin-top: -14vh; padding: 28px 0 20px; }
  .svc-ticker .track { gap: 26px; }
  .svc-ticker .track li { font-size: 17px; gap: 9px; }
  .svc-ticker .track li .i { width: 19px; height: 19px; }
  .svc-ticker .track li::after { margin-left: 17px; }
  .svc9-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc9 { padding: 16px 14px; border-radius: 18px; gap: 7px; }
  .svc9 .ic { width: 36px; height: 36px; border-radius: 11px; }
  .svc9 .ic .i { width: 18px; height: 18px; }
  .svc9 h3 { font-size: 15.5px; margin-top: 2px; }
  .svc9 p { font-size: 12.5px; line-height: 1.45; }
  .svc9 .go { display: none; }
  .pt-grid { grid-template-columns: 1fr; gap: 10px; }
  .pt { padding: 18px 18px; gap: 6px; }
  .pt-p { font-size: 32px; }
  .pt-more { font-size: 14px; }
  .price-teaser .cta .btn { flex: 1 1 100%; }
}


/* =========================================================================
   18 · Banner dei cookie (2026-10-27): come su Rujada, con i colori di Studio Spunto.
   Sopra l'header, sotto la finestra del preventivo. Non blocca la pagina.
   ========================================================================= */
.ckb { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; max-width: 460px; margin-left: auto;
  padding: 22px 22px 16px; border-radius: 22px; color: var(--text-2); font-size: 14.5px; line-height: 1.6;
  background: linear-gradient(180deg, rgba(212,207,200,.96), rgba(222,217,209,.97)); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(27,26,23,.07), 0 0 0 1px rgba(27,26,23,.09), 0 30px 70px -20px rgba(234,228,220,.85);
  animation: ckbIn .55s var(--ease); }
@keyframes ckbIn { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .ckb { animation: none; } }
@media (min-width: 640px) { .ckb { left: auto; right: 22px; bottom: 22px; width: calc(100% - 44px); } }
.ckb-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ckb-k::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--spark); }
.ckb h2 { margin: 0 0 8px; padding-right: 40px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: #23221f; }
.ckb p { margin: 0 0 16px; }
.ckb a { color: var(--sp-2); text-decoration: underline; text-underline-offset: 3px; }
.ckb-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(27,26,23,.05); color: var(--text); font-size: 20px; line-height: 1; box-shadow: inset 0 0 0 1px rgba(27,26,23,.1); }
.ckb-x:hover { background: rgba(27,26,23,.1); }
.ckb-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ckb .ckb-btn { flex: 1 1 150px; min-height: 46px; padding: 0 18px; font-size: 14.5px; cursor: pointer; border: 0; }
.ckb-link { display: block; margin: 12px auto 0; padding: 4px 8px; background: none; border: 0; cursor: pointer;
  color: var(--muted); font: inherit; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.ckb-link:hover { color: var(--text); }
.ckb-opt { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(27,26,23,.08); }
.ckb-opt:last-of-type { border-bottom: 1px solid rgba(27,26,23,.08); margin-bottom: 16px; }
.ckb-opt strong { display: block; margin-bottom: 2px; font-weight: 600; color: var(--text); }
.ckb-opt span { font-size: 13px; color: var(--muted); }
.ckb-sw { position: relative; flex: none; width: 46px; height: 28px; margin-top: 2px; }
.ckb-sw input { position: absolute; inset: 0; z-index: 1; opacity: 0; margin: 0; cursor: pointer; }
.ckb-sw i { position: absolute; inset: 0; border-radius: 999px; background: #c5c0b9; transition: background .2s; }
.ckb-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #23221f; box-shadow: 0 1px 3px rgba(234,228,220,.4); transition: transform .25s var(--ease); }
.ckb-sw input:checked + i { background: var(--spark); }
.ckb-sw input:checked + i::after { transform: translateX(18px); background: #e2dcd4; }
.ckb-sw input:disabled + i { opacity: .55; }
.ckb-sw input:focus-visible + i, .ckb button:focus-visible { outline: 2px solid var(--sp-2); outline-offset: 2px; }
.cookie-prefs-btn { margin-top: 8px; }
.legal em { font-style: normal; color: var(--text); }
.legal code { font-size: 13px; color: var(--text); }
.ck-table-wrap { overflow-x: auto; margin-top: 6px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(27,26,23,.09); }
.ck-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.ck-table th, .ck-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(27,26,23,.07); }
.ck-table th { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(27,26,23,.025); }
.ck-table tr:last-child td { border-bottom: 0; }
.legal a.btn { text-decoration: none; color: var(--text); }


/* =========================================================================
   19 · Audit di velocità (2026-10-27): la hero si vede subito, lo sciame 3D parte al primo gesto
   ========================================================================= */
/* la frase d'apertura è visibile da subito (prima la accendeva home.js dopo aver caricato il 3D) */
.ov.ov-intro { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ov.ov-intro { opacity: 0; } .ov.ov-title { opacity: 1; } }
/* finché lo sciame non parte: un bagliore fermo al centro, come la luce compatta del primo fotogramma */
.sticky::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22vh; height: 22vh; margin: -11vh 0 0 -11vh; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(31,30,26,.95) 0, rgba(35,34,30,.75) 16%, rgba(var(--sp-rgb),.28) 38%, rgba(var(--sp-rgb),.08) 56%, rgba(var(--sp-rgb),0) 72%);
  transition: opacity 1.2s var(--ease); }
@media (max-width: 760px) { .sticky::before { width: 12vh; height: 12vh; margin: -6vh 0 0 -6vh; } }
#gl { opacity: 0; transition: opacity 1s var(--ease); }
.gl-on #gl { opacity: 1; }
.gl-on .sticky::before, .no-gl .sticky::before, .no-js .sticky::before { opacity: 0; }
/* contrasto (accessibilità): didascalie dei lavori e "da" nei prezzi erano troppo scure */
.mac figcaption small { color: #726f6a; }
.price .amt small { color: #726f6a; }
@media (max-width: 640px) {
  .ck-table-wrap { overflow: visible; box-shadow: none; }
  .ck-table, .ck-table tbody, .ck-table tr, .ck-table td { display: block; min-width: 0; }
  .ck-table thead { display: none; }
  .ck-table tr { margin-bottom: 10px; padding: 6px 16px; border-radius: 16px; background: rgba(27,26,23,.025); box-shadow: inset 0 0 0 1px rgba(27,26,23,.09); }
  .ck-table td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 0; }
  .ck-table td::before { content: attr(data-l); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
  .ck-table tr td:last-child { border-bottom: 0; }
}


/* Hero su telefono (2026-10-28): niente sfarfallii allo scorrimento — livelli propri sulla GPU, tela stabile */
@media (max-width: 860px) {
  .sticky { contain: paint; transform: translateZ(0); }
  #gl { transform: translateZ(0); backface-visibility: hidden; }
  .ov { will-change: opacity, transform; backface-visibility: hidden; }
}

/* Hero su telefono, primo scroll: la barra del browser che si ritira non deve ridimensionare la scena (2026-10-28) */
@media (max-width: 860px) {
  .sticky { height: 100vh; height: 100lvh; }
}

/* Servizi su 2 colonne: 9 card, l'ultima occupa tutta la riga così la griglia è simmetrica (2026-10-28) */
@media (max-width: 1000px) { .svc9-grid > .svc9:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Footer: testo di presentazione in elenco, e su telefono tutto più ordinato e piccolo (2026-10-28) */
.f-brand .f-desc { max-width: 40ch; }
.f-pts { list-style: none; display: grid; gap: 6px; margin-top: 12px; padding: 0; max-width: 40ch; }
.f-pts li { position: relative; padding-left: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.f-pts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--spark); }
@media (max-width: 860px) {
  .site-f { padding: 48px 0 28px; }
  .f-top { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .f-brand .claim { font-size: 20px; margin-top: 14px; }
  .f-brand p.f-desc { margin-top: 8px; font-size: 13.5px; line-height: 1.5; max-width: none; }
  .f-pts { gap: 4px; margin-top: 10px; max-width: none; }
  .f-pts li { font-size: 13px; padding-left: 14px; }
  .f-social { margin-top: 16px; gap: 8px; }
  .f-social a { width: 38px; height: 38px; }
  .f-social .i { width: 17px; height: 17px; }
  .f-brand, .f-zone { grid-column: 1 / -1; }
  .f-col { padding-top: 18px; border-top: 1px solid rgba(27,26,23,.07); }
  .f-zone { grid-column: 1 / -1; }
  .f-col h3 { font-size: 10.5px; margin-bottom: 11px; }
  .f-col ul { gap: 9px; }
  .f-col a, .f-col li span { font-size: 13.5px; }
  .f-ct { display: none; }
  .f-zone ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .f-zone li span { display: block; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); background: rgba(27,26,23,.04); box-shadow: inset 0 0 0 1px rgba(27,26,23,.08); }
  .f-bottom { margin-top: 30px; padding-top: 18px; gap: 10px; font-size: 12px; line-height: 1.5; }
  .f-bottom nav { gap: 16px; flex-wrap: wrap; }
  .f-mark { margin-top: 30px; }
}
@media (max-width: 860px) {
  .f-svc, .f-studio { grid-column: 1 / -1; }
  .f-svc ul { grid-template-columns: 1fr 1fr; gap: 9px 18px; }
  .f-studio ul { display: flex; flex-wrap: wrap; gap: 9px 18px; }
}

/* Footer su telefono: tutto centrato, senza "Dove lavoro", telefono come icona accanto a WhatsApp ed email (2026-10-28) */
@media (max-width: 860px) {
  .f-zone { display: none; }
  .f-top, .f-bottom { text-align: center; }
  .f-brand .brand { justify-content: center; }
  .f-social { justify-content: center; }
  .f-pts { justify-items: center; }
  .f-pts li { padding-left: 0; }
  .f-pts li::before { position: static; display: inline-block; vertical-align: middle; margin: -2px 9px 0 0; }
  .f-svc ul { justify-items: center; }
  .f-studio ul { justify-content: center; }
  .f-bottom { justify-content: center; flex-direction: column; align-items: center; }
  .f-bottom nav { justify-content: center; }
}
@media (max-width: 860px) { .f-pts li::before { display: none; } }

/* prenotazione: calendario incorporato */
.bk { max-width: 860px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #1b1a17; }
.bk-frame { display: block; width: 100%; height: 680px; border: 0; }
.bk-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.bk-note a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) { .bk-frame { height: 760px; } }

/* preventivatore · pacchetti pronti (2026-10-30) */
.qpacks { display: grid; gap: 10px; margin-bottom: 6px; }
.qpack { position: relative; display: grid; gap: 8px; text-align: left; cursor: pointer; padding: 16px 16px 14px; border-radius: 16px; width: 100%;
  background: linear-gradient(180deg, #d2ccc5, #d8d2cb); border: 1px solid rgba(27,26,23,.08);
  box-shadow: inset 0 1px 0 rgba(27,26,23,.04), 0 6px 14px -10px #eae4dc; transition: border-color .2s, background .2s, transform .15s; }
.qpack:hover { border-color: rgba(27,26,23,.18); }
.qpack:active { transform: scale(.985); }
.qpack:focus-visible { outline: 2px solid #383632; outline-offset: 2px; }
.qpack[aria-pressed="true"] { border-color: transparent;
  background: linear-gradient(180deg, #c9c4bd, #d5cfc8) padding-box, linear-gradient(135deg, #1b1a17, #73706b 40%, #2b2926 70%, #686560) border-box;
  box-shadow: inset 0 1px 0 rgba(27,26,23,.1), 0 10px 26px -14px rgba(27,26,23,.28); }
.qpk-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.qpk-who { color: #73706b; font-size: 12.5px; }
.qpk-d { color: #696662; font-size: 13.5px; line-height: 1.45; }
.qpk-in { display: flex; flex-wrap: wrap; gap: 6px; }
.qpk-in i { font-style: normal; font-size: 11.5px; line-height: 1; padding: 6px 9px; border-radius: 999px; color: #44423e; background: rgba(27,26,23,.05); box-shadow: inset 0 0 0 1px rgba(27,26,23,.07); }
.qpk-p { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.qpk-p .qp { font-size: 17px; }
.qpk-p small { color: #73706b; font-size: 12.5px; }
.qpk-p em { margin-left: auto; display: none; align-items: center; gap: 6px; align-self: center; font-style: normal; font-size: 12.5px; font-weight: 600; color: #252421; }
.qpk-p em svg { width: 15px; height: 15px; }
.qpack[aria-pressed="true"] .qpk-p em { display: inline-flex; }

/* pagina Prezzi · pacchetti pronti (2026-10-30) */
.pkgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pkcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; border-radius: 22px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.07); }
.pkcard h3 { font-size: 26px; }
.pk-who { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.pk-d { color: var(--text-2); font-size: 15.5px; }
.pkcard ul { list-style: none; display: grid; gap: 8px; margin: 6px 0 4px; }
.pkcard li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.pkcard li .i { width: 16px; height: 16px; color: var(--spark); }
.pk-p { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pk-p b { font-size: 34px; letter-spacing: -.04em; font-weight: 720; }
.pk-p small { color: var(--muted); font-size: 14px; }
.pk-tag { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-ink, #e2dcd4); background: var(--sp-3, #a47e3c); }
.pkcard:has(.pk-tag) { border-color: rgba(var(--sp-rgb), .45); }
@media (max-width: 980px) { .pkgrid { grid-template-columns: 1fr; } }

/* ===== demo ordini al tavolo (2026-10-30) ===== */
.demo-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: start; justify-content: center; }
.demo-col { min-width: 0; scroll-margin-top: calc(var(--nav-h) + 12px); }
.demo-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.demo-label span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; color: var(--sp-ink, #e2dcd4); background: var(--sp-3, #a47e3c); }

/* telefono */
.phone { position: relative; width: min(100%, 380px); height: 690px; margin: 0 auto; padding: 11px; border-radius: 52px; background: linear-gradient(145deg, #b8b4ad, #dbd5cd 40%, #c6c1ba); box-shadow: 0 0 0 1px rgba(27,26,23,.12), 0 50px 100px -40px #eae4dc, inset 0 0 0 2px #eae4dc; }
.phone-cam { position: absolute; z-index: 5; top: 22px; left: 50%; width: 92px; height: 26px; border-radius: 99px; background: #eae4dc; transform: translateX(-50%); }
.phone-screen { position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column; border-radius: 42px; background: #21201d; color: #d5cfc8; }
.dm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 54px 20px 12px; background: #21201d; }
.dm-head b { display: block; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.dm-head small { font-size: 12.5px; color: #817e78; }
.dm-table { padding: 6px 11px; border-radius: 99px; font-size: 12px; font-weight: 650; color: #1b1a17; background: #d5cfc8; white-space: nowrap; }
.dm-menu { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.dm-tabs { display: flex; gap: 8px; padding: 4px 16px 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid #988252; }
.dm-tabs::-webkit-scrollbar { display: none; }
.dm-tabs button { flex: none; min-height: 38px; padding: 0 16px; border: 0; border-radius: 99px; font-size: 14px; font-weight: 600; color: #a5a19a; background: #9a8552; cursor: pointer; transition: background .2s, color .2s; }
.dm-tabs button[aria-selected="true"] { color: #1b1a17; background: #d5cfc8; }
.dm-list { flex: 1; overflow-y: auto; padding: 4px 18px 110px; overscroll-behavior: contain; }
.dm-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid #9a8552; }
.dm-info { display: grid; gap: 2px; min-width: 0; }
.dm-info b { font-size: 16.5px; letter-spacing: -.01em; }
.dm-info small { font-size: 12.5px; line-height: 1.35; color: #817e78; }
.dm-pr { margin-top: 3px; font-size: 14.5px; font-weight: 650; }
.dm-add, .dm-qty button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; font-size: 22px; line-height: 1; color: #1b1a17; background: #d5cfc8; cursor: pointer; transition: transform .15s; }
.dm-add:active, .dm-qty button:active { transform: scale(.9); }
.dm-qty { display: flex; align-items: center; gap: 10px; flex: none; }
.dm-qty b { min-width: 16px; text-align: center; font-size: 16px; }
.dm-qty button { width: 34px; height: 34px; font-size: 19px; }
.dm-qty button:first-child { color: #d5cfc8; background: #9a8552; }
.dm-bar { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 3; }
.dm-bar[hidden], .dm-done[hidden], .dm-menu[hidden] { display: none; }
.dm-bar button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 20px; border: 0; border-radius: 20px; text-align: left; color: #1b1a17; background: #d5cfc8; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(234,228,220,.5); }
.dm-bar b { display: block; font-size: 15px; }
.dm-bar small { font-size: 12.5px; opacity: .65; }
.dm-bar strong { font-size: 18px; white-space: nowrap; }
.dm-bar button > span { display: grid; gap: 1px; }
.dm-bar small, .dm-head small { line-height: 1.3; }
.dm-sheet { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-end; visibility: hidden; background: rgba(220,215,207,0); transition: background .3s, visibility 0s .35s; }
.dm-sheet.open { visibility: visible; background: rgba(220,215,207,.45); transition: background .3s; }
.dm-sheet-in { width: 100%; max-height: 82%; display: flex; flex-direction: column; padding: 20px 20px 22px; border-radius: 30px 30px 0 0; background: #21201d; transform: translateY(102%); transition: transform .45s var(--ease); }
.dm-sheet.open .dm-sheet-in { transform: none; }
.dm-sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 19px; letter-spacing: -.02em; }
.dm-sheet-h button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #d5cfc8; background: #9a8552; cursor: pointer; }
.dm-sheet-h svg { width: 16px; height: 16px; }
.dm-sheet-l { overflow-y: auto; min-height: 0; }
.dm-line { display: grid; grid-template-columns: 1fr auto 64px; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #9a8552; font-size: 15px; }
.dm-line em { font-style: normal; font-weight: 650; text-align: right; }
.dm-sheet-t { display: flex; justify-content: space-between; margin: 14px 0 14px; font-size: 18px; }
.dm-send { min-height: 54px; border: 0; border-radius: 18px; font-size: 16.5px; font-weight: 650; color: #1b1a17; background: #d5cfc8; cursor: pointer; }
.dm-send:active { transform: scale(.98); }
.dm-pay { margin-top: 10px; text-align: center; font-size: 12px; color: #817e78; }
.dm-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 28px 30px; text-align: center; }
.dm-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #1b1a17; background: #d5cfc8; }
.dm-ic svg { width: 30px; height: 30px; }
.dm-done h3 { font-size: 26px; letter-spacing: -.03em; }
.dm-done p { font-size: 14.5px; line-height: 1.5; color: #98948e; }
.dm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin: 8px 0 2px; list-style: none; }
.dm-steps li { padding: 9px 4px; border-radius: 12px; font-size: 11.5px; font-weight: 600; color: #6d6a65; background: #9a8552; transition: background .3s, color .3s; }
.dm-steps li.on { color: #1b1a17; background: #d5cfc8; }
.dm-done .dm-no { font-size: 12px; letter-spacing: .04em; color: #6d6a65; }
.dm-go { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 99px; font-size: 15px; font-weight: 650; color: #1b1a17; background: #d5cfc8; }
.dm-go svg { width: 17px; height: 17px; }
.dm-again { border: 0; background: none; font-size: 14px; font-weight: 600; color: #98948e; text-decoration: underline; cursor: pointer; }

/* cucina */
.kitchen { position: relative; padding: 22px 22px 26px; border-radius: 28px; background: linear-gradient(180deg, #d6d0c9, #dcd6ce); border: 1px solid rgba(27,26,23,.08); box-shadow: 0 40px 90px -50px #eae4dc; min-height: 360px; }
.printer { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 16px 22px; border-radius: 16px 16px 6px 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #696662; background: linear-gradient(180deg, #c5c0b9, #d2ccc5); box-shadow: inset 0 1px 0 rgba(27,26,23,.08); }
.printer .led { width: 8px; height: 8px; border-radius: 50%; background: #279b51; box-shadow: 0 0 10px #279b51; }
.printer .slot { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 6px; border-radius: 4px; background: #e6e0d8; box-shadow: inset 0 1px 2px #eae4dc; }
.kt-hint { margin: 16px 2px 14px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.has-order .kt-hint { color: var(--sp-3, #a47e3c); }
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; align-items: start; }
.kt { display: grid; gap: 10px; }
.kt-paper { position: relative; padding: 18px 18px 26px; color: #d5cfc8; background: #272623; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.5; box-shadow: 0 14px 30px -16px rgba(234,228,220,.8);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 6.5px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 6.5px) no-repeat; }
.kt-paper p, .kt-paper ul { margin: 0; }
.kt-h { font-weight: 700; letter-spacing: .04em; }
.kt-r { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; }
.kt-n { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed #696662; color: #98948e; font-size: 12px; }
.kt-paper ul { list-style: none; display: grid; gap: 3px; }
.kt-paper li { font-size: 14.5px; }
.kt.fresh .kt-paper { animation: ktprint 1.3s steps(16, end) both; }
@keyframes ktprint { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); } to { clip-path: inset(0); transform: none; } }
.kt-act { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kt-st { padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 650; color: #3c3a37; background: rgba(27,26,23,.07); }
.kt.s1 .kt-st { color: #d5cfc8; background: #a6782a; }
.kt.s2 .kt-st { color: #0a2917; background: #279b51; }
.kt-btn { min-height: 40px; padding: 0 16px; border: 0; border-radius: 99px; font-size: 14px; font-weight: 650; color: #e2dcd4; background: #24221f; cursor: pointer; transition: transform .15s; }
.kt-btn:active { transform: scale(.96); }
.kt-ok { font-size: 13px; color: var(--muted); }
.demo-note { max-width: 62ch; margin: 34px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
.demo-qr { display: none; align-items: center; justify-content: center; gap: 24px; max-width: 560px; margin: 40px auto 0; padding: 22px 26px; border-radius: 22px; background: var(--bg-2); border: 1px solid rgba(27,26,23,.07); }
.demo-qr img { width: 132px; height: 132px; padding: 10px; border-radius: 14px; background: #1b1a17; }
.demo-qr h3 { font-size: 20px; margin-bottom: 6px; }
.demo-qr p { font-size: 15px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) and (min-width: 980px) { .demo-qr { display: flex; } }
@media (max-width: 979px) {
  .demo-grid { grid-template-columns: 1fr; gap: 44px; }
  .dm-go { display: inline-flex; }
  .phone { height: 660px; }
}
@media (max-width: 420px) { .phone { padding: 8px; border-radius: 46px; } .phone-screen { border-radius: 38px; } .kitchen { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .kt.fresh .kt-paper { animation: none; } .dm-sheet-in { transition: none; } }

.qpk-in i.gift { color: #252421; background: rgba(var(--sp-rgb), .22); box-shadow: inset 0 0 0 1px rgba(var(--sp-rgb), .5); }

.pk-note { margin-top: 26px; max-width: 70ch; font-size: 15px; color: var(--muted); }
.pk-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.qpacknote { margin: 4px 2px 6px; }

/* Computer + iPhone affiancati: la stessa pagina sul Mac e sul telefono, entrambi in movimento (2026-10-31) */
.gallery .mac.duo { flex: 0 0 min(980px, 70vw); }
.duo-stage { position: relative; }
.duo-mac { width: 77%; margin-left: 4%; }
.duo .mac-screen { aspect-ratio: 16 / 9; }
.ph { position: absolute; right: 0; bottom: 0; width: 22%; padding: 3.3%; border-radius: 17% / 7.8%;
  background: linear-gradient(160deg, #b8b4ad, #d8d3cb 55%, #ccc7bf);
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.2), inset 0 1px 0 rgba(27,26,23,.28), 0 40px 70px -26px rgba(234,228,220,.95), 0 0 0 1px rgba(234,228,220,.6); }
.ph-screen { position: relative; container-type: inline-size; aspect-ratio: 1206 / 2500; overflow: hidden; border-radius: 15% / 6.9%; background: #b97e35; }
.ph-screen video { position: absolute; left: 0; top: 7.6%; width: 100%; height: 90%; object-fit: cover; }
.ph-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(27,26,23,.1) 0%, rgba(27,26,23,0) 36%); }
.ph-bar { position: absolute; inset: 0 0 auto; height: 7.6%; color: #d8d3cb; }
.ph-bar b { position: absolute; left: 11cqw; top: 5cqw; font: 600 6.4cqw/1 var(--font, system-ui, sans-serif); letter-spacing: -.01em; }
.ph-isl { position: absolute; left: 50%; top: 3.4cqw; width: 30cqw; height: 8.6cqw; margin-left: -15cqw; border-radius: 99px; background: #eae4dc; }
.ph-sig { position: absolute; right: 21cqw; top: 6.2cqw; width: 6.4cqw; height: 4.2cqw; background: #d8d3cb;
  clip-path: polygon(0 100%, 0 70%, 25% 70%, 25% 45%, 50% 45%, 50% 20%, 75% 20%, 75% 0, 100% 0, 100% 100%); }
.ph-bat { position: absolute; right: 9cqw; top: 6cqw; width: 8.4cqw; height: 4.4cqw; border-radius: 1.4cqw; background: #d8d3cb; }
.ph-home { position: absolute; left: 50%; bottom: 1.6cqw; width: 28cqw; height: 1.3cqw; margin-left: -14cqw; border-radius: 99px; background: rgba(234,228,220,.7); }
@media (max-width: 860px) { .gallery .mac.duo { flex-basis: 92vw; } }

/* =========================================================================
   Tema MARMO (2026-11-07): tutto il sito nello stile della nuova home.
   Colori convertiti in automatico dal tema scuro (backup in backup-2026-11-07-prima-del-marmo/),
   qui sotto le regole scritte a mano.
   ========================================================================= */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
:root, html[data-accent], html[data-accent="champagne"] {
  --bg: #e2dbd2; --bg-2: #d9d1c7; --bg-3: #cfc6bb;
  --text: #1b1a17; --text-2: #2e2c28; --muted: #57534c; --dim: #6b665e;
  --gold: #8c6a2c;
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
}
html[data-accent="champagne"] body, body { background: var(--bg); color: var(--text); }
h1, h2, .h1, .h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.022em; line-height: .95; }
.h1 { font-size: clamp(52px, 8.2vw, 128px); }
.h2 { font-size: clamp(40px, 5.4vw, 84px); }
.h1 .serif, .h1 .hl { font-style: italic; color: var(--gold); -webkit-text-fill-color: var(--gold); font-size: 1em; }
.h2 .serif, .sec-head .serif, .stacco .serif, .solution .h2 .serif { font-family: var(--serif); font-style: italic; color: inherit; -webkit-text-fill-color: currentColor; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.eyebrow::before { background: var(--gold); box-shadow: none; }
::selection { background: rgba(140,106,44,.25); }
/* bottoni: inchiostro pieno, testo chiaro; secondari con il bordo */
html[data-accent] .btn:not(.ghost), .btn:not(.ghost) { background: #1b1a17; color: #f4efe6; box-shadow: none; }
html[data-accent] .btn:not(.ghost):hover, .btn:not(.ghost):hover { background: #000; box-shadow: 0 14px 30px -14px rgba(27,26,23,.5); }
html[data-accent] .btn.ghost, .btn.ghost { background: transparent; color: #1b1a17; box-shadow: inset 0 0 0 1px rgba(27,26,23,.35); }
html[data-accent] .btn.ghost:hover, .btn.ghost:hover { background: rgba(27,26,23,.05); box-shadow: inset 0 0 0 1px rgba(27,26,23,.6); }
/* niente effetto metallo sui titoli: inchiostro pieno, corsivo oro */
html[data-accent] .h1, html[data-accent] .h2, html[data-accent] .phero .h1, html[data-accent] .stacco .h2 { filter: none; }
html[data-accent] .h1:not(.split), html[data-accent] .split .wi:not(.serif), html[data-accent] .ov-title .h1 { background: none; color: var(--text); -webkit-text-fill-color: currentColor; }
html[data-accent] .split .wi.serif, html[data-accent] .h2 .serif { background: none; color: var(--text); -webkit-text-fill-color: currentColor; }
html[data-accent] .h1 .serif, html[data-accent] .ov-title .h1 .serif, html[data-accent] .ov-title .h1 .wi.serif, html[data-accent] #prezzi .h2 .serif, html[data-accent] #prezzi .h2 .wi.serif { background: none; color: var(--gold); -webkit-text-fill-color: var(--gold); }
/* sfondo uguale alle immagini di marmo */
:root, html[data-accent], html[data-accent="champagne"] { --bg: #d5cbc3; --bg-2: #cdc2b9; --bg-3: #c4b8ae; }
/* scena di marmo nelle pagine interne */
.phero-art { position: absolute; top: 0; right: 0; width: min(60vw, 980px); height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%); mask-image: linear-gradient(to right, transparent 0%, #000 38%); }
.phero-art img { width: 100%; height: 100%; object-fit: cover; }
.phero .wrap { z-index: 1; }
@media (max-width: 860px) {
  .phero-art { width: 100%; opacity: .32; -webkit-mask-image: none; mask-image: none; }
}
/* fascia di stacco: inchiostro con testo chiaro, la pausa scura della pagina */
html[data-accent] .stacco, html[data-accent] .deep main > section.dp.stacco { background: #1b1a17; color: #efe8dc; }
html[data-accent] .stacco .h2, html[data-accent] .stacco .split .wi:not(.serif) { color: #f4efe6; -webkit-text-fill-color: #f4efe6; }
html[data-accent] .stacco .h2 .serif, html[data-accent] .stacco .split .wi.serif, html[data-accent] .stacco .serif { color: #e7c77e; -webkit-text-fill-color: #e7c77e; }
html[data-accent] .stacco .sub { color: #cfc6b8; }
html[data-accent] .stacco .eyebrow { color: #e7c77e; }
html[data-accent] .stacco .eyebrow::before { background: #e7c77e; }
html[data-accent] .stacco, html[data-accent] section.dp.stacco { background: #1b1a17 !important; }
html[data-accent] .stacco .cap { color: #a59c8e; }
html[data-accent] .stacco .track span, html[data-accent] .stacco .bl-track span { color: #efe8dc; -webkit-text-fill-color: #efe8dc; }
/* il corsivo serif sopravvive alla divisione in parole dei titoli */
.split .wi.serif, .h1 .serif, .h2 .serif { font-family: var(--serif); font-style: italic; }
/* telefono: la scena di marmo sta in alto come una fascia, il testo sotto */
@media (max-width: 860px) {
  .phero { padding-top: calc(var(--nav-h) + 230px); }
  .phero-art { width: 100%; height: calc(var(--nav-h) + 250px); opacity: 1;
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
}
/* contrasto: oro più scuro per i testi piccoli, inchiostro per prezzi e tag */
:root, html[data-accent] { --gold-ink: #64491a; }
.eyebrow, .pn, html[data-accent] .pn { color: var(--gold-ink); -webkit-text-fill-color: var(--gold-ink); }
.eyebrow::before { background: var(--gold-ink); }
.pt-p, html[data-accent] .pt-p { color: var(--text); -webkit-text-fill-color: var(--text); }
.work .tags span, .work .visit, html[data-accent] .work .tags span, html[data-accent] .work .visit { color: var(--gold-ink); }
html[data-accent] .pk-tag, html[data-accent] .gift, html[data-accent] .gift span { color: var(--gold-ink); }
html[data-accent] .pk-tag, html[data-accent] .pt i { background: #1b1a17; color: #f4efe6; -webkit-text-fill-color: #f4efe6; box-shadow: none; }
/* firma in fondo: scritta serif inchiostro + oro (la vecchia immagine 3D era per il fondo scuro) */
.f-mark.f-mark-marmo { display: block; width: auto; margin: 56px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 15vw, 230px); line-height: .9; letter-spacing: -.03em; color: #1b1a17; -webkit-text-fill-color: #1b1a17; white-space: nowrap; overflow: hidden; background: none; }
.f-mark.f-mark-marmo .serif { font-style: italic; color: var(--gold); -webkit-text-fill-color: var(--gold); }
/* Mac e iPhone realistici sul marmo: cornice nera, alluminio, ombre vere sul piano (2026-11-07) */
.mac-lid { background: #0d0d0f; border-radius: 18px 18px 6px 6px;
  box-shadow: 0 0 0 1.5px #b9b5ae, 0 0 0 3px #8e8a84, 0 1px 0 3px #d8d4ce, 0 60px 80px -40px rgba(27,26,23,.55), 0 26px 40px -24px rgba(27,26,23,.45); }
.mac-lid::before { background: #26262a; box-shadow: inset 0 0 0 1.5px #3a3a3f; }
.mac-screen { background: #111; }
.mac-screen::after { background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 34%); }
.mac-base { height: 18px; background: linear-gradient(180deg, #f1efeb 0%, #cfcbc5 38%, #a9a59f 78%, #7e7a74 100%);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #6f6b65, 0 22px 30px -8px rgba(27,26,23,.45), 0 46px 60px -20px rgba(27,26,23,.35); }
.mac-base span { background: #b9b5ae; box-shadow: inset 0 -1px 0 rgba(27,26,23,.25); }
.mac-base::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -26px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,26,23,.38), rgba(27,26,23,0)); filter: blur(4px); pointer-events: none; }
.ph { background: linear-gradient(160deg, #2a2a2e, #0f0f11 55%, #1d1d21);
  box-shadow: 0 0 0 1.5px #9a968f, 0 0 0 3px #6d6a64, 0 40px 60px -24px rgba(27,26,23,.6), 0 18px 30px -16px rgba(27,26,23,.5); }
.ph-screen::after { background: linear-gradient(115deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 36%); }
.ph-isl { background: #000; }
/* didascalie dei lavori: più leggibili */
.mac figcaption small { color: #4f4b45; letter-spacing: .14em; }
.mac figcaption strong { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 52px); letter-spacing: -.02em; }
.mac .tags span { color: #1b1a17; background: rgba(27,26,23,.06); box-shadow: inset 0 0 0 1px rgba(27,26,23,.18); }
.mac .res { color: #1b1a17; background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 1px rgba(27,26,23,.12); }
html[data-accent] .mac-visit { color: var(--gold-ink); border-color: rgba(100,73,26,.4); }
/* strada di scintille per i passi (2026-11-07) */
.road { position: relative; margin-top: 64px; padding-bottom: 20px; }
.rd-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rd-dots { fill: none; stroke: #9c7a3a; stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 12; opacity: .5; }
@media (prefers-reduced-motion: no-preference) { .rd-dots { animation: rdflow 5s linear infinite; } }
@keyframes rdflow { to { stroke-dashoffset: -121; } }
.rd-glow { fill: none; stroke: #e7c77e; stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(231,199,126,.95)) drop-shadow(0 0 14px rgba(231,199,126,.6)); }
.rd-head { fill: #fff6dc; filter: drop-shadow(0 0 6px #f3d58f) drop-shadow(0 0 16px #e7c77e); transition: opacity .3s; }
.rd-list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 36px; }
.rd-node:nth-child(even) { padding-top: 150px; }
.rd-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--bg); border: 1.5px solid rgba(100,73,26,.45); transition: background .5s, color .5s, box-shadow .5s, border-color .5s; }
.rd-dot b { font: 600 15px var(--font); color: var(--gold-ink); letter-spacing: .04em; transition: color .5s; }
.rd-node.on .rd-dot { background: #1b1a17; border-color: #1b1a17; box-shadow: 0 0 0 7px rgba(231,199,126,.22), 0 0 28px rgba(231,199,126,.75); }
.rd-node.on .rd-dot b { color: #f4efe6; }
.rd-txt h3 { margin: 20px 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); letter-spacing: -.01em; line-height: 1.05; }
.rd-txt p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); max-width: 30ch; }
@media (max-width: 760px) {
  .rd-list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .rd-node, .rd-node:nth-child(even) { padding: 0 0 0 82px; position: relative; min-height: 58px; }
  .rd-dot { position: absolute; left: 0; top: 0; }
  .rd-txt h3 { margin-top: 10px; }
}
