/* Sito spedizioniclick.it */
@font-face { font-family: 'Inter'; src: url('/sito/fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  /* colori: tutti qui, per cambiarli in un punto solo */
  --night: #050b1a; --night-2: #0a1530; --navy: #0b1530; --brand: #2d679d;
  --blue: #2563eb; --blue-d: #1d4ed8; --violet: #2563eb; --cyan: #06b6d4; --pink: #22d3ee;
  --orange: #f97316; --orange-2: #fb923c; --orange-d: #ea580c; --green: #10b981; --red: #ef4444;
  --grad: linear-gradient(120deg, #3b82f6 0%, #38bdf8 55%, #22d3ee 100%);
  --grad-warm: linear-gradient(120deg, #f97316, #fb923c 50%, #f59e0b);
  --ink: #0b1220; --text: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --bg-alt: #f5f7ff;
  --radius: 18px; --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 16px 40px -16px rgba(15, 23, 42, .22);
  --glow: 0 0 0 1px rgba(96, 165, 250, .25), 0 30px 90px -20px rgba(37, 99, 235, .65);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.18; letter-spacing: -.022em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); font-weight: 850; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); font-weight: 800; max-width: 30ch; }
h3 { font-size: 1.22rem; font-weight: 750; }
p { margin: 0 0 1em; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 8s ease-in-out infinite alternate; }
@keyframes gradmove { to { background-position: 100% 0; } }

/* barra di avanzamento della lettura */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad); z-index: 70; }

