/* =========================================================
   /siti-web — stile basato sul brand LCA Media Consulting
   (palette, Inter, vetro "liquid", etichette numerate)
   Mobile first · tablet ≥ 700px · desktop ≥ 1024px
   ========================================================= */
:root {
  --black: #111111;
  --ink: #151515;
  --muted: #5f5c56;
  --soft: #f4efe6;
  --gold: #a88442;
  --gold-text: #7a5c28;
  --bronze: #8d6a3a;
  --night: #f7f4ee;
  --line: rgba(17, 17, 17, 0.1);
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --shadow: 0 18px 50px rgba(33, 29, 22, 0.09);
  --wa: #16743d;
  --ok: #1f7a43;
  --err: #a12a1f;
  --gutter: clamp(16px, 5vw, 80px);
  --maxw: 1180px;
  --sec: clamp(34px, 4.6vw, 60px);
  --sticky-h: 0px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
main { overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 18% 4%, rgba(201, 168, 93, 0.12), transparent 24rem),
    linear-gradient(135deg, #fbfaf7 0%, #f3f0e9 52%, #ece8df 100%);
  background-color: var(--night);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 70%);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.liquid {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* ---------- etichette, titoli, sezioni ---------- */
.eyebrow, .section-label {
  display: inline-block;
  color: var(--gold-text);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 8px;
}
.section { padding: var(--sec) var(--gutter); position: relative; }
.section + .section { border-top: 1px solid rgba(17, 17, 17, 0.06); }
.section.closing { padding-bottom: calc(var(--sec) * 0.7); }
.section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(16px, 2.6vw, 28px); }
.section-head h2 { font-size: clamp(27px, 4.4vw, 46px); font-weight: 800; margin-bottom: 10px; max-width: 840px; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: clamp(16px, 1.7vw, 18.5px); max-width: 680px; margin-bottom: 0; text-wrap: pretty; }
.small { font-size: 15px; color: var(--muted); }
.center { text-align: center; }

/* ---------- pulsanti ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; text-align: center;
  border: 1px solid transparent; line-height: 1.15;
  transition: transform 220ms var(--ease), background 220ms ease, box-shadow 220ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }
.button.primary { color: #fffaf0; background: var(--ink); box-shadow: 0 14px 30px rgba(17, 17, 17, 0.16); }
.button.primary:hover { background: #2a2016; }
.button.secondary { color: var(--ink); border-color: rgba(17, 17, 17, 0.16); background: rgba(255, 255, 255, 0.78); }
.button.light { background: #fffaf0; color: var(--ink); }
.button.wa { background: var(--wa); color: #fff; }
.button.wa:hover { background: #115f31; }
.button.small { min-height: 42px; padding: 0 16px; font-size: 14px; }
.button.wide { width: 100%; }
.button.icon { width: 52px; padding: 0; flex: none; }
.text-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 10px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: calc(var(--maxw) + 24px);
  margin: 10px var(--gutter) 0;
  padding: 7px 7px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(33, 29, 22, 0.08);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
@media (min-width: 1340px) { .topbar { margin-left: auto; margin-right: auto; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 15px; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand span { white-space: nowrap; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.topnav { display: none; align-items: center; gap: 18px; font-weight: 600; font-size: 14.5px; }
.topnav a { text-decoration: none; white-space: nowrap; }
.topnav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topnav a[aria-current="page"] { color: var(--gold-text); font-weight: 800; }
.topnav-sep { width: 1px; height: 18px; background: var(--line); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 16px; height: 1.5px; background: var(--ink); transition: transform 250ms var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 39; left: var(--gutter); right: var(--gutter); top: 72px; max-height: calc(100svh - 90px); overflow: auto; display: grid; gap: 2px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(33,29,22,.18); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.button) { padding: 11px 8px; font-size: 18px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mm-label { margin: 10px 8px 2px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.mobile-menu .button { margin-top: 12px; }
@media (max-width: 420px) { .brand-copy { display: none; } }
@media (min-width: 1180px) { .topnav { display: flex; } .menu-toggle { display: none; } }

/* ---------- hero ---------- */
.hero {
  display: grid; gap: 26px; align-items: center;
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(22px, 4.5vw, 56px) var(--gutter) clamp(18px, 3vw, 32px);
}
.hello {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 20px rgba(33, 29, 22, 0.06);
}
.hello[hidden] { display: none; }
.hello::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 122, 67, .15); }
.hero h1 { font-size: clamp(38px, 7.4vw, 76px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.03em; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--gold-text); }
.lead { font-size: clamp(17.5px, 2vw, 20px); color: var(--muted); max-width: 580px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 18px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15.5px; }
.hero-facts li { display: flex; gap: 8px; align-items: flex-start; }
.hero-facts svg { width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--ok); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-facts strong { color: var(--ink); }
.hero-stage { position: relative; display: grid; place-items: center; perspective: 1200px; padding: 4px 0; }
.hero-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 168, 93, .35), transparent 65%); filter: blur(10px); }
.phone.hero-phone { --pw: min(200px, 52vw); }
.float-chip {
  position: absolute; display: none; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 14px 34px rgba(33, 29, 22, 0.14); white-space: nowrap;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.call { background: var(--ink); } .dot.wa { background: var(--wa); } .dot.form { background: var(--gold); }
.chip-1 { top: 16%; right: calc(50% + 115px); }
.chip-2 { top: 46%; left: calc(50% + 120px); }
.chip-3 { bottom: 14%; right: calc(50% + 120px); }
@media (min-width: 700px) {
  .phone.hero-phone { --pw: 230px; }
  .hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .float-chip { display: inline-flex; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; min-height: min(calc(100svh - 80px), 760px); }
  .phone.hero-phone { --pw: 270px; transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg); }
  .chip-1 { right: calc(50% + 140px); } .chip-2 { left: calc(50% + 140px); } .chip-3 { right: calc(50% + 145px); }
}

/* ---------- smartphone mockup ---------- */
.phone {
  --pw: 280px;
  position: relative;
  width: var(--pw);
  aspect-ratio: 9 / 19;
  border-radius: calc(var(--pw) * 0.16);
  padding: calc(var(--pw) * 0.04);
  background: linear-gradient(145deg, #2a2a2a, #0d0d0d);
  box-shadow: 0 34px 80px rgba(33, 29, 22, 0.26), inset 0 0 0 2px #3a3a3a;
  transform-style: preserve-3d;
  flex: none;
}
.phone-notch { position: absolute; top: calc(var(--pw) * 0.065); left: 50%; z-index: 3; width: 30%; height: calc(var(--pw) * 0.075); transform: translateX(-50%); background: #0d0d0d; border-radius: 999px; }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * 0.125); background: #fffdf8; container-type: inline-size; }

/* ---------- sito "vivo" nell'anteprima ---------- */
.live-site {
  --bg: #f4f7fb; --fg: #0f1d33; --acc: #0b57c2; --soft2: #e3ebf7; --r: 12px; --font: Inter, system-ui, sans-serif;
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4.4cqw;
  padding: 17cqw 5.5cqw 5cqw; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 4.6cqw; line-height: 1.3; transition: background 400ms ease, color 400ms ease;
}
.live-site[data-stile="elegante"] { --font: Georgia, "Times New Roman", serif; --r: 3px; }
.live-site[data-stile="deciso"] { --r: 999px; }
.ls-bar { display: flex; align-items: center; gap: 2.6cqw; font-weight: 800; font-size: 4.6cqw; }
.ls-logo { width: 8.5cqw; height: 8.5cqw; flex: none; border-radius: 30%; display: grid; place-items: center; background: var(--acc); color: #fff; font-size: 3.6cqw; font-family: Inter, sans-serif; }
.ls-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-burger { width: 5cqw; height: 3.4cqw; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .7; }
.ls-hero { position: relative; padding: 6cqw 5cqw; border-radius: calc(var(--r) + 2px); background: var(--soft2); overflow: hidden; }
.live-site[data-stile="deciso"] .ls-hero { border-radius: 18px; background: var(--acc); color: #fff; }
.ls-hero small { display: block; font-size: 3.2cqw; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; opacity: .8; font-family: Inter, sans-serif; }
.ls-hero strong { display: block; font-size: 8.4cqw; line-height: 1.05; margin: 1.6cqw 0; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ls-hero p { margin: 0; font-size: 4cqw; opacity: .9; }
.ls-ctas { display: grid; gap: 2.4cqw; }
.ls-ctas span { display: block; text-align: center; padding: 3.2cqw; border-radius: var(--r); font-weight: 800; font-size: 4.2cqw; font-family: Inter, sans-serif; border: 2px solid var(--acc); color: var(--acc); }
.ls-ctas span:first-child { background: var(--acc); color: #fff; }
.ls-secs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; }
.ls-secs div { display: grid; justify-items: center; gap: 1.6cqw; padding: 3.6cqw 1cqw; border-radius: var(--r); background: var(--soft2); font-size: 3.4cqw; font-weight: 700; text-align: center; font-family: Inter, sans-serif; }
.live-site[data-stile="deciso"] .ls-secs div { border-radius: 14px; }
.ls-secs svg { width: 7cqw; height: 7cqw; fill: none; stroke: var(--acc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ls-map { position: relative; flex: 1; min-height: 16cqw; border-radius: var(--r); overflow: hidden; background:
  linear-gradient(90deg, transparent 47%, rgba(255,255,255,.75) 47% 53%, transparent 53%),
  linear-gradient(0deg, transparent 40%, rgba(255,255,255,.75) 40% 46%, transparent 46%), var(--soft2); }
.live-site[data-stile="deciso"] .ls-map { border-radius: 16px; }
.ls-map i { position: absolute; left: 56%; top: 26%; width: 6cqw; height: 6cqw; border-radius: 50% 50% 50% 0; background: var(--acc); transform: rotate(-45deg); }
.ls-map b { position: absolute; left: 4cqw; bottom: 3cqw; font-size: 3.4cqw; background: var(--bg); padding: 1cqw 2.4cqw; border-radius: 99px; font-family: Inter, sans-serif; }
.ls-pop { animation: lsPop 500ms var(--ease); }
@keyframes lsPop { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- strip "pensato per" ---------- */
.for-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.for-strip p { margin: 0; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-text); }
.for-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.for-strip li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* ---------- 01 prova ---------- */
.try-grid { display: grid; gap: 22px; align-items: start; }
.try-form { border-radius: 26px; padding: clamp(18px, 3.5vw, 30px); }
.try-stage { display: grid; place-items: center; }
.try-phone { --pw: min(210px, 56vw); }
@media (max-width: 699px) { .try-stage { order: -1; } }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select button {
  min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14.5px;
  background: #fff; border: 1.5px solid rgba(17,17,17,.16); transition: background 200ms, color 200ms, border-color 200ms;
}
.chips-select button[aria-checked="true"] { background: var(--ink); color: #fffaf0; border-color: var(--ink); }
.chips-select.small button { min-height: 44px; padding: 0 12px; font-size: 14px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
fieldset.field legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
@media (min-width: 700px) {
  .try-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .try-phone { --pw: 250px; }
}
@media (min-width: 1024px) { .try-phone { --pw: 290px; } }

/* ---------- 02 perché ---------- */
.journey { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.journey li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--line); }
.journey b { font-size: 17px; }
.journey small { grid-column: 2; color: var(--muted); font-size: 14.5px; }
.j-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fffaf0; font-weight: 800; }
.journey li:last-child .j-n { background: var(--ok); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.stats[hidden] { display: none; }
.stat { padding: 16px 14px; border-radius: 20px; background: var(--ink); color: #fffaf0; display: grid; gap: 6px; align-content: start; }
.stat strong { font-size: clamp(27px, 5vw, 44px); line-height: 1; letter-spacing: -0.02em; color: #e9cf95; }
.stat p { margin: 0; color: #ece6da; font-size: clamp(14px, 1.6vw, 15.5px); line-height: 1.4; }
.stat a { overflow-wrap: anywhere; }
.stat a { font-size: 13px; color: #d8cfbd; text-underline-offset: 3px; }
.reasons { display: grid; gap: 12px; }
.reason { padding: 18px; border-radius: 20px; background: var(--glass-strong); border: 1px solid var(--line); }
.reason h3 { font-size: 18.5px; margin-bottom: 6px; }
.reason p { margin: 0; color: var(--muted); font-size: 15.5px; }
.reason .r-n { display: block; color: var(--gold-text); font-weight: 800; font-size: 13px; letter-spacing: .12em; margin-bottom: 8px; }
@media (min-width: 700px) {
  .journey { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .journey { grid-template-columns: repeat(4, 1fr); }
  .journey li { grid-template-columns: 1fr; padding: 18px; align-content: start; }
  .journey .j-n { grid-row: auto; margin-bottom: 8px; }
  .journey small { grid-column: 1; }
  .stats { grid-template-columns: repeat(var(--n, 3), 1fr); }
  .reasons { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 03 problema ---------- */
.fork-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 6px 0 14px;
  padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 100%;
}
.fork-switch button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  min-height: 46px; padding: 0 clamp(12px, 3.5vw, 26px); border-radius: 999px;
  font-weight: 800; font-size: clamp(14.5px, 3.6vw, 16px); color: var(--muted); transition: color 250ms ease;
}
.fork-switch button[aria-checked="true"] { color: #fffaf0; }
.fork-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform 380ms var(--ease); }
.fork-switch[data-tipo="rifare"] .fork-thumb { transform: translateX(100%); }
.section-head p.fork-intro { font-size: clamp(17px, 2vw, 19px); color: var(--ink); margin-bottom: 8px; }

.ps-pin { display: grid; gap: 22px; }
.ps-stage { display: grid; place-items: center; }
.ps-phone { --pw: min(260px, 62vw); }
.ps-zoom { position: absolute; inset: 0; transform-origin: 50% 0; will-change: transform; }
.ps-layer { position: absolute; inset: 0; display: grid; grid-template-rows: 26% 30% 18% 26%; padding: 38px 10px 10px; gap: 4px; }
.ps-layer.new .ps-r { background: #fffdf8; }
.ps-r { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-radius: 10px; }
.ps-layer.old { background: #e9e6df; font-family: "Times New Roman", Times, serif; color: #333; }
.old-banner { display: flex; align-items: center; gap: 8px; justify-content: center; height: 70%; background: #7a8794; color: #fff; font-size: 12px; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.old-load { height: 4px; background: #ccc; margin-top: 6px; }
.old-load i { display: block; width: 18%; height: 100%; background: #888; }
.old-tiny { font-size: 5.6px; line-height: 1.3; margin: 0; text-align: justify; }
.old-phone { font-size: 8px; margin: 0; text-align: center; color: #555; }
.old-foot { font-size: 6px; margin: 0; text-align: center; color: #777; }
.ps-layer.new .ps-r { opacity: 0; }
.new-hero { display: grid; gap: 2px; height: 100%; align-content: center; padding: 10px; border-radius: 12px; background: linear-gradient(140deg, #efe3c8, #f8f2e6); }
.new-hero b { font-size: 17px; }
.new-hero span { font-size: 11px; color: var(--muted); }
.new-text { font-size: 14px; line-height: 1.3; font-weight: 600; margin: 0; padding: 0 4px; }
.new-btns { display: grid; gap: 6px; }
.nb { text-align: center; padding: 8px 0; border-radius: 999px; color: #fff; font-weight: 800; font-size: 12px; }
.nb.call { background: var(--ink); }
.nb.wa { background: var(--wa); }
.new-form { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; font-size: 10px; color: var(--muted); }
.new-form span { padding: 3px 6px; background: #f1ede5; border-radius: 5px; }
.new-form b { text-align: center; padding: 6px 0; border-radius: 7px; background: var(--gold); color: #1a1408; }

.ps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ps-item { position: relative; padding: 16px 16px 14px 58px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--line); }
.ps-num { position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--ink); color: #fff; }
.ps-problem { color: var(--err); margin: 0 0 6px; }
.ps-solution { margin: 0; color: var(--ok); }
.ps-solution::before { content: "→ "; }

.problem-close { margin: 22px auto 0; max-width: 900px; text-align: center; font-size: clamp(23px, 4vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.problem-close span { display: block; }
.problem-close span:last-child { color: var(--gold-text); }

html:not(.motion) .ps-layer.new .ps-r { opacity: 1; }
html:not(.motion) .ps-layer.old { display: none; }
html.motion .ps-pin { height: 100svh; min-height: 540px; align-content: center; }
html.motion .ps-list { position: relative; min-height: 160px; }
html.motion .ps-item { position: absolute; inset: 0 0 auto 0; opacity: 0; }
html.motion .ps-item .ps-solution { opacity: 0; }
@media (max-width: 1023px) {
  html.motion .ps-pin { gap: 14px; grid-template-rows: auto auto; }
  html.motion .ps-phone { --pw: min(220px, 52vw, 27svh); }
  html.motion .ps-list { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (min-width: 1024px) {
  .ps-pin { grid-template-columns: 1fr 1fr; align-items: center; }
  .ps-phone { --pw: 290px; }
  html.motion .ps-phone { --pw: min(290px, 32svh); }
  .ps-item { font-size: 19px; padding: 22px 22px 20px 70px; }
  .ps-num { left: 22px; top: 22px; }
  html.motion .ps-list { min-height: 200px; }
}

/* ---------- 04 calcolatore ---------- */
.calc-card { border-radius: 26px; padding: clamp(18px, 3.5vw, 32px); display: grid; gap: 20px; }
.calc-inputs { display: grid; gap: 4px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 700; font-size: 15px; }
.field small { color: var(--muted); font-size: 14px; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input:not([type]), select {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid rgba(17, 17, 17, 0.22); background: #fff; font-size: 16px;
}
input:focus, select:focus { border-color: var(--ink); outline: 3px solid rgba(168, 132, 66, .45); outline-offset: 1px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--err); }
.calc-value-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.input-euro { position: relative; width: 150px; }
.input-euro input { padding-right: 36px; font-size: 21px; font-weight: 800; }
.input-euro span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 19px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.quick button[aria-pressed="true"] { background: var(--ink); color: #fffaf0; }
.range-wrap { display: flex; align-items: center; gap: 14px; }
input[type="range"] { flex: 1; accent-color: var(--ink); height: 44px; min-width: 0; }
.range-wrap output { min-width: 90px; font-weight: 800; font-size: 18px; }
.toggle { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; cursor: pointer; min-height: 44px; }
.toggle input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.calc-out { display: grid; gap: 14px; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-stat { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); align-content: start; }
.calc-stat.accent { background: var(--ink); color: #fffaf0; border-color: var(--ink); }
.calc-stat.accent .calc-label, .calc-stat.accent .calc-sub { color: #d8d2c6; }
.calc-label { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.calc-big { font-size: clamp(26px, 5vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.calc-sub { font-size: 13.5px; color: var(--muted); }
.calc-chart { margin: 0; }
.calc-chart figcaption { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
#calc-svg { display: block; width: 100%; height: 110px; overflow: visible; }
#calc-bars rect { fill: #d9cbb0; transition: y 600ms var(--ease), height 600ms var(--ease), fill 300ms; }
#calc-bars rect.paid { fill: var(--ink); }
#calc-cost { fill: none; stroke: var(--err); stroke-width: 2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.calc-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.calc-legend span { display: inline-block; width: 12px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.lg-bar { background: #d9cbb0; } .lg-paid { background: var(--ink); }
.lg-line { height: 0 !important; border-top: 2px dashed var(--err); }
.disclaimer { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fff7e6; border: 1px solid #ecd9ae; font-size: 14.5px; }
@media (min-width: 1024px) {
  .calc-card { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .disclaimer { grid-column: 1 / -1; }
}

/* ---------- 01 esempi: carosello ---------- */
.carousel { --car-ms: 6000ms; position: relative; overflow: hidden; border-radius: 28px; padding: clamp(14px, 2.6vw, 28px); background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.car-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: clamp(14px, 2.4vw, 22px); }
.car-dots { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.car-dots button {
  position: relative; overflow: hidden; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 800; font-size: 14px; white-space: nowrap;
  transition: color 250ms, background 250ms, border-color 250ms;
}
.car-dots button span { position: relative; z-index: 1; }
.car-dots button[aria-selected="true"] { background: var(--ink); color: #fffaf0; border-color: var(--ink); }
.car-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #e9cf95; transform: scaleX(0); transform-origin: left; }
.car-dots button[aria-selected="true"] .car-prog { animation: carProg var(--car-ms) linear forwards; animation-play-state: paused; }
.carousel.is-running .car-dots button[aria-selected="true"] .car-prog { animation-play-state: running; }
.carousel.is-paused .car-prog { opacity: 0; }
@keyframes carProg { to { transform: scaleX(1); } }
.car-ctrl { display: flex; gap: 6px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #fff; border: 1px solid var(--line); transition: background 200ms, transform 200ms var(--ease); }
.car-btn:hover { background: var(--soft); transform: translateY(-1px); }
.car-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#car-play .i-play { display: none; fill: var(--ink); stroke: none; }
.carousel.is-paused #car-play .i-play { display: block; }
.carousel.is-paused #car-play .i-pause { display: none; }
@media (max-width: 559px) {
  .car-bar { flex-direction: column; align-items: stretch; }
  .car-dots { display: grid; grid-template-columns: repeat(3, 1fr); }
  .car-dots button { padding: 0 6px; font-size: 12.5px; white-space: normal; line-height: 1.15; }
  .car-ctrl { display: none; }
}

/* le slide stanno tutte nella stessa cella: l'altezza è quella della più alta, niente salti */
.car-track { display: grid; }
.car-slide { grid-area: 1 / 1; display: grid; gap: 18px; align-content: start; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity 520ms var(--ease), transform 620ms var(--ease), visibility 0s linear 620ms; }
.car-slide.is-prev { transform: translateX(-24px); }
.car-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 520ms var(--ease) 80ms, transform 620ms var(--ease) 80ms, visibility 0s; }
.car-slide.is-active .desktop { animation: devIn 800ms var(--ease) both; }
.car-slide.is-active .demo-phone { animation: phIn 900ms var(--ease) 120ms both; }
.car-slide.is-active .feat li { animation: liIn 500ms var(--ease) both; }
.car-slide.is-active .feat li:nth-child(2) { animation-delay: 60ms; } .car-slide.is-active .feat li:nth-child(3) { animation-delay: 120ms; }
.car-slide.is-active .feat li:nth-child(4) { animation-delay: 180ms; } .car-slide.is-active .feat li:nth-child(5) { animation-delay: 240ms; }
@keyframes devIn { from { opacity: 0; transform: perspective(1400px) rotateX(10deg) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes phIn { from { opacity: 0; transform: translate(30%, 12%) rotate(8deg); } to { opacity: 1; transform: none; } }
@keyframes liIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.demo-devices { position: relative; padding-bottom: 7%; margin-right: 4%; }
.desktop { position: relative; border-radius: 14px; overflow: hidden; background: #1b1b1b; padding: 22px 0 0; box-shadow: 0 28px 70px rgba(33, 29, 22, 0.22); aspect-ratio: 16 / 10.6; }
.desktop::before { content: ""; position: absolute; top: 8px; left: 12px; width: 34px; height: 7px; border-radius: 4px;
  background: radial-gradient(circle at 3px 50%, #ff5f57 3px, transparent 3.5px), radial-gradient(circle at 15px 50%, #febc2e 3px, transparent 3.5px), radial-gradient(circle at 27px 50%, #28c840 3px, transparent 3.5px); }
.desktop img, .demo-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; background: #e8e3da; }
.demo-phone { --pw: clamp(84px, 24%, 170px); position: absolute; right: -4%; bottom: 0; }
.demo-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.demo-tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--gold-text); }
.demo-copy h3 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.demo-sfida { font-size: 15px; color: var(--muted); margin: 0 0 12px; padding-left: 12px; border-left: 3px solid #e3c98f; }
.demo-sfida b { color: var(--ink); }
.feat { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.feat li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.feat li b { color: var(--ink); font-weight: 700; }
.feat svg { width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ok); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.demo-result { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #eef6f0; border: 1px solid #cfe5d6; font-size: 14.5px; color: #1d4f30; }
.demo-result b { color: var(--ok); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 14px; padding: 16px 18px; border-radius: 20px; background: var(--ink); color: #fffaf0; }
.demo-cta p { margin: 0; font-size: 16px; color: #e6e0d4; max-width: 640px; }
.demo-cta strong { color: #fffaf0; }
.demo-cta .button.primary { background: #fffaf0; color: var(--ink); box-shadow: none; }
.demo-note { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 559px) { .demo-cta .button { width: 100%; } .demo-actions .button { flex: 1 1 100%; } }
@media (min-width: 700px) { .feat { grid-template-columns: 1fr 1fr; gap: 10px 18px; } }
@media (min-width: 1024px) {
  .car-slide { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
  .feat { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .car-slide { transform: none !important; } }

/* ---------- 06 confronto ---------- */
.cmp-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--glass-strong); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 12px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 13.5px; font-weight: 800; color: var(--muted); vertical-align: bottom; }
.cmp thead th.me { color: #fffaf0; background: var(--ink); }
.cmp tbody th { text-align: left; font-weight: 600; position: sticky; left: 0; z-index: 1; background: #fbf9f5; min-width: 170px; max-width: 220px; }
.cmp td.me { background: rgba(17,17,17,.045); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.yes, .no, .meh { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.yes::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 13px; }
.no { color: #8a3a32; }
.no::before { content: "–"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f1dedb; color: #8a3a32; }
.meh { color: var(--muted); font-weight: 600; }
#cmp-note { margin-top: 10px; }

.maint { margin: 6px 0 0; color: #e9e3d6; font-size: 15px; }

/* ---------- 08 passi ---------- */
.steps-track { position: relative; }
.steps-line { position: absolute; left: 23px; top: 10px; bottom: 10px; width: 3px; background: rgba(17,17,17,.1); border-radius: 3px; }
.steps-line i { display: block; width: 100%; height: 100%; background: var(--gold); transform-origin: top; border-radius: 3px; }
html.motion .steps-line i { transform: scaleY(0); }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.step { position: relative; padding-left: 66px; }
.step-n { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fffaf0; font-weight: 800; box-shadow: 0 0 0 6px var(--night); }
.step-card { padding: 16px 18px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--line); }
.step-card h3 { font-size: 19px; margin-bottom: 4px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (min-width: 1024px) {
  .steps-line { left: 0; right: 0; top: 23px; bottom: auto; width: auto; height: 3px; }
  .steps-line i { transform-origin: left; }
  html.motion .steps-line i { transform: scaleX(0); }
  .steps-list { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 66px 0 0; }
}

/* ---------- 09 chi sono ---------- */
.about-grid { display: grid; gap: 24px; align-items: center; }
.about-photo { width: min(100%, 360px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.about-grid h2 { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 4px; }
.about-role { color: var(--gold-text); font-weight: 700; }
.brands-title { margin-top: 18px; font-weight: 700; font-size: 15px; }
.brands { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 520px; }
.brands li { aspect-ratio: 1; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 10px; overflow: hidden; font-size: 12px; font-weight: 800; text-align: center; }
.brands img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 700px) { .about-grid { grid-template-columns: 0.75fr 1.25fr; gap: 40px; } }

/* ---------- 10 faq ---------- */
.faq-list { display: grid; gap: 8px; max-width: 860px; }
.faq-list details { border-radius: 16px; background: var(--glass-strong); border: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 700; font-size: 17px; position: relative; min-height: 54px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; transition: transform 250ms; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ---------- chiusura ---------- */
.close-grid { display: grid; gap: 16px; }
.close-card { border-radius: 24px; padding: clamp(20px, 3.5vw, 32px); }
.close-card h3 { font-size: 23px; margin-bottom: 6px; }
.close-side { display: grid; gap: 16px; align-content: start; }
.dark-card { background: var(--ink); color: #fffaf0; }
.dark-card .small { color: #d8d2c6; }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field.check { grid-template-columns: 24px 1fr; align-items: start; gap: 10px; }
.field.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.field.check label { font-weight: 500; font-size: 14px; }
.hp { position: absolute; left: -9999px; }
.form-error { color: var(--err); font-weight: 600; font-size: 15px; margin: 0 0 10px; }
.form-error:empty { display: none; }
.micro { text-align: center; font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }
.form-ok { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #e6f4ea; color: var(--ok); font-weight: 700; }
@media (min-width: 1024px) { .close-grid { grid-template-columns: 1.2fr 0.8fr; } }

/* ---------- footer (identico a lcamediaconsulting.it) ---------- */
.site-footer { background: #101010; color: #fff; padding: 48px var(--gutter) calc(30px + var(--sticky-h)); }
.sf-shell { max-width: var(--maxw); margin: 0 auto; }
.sf-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 42px; }
.sf-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.sf-brand img { width: 48px; height: 48px; border-radius: 12px; }
.sf-brand strong { display: block; font-size: 15px; }
.sf-brand span { font-size: 9px; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.sf-col h4 { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 14px; }
.sf-col a, .sf-col p { display: block; color: rgba(255,255,255,.72); font-size: 12.5px; line-height: 1.9; margin: 0; text-decoration: none; }
.sf-col a:hover { color: #fff; }
.sf-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.11); padding-top: 20px; margin-top: 36px; color: rgba(255,255,255,.45); font-size: 11px; }
.sf-fine { margin: 10px 0 0; font-size: 11px; color: rgba(255,255,255,.4); }
@media (max-width: 1060px) { .sf-grid { grid-template-columns: 1fr 1fr; } .sf-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .sf-grid { grid-template-columns: 1fr; gap: 28px; } .sf-grid > div:first-child { grid-column: auto; }
  .sf-bottom { display: block; line-height: 1.7; }
  .sf-col a { padding: 4px 0; }
}

/* ---------- barra CTA fissa (telefono e tablet) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 244, 238, 0.94); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform 320ms var(--ease);
}
.sticky-cta .button.primary { flex: 1; }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------- dialog checkout ---------- */
.checkout { width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fffdf8; color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.checkout::backdrop { background: rgba(17, 17, 17, 0.55); }
.checkout form { padding: 22px; }
.co-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.co-head h2 { font-size: 26px; }
.co-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.checkout legend { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-text); margin-bottom: 8px; }
.opt-card { display: flex; gap: 12px; align-items: center; padding: 14px; margin-bottom: 8px; border-radius: 14px; border: 1.5px solid rgba(17,17,17,.16); background: #fff; cursor: pointer; }
.opt-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt-card input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.opt-card span { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.opt-card em { font-style: normal; font-weight: 700; color: var(--gold-text); }
.opt-card small { width: 100%; color: var(--muted); font-size: 13px; }
.co-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 14px 16px; border-radius: 14px; background: var(--soft); margin-bottom: 14px; }
.co-total strong { font-size: 28px; }
.co-total small { width: 100%; color: var(--muted); }
.co-demo { padding: 14px 16px; border-radius: 14px; background: #fff7e6; border: 1px solid #ecd9ae; margin-bottom: 14px; font-size: 15px; }

/* ---------- testo riga per riga ---------- */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w { display: inline-block; }

/* ---------- movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-phone { transform: none !important; }
}

.micro.left { text-align: left; margin: -12px 0 18px; }
.speed-note { max-width: 760px; margin: 16px auto 0; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--muted); text-align: center; }
.speed-note:empty { display: none; }
.speed-note strong { color: var(--ink); }
.speed-note a { color: var(--muted); font-size: 13px; }
.field-row { align-items: start; }
.try-form .field-row { grid-template-columns: 1fr; }

/* =========================================================
   04 · Non è solo un sito — pilastri e scontrino
   ========================================================= */
.pillars { display: grid; gap: 12px; margin-bottom: clamp(20px, 3.5vw, 36px); }
.pillar { position: relative; padding: 20px 18px 18px; border-radius: 22px; background: var(--glass-strong); border: 1px solid var(--line); overflow: hidden; }
.pillar::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,93,.18), transparent 70%); pointer-events: none; }
.pl-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); margin-bottom: 12px; }
.pl-icon svg { width: 24px; height: 24px; fill: none; stroke: #e9cf95; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pl-n { position: absolute; right: 18px; top: 18px; font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--gold-text); }
.pillar h3 { font-size: 19px; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.pl-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pl-points li { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.receipt-wrap { display: grid; gap: 26px; align-items: center; }
.receipt {
  position: relative; width: min(100%, 400px); margin: 0 auto; padding: 22px 20px 26px;
  background: #fffdf8; color: #1d1a15; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px;
  box-shadow: 0 30px 70px rgba(33, 29, 22, 0.18); border-radius: 6px 6px 0 0;
  --tooth: 10px;
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 16px 10px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 9px) no-repeat;
  mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 16px 10px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 9px) no-repeat;
}
.rc-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 10px; border-bottom: 2px dashed rgba(0,0,0,.18); font-family: Inter, system-ui, sans-serif; }
.rc-head img { width: 40px; height: 40px; border-radius: 50%; }
.rc-head strong { display: block; font-size: 17px; }
.rc-head small { color: var(--muted); font-size: 13px; }
.rc-lines { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 7px; }
.rc-lines li { display: flex; align-items: baseline; gap: 6px; }
.rc-lines span { flex: none; max-width: 70%; }
.rc-lines i { flex: 1; border-bottom: 2px dotted rgba(0,0,0,.25); transform: translateY(-4px); }
.rc-lines b { flex: none; color: var(--ok); font-weight: 700; }
.rc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 6px; border-top: 2px dashed rgba(0,0,0,.18); font-family: Inter, system-ui, sans-serif; }
.rc-total > span { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.rc-total strong { font-size: 40px; letter-spacing: -0.03em; }
.rc-note { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.rc-market { font-family: Inter, system-ui, sans-serif; font-size: 14px; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #f4ece0; }
.rc-market[hidden] { display: none; }
.rc-barcode { height: 34px; margin-top: 6px; background: repeating-linear-gradient(90deg, #1d1a15 0 2px, transparent 2px 4px, #1d1a15 4px 5px, transparent 5px 9px, #1d1a15 9px 12px, transparent 12px 14px); opacity: .85; }
.receipt-side h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.receipt-side p { color: var(--muted); }
.mini-proof { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.mini-proof li { display: flex; gap: 10px; font-weight: 600; }
.mini-proof li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
@media (min-width: 900px) { .receipt-wrap { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* =========================================================
   05 · Prezzi — mercato e pacchetti
   ========================================================= */
.market { margin: 0 0 20px; padding: clamp(16px, 3vw, 26px); border-radius: 22px; background: var(--glass-strong); border: 1px solid var(--line); }
.market[hidden] { display: none; }
.market figcaption { font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.mk-scale { display: grid; gap: 16px; }
.mk-row { display: grid; gap: 6px; }
.mk-label { font-size: 14px; font-weight: 700; }
.mk-track { position: relative; height: 16px; border-radius: 999px; background: rgba(17,17,17,.06); }
.mk-range { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #d9b98a, #b48a4f); min-width: 6px; transform-origin: left; }
.mk-lca { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,122,67,.2); }
.mk-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 14px; }
.mk-them { color: var(--muted); }
.mk-them b { color: #8a6430; }
.mk-us { color: var(--ok); font-weight: 600; }
.mk-us b { font-weight: 800; }
.mk-axis { position: relative; height: 18px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.mk-axis span { position: absolute; transform: translateX(-50%); }
.mk-axis span:first-child { transform: none; }
.mk-src { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.mk-src a { color: var(--muted); }
@media (max-width: 520px) { .mk-axis span:nth-child(even) { display: none; } }

.tiers { display: grid; gap: 14px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border-radius: 24px; background: var(--glass-strong); border: 1px solid var(--line); }
.tier.best { background: var(--ink); color: #fffaf0; border-color: var(--ink); box-shadow: 0 30px 70px rgba(17,17,17,.25); }
.tier-flag { position: absolute; top: -12px; left: 20px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #e9cf95, #c9a35f); color: #1d1408; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tier h3 { font-size: 22px; margin-bottom: 4px; }
.tier-for { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.tier.best .tier-for { color: #d8d2c6; }
.tier-price { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tier-price strong { font-size: clamp(44px, 7vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.tier-price span { font-size: 14px; color: var(--muted); }
.tier.best .tier-price span { color: #d8d2c6; }
.tier-base { font-weight: 800; font-size: 14px; margin: 0 0 8px; color: var(--gold-text); }
.tier.best .tier-base { color: #e9cf95; }
.tier-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; flex: 1; }
.tier-list li { position: relative; padding-left: 28px; font-size: 15px; }
.tier-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.tier-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.tier-cta { display: grid; gap: 6px; }
.tier.best .button.primary { background: #fffaf0; color: var(--ink); }
.text-btn { background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; color: inherit; min-height: 44px; }
.tier-cta.pay { gap: 8px; }
.tier-cta.pay .button.wide { min-height: 54px; font-size: 16.5px; box-shadow: 0 10px 26px rgba(17,17,17,.14); }
.pay-alt { display: block; text-align: center; font-size: 14px; line-height: 1.4; color: inherit; text-decoration: underline; text-decoration-color: rgba(128,128,128,.5); text-underline-offset: 3px; padding: 6px 4px; }
.pay-alt:hover { text-decoration-color: currentColor; }
.pricing-notes .maint.costs { background: transparent; }
.button.ghost-pay { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .92; }
.button.ghost-pay:hover { opacity: 1; }
.tier.best .button.ghost-pay { border-color: rgba(255,250,240,.55); color: #fffaf0; }
.pay-note { margin: 0; font-size: 13px; line-height: 1.35; color: var(--muted); text-align: center; }
.pay-note.safe { font-size: 12px; }
.tier.best .pay-note { color: #d8d2c6; }
.tier-cta.pay .text-btn { justify-self: center; font-weight: 500; }
.pricing-notes { margin-top: 14px; display: grid; gap: 6px; }
.pricing-notes .maint { border: 0; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--ink); margin: 0; border: 1px solid var(--line); }
.pricing-notes p { margin: 0; }
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .tier.best { padding: 34px 24px 26px; }
}

@media (max-width: 899px) {
  .tier.best { order: -1; margin-top: 8px; }
  .tier.is-folded .tier-list li.fold { display: none; }
  .tier-list { margin-bottom: 8px; }
}
.fold-btn { display: none; align-self: flex-start; margin: 0 0 12px; padding: 0; min-height: 36px; background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 14px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .tier.can-fold .fold-btn { display: inline-block; } }

/* ---------- telefono: schede che scorrono in orizzontale (pagina più corta) ---------- */
@media (max-width: 699px) {
  .pillars, .tiers {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 14px var(--gutter) 10px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .pillars::-webkit-scrollbar, .tiers::-webkit-scrollbar { display: none; }
  .pillar, .tier { scroll-snap-align: start; }
  .tiers { align-items: start; }
  .tier.best { margin-top: 0; }
  .swipe-hint { display: flex; }
}
.swipe-hint { display: none; align-items: center; gap: 8px; margin: -2px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.swipe-hint::after { content: "→"; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

/* ---------- chiusura: contatti diretti ---------- */
.talk-btns { display: grid; gap: 8px; margin-top: 12px; }
.button.ghost { color: #fffaf0; background: transparent; border-color: rgba(255, 250, 240, 0.35); }
.button.ghost:hover { background: rgba(255, 250, 240, 0.08); }
.text-link.light { color: #e9e3d6; margin-top: 4px; justify-self: center; }