/* bottoni */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 700; font-size: .96rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn-lg { padding: 15px 24px; font-size: 1.03rem; }
.btn-sm { padding: 8px 12px; font-size: .85rem; font-weight: 600; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(120deg, #2563eb, #3b82f6); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(37, 99, 235, .85); }
.btn-accent { background: var(--grad-warm); color: #fff; box-shadow: 0 10px 26px -10px rgba(249, 115, 22, .85); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(249, 115, 22, .9); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: #93c5fd; color: var(--violet); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--violet); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* testata */
.top { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(170%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(15, 23, 42, .5); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; flex-shrink: 0; }
.brand img { width: 198px; height: auto; display: block; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 600; font-size: .93rem; position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s; }
.nav a:hover, .nav a.on { color: var(--ink); } .nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.top-cta { display: flex; gap: 10px; }

/* sfondi animati */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.blobs .b1 { width: 520px; height: 520px; background: #3b82f6; top: -160px; right: -80px; }
.blobs .b2 { width: 460px; height: 460px; background: #1d4ed8; bottom: -200px; left: -120px; animation-duration: 22s; }
.blobs .b3 { width: 340px; height: 340px; background: #f97316; top: 40%; left: 42%; opacity: .14; animation-duration: 26s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 40px) scale(.95); } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; background: radial-gradient(900px 600px at 75% 40%, rgba(37, 99, 235, .35) 0%, transparent 60%), radial-gradient(700px 400px at 10% 0%, rgba(30, 64, 175, .35), transparent 60%), linear-gradient(180deg, var(--night), var(--night-2)); color: #bfdbfe; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero h1 { color: #fff; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.hero h1 .grad { display: block; }
.hero-text > p:not(.lead):not(.eyebrow):not(.micro) { font-size: 1rem; color: #b6c3e0; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 750; color: var(--orange-d); margin-bottom: 14px; }
.hero .eyebrow { color: var(--orange-2); }
.pills { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: .85rem; font-weight: 650; color: #e0e7ff; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); animation: pill 6s ease-in-out infinite; }
.pills li:nth-child(2) { animation-delay: 1.2s; } .pills li:nth-child(3) { animation-delay: 2.4s; } .pills li:nth-child(4) { animation-delay: 3.6s; } .pills li:nth-child(5) { animation-delay: 4.8s; }
@keyframes pill { 0%, 70%, 100% { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); } 80%, 90% { background: rgba(37, 99, 235, .45); border-color: rgba(147, 197, 253, .7); color: #fff; } }
.lead { font-size: 1.14rem; color: var(--ink); }
.hero .lead { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 12px; }
.micro { font-size: .88rem; color: #94a3d8; }
.hero-shot { margin: 0; position: relative; }
.frame { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 40px 80px -30px rgba(16, 34, 60, .45); border: 1px solid #dbe3ef; }
.hero .frame { box-shadow: var(--glow); border-color: rgba(165, 180, 252, .35); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef2f8; border-bottom: 1px solid #dbe3ef; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.frame-bar i:nth-child(1) { background: #f87171; } .frame-bar i:nth-child(2) { background: #fbbf24; } .frame-bar i:nth-child(3) { background: #34d399; }
.frame-bar span { margin-left: 10px; font-size: .74rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; }
.tilt { transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }
.hero-badge { position: absolute; left: -26px; bottom: 54px; display: flex; flex-direction: column; background: rgba(11, 21, 48, .92); color: #fff; text-decoration: none; padding: 12px 16px; border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); font-size: .9rem; line-height: 1.35; border: 1px solid rgba(251, 146, 60, .5); backdrop-filter: blur(8px); animation: bob 5s ease-in-out infinite; z-index: 3; }
.hero-badge span { color: #fdba74; font-size: .82rem; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.hero-shot figcaption { color: #94a3d8; }
.hero-shot figcaption, .shot figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }
.hero .hero-shot figcaption { color: #94a3d8; }

/* notifiche dimostrative sulla dashboard */
.live { position: absolute; right: -36px; top: 64px; width: 252px; display: flex; flex-direction: column; gap: 8px; z-index: 4; pointer-events: none; }
.note-card { display: flex; gap: 9px; align-items: center; padding: 8px 10px !important; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 10px 12px; box-shadow: 0 18px 40px -16px rgba(2, 6, 23, .55); border: 1px solid rgba(255, 255, 255, .7); font-size: .82rem; line-height: 1.3; animation: noteIn .55s cubic-bezier(.2, .9, .3, 1.3) both; }
.note-card.out { animation: noteOut .45s ease-in both; }
.note-card .n-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; background: #eef2ff; }
.note-card b { display: block; font-size: .84rem; } .note-card span { color: var(--muted); }
.note-card time { margin-left: auto; font-size: .68rem; color: var(--muted); align-self: flex-start; white-space: nowrap; }
.note-card b { font-size: .8rem !important; } .note-card span { font-size: .76rem; } .note-card .n-ico { width: 30px; height: 30px; font-size: .95rem; }
@keyframes noteIn { from { opacity: 0; transform: translateX(40px) scale(.9); } }
@keyframes noteOut { to { opacity: 0; transform: translateY(-14px) scale(.95); } }

/* nastro scorrevole */
.ticker { background: linear-gradient(90deg, #0a1530, #13254f 50%, #0a1530); color: #e0e7ff; overflow: hidden; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: tick 45s linear infinite; }
.ticker span { white-space: nowrap; font-weight: 650; font-size: .92rem; display: inline-flex; align-items: center; gap: 44px; }
.ticker span::after { content: '✦'; color: var(--orange-2); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* comparsa allo scorrimento */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* sezioni */
.sec { padding: 96px 0; position: relative; }
.sec-alt { background: var(--bg-alt); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 8px; }
.intro { max-width: 78ch; }
.shot { margin: 0; }
.shot img { border-radius: 14px; border: 1px solid #dbe3ef; box-shadow: var(--shadow); background: #fff; }
.shot-narrow img { width: 100%; max-width: 420px; margin: 0 auto; }
img[data-zoom] { cursor: zoom-in; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--violet); background: #eff6ff; padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.tag-light { color: #fff; background: rgba(255, 255, 255, .14); }
.note { color: var(--muted); font-style: italic; }

/* esempio rettifica + simulatore */
.example { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin-top: 52px; padding: 36px; border-radius: 26px; background: radial-gradient(600px 300px at 100% 0%, rgba(249, 115, 22, .12), transparent 60%), linear-gradient(135deg, #fff7ef, #fff); border: 1px solid #fde3c9; }
.sim { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); border: 1px solid #fde3c9; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: #f1f5f9; margin-bottom: 18px; }
.seg button { font: inherit; font-size: .88rem; font-weight: 700; border: 0; background: none; padding: 8px 14px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .2); }
.range { margin-bottom: 14px; }
.range label { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.range output { font-variant-numeric: tabular-nums; color: var(--violet); font-weight: 800; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #2563eb var(--fill, 50%), #e2e8f0 var(--fill, 50%)); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #2563eb; box-shadow: 0 4px 10px -2px rgba(37, 99, 235, .6); transition: transform .15s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #2563eb; }
input[type=range]:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.adj-cost { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff7ed; font-size: .92rem; margin: 6px 0 14px; }
.adj-cost b { color: var(--orange-d); font-variant-numeric: tabular-nums; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 650; color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.switch { width: 54px; height: 30px; flex: none; border-radius: 99px; border: 0; background: #cbd5e1; position: relative; cursor: pointer; transition: background .25s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.switch[aria-checked="true"] { background: linear-gradient(120deg, #10b981, #06b6d4); }
.switch[aria-checked="true"] i { transform: translateX(24px); }
.adj-out { border-radius: 14px; padding: 16px; transition: background .35s, border-color .35s; border: 2px solid; }
.adj-out.bad { background: #fef2f2; border-color: #fecaca; }
.adj-out.good { background: #ecfdf5; border-color: #a7f3d0; }
.adj-out.neutral { background: #f8fafc; border-color: #e2e8f0; }
.adj-out h4 { margin: 0 0 8px; font-size: 1rem; color: var(--ink); }
.adj-out .row { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; padding: 3px 0; }
.adj-out .row b { font-variant-numeric: tabular-nums; }
.adj-out .big { font-size: 1.5rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.adj-out.bad .big { color: #dc2626; } .adj-out.good .big { color: #059669; }
.sim-note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }

/* calcolatore dei margini */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 36px; align-items: center; margin: 56px 0; }
.calc-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; background: #fff; border-radius: 26px; padding: 30px; box-shadow: var(--shadow); border: 1px solid #e0e7ff; position: relative; overflow: hidden; }
.calc-in::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.levels { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; }
.levels li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; align-items: center; column-gap: 16px; padding: 14px 16px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; position: relative; }
.levels li:nth-child(2) { margin-left: 16px; } .levels li:nth-child(3) { margin-left: 32px; border-color: #bfdbfe; background: linear-gradient(135deg, #fff, #f0f7ff); }
.lv-who { font-weight: 750; color: var(--ink); font-size: .95rem; } .lv-what { grid-row: 2; color: var(--muted); font-size: .84rem; }
.levels b { grid-row: 1 / span 2; grid-column: 2; font-size: 1.45rem; color: var(--brand); font-variant-numeric: tabular-nums; transition: color .3s; }
.levels li:last-child b { color: var(--orange-d); }
.lv-bar { grid-column: 1 / -1; grid-row: 3; height: 5px; border-radius: 9px; margin-top: 8px; background: #eef2ff; position: relative; overflow: hidden; }
.lv-bar::after { content: ''; position: absolute; inset: 0; width: var(--w, 50%); border-radius: 9px; background: var(--grad); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.levels li:first-child .lv-bar::after { background: linear-gradient(90deg, #2d679d, #3b82f6); }
.margins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.margins div { border-radius: 14px; padding: 12px 14px; background: linear-gradient(135deg, #ecfdf5, #f0fdfa); border: 1px solid #a7f3d0; display: flex; flex-direction: column; }
.margins span { font-size: .8rem; color: #047857; font-weight: 700; }
.margins b { font-size: 1.35rem; color: #065f46; font-variant-numeric: tabular-nums; }
.margins small { font-size: .76rem; color: #047857; } .margins em { font-style: normal; font-weight: 800; }
.margins .neg { background: #fef2f2; border-color: #fecaca; } .margins .neg span, .margins .neg small, .margins .neg b { color: #b91c1c; }
.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; margin-top: 64px; }
.split-rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.box { background: radial-gradient(400px 200px at 100% 0%, rgba(37, 99, 235, .45), transparent 70%), var(--navy); color: #d6e0ef; padding: 32px; border-radius: 22px; box-shadow: var(--glow); }
.box h3 { color: #fff; } .box .tag { color: #fff; background: rgba(255, 255, 255, .14); }

/* schede dell'operatività */
.tabs { margin-top: 44px; }
.tab-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.tab-list button { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-weight: 700; font-size: .92rem; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; line-height: 1.3; }
.tab-list button:hover { transform: translateY(-2px); border-color: #bfdbfe; }
.tab-list button[aria-selected="true"] { color: var(--ink); border-color: #93c5fd; box-shadow: 0 12px 30px -16px rgba(37, 99, 235, .6); background: linear-gradient(135deg, #fff, #f0f7ff); }
.t-ico { font-size: 1.3rem; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #f1f5f9; }
.tab-list button[aria-selected="true"] .t-ico { background: var(--grad); }
.t-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.tab-list button[aria-selected="true"] .t-prog.run { animation: prog var(--t, 7s) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.tab-panel { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 36px; align-items: center; background: #fff; border-radius: 24px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); animation: panelIn .45s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.tab-shot { margin: 0; }

.closing { margin-top: 44px; font-size: 1.15rem; color: var(--ink); max-width: 70ch; font-weight: 600; padding-left: 18px; border-left: 4px solid; border-image: var(--grad) 1; }

/* per chi è */
.who-hint { font-weight: 700; color: var(--violet); margin: 28px 0 0; }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 16px 0 30px; }
.who-card { text-align: left; font: inherit; color: inherit; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; cursor: pointer; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfdbfe; }
.who-card[aria-checked="true"] { border-color: #3b82f6; box-shadow: 0 20px 40px -20px rgba(37, 99, 235, .6); background: linear-gradient(160deg, #fff, #f0f7ff); }
.who-card[aria-checked="true"]::after { content: '✓'; position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.who-card p { margin: 0; }
.who-ico { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #f1f5f9; margin-bottom: 14px; transition: transform .3s; }
.who-card:hover .who-ico, .who-card[aria-checked="true"] .who-ico { transform: rotate(-8deg) scale(1.08); background: #dbeafe; }
.profile { margin: 0 0 30px; border-radius: 22px; padding: 2px; background: var(--grad); animation: panelIn .4s ease both; }
.profile-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 24px; align-items: center; background: #fff; border-radius: 20px; padding: 26px; }
.profile-cta .btn { white-space: normal; }
.profile-cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checks li { position: relative; padding-left: 28px; font-size: .95rem; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #15803d; display: grid; place-items: center; font-weight: 900; font-size: .72rem; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 40px; padding: 32px; border-radius: 22px; background: #fff; border: 2px solid #bfdbfe; }
.cta-box p { margin: 0; }
.cta-box > div { flex: 1 1 auto; min-width: 0; } .cta-box > .btn { flex: none; }

/* internazionale */
.intl { background: radial-gradient(900px 500px at 10% 0%, rgba(37, 99, 235, .4) 0%, transparent 60%), linear-gradient(160deg, var(--night), var(--navy)); color: #bfdbfe; overflow: hidden; }
.intl h2 { color: #fff; } .intl .eyebrow { color: var(--orange-2); }
.blobs-intl .b1 { background: #22d3ee; opacity: .28; top: 30%; right: -160px; } .blobs-intl .b2 { background: #06b6d4; opacity: .25; }
.intl-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.magnet { background: #fff; color: var(--text); border-radius: 24px; padding: 32px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(251, 146, 60, .4); }
.magnet .tag-light { color: var(--orange-d); background: #fff1e4; }
.stats { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats li { background: var(--bg-alt); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; }
.stats b { font-size: 1.75rem; line-height: 1.1; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats li:last-child b { -webkit-background-clip: border-box; background-clip: border-box; background: none; color: inherit; }
.stats li > span { font-size: .85rem; color: var(--muted); }
.magnet .small { margin: 12px 0 0; color: var(--muted); }

/* zona del paese */
.zone-finder { margin-top: 56px; border-radius: 26px; padding: 30px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.zf-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.zf-head h3 { color: #fff; margin: 0; font-size: 1.4rem; }
.zf-search { position: relative; }
.zf-search input { width: 100%; font: inherit; font-size: 1.02rem; padding: 14px 16px 14px 44px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") 14px 50% no-repeat; color: var(--ink); }
.zf-search input:focus { outline: 3px solid var(--orange-2); outline-offset: 1px; }
.zf-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); max-height: 280px; overflow: auto; }
.zf-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; }
.zf-list li span { color: var(--muted); font-size: .85rem; }
.zf-list li[aria-selected="true"], .zf-list li:hover { background: #eff6ff; }
.zf-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.zf-quick button { font: inherit; font-size: .88rem; font-weight: 650; color: #e0e7ff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: background .2s, transform .2s; }
.zf-quick button:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.zf-zones { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
.zf-zones button { font: inherit; cursor: pointer; border-radius: 10px; padding: 10px 4px; text-align: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #93c5fd; font-size: .78rem; transition: all .35s; }
.zf-zones button:hover { background: rgba(255, 255, 255, .14); }
.zf-zones button b { display: block; font-size: 1.15rem; color: #fff; }
.zf-zones button::before { content: 'zona'; display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.zf-zones button.on { background: var(--grad-warm); border-color: transparent; color: #fff; transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 30px -12px rgba(249, 115, 22, .9); }
.zf-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; min-height: 56px; color: #e0e7ff; }
.zf-result p { margin: 0; }
.zf-result .zf-big { font-size: 1.3rem; color: #fff; font-weight: 800; }
.zf-result .zf-big em { font-style: normal; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* fiducia e domande */
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trust li { display: flex; flex-direction: column; padding: 14px 18px 14px 50px; border: 1px solid var(--line); border-radius: 14px; position: relative; background: #fff; transition: transform .2s, box-shadow .2s; }
.trust li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.trust li::before { content: '✓'; position: absolute; left: 16px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(120deg, #10b981, #06b6d4); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.trust b { color: var(--ink); } .trust span { font-size: .9rem; color: var(--muted); }
.faq-title { margin-top: 64px; font-size: 1.5rem; }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 20px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #bfdbfe; box-shadow: 0 12px 30px -18px rgba(37, 99, 235, .5); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: var(--violet); background: #eff6ff; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; animation: panelIn .35s ease both; }

/* modulo */
.form-sec { background: radial-gradient(800px 400px at 0% 0%, #e0e7ff, transparent 60%), radial-gradient(700px 400px at 100% 100%, #ffedd5, transparent 60%), var(--bg-alt); overflow: hidden; }
.blobs-form i { opacity: .18; }
.form-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--ink); }
.steps b { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.lead-form, .lead-ok { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 30px 70px -30px rgba(30, 58, 138, .45); border: 1px solid #e0e7ff; position: relative; }
.lead-form h3 { margin-bottom: 12px; }
.form-bar { height: 6px; border-radius: 9px; background: #eef2ff; margin-bottom: 20px; overflow: hidden; }
.form-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #10b981, #06b6d4); border-radius: 9px; transition: width .4s ease; }
.choice { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.choice legend { font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; }
.lead-form .choice label { display: flex; gap: 10px; align-items: center; border: 2px solid var(--line); border-radius: 14px; padding: 11px 14px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.lead-form .choice label:hover { transform: translateX(3px); border-color: #bfdbfe; }
.lead-form .choice label:has(input:checked) { border-color: #3b82f6; background: #f0f7ff; }
.c-ico { font-size: 1.1rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 label:nth-last-child(1) { grid-column: 1 / -1; }
.lead-form label { font-size: .9rem; font-weight: 650; color: var(--ink); display: block; }
.lead-form label > input:not([type=radio]):not([type=checkbox]), .lead-form label > select { display: block; margin-top: 6px; }
.lead-form .choice label { font-size: .95rem; font-weight: 600; }
.lead-form input:not([type=radio]):not([type=checkbox]), .lead-form select { font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 11px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form select:focus { border-color: #3b82f6; outline: none; box-shadow: 0 0 0 4px rgba(59, 130, 246, .18); }
.lead-form input.ok, .lead-form select.ok { border-color: #34d399; }
.lead-form .invalid { border-color: #dc2626 !important; background: #fff7f7 !important; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.req { color: #dc2626; } .opt { color: var(--muted); font-weight: 500; }
.lead-form .consent { display: flex; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; margin: 18px 0 14px; color: var(--text) !important; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: #2563eb; }
.choice input { accent-color: #2563eb; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: .92rem; }
.lead-form .small { margin: 12px 0 0; text-align: center; }
.lead-ok { text-align: center; padding: 48px 32px; animation: panelIn .5s ease both; }
.ok-ico { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(120deg, #10b981, #06b6d4); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 900; margin: 0 auto 16px; animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pop { from { transform: scale(0); } }
button[disabled] { opacity: .7; cursor: wait; }

/* piede */
.foot { background: var(--night); color: #a5b4d8; padding: 44px 0 96px; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.foot img { filter: brightness(0) invert(1); opacity: .95; margin-bottom: 10px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: #fff; text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot .muted { color: #7f8db3; grid-column: 1 / -1; margin: 0; }

/* barra fissa su telefono e torna su */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: none; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(11, 21, 48, .92); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.mbar.show { transform: none; }
.mbar .btn { flex: 1; padding: 12px 8px; font-size: .9rem; white-space: nowrap; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 54; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 1.2rem; font-weight: 900; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(37, 99, 235, .8); opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* pop-up e schermate ingrandite */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(7, 13, 31, .72); backdrop-filter: blur(4px); }
.pop { width: min(520px, calc(100vw - 32px)); border-radius: 26px; padding: 34px 30px 24px; text-align: center; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); overflow: visible; }
.pop[open] { animation: popIn .45s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.94); } }
.pop h3 { font-size: 1.5rem; }
.pop-art { display: flex; justify-content: center; gap: 10px; margin: -66px 0 14px; }
.pop-art span { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 1.8rem; background: #fff; box-shadow: 0 16px 30px -12px rgba(30, 58, 138, .5); animation: bob 4s ease-in-out infinite; }
.pop-art span:nth-child(2) { animation-delay: .5s; background: linear-gradient(135deg, #fff7ed, #fff); } .pop-art span:nth-child(3) { animation-delay: 1s; }
.pop-cta { display: grid; gap: 10px; margin-top: 18px; }
.pop-no { margin-top: 12px; background: none; border: 0; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer; text-decoration: underline; }
.pop-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f5f9; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); z-index: 2; }
.pop-x:hover { background: #e2e8f0; }
.lightbox { width: min(1200px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border-radius: 18px; padding: 14px; background: #fff; }
.lightbox[open] { animation: popIn .35s ease both; }
.lightbox img { width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 10px; }
.lightbox p { margin: 10px 4px 2px; font-size: .88rem; color: var(--muted); text-align: center; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }

/* ---- stile allineato al sito demo: titoli con seconda parte arancione, etichette a pillola, fascia arancione ---- */
h2 .hl, h3 .hl { color: var(--orange); }
.intl h2 .hl { color: var(--orange-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 650; color: var(--blue); background: #eff6ff; border: 1px solid #dbeafe; padding: 5px 12px; border-radius: 999px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.hero .eyebrow { color: #60a5fa; background: rgba(37, 99, 235, .12); border-color: rgba(96, 165, 250, .35); font-size: .95rem; padding: 7px 16px; }
.intl .eyebrow { color: #fdba74; background: rgba(249, 115, 22, .12); border-color: rgba(251, 146, 60, .35); }
.form-intro .eyebrow { margin-bottom: 14px; }
.top-cta .btn-ghost { background: var(--orange); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(249, 115, 22, .9); }
.top-cta .btn-ghost:hover { background: var(--orange-d); color: #fff; }
.hero .grad { background: linear-gradient(120deg, #3b82f6, #38bdf8 50%, #22d3ee); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
.hero-badge { background: #fff; color: var(--ink); border: 0; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55); }
.hero-badge span { color: var(--muted); }
.hero-badge b::before { content: '🌍 '; }
.hero-chip { position: absolute; top: -16px; right: 18px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; background: #16a34a; color: #fff; font-weight: 750; font-size: .88rem; padding: 8px 14px; border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(22, 163, 74, .8); animation: bob 5s ease-in-out infinite .8s; }
.hero-chip i { width: 8px; height: 8px; border-radius: 50%; background: #bbf7d0; box-shadow: 0 0 0 0 rgba(187, 247, 208, .8); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(187, 247, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(187, 247, 208, 0); } }
.checkline { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checkline li { display: inline-flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: .95rem; }
.checkline li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #22c55e; color: #22c55e; display: grid; place-items: center; font-size: .7rem; font-weight: 900; }

/* fascia arancione con i numeri */
.band { background: linear-gradient(120deg, #f97316, #fb7a1a 50%, #f97316); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 200px at 20% 0%, rgba(255, 255, 255, .22), transparent 70%), radial-gradient(500px 200px at 80% 100%, rgba(255, 255, 255, .15), transparent 70%); }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; position: relative; }
.band b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.band li > span { font-size: .92rem; font-weight: 600; color: #ffedd5; }
.ticker { background: #fff; color: var(--muted); border-bottom: 1px solid var(--line); border-top: 0; }
.ticker span::after { color: var(--orange); }
@media (max-width: 720px) { .band ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; } .hero-chip { right: 8px; top: -12px; font-size: .8rem; } }

/* ================= prove interattive (al posto delle schermate) ================= */
.sim-tag { margin-left: auto; font-style: normal; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #2563eb; background: #eff6ff; border: 1px solid #dbeafe; padding: 2px 8px; border-radius: 999px; }

/* mini gestionale nella parte alta */
.console { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--glow); border: 1px solid rgba(147, 197, 253, .35); color: var(--text); font-size: .86rem; }
.console .frame-bar span { margin-left: 10px; }
.con-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 380px; }
.con-side { background: #0b1530; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.con-logo { color: #fff; font-size: .8rem; white-space: nowrap; margin: 2px 6px 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.con-side button { font: inherit; font-size: .82rem; font-weight: 650; text-align: left; color: #b6c3e0; background: none; border: 0; border-radius: 9px; padding: 8px 10px; cursor: pointer; transition: background .2s, color .2s; }
.con-side button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.con-side button.on { background: linear-gradient(120deg, #2563eb, #3b82f6); color: #fff; }
.con-main { padding: 14px; background: #f6f8fc; min-width: 0; }
.con-view { animation: panelIn .35s ease both; }
.con-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.con-kpis div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.con-kpis span { display: block; font-size: .66rem; color: var(--muted); line-height: 1.25; min-height: 2.5em; }
.con-kpis b { font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.con-kpis div:nth-child(4) b { color: #059669; }
.con-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.con-head b { color: var(--ink); }
.con-new { font: inherit; font-size: .8rem; font-weight: 750; color: #fff; background: var(--grad-warm); border: 0; border-radius: 9px; padding: 7px 11px; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(249, 115, 22, .9); transition: transform .2s; }
.con-new:hover { transform: translateY(-1px); }
.con-new.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(249, 115, 22, .25); } }
.con-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.con-rows li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; animation: rowIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.con-rows code { font-size: .74rem; color: #2563eb; font-weight: 700; }
.con-rows .dest { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.con-rows .dest small { color: var(--muted); }
.con-rows .price { font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.st { font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; transition: background .3s, color .3s; }
.st-bozza { background: #f1f5f9; color: #475569; } .st-pronta { background: #fef3c7; color: #92400e; } .st-ritirata { background: #e0e7ff; color: #3730a3; }
.st-transito { background: #dbeafe; color: #1d4ed8; } .st-consegnata { background: #dcfce7; color: #166534; }
.con-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.con-bars li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 54px; gap: 8px; align-items: center; cursor: pointer; border-radius: 8px; padding: 3px 4px; }
.con-bars li:hover, .con-bars li.on { background: #fff; }
.con-bars .bar { height: 14px; border-radius: 6px; background: #e2e8f0; overflow: hidden; }
.con-bars .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #10b981, #34d399); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.con-bars li.low .bar i { background: linear-gradient(90deg, #ef4444, #f97316); }
.con-bars li.low b { color: #dc2626; }
.con-bars span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.con-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.con-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.con-cod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.con-cod div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.con-cod span { display: block; font-size: .72rem; color: var(--muted); }
.con-cod b { font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.con-cod div:first-child b { color: var(--orange-d); }

/* clienti da tenere d'occhio e rete */
.watch, .net { background: #fff; border-radius: 20px; padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.watch-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chips button { font: inherit; font-size: .8rem; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: all .2s; }
.chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.watch-t { width: 100%; border-collapse: collapse; font-size: .84rem; }
.watch-t th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.watch-t td { padding: 8px; border-bottom: 1px solid #f1f5f9; transition: opacity .3s, background .3s; font-variant-numeric: tabular-nums; }
.watch-t tr.dim td { opacity: .25; }
.watch-t tr.hit td { background: #fff7ed; }
.watch-t tr.hit td:first-child { box-shadow: inset 3px 0 0 var(--orange); font-weight: 700; color: var(--ink); }
.watch-t .neg { color: #dc2626; font-weight: 800; }
.watch-sum { margin: 12px 0 0; font-weight: 700; color: var(--ink); min-height: 1.5em; }
.net-tree { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.net-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; position: relative; }
.net-row::before { content: ''; position: absolute; top: -10px; left: 16%; right: 16%; height: 2px; background: #dbeafe; }
.net-col { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.net-col::before { content: ''; position: absolute; top: -10px; left: 50%; width: 2px; height: 10px; background: #dbeafe; }
.net-leaves { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.node { font: inherit; font-size: .84rem; font-weight: 700; color: var(--ink); background: #f8fafc; border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; transition: all .25s; }
.node span { font-size: 1.1rem; }
.node small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.node.master { width: auto; padding: 10px 22px; background: linear-gradient(120deg, #0b1530, #13254f); color: #fff; border-color: transparent; }
.node.leaf { background: #fff; font-size: .78rem; }
.node:hover { transform: translateY(-2px); border-color: #93c5fd; }
.node.on { border-color: #2563eb; box-shadow: 0 10px 24px -14px rgba(37, 99, 235, .8); background: #eff6ff; color: var(--ink); }
.node.master.on { background: linear-gradient(120deg, #2563eb, #3b82f6); color: #fff; }
.node.seen { border-color: #86efac; background: #f0fdf4; }
.net-info { margin-top: 16px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line); padding: 14px 16px; font-size: .9rem; animation: panelIn .3s ease both; }
.net-info h4 { margin: 0 0 6px; color: var(--ink); }
.net-info .chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.net-info .chain span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; }
.net-info .chain span.me { background: #fff7ed; border-color: #fdba74; color: var(--orange-d); }

/* dimostrazioni nelle schede */
.demo { background: #f8fafc; border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-height: 300px; }
.demo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.demo-grid label { font-size: .78rem; font-weight: 700; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.demo-grid input { font: inherit; font-size: .95rem; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 9px; width: 100%; background: #fff; }
.stepper { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; overflow: hidden; }
.stepper button { font: inherit; font-size: 1.1rem; border: 0; background: #f1f5f9; width: 34px; height: 38px; cursor: pointer; }
.stepper output { flex: 1; text-align: center; font-weight: 800; }
.ds-calc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.ds-calc div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ds-calc span { display: block; font-size: .72rem; color: var(--muted); }
.ds-calc b { font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ds-calc .hot { border-color: #fdba74; background: #fff7ed; } .ds-calc .hot b { color: var(--orange-d); }
.ds-calc .tip { grid-column: 1 / -1; background: none; border: 0; padding: 0; font-size: .82rem; color: var(--muted); }
.label-wrap { perspective: 900px; }
.label10 { margin-top: 14px; width: 260px; background: #fff; color: #000; border: 1px solid #cbd5e1; border-radius: 6px; padding: 12px; font-family: Arial, sans-serif; font-size: .74rem; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); animation: labelIn .6s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes labelIn { from { opacity: 0; transform: rotateX(-70deg) translateY(-20px); transform-origin: top; } }
.label10 .lh { display: flex; justify-content: space-between; font-weight: 900; font-size: .9rem; border-bottom: 2px solid #000; padding-bottom: 4px; }
.label10 .lt { margin: 8px 0; line-height: 1.35; } .label10 .lt b { font-size: .95rem; }
.label10 .bc { height: 46px; background: repeating-linear-gradient(90deg, #000 0 2px, #fff 2px 3px, #000 3px 4px, #fff 4px 7px, #000 7px 10px, #fff 10px 11px); margin-top: 6px; }
.label10 .bn { text-align: center; font-family: monospace; letter-spacing: .15em; margin-top: 4px; }
.mag-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mag-list, .ord-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.demo, .tab-panel > * { min-width: 0; }
.mag-list li, .ord-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .86rem; transition: all .35s; }
.mag-list li code, .ord-list li code { font-weight: 800; color: #2563eb; }
.mag-list li .cli, .ord-list li .cli { flex: 1; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mag-list li.ok { background: #f0fdf4; border-color: #86efac; }
.mag-list li.ok::before { content: '✓'; color: #16a34a; font-weight: 900; }
.mag-list li.scan { animation: scan .5s ease; }
@keyframes scan { 0% { box-shadow: inset 0 0 0 0 rgba(239, 68, 68, .0); } 30% { box-shadow: inset 0 0 0 2px #ef4444, 0 0 18px rgba(239, 68, 68, .45); } 100% { box-shadow: none; } }
.mag-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mag-groups div { background: #fff; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 10px; font-size: .84rem; }
.mag-groups b { display: block; color: var(--ink); }
.mag-groups button { margin-top: 8px; width: 100%; font: inherit; font-size: .78rem; font-weight: 750; border: 0; border-radius: 8px; padding: 7px; cursor: pointer; background: #e2e8f0; color: #64748b; }
.mag-groups button:not([disabled]) { background: linear-gradient(120deg, #2563eb, #3b82f6); color: #fff; }
.mag-groups .done { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.ord-list.fresh li { animation: rowIn .45s ease both; }
.ord-list li button { font: inherit; font-size: .76rem; font-weight: 750; border: 0; border-radius: 8px; padding: 6px 10px; cursor: pointer; background: var(--grad-warm); color: #fff; white-space: nowrap; }
.ord-list li button[disabled] { background: #dcfce7; color: #166534; cursor: default; }
.ord-list .shop { font-size: .68rem; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: #ecfdf5; color: #047857; }
.ord-list .shop.woo { background: #f5f3ff; color: #6d28d9; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kcol { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; min-height: 220px; }
.kcol h4 { margin: 0 0 8px; font-size: .82rem; color: var(--ink); display: flex; justify-content: space-between; gap: 6px; }
.kcol h4 b { font-variant-numeric: tabular-nums; color: var(--orange-d); }
.kcol:nth-child(2) h4 b { color: #2563eb; } .kcol:nth-child(3) h4 b { color: #059669; }
.kcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kcol li { font-size: .8rem; background: #f8fafc; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; cursor: pointer; display: flex; justify-content: space-between; gap: 6px; animation: rowIn .35s ease both; }
.kcol li:hover { border-color: #93c5fd; transform: translateY(-1px); }
.kcol li b { font-variant-numeric: tabular-nums; }
.kcol:nth-child(3) li { cursor: default; opacity: .8; }

/* verifica in due passaggi */
.tfa { margin-top: 56px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: center; padding: 30px; border-radius: 26px; background: radial-gradient(500px 260px at 0% 0%, rgba(37, 99, 235, .12), transparent 70%), #fff; border: 1px solid #dbeafe; box-shadow: var(--shadow); }
.tfa-phone { position: relative; height: 300px; border-radius: 34px; background: linear-gradient(160deg, #0b1530, #13254f); border: 6px solid #1e293b; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; box-shadow: 0 30px 60px -30px rgba(2, 6, 23, .8); }
.tfa-app { font-size: .78rem; color: #93c5fd; font-weight: 700; }
.tfa-phone b { font-size: 2rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; font-family: ui-monospace, monospace; }
.tfa-ring { width: 46px; height: 46px; transform: rotate(-90deg); }
.tfa-ring circle { fill: none; stroke-width: 3.5; stroke: rgba(255, 255, 255, .15); }
.tfa-ring #tfa-arc { stroke: #38bdf8; stroke-linecap: round; stroke-dasharray: 97.4; transition: stroke-dashoffset 1s linear; }
.tfa-phone small { color: #94a3b8; }
.tfa-in { display: flex; gap: 10px; flex-wrap: wrap; }
.tfa-in input { font: inherit; font-size: 1.3rem; letter-spacing: .15em; padding: 10px 14px; width: 190px; border: 2px solid #cbd5e1; border-radius: 12px; font-family: ui-monospace, monospace; }
.tfa-in input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59, 130, 246, .18); }
.tfa-in input.bad { border-color: #ef4444; animation: shake .35s; }
.tfa-msg { min-height: 1.6em; margin: 10px 0; font-weight: 750; }
.tfa-msg.ok { color: #059669; } .tfa-msg.ko { color: #dc2626; }

/* richiami durante lo scorrimento */
.nudge { position: fixed; left: 20px; bottom: 20px; z-index: 56; width: min(370px, calc(100vw - 32px)); background: #fff; border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 30px 60px -20px rgba(2, 6, 23, .55), 0 0 0 1px rgba(37, 99, 235, .12); display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; overflow: hidden; animation: nudgeIn .55s cubic-bezier(.2, 1.2, .4, 1) both; }
.nudge.out { animation: nudgeOut .35s ease-in both; }
@keyframes nudgeIn { from { opacity: 0; transform: translateY(30px) scale(.95); } }
@keyframes nudgeOut { to { opacity: 0; transform: translateY(20px); } }
.nudge .n-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(135deg, #eff6ff, #fff7ed); }
.nudge b { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; padding-right: 22px; }
.nudge p { margin: 4px 0 10px; font-size: .86rem; line-height: 1.45; }
.nudge .btn { padding: 9px 14px; font-size: .86rem; }
.nudge .n-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #f1f5f9; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--muted); }
.nudge .n-time { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; animation: ntime var(--nt, 10s) linear forwards; }
.nudge:hover .n-time { animation-play-state: paused; }
@keyframes ntime { to { transform: scaleX(0); } }

@media (max-width: 1020px) {
  .tfa { grid-template-columns: minmax(0, 1fr); }
  .tfa-phone { height: 230px; max-width: 260px; margin: 0 auto; width: 100%; }
  .demo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .con-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .con-side { flex-direction: row; overflow-x: auto; padding: 8px; }
  .con-logo { display: none; }
  .con-side button { white-space: nowrap; }
  .con-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .con-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .con-rows code { grid-column: 1 / -1; }
  .con-bars li { grid-template-columns: 90px minmax(0, 1fr) 46px; }
  .con-cod { grid-template-columns: minmax(0, 1fr); }
  .watch-t th:nth-child(2), .watch-t td:nth-child(2), .watch-t th:nth-child(3), .watch-t td:nth-child(3) { display: none; }
  .net-row { grid-template-columns: minmax(0, 1fr); } .net-row::before, .net-col::before { display: none; }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-calc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mag-groups, .kanban { grid-template-columns: minmax(0, 1fr); }
  .kcol { min-height: 0; }
  .tfa { padding: 20px; }
  .tfa-in input { width: 100%; }
  .nudge { left: 12px; right: 12px; bottom: 84px; width: auto; }
}

@media (max-width: 720px) {
  .ord-list li { flex-wrap: wrap; row-gap: 4px; }
  .ord-list li .cli { order: 5; flex-basis: 100%; white-space: normal; }
  .ord-list li button { margin-left: auto; }
}

/* ---- e-commerce e concaricatori ---- */
.nav-conc { color: var(--orange-d) !important; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; padding: 4px 12px !important; }
.nav-conc::after { display: none; }
.micro a { color: #fdba74; font-weight: 700; }
.st-consegna { background: #ffedd5; color: #9a3412; }
.con-rows li { grid-template-columns: 92px minmax(0, 1fr) auto auto; }
/* tracking del destinatario nel mini gestionale */
.tk-line { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 4px; }
.tk-line li { display: flex; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 10px; color: #94a3b8; position: relative; transition: background .3s, color .3s; }
.tk-line li span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; filter: grayscale(1); transition: all .3s; }
.tk-line li b { display: block; font-size: .85rem; } .tk-line li small { font-size: .72rem; }
.tk-line li.done { color: var(--ink); } .tk-line li.done span { background: #dcfce7; filter: none; }
.tk-line li.now { color: var(--ink); background: #fff; box-shadow: 0 6px 18px -12px rgba(37, 99, 235, .7); } .tk-line li.now span { background: var(--grad-warm); filter: none; animation: pulse 1.6s ease-in-out infinite; }
/* come funziona: carte che si girano */
.how { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: how; }
.how-card { position: relative; width: 100%; min-height: 230px; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 2px solid var(--line); border-radius: 22px; padding: 24px; background: #fff; display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 8px; transition: transform .35s, box-shadow .35s, border-color .35s, background .35s; overflow: hidden; }
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfdbfe; }
.how-n { position: absolute; top: 18px; right: 20px; font-size: 3rem; font-weight: 900; line-height: 1; color: #eff6ff; }
.how-ico { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: #eff6ff; transition: transform .35s; }
.how-card b { font-size: 1.15rem; color: var(--ink); }
.how-front, .how-back { transition: opacity .35s, transform .35s; }
.how-front, .how-back { grid-row: 3; grid-column: 1; }
.how-n { grid-row: auto; }
.how-back { opacity: 0; transform: translateY(14px); font-size: .95rem; color: #e0eaff; }
.how-card[aria-expanded="true"] { background: linear-gradient(150deg, #0b1530, #1d4ed8); border-color: transparent; color: #fff; box-shadow: 0 24px 50px -24px rgba(37, 99, 235, .9); }
.how-card[aria-expanded="true"] b { color: #fff; } .how-card[aria-expanded="true"] .how-n { color: rgba(255, 255, 255, .12); }
.how-card[aria-expanded="true"] .how-ico { transform: rotate(-8deg) scale(.85); background: rgba(255, 255, 255, .14); }
.how-card[aria-expanded="true"] .how-front { opacity: 0; transform: translateY(-10px); }
.how-card[aria-expanded="true"] .how-back { opacity: 1; transform: none; }
/* prezzi dei corrieri */
.q-ctrl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: end; margin-bottom: 14px; }
.q-ctrl label { font-size: .85rem; font-weight: 700; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.q-ctrl select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; }
.q-ctrl .range { margin: 0; }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q-list li { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; animation: rowIn .45s cubic-bezier(.2, .9, .3, 1.2) both; position: relative; }
.q-list li div { flex: 1; min-width: 0; } .q-list li small { display: block; color: var(--muted); font-size: .8rem; }
.q-list li.best { border-color: #34d399; background: linear-gradient(135deg, #fff, #ecfdf5); }
.q-p { font-size: 1.25rem; font-weight: 850; color: var(--ink); font-variant-numeric: tabular-nums; }
.q-best { position: absolute; top: -10px; left: 14px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: #10b981; padding: 2px 8px; border-radius: 999px; }
/* funzioni in breve */
.feats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feats li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 16px 60px; position: relative; font-size: .9rem; color: var(--muted); transition: transform .25s, box-shadow .25s; }
.feats li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feats li span { position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 12px; background: #eff6ff; display: grid; place-items: center; font-size: 1.1rem; }
.feats b { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
/* area concaricatori */
.conc-cover { position: relative; overflow: hidden; padding: 96px 0 84px; color: #cbd5e1; background: radial-gradient(900px 500px at 85% 10%, rgba(249, 115, 22, .32), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(37, 99, 235, .35), transparent 60%), linear-gradient(160deg, #050b1a, #0b1530); }
.conc-cover .blobs .b3 { opacity: .22; }
.conc-cover h2 { color: #fff; max-width: 26ch; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.conc-cover h2 .hl { color: var(--orange-2); }
.conc-cover .eyebrow { color: #fdba74; background: rgba(249, 115, 22, .14); border-color: rgba(251, 146, 60, .4); font-size: .95rem; }
.conc-cover .intro { color: #e2e8f0; font-size: 1.1rem; }
.conc-steps { list-style: none; padding: 0; margin: 34px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.conc-steps li { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); transition: transform .25s, background .25s; }
.conc-steps li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.conc-steps li > b { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-warm); font-size: 1.1rem; }
.conc-steps h3 { color: #fff; font-size: 1.05rem; margin: 0 0 4px; } .conc-steps p { margin: 0; font-size: .9rem; }
.cover-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.conc-body .calc { margin-top: 0; }
.calc .calc-in { grid-column: 1 / -1; }
.calc { grid-template-columns: minmax(0, 1fr); }
.net-row4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.net-row4::before { left: 12%; right: 12%; }
.demo-card { background: #fff; box-shadow: var(--shadow); }
.plans { margin-top: 64px; border-radius: 26px; padding: 30px; background: #fff; border: 2px solid #fed7aa; box-shadow: 0 30px 60px -36px rgba(234, 88, 12, .6); }
.plans-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.plans-head h3 { margin: 0; font-size: 1.5rem; }
.plans .seg { margin: 0; } .plans .seg button[aria-checked="true"] { background: var(--grad-warm); color: #fff; box-shadow: 0 6px 16px -8px rgba(249, 115, 22, .9); }
.plan-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: stretch; margin-bottom: 20px; }
.plan { border: 2px solid var(--line); border-radius: 18px; padding: 20px; transition: all .3s; opacity: .6; }
.plan.on { opacity: 1; border-color: var(--orange); background: linear-gradient(160deg, #fff, #fff7ed); transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(234, 88, 12, .8); }
.plan h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--ink); }
.plan-price { font-size: 1.5rem; font-weight: 850; color: var(--orange-d); margin: 0 0 6px; }
.plan p { margin: 0; font-size: .92rem; }
.plan-feats { grid-template-columns: minmax(0, 1fr); align-content: center; }
@media (max-width: 1020px) {
  .how, .conc-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .plan-feats { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .how, .conc-steps, .feats, .q-ctrl { grid-template-columns: minmax(0, 1fr); }
  .how-card { min-height: 200px; }
  .net-row4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .net-row4::before { display: none; }
  .plan-cards, .plan-feats { grid-template-columns: minmax(0, 1fr); }
  .plans { padding: 20px; } .conc-cover { padding: 64px 0; }
  .cover-cta .btn { width: 100%; }
}

.nw { white-space: nowrap; }
.hero-chip { right: auto; left: 18px; }

@media (max-width: 720px) { .hero .eyebrow { font-size: .85rem; } .con-body { grid-template-columns: minmax(0, 1fr); } .con-side { flex-direction: row; overflow-x: auto; } .con-logo { display: none; } }

/* pagine di testo (privacy) */
.doc { max-width: 820px; padding: 56px 24px 80px; }
.doc h1 { font-size: 2.1rem; } .doc h2 { font-size: 1.3rem; margin-top: 2em; max-width: none; }
.doc li { margin-bottom: .4em; }

/* telefono e tablet */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero-in, .example, .split, .split-rev, .intl-in, .form-in, .calc, .zf-head, .profile-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split-rev .shot { order: 2; }
  .hero-badge { left: 12px; bottom: 44px; }
  .live { right: 8px; top: 40px; width: 260px; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .tab-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-panel { grid-template-columns: minmax(0, 1fr); }
  .calc-shot { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-in { height: 62px; gap: 12px; } .brand img { width: 150px; }
  .top-cta .btn-ghost { display: none; } .top-cta .btn { padding: 9px 12px; font-size: .86rem; }
  .hero { padding: 32px 0 60px; }
  .sec { padding: 64px 0; }
  .cols, .grid2, .stats, .calc-in, .checks, .margins { grid-template-columns: minmax(0, 1fr); }
  .grid2 label:nth-last-child(1) { grid-column: auto; }
  .example, .magnet, .lead-form, .box, .cta-box, .calc-in, .zone-finder, .tab-panel, .profile-in { padding: 20px; }
  .sim { padding: 16px; }
  .cta-box { flex-direction: column; align-items: stretch; }
  .cta-box .btn { white-space: normal; }
  .btn-lg { white-space: normal; text-align: center; }
  .hero-cta .btn { width: 100%; }
  .levels li:nth-child(2) { margin-left: 8px; } .levels li:nth-child(3) { margin-left: 16px; }
  .hero-badge { position: static; margin-top: 14px; animation: none; }
  .live { position: static; width: auto; margin-top: 12px; }
  .live .note-card:nth-child(n+3) { display: none; }
  .tab-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tab-list button { font-size: .8rem; padding: 10px; } .t-ico { width: 32px; height: 32px; font-size: 1.05rem; }
  .zf-zones { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr; }
  .mbar { display: flex; }
  .to-top { bottom: 84px; right: 14px; width: 42px; height: 42px; }
  .pop { padding: 30px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* parte alta: notifiche sotto a destra e riquadro del tariffario in alto a sinistra, fuori dai pulsanti */
@media (min-width: 1021px) { .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hero .live { top: -30px; bottom: auto; right: -30px; width: 250px; }
.hero .hero-badge { top: auto; bottom: -30px; left: -22px; }
.hero-shot figcaption { margin-top: 44px; text-align: right !important; padding-left: 230px; }
.con-body { min-height: 330px !important; }
.con-side button { white-space: nowrap; font-size: .8rem; }
@media (max-width: 1020px) { .hero .live { right: 8px; } .hero .hero-badge { left: 8px; } }
@media (max-width: 720px) { .hero .live { position: static; width: auto; margin-top: 12px; } .hero .hero-badge { position: static; margin-top: 12px; } .hero-shot figcaption { margin-top: 10px; padding-left: 0; text-align: center !important; } }
.demo .btn { white-space: normal; text-align: center; }
.console .frame-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console .frame-bar .sim-tag { flex: none; }
@media (max-width: 720px) { .demo { padding: 12px; } .demo .btn { width: 100%; } }
.calc { grid-template-columns: minmax(0, 1fr); }
.calc-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 720px) { .calc-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- magazzino e gestione (e-commerce) ---------- */
.wh { background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%); }
.wh-flow { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.wh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.wh-step { width: 100%; height: 100%; display: grid; justify-items: center; gap: 4px; padding: 14px 8px; font: inherit; color: var(--text); text-align: center; background: #f8fafc; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; transition: background .3s, border-color .3s, transform .3s, box-shadow .3s; }
.wh-step:hover { transform: translateY(-3px); border-color: #bfdbfe; }
.wh-step b { font-size: .95rem; color: var(--ink); line-height: 1.25; }
.wh-step small { font-size: .78rem; color: var(--muted); }
.wh-ico { font-size: 1.6rem; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: #eff6ff; transition: transform .35s; }
.wh-step.done { border-color: #86efac; background: #f0fdf4; }
.wh-step.done .wh-ico { background: #dcfce7; }
.wh-step[aria-selected="true"] { background: linear-gradient(150deg, #0b1530, #1d4ed8); border-color: transparent; box-shadow: 0 18px 40px -20px rgba(37, 99, 235, .9); }
.wh-step[aria-selected="true"] b, .wh-step[aria-selected="true"] small { color: #fff; }
.wh-step[aria-selected="true"] .wh-ico { background: rgba(255, 255, 255, .14); transform: scale(1.08); }
.wh-track { position: relative; height: 8px; margin: 22px 6% 6px; border-radius: 99px; background: #e2e8f0; }
.wh-track i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: inherit; background: var(--grad); transition: width .7s cubic-bezier(.4, 0, .2, 1); }
.wh-truck { position: absolute; top: 50%; left: var(--p, 0%); transform: translate(-50%, -50%); font-size: 1.5rem; transition: left .7s cubic-bezier(.4, 0, .2, 1); filter: drop-shadow(0 4px 6px rgba(15, 23, 42, .25)); }
.wh-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; align-items: center; margin-top: 18px; min-height: 230px; padding: 20px; border-radius: 18px; background: #f8fafc; border: 1px solid var(--line); }
.wh-panel h3 { margin-bottom: .4em; }
.wh-panel p { margin: 0 0 .6em; }
.wh-vis { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: .88rem; animation: whin .45s ease; }
@keyframes whin { from { opacity: 0; transform: translateY(8px); } }
.wh-vis ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wh-vis li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: background .3s, border-color .3s; }
.wh-vis li code { font-weight: 800; color: #2563eb; }
.wh-vis li .grow { flex: 1; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-vis li.ok { background: #f0fdf4; border-color: #86efac; }
.wh-vis li.ok::after { content: '✓'; color: #16a34a; font-weight: 900; }
.wh-vis .wh-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-weight: 750; color: var(--ink); }
.wh-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wh-groups div { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 10px; text-align: center; }
.wh-groups b { display: block; font-size: 1.6rem; color: var(--ink); }
.wh-van { display: flex; align-items: center; gap: 14px; }
.wh-van .big { font-size: 3rem; animation: whvan 2.4s ease-in-out infinite; }
@keyframes whvan { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(8px); } }
.wh-ctrl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.wh-after { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wh-after li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; font-size: .92rem; color: var(--muted); }
.wh-after li span { display: block; font-size: 1.5rem; margin-bottom: 6px; }
.wh-after li b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 1rem; }
@media (max-width: 1020px) { .wh-after { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wh-panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .wh-flow { padding: 14px; }
  .wh-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .wh-step { padding: 10px 2px; min-width: 0; } .wh-step small { display: none; } .wh-step b { font-size: .64rem; overflow-wrap: break-word; }
  .wh-ico { width: 38px; height: 38px; font-size: 1.2rem; }
  .wh-after { grid-template-columns: minmax(0, 1fr); }
  .wh-groups b { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .wh-van .big { animation: none; } .wh-vis { animation: none; } }

/* magazzino virtuale: catalogo, giacenze e barcode */
.vw { margin-top: 36px; align-items: start; }
.vw-checks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 14px; }
.vw-t { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: .86rem; }
.vw-t th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 10px; }
.vw-t td { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 10px; transition: background .4s; }
.vw-t td:first-child { border-left: 1px solid var(--line); border-radius: 10px 0 0 10px; }
.vw-t td:last-child { border-right: 1px solid var(--line); border-radius: 0 10px 10px 0; text-align: right; }
.vw-t td b { color: var(--ink); } .vw-t small { display: block; color: var(--muted); }
.vw-t code { font-size: .78rem; color: #2563eb; font-weight: 700; }
.vw-t .miss { color: #b45309; font-size: .78rem; font-weight: 700; }
.vw-q { font-weight: 800; color: var(--ink); white-space: nowrap; }
.vw-q.low { color: #b45309; } .vw-q.out { color: #dc2626; }
.vw-t tr.hit td { background: #fff7ed; }
.vw-t tr.new td { background: #eff6ff; }
.vw-minus { display: inline-block; margin-left: 6px; color: #dc2626; font-weight: 800; animation: vwm 1.4s ease forwards; }
@keyframes vwm { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
.vw-print { font: inherit; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 8px; cursor: pointer; }
.vw-print:disabled { opacity: .35; cursor: not-allowed; }
.vw-msg { margin: 8px 0 0; color: var(--muted); }
.vw-label { margin-top: 12px; width: 250px; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px 8px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); animation: labelIn .6s cubic-bezier(.2, .9, .3, 1.2) both; font-family: Arial, sans-serif; color: #000; }
.vw-label b { display: block; font-size: .82rem; } .vw-label small { display: block; font-size: .7rem; color: #334155; }
.vw-label svg { display: block; width: 100%; height: auto; margin-top: 6px; }
.wh-title { margin-top: 56px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
@media (max-width: 720px) { .vw-checks { grid-template-columns: minmax(0, 1fr); } .vw-t th:nth-child(2), .vw-t td:nth-child(2) { display: none; } }
.vw-bc-m { display: none !important; }
@media (max-width: 720px) { .vw-bc-m { display: block !important; } }
