@charset "UTF-8";
/* TrilùTable · sito pubblico. Un solo foglio di stile per tutte le pagine del sito (la demo usa demo.css). */

/* ── 1. Token ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #0b0a09;
  --bg-2: #100c09;
  --surface: #151312;
  --surface-2: #1b1816;
  --surface-3: #24201c;
  --line: rgba(255, 236, 220, .09);
  --line-2: rgba(255, 236, 220, .16);
  --text: #f6f1ea;
  --text-2: #d0c7bc;
  --text-3: #a99f94;
  --accent: #ff833f;
  --accent-2: #ff9d5e;
  --accent-3: #ffb98a;
  --accent-ink: #1d0e05;
  --blue: #b4ceff;
  --blue-bg: #1a2842;
  --grey: #d6dce4;
  --grey-bg: #262b32;
  --orange-bg: #3d2617;
  --ok: #9fe6bd;
  --ok-bg: #15301f;
  --danger: #ffb0a3;
  --danger-line: #ff8f7f;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Cambria, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-deep: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 24px 60px -30px rgba(0, 0, 0, .8);
}

/* ── 2. Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.nav-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(255, 131, 63, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 650; text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip-link:focus { transform: none; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--text); }
h1, h2, .display { font-family: var(--serif); letter-spacing: -.012em; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.55rem + 4.4vw, 5.25rem); }
h2 { font-size: clamp(2.05rem, 1.45rem + 2.7vw, 3.6rem); }
h1 em, h2 em, .display em { display: block; font-style: italic; color: var(--accent-2); letter-spacing: -.01em; }
h1 em.inline, h2 em.inline { display: inline; }
h3 { font-family: var(--sans); font-size: 1.16rem; font-weight: 640; letter-spacing: -.01em; line-height: 1.32; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); line-height: 1.68; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-3); }
.small { font-size: .9rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .75em; margin: 0 0 1.15rem; font: 650 .76rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .8; }
.center .eyebrow::before, .eyebrow.plain::before { display: none; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.serif { font-family: var(--serif); }
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── 3. Layout ────────────────────────────────────────────────────────────── */
.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.shell-narrow { width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(76px, 9vw, 132px); isolation: isolate; }
.section-tight { padding-block: clamp(56px, 6vw, 88px); }
.section + .section.no-top { padding-top: 0; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 + .lead, .section-head h2 + p { margin-top: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split.wide-right { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.split.text-wide { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.split.top { align-items: start; }
.split.reverse > :first-child { order: 2; }
.stack > * + * { margin-top: 18px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.line-top { border-top: 1px solid var(--line); }

/* Glow e bokeh: luci calde come negli spot, solo decorative. */
.glow::before, .bokeh::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow::before { background: radial-gradient(60% 55% at var(--gx, 72%) var(--gy, 38%), rgba(255, 118, 46, .17), rgba(255, 118, 46, .05) 45%, transparent 72%); }
.glow-left { --gx: 18%; --gy: 40%; }
.glow-center { --gx: 50%; --gy: 50%; }
.glow-low { --gy: 85%; }
.bokeh::after {
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 160, 100, .09), rgba(255, 160, 100, .04) 30px, transparent 34px),
    radial-gradient(circle at 22% 78%, rgba(255, 140, 80, .07), rgba(255, 140, 80, .03) 46px, transparent 52px),
    radial-gradient(circle at 46% 10%, transparent 26px, rgba(255, 180, 130, .08) 27px, transparent 30px),
    radial-gradient(circle at 74% 86%, rgba(255, 150, 90, .08), rgba(255, 150, 90, .03) 40px, transparent 46px),
    radial-gradient(circle at 90% 24%, transparent 40px, rgba(255, 180, 130, .07) 41px, transparent 45px),
    radial-gradient(circle at 62% 46%, rgba(255, 170, 110, .05), transparent 70px),
    radial-gradient(circle at 96% 64%, rgba(255, 160, 100, .08), rgba(255, 160, 100, .03) 22px, transparent 26px);
}
.clip { overflow: clip; }

/* ── 4. Bottoni, link, pill ───────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .72em 1.35em; border-radius: 999px; border: 1px solid transparent; font: 650 .97rem/1.2 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: linear-gradient(180deg, #ffa566, #ff7c35); color: var(--accent-ink); box-shadow: 0 12px 32px -12px rgba(255, 122, 50, .75), inset 0 1px 0 rgba(255, 255, 255, .38); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 44px -14px rgba(255, 122, 50, .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: rgba(255, 255, 255, .035); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 185, 140, .5); background: rgba(255, 140, 70, .08); }
.btn-sm { min-height: 44px; padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.03rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.btn-play .play-dot { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; border-radius: 50%; background: rgba(255, 140, 70, .16); color: var(--accent-2); }
.btn-play .play-dot .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .actions { justify-content: center; }
.text-link { color: var(--accent-3); text-decoration: underline; text-decoration-color: rgba(255, 170, 110, .45); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: currentColor; }
.arrow-link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; color: var(--accent-3); font-weight: 620; text-decoration: none; }
.arrow-link .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.arrow-link:hover .i { transform: translateX(3px); }
.pill { display: inline-flex; align-items: center; gap: .6em; padding: .42em 1em .42em .45em; border-radius: 999px; border: 1px solid rgba(255, 150, 90, .45); background: rgba(24, 16, 11, .7); color: var(--text); font-weight: 600; font-size: .98rem; white-space: nowrap; box-shadow: 0 0 40px -12px rgba(255, 122, 50, .45); }
.pill .pill-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, #ffa566, #ff7c35); color: var(--accent-ink); }
.pill .pill-check .i { width: 15px; height: 15px; stroke-width: 2.6; }
.pill b { color: var(--accent-2); font-weight: 700; }
.pill-lg { font-size: 1.15rem; padding: .5em 1.2em .5em .5em; }
.pill-lg .pill-check { width: 32px; height: 32px; }
.tag { display: inline-flex; align-items: center; gap: .45em; padding: .3em .75em; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.tag-accent { border-color: rgba(255, 150, 90, .4); color: var(--accent-3); background: rgba(255, 131, 63, .08); }
.tag .i { width: 15px; height: 15px; }

/* ── 5. Header e navigazione ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); border-bottom: 1px solid transparent; transition: border-color .3s; }
/* Il blur sta su uno pseudo-elemento: un backdrop-filter sull'header confinerebbe il menu mobile fisso. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 10, 9, .74); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); transition: background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(11, 10, 9, .9); }
.header-bar { display: flex; align-items: center; gap: 20px; height: 100%; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; text-decoration: none; }
.brand img { width: auto; height: 42px; }
.main-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 12px; margin-left: 12px; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-link, .nav-sub-toggle { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font-size: .94rem; font-weight: 560; text-decoration: none; cursor: pointer; transition: color .2s, background-color .2s; }
.nav-link:hover, .nav-sub-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-link[aria-current="page"], .nav-sub-toggle.is-current { color: var(--text); }
.nav-link[aria-current="page"]::after, .nav-sub-toggle.is-current::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #ffa566, #ff7c35); }
.nav-sub-toggle .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-link, .nav-sub-toggle, .nav-login { white-space: nowrap; }
/* Desktop stretto: voci più compatte, così il menu resta su una riga. */
@media (min-width: 1121px) and (max-width: 1260px) {
  .main-nav { margin-left: 4px; }
  .nav-link, .nav-sub-toggle, .nav-login { padding-inline: 9px; }
  .nav-actions .btn-sm { padding-inline: 1em; }
}
.nav-sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav-sub { position: absolute; top: calc(100% + 10px); left: -8px; z-index: 5; min-width: 300px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(22, 19, 17, .98); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); display: none; }
.has-sub.is-open .nav-sub { display: block; }
.nav-sub a { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 9px 14px; border-radius: 12px; color: var(--text); font-weight: 600; text-decoration: none; }
.nav-sub a small { color: var(--text-3); font-weight: 450; font-size: .84rem; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: rgba(255, 140, 70, .09); }
.nav-sub a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-size: .94rem; font-weight: 560; text-decoration: none; }
.nav-login:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-login .i { width: 17px; height: 17px; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; margin-left: auto; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); font-weight: 600; cursor: pointer; }
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 5px; }
.nav-toggle .bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  /* Senza JavaScript il menu resta aperto e impilato: vedi il blocco <noscript> nell'head delle pagine. */
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; margin: 0; padding: 12px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-top: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link, .nav-sub-toggle { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--text); }
  .nav-link:hover, .nav-sub-toggle:hover { background: none; color: var(--accent-3); }
  .nav-link[aria-current="page"]::after, .nav-sub-toggle.is-current::after { left: auto; right: 6px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav-sub-toggle.is-current::after { right: 34px; }
  .nav-sub { position: static; min-width: 0; padding: 6px 0 12px 8px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .nav-sub a { font-size: 1.02rem; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 28px; }
  .nav-actions .btn { width: 100%; min-height: 54px; font-size: 1.02rem; }
  .nav-login { justify-content: center; min-height: 54px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 1.02rem; }
}
@media (max-width: 420px) {
  :root { --header-h: 64px; }
  .brand img { height: 36px; }
  .nav-toggle .label { display: none; }
  .nav-toggle { padding: 0 13px; }
}

/* ── 6. Footer ────────────────────────────────────────────────────────────── */
.site-footer { position: relative; padding: clamp(64px, 8vw, 104px) 0 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #0d0b0a, #080706); isolation: isolate; overflow: clip; }
.site-footer::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; z-index: -1; background: radial-gradient(50% 50% at 50% 40%, rgba(255, 118, 46, .09), transparent 70%); pointer-events: none; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.4fr); gap: clamp(36px, 6vw, 88px); }
.footer-brand img { width: 196px; height: auto; }
.footer-payoff { margin: 22px 0 12px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.footer-payoff em { color: var(--accent-2); }
.footer-brand p { color: var(--text-3); max-width: 34ch; }
.footer-brand .btn { margin-top: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { margin: 0 0 10px; font: 650 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.footer-cols ul { margin: 0; padding: 0; list-style: none; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--text-2); text-decoration: none; font-size: .95rem; }
.footer-cols a:hover { color: var(--accent-3); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-3); }

/* ── 7. Hero home ─────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); overflow: clip; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -10% -20% auto 30%; height: 120%; z-index: -1; background: radial-gradient(48% 46% at 55% 42%, rgba(255, 112, 40, .22), rgba(255, 112, 40, .07) 48%, transparent 72%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(28px, 4vw, 64px); align-items: center; min-height: min(720px, calc(100svh - var(--header-h) - 80px)); }
.hero h1 { margin-bottom: 26px; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.hero h1 span { display: block; }
.hero .lead { max-width: 33em; }
.hero .actions { margin: 34px 0 30px; }
.hero-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; color: var(--text-3); font-size: .93rem; }
.hero-offer p { margin: 0; max-width: 30ch; }
.hero-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); }
.hero-strip > span:first-child { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 650; }
.hero-strip ul { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; list-style: none; font-family: var(--serif); font-size: 1.12rem; color: var(--text-2); }

/* Scena prodotto (illustrazione HTML con dati di esempio) */
.stage { position: relative; perspective: 1700px; padding: 24px 0 205px; }
.stage-halo { position: absolute; inset: 6% 2% 0 6%; z-index: -1; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 122, 50, .24), transparent 70%); filter: blur(10px); }
.mock { font-family: var(--sans); color: #ecebe8; }
.mock-window { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: linear-gradient(180deg, #17181b, #101113); box-shadow: var(--shadow-deep), 0 40px 90px -50px rgba(255, 122, 50, .55); transform: rotateY(-10deg) rotateX(6deg) rotateZ(.8deg); transform-origin: 62% 50%; }
.mock-top { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: #9c9ca3; font-size: 12px; }
.mock-top img { width: 24px; height: 24px; }
.mock-top b { color: #f0efec; font-weight: 600; }
.mock-top .mock-badge { padding: 2px 7px; border: 1px solid rgba(255, 140, 70, .5); border-radius: 5px; color: #ffa368; font-size: 9.5px; letter-spacing: .08em; }
.mock-top .mock-right { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.mock-top .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mock-body { padding: 20px 20px 18px; }
.mock-kicker { margin: 0; color: #ff9d5e; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mock-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 0 16px; }
.mock-title strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #f6f5f2; }
.mock-title span { color: #9a9aa1; font-size: 11.5px; }
.mock-title .mock-new { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; background: linear-gradient(180deg, #ffa566, #ff7c35); color: #1d0e05; font-size: 11px; font-weight: 700; white-space: nowrap; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.mock-kpi { padding: 10px 11px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.mock-kpi span { display: block; color: #9d9da4; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpi strong { display: block; margin-top: 3px; font-size: 23px; font-weight: 600; letter-spacing: -.03em; color: #f6f5f2; font-variant-numeric: tabular-nums; }
.mock-kpi.attention { border-color: rgba(255, 140, 70, .45); background: rgba(255, 131, 63, .07); }
.mock-kpi.attention strong { color: #ffa368; }
.mock-rows { border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; overflow: hidden; }
.mock-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px 68px 36px 92px; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 11.5px; color: #c9c9cd; }
.mock-row:first-child { border-top: 0; }
.mock-row.head { padding-block: 8px; background: rgba(255, 255, 255, .02); color: #8d8d95; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mock-row time { color: #f0efec; font-weight: 600; font-variant-numeric: tabular-nums; }
.mock-guest { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mock-guest i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #2a2622; color: #e8c6ab; font-size: 9px; font-style: normal; font-weight: 700; }
.mock-guest > span { min-width: 0; }
.mock-guest b { display: block; color: #f3f2ef; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-guest small { display: block; color: #8f8f97; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row.is-new { background: linear-gradient(90deg, rgba(255, 131, 63, .2), rgba(255, 131, 63, .06)); box-shadow: inset 0 0 0 1px rgba(255, 150, 90, .55); }
.mock-row.is-new .mock-guest small { color: #ffb07a; }
.st { display: inline-flex; align-items: center; gap: 5px; justify-self: start; padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 650; white-space: nowrap; }
.st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st-arrived { color: var(--blue); background: var(--blue-bg); box-shadow: inset 0 0 0 1px rgba(160, 190, 255, .25); }
.st-confirmed { color: var(--grey); background: var(--grey-bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.st-pending { color: #ffad78; background: var(--orange-bg); box-shadow: inset 0 0 0 1px rgba(255, 140, 70, .35); }
.st-ok { color: var(--ok); background: var(--ok-bg); box-shadow: inset 0 0 0 1px rgba(140, 230, 180, .3); }
.float { position: absolute; z-index: 2; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(24, 22, 21, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.float-call { left: -4%; bottom: 0; width: min(300px, 56%); padding: 14px 14px 12px; }
.float-call header { display: flex; align-items: center; gap: 10px; }
.float-call header img { width: 34px; height: 34px; }
.float-call header small { display: block; color: #ff9d5e; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.float-call header b { display: block; color: #f6f5f2; font-size: 13px; font-weight: 600; }
.float-call header time { margin-left: auto; color: #8d8d95; font-size: 11px; font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: 2px; height: 26px; margin: 10px 0 10px; }
.wave i { flex: 1; max-width: 3px; border-radius: 2px; background: linear-gradient(180deg, #ffb27c, #ff7c35); height: calc(var(--h, .5) * 100%); }
.bubble { margin-top: 8px; padding: 9px 11px; border-radius: 12px; font-size: 12px; line-height: 1.45; color: #ecebe8; }
.bubble small { display: block; margin-bottom: 2px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; }
.bubble-guest { margin-right: 14%; background: #26282c; border: 1px solid rgba(255, 255, 255, .08); }
.bubble-guest small { color: #a6a6ad; }
.bubble-agent { margin-left: 14%; background: rgba(255, 131, 63, .14); border: 1px solid rgba(255, 150, 90, .4); }
.bubble-agent small { color: #ffa368; }
.float-toast { right: -2%; bottom: 74px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; max-width: 52%; }
.float-toast .tick { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #ffa566, #ff7c35); color: #1d0e05; }
.float-toast .tick .i { width: 18px; height: 18px; stroke-width: 2.6; }
.float-toast b { display: block; color: #f6f5f2; font-size: 13px; font-weight: 650; }
.float-toast span { display: block; color: #a9a9b0; font-size: 11.5px; }
@media (prefers-reduced-motion: no-preference) {
  .float-call { animation: drift 7s ease-in-out infinite; }
  .float-toast { animation: drift 8s ease-in-out -3s infinite; }
  .wave i { animation: wave 1.6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1s); transform-origin: center; }
}
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }

/* ── 8. Problema: notifiche come nello spot ───────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.problem-time { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--text-3); font-size: .78rem; font-weight: 650; letter-spacing: .24em; text-transform: uppercase; }
.problem-time::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5b4a; box-shadow: 0 0 12px #ff5b4a; }
.pain-list { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); }
.pain-list .i { margin-top: 3px; color: var(--accent-2); }
.notif-stack { position: relative; display: grid; gap: 12px; max-width: 470px; margin-inline: auto; }
.notif { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; background: rgba(30, 28, 27, .82); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9); }
.notif:nth-child(2) { margin-left: 5%; opacity: .92; }
.notif:nth-child(3) { margin-left: 2%; }
.notif .app-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: #fff; }
.notif .app-ico .i { width: 21px; height: 21px; }
.app-ico.green { background: linear-gradient(180deg, #3fd06b, #23a24b); }
.app-ico.wa { background: linear-gradient(180deg, #31d17f, #179e5c); }
.app-ico.blue { background: linear-gradient(180deg, #4d8dff, #2563eb); }
.app-ico.red { background: linear-gradient(180deg, #ff6a5c, #e0412f); }
.notif small { display: block; color: var(--text-3); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.notif b { display: block; color: var(--text); font-weight: 620; }
.notif span { display: block; color: var(--text-2); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif time { align-self: start; color: var(--text-3); font-size: .78rem; }
.clash { position: relative; margin-top: 10px; padding: 16px 18px; border: 1px solid rgba(255, 110, 90, .45); border-radius: 18px; background: linear-gradient(180deg, rgba(70, 24, 18, .55), rgba(40, 18, 14, .55)); }
.clash-title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #ffb3a6; font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.clash-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--text-2); font-size: .95rem; }
.clash-row:first-of-type { border-top: 0; }
.clash-row b { color: var(--text); }
.clash-row s { color: var(--text-3); }
.resolve { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding: 18px 20px; border: 1px solid rgba(255, 150, 90, .35); border-radius: 18px; background: rgba(255, 131, 63, .06); }
.resolve p { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.resolve img { width: 40px; height: 40px; flex: none; }

/* ── 9. Ecosistema 3D ─────────────────────────────────────────────────────── */
.eco-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eco-flow { display: grid; gap: 22px; margin-top: 36px; }
.eco-flow h3 { margin-bottom: 10px; color: var(--text-3); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eco-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eco-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 16px 8px 8px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--text); transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.eco-chip .ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #23201d; color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(255, 150, 90, .35); }
.eco-chip .ico .i { width: 17px; height: 17px; }
.eco-chip small { display: block; color: var(--text-3); font-size: .8rem; line-height: 1.2; }
.eco-chip.is-hot { border-color: rgba(255, 150, 90, .6); background: rgba(255, 131, 63, .09); transform: translateY(-1px); }
.eco-arrow { display: flex; align-items: center; gap: 10px; color: var(--accent-2); font-size: .9rem; font-weight: 600; }
.eco-arrow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 150, 90, .6), transparent); }
.eco-visual { position: relative; aspect-ratio: 1.16; width: 100%; isolation: isolate; }
.eco-visual::before { content: ""; position: absolute; inset: 8% 10%; z-index: -1; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 122, 50, .2), transparent 70%); }
.eco-poster, .eco-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-poster { object-fit: contain; transition: opacity .6s var(--ease); }
.eco-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.eco-visual.is-live .eco-poster { opacity: 0; }
.eco-labels { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.eco-visual.is-live .eco-labels { opacity: 1; }
.eco-label { position: absolute; padding: 3px 8px; border-radius: 6px; background: rgba(11, 10, 9, .7); color: var(--text-2); font-size: .82rem; font-weight: 560; white-space: nowrap; transform: translate(-50%, 0); transition: color .25s; }
.eco-label.is-hot { color: var(--accent-3); }
.eco-label.core { font-family: var(--serif); font-size: 1rem; color: var(--text); }

/* ── 10. Agenda interattiva ───────────────────────────────────────────────── */
.feature-list { display: grid; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.feature-list .ico, .card .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(180deg, #24201d, #1a1715); color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(255, 150, 90, .3), 0 10px 24px -14px rgba(255, 122, 50, .6); }
.feature-list h3 { margin-bottom: 4px; }
.feature-list p { color: var(--text-3); }
.panel { position: relative; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: linear-gradient(180deg, #17181b, #111214); box-shadow: var(--shadow-deep), 0 40px 100px -60px rgba(255, 122, 50, .5); }
.agenda-card { padding: clamp(16px, 2.4vw, 26px); }
.agenda-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.agenda-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; }
.agenda-head h3 .count { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 7px; background: #26282c; color: var(--text-2); font-size: .8rem; }
.agenda-head p { margin: 4px 0 0; color: var(--text-3); font-size: .88rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .25); }
.seg button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--text-3); font-size: .88rem; font-weight: 600; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: rgba(255, 131, 63, .14); color: var(--accent-3); box-shadow: inset 0 0 0 1px rgba(255, 150, 90, .45); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.kpi { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .025); }
.kpi span { display: block; color: var(--text-3); font-size: .8rem; }
.kpi strong { display: block; margin-top: 2px; font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi.attention { border-color: rgba(255, 140, 70, .45); background: rgba(255, 131, 63, .07); }
.kpi.attention strong { color: var(--accent-2); }
.agenda-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.agenda-table th { padding: 10px 10px; border-bottom: 1px solid var(--line); color: var(--text-3); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.agenda-table td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: var(--text-2); vertical-align: middle; }
.agenda-table tr:last-child td { border-bottom: 0; }
.agenda-table td.time { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.agenda-table .guest { display: flex; align-items: center; gap: 10px; min-width: 0; }
.agenda-table .avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #2a2622; color: #e8c6ab; font-size: .72rem; font-weight: 700; }
.agenda-table .guest b { display: block; color: var(--text); font-weight: 620; }
.agenda-table .guest small { display: block; color: var(--text-3); font-size: .8rem; }
.agenda-table .guest .meta-m { display: none; }
.agenda-table .guest b, .agenda-table .guest small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-table .guest > span:last-child { min-width: 0; }
/* Colonne a larghezza fissa: l'ospite prende lo spazio che resta (con i puntini), la tabella non esce mai dalla card.
   Se la card è stretta (colonna laterale, tablet) restano ora, ospite e stato; coperti, canale e tavolo vanno sotto il nome. */
.agenda-card { container-type: inline-size; }
.agenda-table { table-layout: fixed; }
.agenda-table th:nth-child(1) { width: 64px; }
.agenda-table th:nth-child(3) { width: 74px; }
.agenda-table th:nth-child(4) { width: 90px; }
.agenda-table th:nth-child(5) { width: 66px; }
.agenda-table th:nth-child(6) { width: 130px; }
@container (max-width: 600px) {
  .agenda-table th:nth-child(3), .agenda-table th:nth-child(4), .agenda-table th:nth-child(5),
  .agenda-table td.c-num, .agenda-table td.c-chan, .agenda-table td.c-table { display: none; }
  .agenda-table .guest .meta-m { display: block; }
}
.agenda-table .st { font-size: .76rem; padding: 4px 9px; }
.agenda-table tr.is-flash td { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { background: rgba(255, 131, 63, .22); } 100% { background: transparent; } }
/* La cella resta una table-cell (un display:flex su <td> romperebbe la tabella): stato sopra, pulsante sotto. */
.agenda-table td.status-cell { width: 1%; white-space: nowrap; }
.status-cell .confirm-btn { margin-top: 6px; }
.confirm-btn { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 150, 90, .55); border-radius: 999px; background: rgba(255, 131, 63, .12); color: var(--accent-3); font-size: .8rem; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.confirm-btn:hover { background: rgba(255, 131, 63, .24); }
.confirm-btn .i { width: 15px; height: 15px; stroke-width: 2.4; }
.agenda-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .84rem; }
.agenda-foot [role="status"] { color: var(--accent-3); font-weight: 600; }
.agenda-table tr[hidden] { display: none; }

/* ── 11. Sala: anteprima incorporata ──────────────────────────────────────── */
.frame { overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: #0f0f10; box-shadow: var(--shadow-deep), 0 40px 120px -60px rgba(255, 122, 50, .55); }
.frame-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 18px; border-bottom: 1px solid var(--line); color: var(--text-3); font-size: .86rem; }
.frame-bar .who { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.frame-bar .who img { width: 24px; height: 24px; }
.frame-bar .live { display: inline-flex; align-items: center; gap: 8px; }
.frame-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.floor-frame { display: block; width: 100%; height: 860px; border: 0; background: #0c0d0e; }
.frame-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 6px 18px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .86rem; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: .92rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

/* ── 12. Media (fotogrammi degli spot) ────────────────────────────────────── */
.media { position: relative; isolation: isolate; }
.media::before { content: ""; position: absolute; inset: 10% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 122, 50, .18), transparent 70%); filter: blur(8px); }
.media img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 84%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 84%, transparent); mask-composite: intersect; }
.media.narrow { width: 100%; max-width: 460px; margin-inline: auto; }
.media.mid { width: 100%; max-width: 620px; margin-inline: auto; }
.media figcaption { margin-top: 10px; color: var(--text-3); font-size: .84rem; text-align: center; }

/* ── 13. Telefono, menù al tavolo, pagina Prenota ─────────────────────────── */
.device { position: relative; width: min(100%, 320px); margin-inline: auto; padding: 14px 12px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 44px; background: linear-gradient(180deg, #1b1b1d, #0d0d0e); box-shadow: var(--shadow-deep), inset 0 0 0 4px #050505, 0 40px 100px -60px rgba(255, 122, 50, .6); }
.device::before { content: ""; display: block; width: 86px; height: 24px; margin: 0 auto 10px; border-radius: 999px; background: #050505; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.device-screen { overflow: hidden; border-radius: 30px; background: #111113; }
.order-ui { padding: 16px 14px 14px; font-size: .9rem; }
.order-ui header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.order-ui header b { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 400; }
.order-ui header small { display: block; color: var(--text-3); font-size: .78rem; }
.order-ui .table-badge { padding: 4px 10px; border: 1px solid rgba(255, 150, 90, .45); border-radius: 999px; color: var(--accent-3); font-size: .78rem; font-weight: 650; }
.menu-cats { display: flex; gap: 6px; margin-bottom: 10px; overflow: hidden; }
.menu-cats span { padding: 5px 10px; border-radius: 999px; background: #222225; color: var(--text-3); font-size: .76rem; font-weight: 600; white-space: nowrap; }
.menu-cats span.on { background: rgba(255, 131, 63, .16); color: var(--accent-3); }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.menu-item b { font-weight: 620; color: var(--text); }
.menu-item small { grid-column: 1; color: var(--text-3); font-size: .78rem; }
.menu-item .qty { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.menu-item .qty i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-style: normal; color: var(--accent-3); }
.pin-box { margin-top: 12px; padding: 12px; border: 1px solid rgba(255, 150, 90, .35); border-radius: 16px; background: rgba(255, 131, 63, .06); }
.pin-box small { display: block; margin-bottom: 8px; color: var(--text-3); font-size: .76rem; }
.pin-digits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.pin-digits span { display: grid; place-items: center; height: 34px; border-radius: 8px; background: #1d1d20; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.send-order { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; min-height: 42px; border-radius: 999px; background: linear-gradient(180deg, #ffa566, #ff7c35); color: var(--accent-ink); font-weight: 700; font-size: .88rem; }
.duo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.ticket { position: absolute; right: 0; bottom: 8%; width: min(260px, 56%); padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(24, 22, 21, .95); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.ticket small { display: block; color: var(--accent-2); font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.ticket b { display: block; margin: 4px 0 8px; font-size: 1.02rem; }
.ticket ul { margin: 0 0 10px; padding: 0; list-style: none; color: var(--text-2); font-size: .86rem; }
.ticket li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.ticket.left { left: 0; right: auto; top: 10%; bottom: auto; }
.prenota-visual { position: relative; display: grid; gap: 16px; width: 100%; max-width: 520px; margin-inline: auto; }
.url-bar { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #121112; color: var(--text-3); font-size: .95rem; overflow: hidden; white-space: nowrap; }
.url-bar .i { color: var(--ok); width: 16px; height: 16px; }
.url-bar b { color: var(--text); font-weight: 600; }
.url-bar em { color: var(--accent-2); font-style: normal; font-weight: 650; }
.booking-card { padding: clamp(16px, 2.6vw, 24px); }
.booking-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.booking-card .sub { margin: 4px 0 16px; color: var(--text-3); font-size: .9rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip-row span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--text-2); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip-row span.on { border-color: rgba(255, 150, 90, .7); background: rgba(255, 131, 63, .14); color: var(--accent-3); }
.chip-row span.off { color: rgba(201, 191, 180, .45); text-decoration: line-through; }
.chip-label { margin: 0 0 8px; color: var(--text-3); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.qr-card { position: absolute; right: -9%; bottom: -19%; display: grid; justify-items: center; gap: 8px; width: 168px; padding: 14px 14px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: rgba(24, 22, 21, .96); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); text-align: center; }
.qr-card img { width: 120px; height: 120px; border-radius: 8px; }
.qr-card b { font-size: .86rem; }
.qr-card small { color: var(--text-3); font-size: .72rem; line-height: 1.3; }

/* ── 14. Spot video ───────────────────────────────────────────────────────── */
.spots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.spot { display: flex; flex-direction: column; align-items: center; text-align: center; }
.phone { position: relative; width: min(100%, 300px); padding: 30px 9px 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 46px; background: linear-gradient(180deg, #1c1c1e, #0b0b0c); box-shadow: inset 0 0 0 3px #050505, 0 40px 80px -30px rgba(0, 0, 0, .95), 0 40px 100px -50px rgba(255, 122, 50, .6); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 12px; border-radius: 999px; background: #050505; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transform: translateX(-50%); }
.phone video { width: 100%; aspect-ratio: 9 / 16; border-radius: 30px; background: #000; object-fit: cover; }
.spot.is-playing .phone { box-shadow: inset 0 0 0 3px #050505, 0 40px 80px -30px rgba(0, 0, 0, .95), 0 50px 120px -40px rgba(255, 122, 50, .85); transform: translateY(-4px); }
.spot-num { margin: 26px 0 6px; color: var(--accent-2); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.spot h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -.01em; }
.spot p { max-width: 30ch; margin: 8px auto 0; color: var(--text-3); }
.spots-note { margin-top: 26px; color: var(--text-3); font-size: .88rem; text-align: center; }

/* ── 15. Offerta "Installazione 0 €" ──────────────────────────────────────── */
.offer { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 72px); border: 1px solid rgba(255, 150, 90, .28); border-radius: 32px; background: radial-gradient(70% 70% at 50% 0%, rgba(255, 122, 50, .2), transparent 70%), linear-gradient(180deg, #17120e, #0e0c0b); text-align: center; isolation: isolate; }
.offer::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 220, 190, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 220, 190, .045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(60% 70% at 50% 100%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 100%, #000, transparent 75%); pointer-events: none; }
.offer-mark { width: 76px; height: 76px; margin: 0 auto 22px; filter: drop-shadow(0 0 26px rgba(255, 122, 50, .6)); }
.offer h2 { margin-bottom: 22px; }
.offer .pill { margin-bottom: 18px; }
.offer .lead { margin: 0 auto 30px; }
.offer-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 0 0 34px; padding: 0; list-style: none; color: var(--text-2); }
.offer-list li { display: inline-flex; align-items: center; gap: 8px; }
.offer-list .i { width: 18px; height: 18px; color: var(--accent-2); }

/* ── 16. Card, griglie, passi ─────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-l); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); }
.card .ico { margin-bottom: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-3); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: .95rem; }
.card ul li { position: relative; padding: 5px 0 5px 22px; }
.card ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent-2); }
.card-link { display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, transform .2s var(--ease), background-color .2s; }
.card-link:hover { border-color: rgba(255, 150, 90, .45); transform: translateY(-2px); }
.card-link .arrow-link { margin-top: auto; padding-top: 14px; }
.card-accent { border-color: rgba(255, 150, 90, .4); background: radial-gradient(90% 70% at 50% 0%, rgba(255, 122, 50, .14), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); }
.card .num { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 2rem; font-style: italic; color: var(--accent-2); line-height: 1; }
.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps > li { position: relative; padding: 26px 22px 24px; border-top: 1px solid rgba(255, 150, 90, .45); background: linear-gradient(180deg, rgba(255, 131, 63, .06), transparent 70%); border-radius: 0 0 18px 18px; }
.steps > li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--serif); font-size: 1.7rem; font-style: italic; color: var(--accent-2); line-height: 1; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--text-3); }
.big-words { display: flex; flex-wrap: wrap; gap: 0 .35em; margin: 0 0 22px; font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.15; }
.big-words span:last-child { font-style: italic; color: var(--accent-2); }

/* Sedi e ruoli */
.sedi { display: grid; gap: 12px; }
.sede { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .025); }
.sede .mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #2a2420; color: #f0c7a6; font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.sede b { display: block; }
.sede small { display: block; color: var(--text-3); font-size: .86rem; }
.sede .nums { display: flex; gap: 16px; color: var(--text-2); font-size: .86rem; text-align: right; }
.sede .nums strong { display: block; color: var(--text); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.sede.master { border-color: rgba(255, 150, 90, .4); background: rgba(255, 131, 63, .06); }
.roles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ── 17. FAQ ──────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 16px 52px 16px 0; font-size: 1.06rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border: 1px solid var(--line-2); border-radius: 50%; background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat; color: var(--accent-2); transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(255, 131, 63, .1); }
.faq summary:hover { color: var(--accent-3); }
.faq details > div { padding: 0 48px 22px 0; color: var(--text-2); }
.faq details > div p { margin-bottom: .7em; }

/* ── 18. Form ─────────────────────────────────────────────────────────────── */
.form-card { padding: clamp(20px, 3.4vw, 40px); border: 1px solid var(--line-2); border-radius: 28px; background: linear-gradient(180deg, #171513, #121110); box-shadow: 0 50px 100px -60px rgba(0, 0, 0, .9), 0 40px 120px -80px rgba(255, 122, 50, .55); }
.form-card > h2, .form-card > h3 { margin-bottom: 8px; }
.form-intro { margin-bottom: 24px; color: var(--text-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { color: var(--text); font-size: .93rem; font-weight: 620; }
.field label .opt { color: var(--text-3); font-weight: 450; }
.field label .req { color: var(--accent-2); }
.input { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 14px; background: #0d0c0b; color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 128px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #8b8278; }
.input:hover { border-color: rgba(255, 236, 220, .26); }
.input:focus { outline: none; border-color: rgba(255, 160, 100, .85); box-shadow: 0 0 0 4px rgba(255, 131, 63, .18); }
.input[aria-invalid="true"] { border-color: var(--danger-line); box-shadow: 0 0 0 3px rgba(255, 120, 100, .12); }
.field-hint { margin: 0; color: var(--text-3); font-size: .84rem; }
.field-error { display: flex; align-items: flex-start; gap: 7px; margin: 0; color: var(--danger); font-size: .88rem; font-weight: 560; }
.field-error::before { content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(255, 130, 110, .2); font-size: .72rem; font-weight: 800; }
.contact-note { grid-column: 1 / -1; margin: -4px 0 0; color: var(--text-3); font-size: .86rem; }
.contact-note.is-error { color: var(--danger); font-weight: 560; }
.consent { grid-column: 1 / -1; display: grid; gap: 6px; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; color: var(--text-2); font-size: .93rem; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--danger-line); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form-actions .muted { font-size: .86rem; margin: 0; }
.form-status { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--text-2); }
.form-status:empty { display: none; }
.form-status.is-error { border-color: rgba(255, 130, 110, .55); background: rgba(90, 26, 20, .35); color: #ffd2ca; }
.form-status.is-info { border-color: rgba(255, 150, 90, .45); background: rgba(255, 131, 63, .07); color: var(--text); }
.form-status strong { display: block; margin-bottom: 2px; color: var(--text); }
.form-success { padding: clamp(8px, 2vw, 20px) 0; text-align: center; }
.form-success:focus { outline: none; }
.form-success .tick { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(180deg, #ffa566, #ff7c35); color: var(--accent-ink); box-shadow: 0 0 40px -6px rgba(255, 122, 50, .7); }
.form-success .tick .i { width: 30px; height: 30px; stroke-width: 2.6; }
.form-success h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.form-success p { color: var(--text-2); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(29, 14, 5, .35); border-top-color: var(--accent-ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.aside-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .025); }
.aside-card h3 { margin-bottom: 6px; }
.aside-card p { color: var(--text-3); }
.aside-card .arrow-link { margin-top: 6px; }
.next-steps { display: grid; gap: 18px; margin: 28px 0; padding: 0; list-style: none; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; counter-increment: ns; }
.next-steps li::before { content: counter(ns); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 150, 90, .5); color: var(--accent-2); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.next-steps b { display: block; }
.next-steps span { color: var(--text-3); }

/* ── 19. Pagine interne ───────────────────────────────────────────────────── */
.page-hero { position: relative; padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px); overflow: clip; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto 20%; height: 130%; z-index: -1; background: radial-gradient(45% 45% at 60% 45%, rgba(255, 112, 40, .18), transparent 72%); pointer-events: none; }
.page-hero h1 { max-width: 15ch; margin-bottom: 24px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .actions { margin-top: 32px; }
.page-hero .split h1 { max-width: none; font-size: clamp(2.5rem, 4.3vw, 4.25rem); }
.page-hero .photo img { aspect-ratio: 5 / 4; }
.eco-figure { position: relative; width: 100%; max-width: 600px; margin: 0 auto; isolation: isolate; }
.eco-figure::before { content: ""; position: absolute; inset: 6% 8%; z-index: -1; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 122, 50, .26), transparent 70%); filter: blur(6px); }
.eco-figure img { width: 100%; height: auto; }
.eco-figure figcaption { margin-top: 4px; color: var(--text-3); font-family: var(--serif); font-style: italic; font-size: 1.05rem; text-align: center; }
.venue-config { padding: clamp(18px, 2.6vw, 28px); }
.vc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
.vc-title { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); }
.vc-title em { display: inline; }
.vc-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vc-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .025); }
.vc-item.is-on { border-color: rgba(255, 150, 90, .45); background: rgba(255, 131, 63, .07); }
.vc-mono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #2a2420; color: #f0c7a6; font-family: var(--serif); font-style: italic; }
.vc-item b { display: block; margin-bottom: 8px; font-weight: 620; }
.vc-item b small { color: var(--text-3); font-weight: 450; font-size: .88rem; }
.vc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vc-chips li { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: .84rem; font-weight: 560; }
.vc-item.is-on .vc-chips li { border-color: rgba(255, 150, 90, .4); color: var(--accent-3); }
.vc-foot { margin: 16px 2px 0; color: var(--text-3); font-size: .88rem; }
.contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; color: var(--text-3); font-size: .92rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--text-3); font-size: .86rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: -12px; color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent-3); }
.chips-nav { position: sticky; top: var(--header-h); z-index: 20; border-block: 1px solid var(--line); background: rgba(11, 10, 9, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.chips-nav ul { display: flex; gap: 6px; margin: 0; padding: 8px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.chips-nav ul::-webkit-scrollbar { display: none; }
.chips-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--text-2); font-size: .9rem; font-weight: 560; text-decoration: none; white-space: nowrap; }
.chips-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.feature-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.feature-block:first-child { border-top: 0; }
.feature-block.reverse > :first-child { order: 2; }
.feature-block h2 { margin-bottom: 20px; }
.ticks { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 131, 63, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa566' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 150, 90, .4); }
.ticks li b { color: var(--text); }
.note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line-2); border-radius: 24px; background: rgba(255, 255, 255, .025); }
.note .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #23201d; color: var(--accent-2); }
.note h2, .note h3 { margin-bottom: 8px; }
.note h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.note p { color: var(--text-2); }
.note ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--text-2); }
.note ul li { margin: 4px 0; }
.photo { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-deep); }
.photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 10px; background: rgba(11, 10, 9, .78); color: var(--text); font-family: var(--serif); font-style: italic; }
.mini-agenda { padding: 18px; }
.mini-agenda .row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-top: 1px solid rgba(255, 255, 255, .06); }
.mini-agenda .row:first-of-type { border-top: 0; }
.mini-agenda time { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.mini-agenda b { display: block; font-weight: 620; }
.mini-agenda small { display: block; color: var(--text-3); font-size: .84rem; }
.mini-agenda .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 4px 10px; }
.mini-agenda .head b { font-size: 1.04rem; }
.chat-list { padding: 10px; }
.chat-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 10px; border-radius: 14px; }
.chat-item + .chat-item { border-top: 1px solid rgba(255, 255, 255, .05); }
.chat-item.on { background: rgba(255, 131, 63, .08); box-shadow: inset 2px 0 0 var(--accent); }
.chat-item .avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #2a2622; color: #e8c6ab; font-size: .8rem; font-weight: 700; }
.chat-item b { display: block; font-weight: 620; }
.chat-item small { display: block; color: var(--text-3); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item .badge { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .74rem; font-weight: 800; }
.chat-item .chan { color: var(--text-3); font-size: .78rem; text-align: right; }
.plan-visual { position: relative; padding: 14px; }
.plan-visual img { width: 100%; height: auto; border-radius: 14px; }
.plan-visual .plan-board { position: relative; }
.plan-visual .tbl { position: absolute; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 8px; background: #efe7dc; color: #2a211b; font-size: clamp(8px, 1.1vw, 11px); font-weight: 700; line-height: 1.1; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.plan-visual .tbl small { display: block; font-weight: 500; opacity: .75; }
.plan-visual .tbl.round { border-radius: 50%; }
.plan-visual .tbl.sel { outline: 2px solid var(--accent); outline-offset: 3px; background: #ffb07a; }
.plan-visual .tbl.sel::after { content: ""; position: absolute; right: -9px; top: -9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #111; }
.plan-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.role-card h3 { display: flex; align-items: center; gap: 10px; }
.cta-band { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0; text-align: center; isolation: isolate; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(255, 118, 46, .2), transparent 70%); }
.cta-band h2 { margin-bottom: 18px; }
.cta-band .lead { margin: 0 auto 32px; }
.cta-band .hero-note { justify-content: center; }

/* Piani */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(22px, 2.8vw, 34px); border: 1px solid var(--line-2); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); }
.plan.featured { border-color: rgba(255, 150, 90, .55); background: radial-gradient(90% 60% at 50% 0%, rgba(255, 122, 50, .16), transparent 70%), linear-gradient(180deg, #1a1511, #121010); box-shadow: 0 40px 100px -60px rgba(255, 122, 50, .7); }
.plan-kicker { display: flex; justify-content: space-between; gap: 10px; color: var(--text-3); font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.plan-kicker b { color: var(--accent-2); }
.plan h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 2.1rem; font-weight: 400; }
.plan > p { color: var(--text-3); }
.plan-price { display: grid; gap: 2px; margin: 18px 0 22px; padding: 16px 0; border-block: 1px solid var(--line); }
.plan-price span { color: var(--text-2); }
.plan-price span b { color: var(--accent-2); }
.plan-price strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.plan-price small { color: var(--text-3); }
.plan .btn { width: 100%; }
.plan .ticks { margin-top: 24px; }
.plan .plan-fit { margin-top: auto; padding-top: 20px; color: var(--text-3); font-size: .92rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .015); }
.table-scroll:focus-visible { outline-offset: 4px; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare thead th { position: sticky; top: 0; background: #141211; color: var(--text); font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.compare thead th:first-child, .compare tbody th { text-align: left; }
.compare tbody th { color: var(--text-2); font-weight: 560; }
.compare tbody th small { display: block; color: var(--text-3); font-weight: 400; font-size: .84rem; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 131, 63, .16); color: var(--accent-2); }
.compare .yes .i { width: 15px; height: 15px; stroke-width: 2.6; }
.compare .no { color: var(--text-3); }
.compare .opt { color: var(--accent-3); font-size: .86rem; font-weight: 600; }
.compare th:first-child { position: sticky; left: 0; z-index: 1; background: #121110; }
.compare thead th:first-child { z-index: 2; background: #141211; }
.compare .group th { padding-top: 22px; color: var(--accent-2); font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.fine-print { margin-top: 18px; color: var(--text-3); font-size: .9rem; }

/* Legali */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: clamp(72px, 9vw, 120px); }
.legal-index { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.legal-index strong { margin-bottom: 8px; color: var(--text-3); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.legal-index a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-left: 1px solid var(--line-2); color: var(--text-2); text-decoration: none; font-size: .94rem; }
.legal-index a:hover { color: var(--accent-3); border-left-color: var(--accent); }
.legal-content { max-width: 760px; color: var(--text-2); }
.legal-content section { padding-top: 12px; margin-bottom: 44px; }
.legal-content h2 { margin-bottom: 18px; font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem); }
.legal-content h3 { margin: 24px 0 8px; color: var(--text); font-size: 1.06rem; }
.legal-content ul { padding-left: 1.2em; }
.legal-content li { margin: 6px 0; }
.legal-content a { color: var(--accent-3); text-underline-offset: .2em; }
.legal-status { margin-bottom: 44px; padding: 20px 22px; border: 1px solid rgba(255, 150, 90, .38); border-radius: 18px; background: rgba(255, 131, 63, .06); }
.legal-status strong { display: block; margin-bottom: 4px; color: var(--text); }
.legal-facts { display: grid; gap: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.legal-facts div { display: grid; grid-template-columns: minmax(130px, .4fr) minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.legal-facts div:first-child { border-top: 0; }
.legal-facts dt { color: var(--text-3); font-size: .9rem; }
.legal-facts dd { margin: 0; color: var(--text); }
.ph { padding: 1px 6px; border-radius: 6px; background: rgba(255, 196, 120, .14); color: #ffd3a8; font-family: var(--sans); font-weight: 600; white-space: nowrap; }
.legal-table-wrap { margin: 18px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; }
.legal-table th, .legal-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { color: var(--text); background: rgba(255, 255, 255, .03); font-weight: 650; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-meta { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; color: var(--text-3); font-size: .92rem; }
.legal-meta strong { color: var(--text); }

/* 404 */
.notfound { display: grid; place-items: center; min-height: calc(100svh - var(--header-h) - 120px); padding-block: 72px; text-align: center; }
.notfound .code { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 160, 100, .65); }
.notfound h1 { margin: 10px 0 18px; }
.notfound .lead { margin: 0 auto 30px; }

/* ── 20. Rivelazione allo scroll ──────────────────────────────────────────── */
/* site.js "arma" solo gli elementi sotto la piega: senza JS, o con movimento ridotto, tutto resta visibile. */
@media (prefers-reduced-motion: no-preference) {
  .reveal.reveal-armed { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.reveal-armed.is-visible { opacity: 1; transform: none; }
  .reveal-armed.reveal-d1 { transition-delay: .08s; }
  .reveal-armed.reveal-d2 { transition-delay: .16s; }
}

/* ── 21. Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid, .eco-grid, .problem-grid, .split, .split.even, .split.wide-right, .split.text-wide, .contact-grid, .feature-block, .cta-form-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child, .feature-block.reverse > :first-child { order: 0; }
  .hero-grid { min-height: 0; }
  .hero h1 { font-size: clamp(2.6rem, 8.6vw, 4.6rem); }
  .stage { max-width: 760px; margin-inline: auto; width: 100%; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { --cols: 2 !important; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-index { position: static; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .eco-visual { max-width: 680px; margin-inline: auto; }
  .faq-grid > :first-child { max-width: 640px; }
}
@media (max-width: 900px) {
  .cards, .cards.two { grid-template-columns: minmax(0, 1fr); }
  .spots { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(78%, 300px); gap: 18px; padding: 6px 2px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-x: contain; }
  .spot { scroll-snap-align: center; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor-frame { height: 1180px; }
  .kpis, .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { --cols: 1 !important; }
  .cards.four { grid-template-columns: minmax(0, 1fr); }
  .mock-window { transform: none; }
  .stage { padding: 12px 0 0; }
  .float { position: relative; inset: auto; }
  .float-toast { width: fit-content; max-width: 94%; margin: -22px 0 0 auto; }
  .float-call { width: min(320px, 92%); margin: 14px 0 0; }
  .mock-row { grid-template-columns: 40px minmax(0, 1fr) 88px; }
  .mock-row > :nth-child(3), .mock-row > :nth-child(4), .mock-row > :nth-child(5) { display: none; }
  .mock-kpi strong { font-size: 20px; }
  .agenda-table thead { display: none; }
  .agenda-table, .agenda-table tbody { display: block; }
  .agenda-table tr { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 2px 10px; padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .agenda-table tr:last-child { border-bottom: 0; }
  .agenda-table td { padding: 0; border: 0; }
  .agenda-table td.c-num, .agenda-table td.c-chan, .agenda-table td.c-table { display: none; }
  .agenda-table td.time { grid-row: 1 / span 2; padding-top: 6px; }
  .agenda-table td.status-cell { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: auto; margin-top: 8px; white-space: normal; }
  .status-cell .confirm-btn { margin-top: 0; }
  .agenda-table .guest .meta-m { display: block; }
  .agenda-table .guest b, .agenda-table .guest small { white-space: normal; max-width: none; }
  .notif { grid-template-columns: 36px minmax(0, 1fr); }
  .notif time { display: none; }
  .notif .app-ico { width: 36px; height: 36px; }
  .qr-card { position: relative; right: auto; bottom: auto; justify-self: end; margin-top: -40px; margin-right: 6px; }
  .ticket { position: relative; right: auto; bottom: auto; width: min(100%, 300px); margin: -36px auto 0; }
  .ticket.left { top: auto; left: auto; margin: 16px auto 0; }
  .sede { grid-template-columns: 42px minmax(0, 1fr); }
  .sede .nums, .sede > .tag { grid-column: 2; justify-content: flex-start; justify-self: start; text-align: left; }
  .offer-list { display: grid; justify-content: center; justify-items: start; }
  .offer-list li { align-items: flex-start; text-align: left; }
  .offer-list .i { margin-top: 4px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .legal-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .faq details > div { padding-right: 0; }
  .note { grid-template-columns: minmax(0, 1fr); }
  .frame-bar .live { display: none; }
  .hero-strip ul { gap: 4px 18px; font-size: 1.02rem; }
  .eco-chip { min-height: 44px; }
}
@media (max-width: 380px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; text-align: center; }
  .pill { white-space: normal; }
  .float-call .bubble { font-size: 11px; }
}

/* ── 22. Menù digitale e gestione economica (illustrazioni HTML con dati di esempio) ── */
/* Colori del grafico: entrate (arancio) e spese (blu), verificati per daltonismo sul fondo scuro dei pannelli. */
:root { --c-in: #dc6b2d; --c-out: #6a8fdb; --late: #ffb0a3; --late-bg: #3a1a15; }

/* Pagina menù pubblica sul telefono */
.menu-pub { padding: 16px 14px 14px; font-size: .88rem; }
.mp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mp-head b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.mp-head small { display: block; color: var(--text-3); font-size: .76rem; }
.mp-lang { display: inline-flex; flex: none; padding: 2px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .68rem; font-weight: 750; letter-spacing: .04em; }
.mp-lang span { padding: 3px 8px; border-radius: 999px; color: var(--text-3); }
.mp-lang span.on { background: rgba(255, 131, 63, .18); color: var(--accent-3); }
.mp-feat { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 2px 10px; align-items: start; margin: 4px 0 2px; padding: 10px; border: 1px solid rgba(255, 150, 90, .42); border-radius: 16px; background: rgba(255, 131, 63, .07); }
.mp-feat small { grid-column: 2 / -1; color: var(--accent-2); font-size: .62rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.mp-feat b { grid-column: 2; grid-row: 2; font-weight: 640; line-height: 1.25; }
.mp-feat .mp-price { grid-column: 3; grid-row: 2; }
.menu-pub .mp-feat p { grid-column: 2 / -1; grid-row: 3; }
.mp-photo { grid-row: 1 / span 3; width: 58px; height: 58px; border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 58% 40%, #6f9a3c 0 4%, transparent 5%),
    radial-gradient(circle at 42% 56%, #ffd54a 0 3%, transparent 4%),
    radial-gradient(circle at 56% 60%, #ffd54a 0 2.5%, transparent 3.5%),
    radial-gradient(circle at 50% 50%, #f5dc94 0 15%, #e9c46c 16% 22%, #f3d483 23% 26%, transparent 27%),
    radial-gradient(circle at 50% 50%, #f6f1e8 0 37%, #d8cfc2 38% 40%, transparent 41%),
    linear-gradient(135deg, #4a3326, #241a14); }
.mp-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.mp-feat + .mp-item { border-top: 0; }
.mp-item b { font-weight: 620; line-height: 1.3; }
.mp-price { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-pub p { grid-column: 1 / -1; margin: 0; color: var(--text-3); font-size: .74rem; line-height: 1.4; }
.menu-pub p.mp-al { color: #c7bdb1; }
.mp-al span { color: var(--text-3); }
.mp-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; margin: 5px 0 0; padding: 0; list-style: none; }
.mp-tags li { padding: 1px 7px; border-radius: 6px; font-size: .66rem; font-weight: 650; }
.mp-tags .veg { background: var(--ok-bg); color: var(--ok); }
.mp-tags .gf { background: #2b2516; color: #ead48f; }
.mp-tags .frozen { background: var(--blue-bg); color: var(--blue); }
.mp-item.is-out b, .mp-item.is-out .mp-price { color: var(--text-3); }
.mp-item.is-out .mp-price { text-decoration: line-through; }
.mp-out { justify-self: start; grid-column: 1 / -1; margin-top: 4px; padding: 1px 7px; border-radius: 6px; background: #2a2725; color: #d9cfc4; font-size: .66rem; font-weight: 700; }
.mp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line-2); color: var(--text-3); font-size: .72rem; }
.mp-foot .send-order { flex: 1 1 100%; margin-top: 2px; }

/* Segnatavolo con il QR del menù */
.tent { position: absolute; left: 0; bottom: 6%; z-index: 2; display: grid; justify-items: center; gap: 6px; width: 176px; padding: 14px 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px 20px 10px 10px; background: linear-gradient(180deg, #1f1b18, #141210); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 50px -20px rgba(255, 122, 50, .45); text-align: center; }
.tent::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -7px; height: 7px; border-radius: 0 0 8px 8px; background: #0d0c0b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.tent small { color: var(--accent-2); font-size: .64rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.tent img { width: 108px; height: 108px; border-radius: 8px; }
.tent b { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; }
.tent span { color: var(--text-3); font-size: .74rem; }
/* Telefono a destra; segnatavolo e comanda nello spazio a sinistra, senza coprire il menù. */
.menu-duo { justify-items: end; padding-right: clamp(0px, 3%, 28px); }
.menu-duo .device { margin-inline: auto 0; }
.menu-duo .tent { left: 0; top: 9%; bottom: auto; }
.menu-duo .ticket.low { left: 0; right: auto; top: auto; bottom: 5%; width: min(224px, 40%); }
.menu-duo.solo .tent { top: auto; bottom: 12%; }

/* Cruscotto: indicatori, grafico, elenchi */
.dash { padding: clamp(14px, 2.2vw, 26px); container-type: inline-size; }
.dash-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 16px; }
.dash-kicker, .app-kicker { margin: 0; color: var(--accent-2); font-size: .7rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.dash-top strong { display: block; margin-top: 4px; font-size: 1.35rem; font-weight: 620; letter-spacing: -.02em; }
.dash-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dash-period { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .25); }
.dash-period span { padding: 5px 10px; border-radius: 9px; color: var(--text-3); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.dash-period span.on { background: rgba(255, 131, 63, .14); color: var(--accent-3); box-shadow: inset 0 0 0 1px rgba(255, 150, 90, .45); }
.sample-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px dashed rgba(255, 185, 140, .5); border-radius: 999px; color: var(--accent-3); font-size: .74rem; font-weight: 650; white-space: nowrap; }
.dash-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.dash-kpi { min-width: 0; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .025); }
.dash-kpi span { display: block; color: var(--text-3); font-size: .78rem; }
.dash-kpi strong { display: block; margin-top: 2px; font-size: 1.55rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-kpi small { display: block; color: var(--text-3); font-size: .72rem; }
.dash-kpi.is-accent { border-color: rgba(255, 140, 70, .45); background: rgba(255, 131, 63, .08); }
.dash-kpi.is-accent strong { color: var(--accent-2); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; }
.dash-grid.half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-kpi strong small { display: inline; margin-left: 6px; font-size: .78rem; font-weight: 500; letter-spacing: 0; }
.dash-grid + .dash-grid { margin-top: 12px; }
.dash-card { min-width: 0; padding: 14px 16px 16px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .02); }
.dash-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-bottom: 14px; }
.dash-card-head b { font-size: .95rem; font-weight: 640; }
.dash-card-head small { color: var(--text-3); font-size: .78rem; }
.dash-legend { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: .78rem; }
.dash-legend li { display: inline-flex; align-items: center; gap: 6px; }
.dash-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.chart { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: 224px auto; column-gap: 8px; }
.compact .chart { grid-template-rows: 176px auto; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; margin-block: -.45em; color: var(--text-3); font-size: .7rem; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.chart-plot { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, .2); background: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 33.333%; }
.bar-g { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; }
.bar-g i { width: min(18px, 42%); height: calc(var(--v) * 100%); border-radius: 4px 4px 0 0; background: var(--c-in); transform-origin: bottom; }
.bar-g i.out { background: var(--c-out); }
.chart-x { grid-column: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding-top: 7px; color: var(--text-3); font-size: .72rem; text-align: center; white-space: nowrap; }
.cat-bars { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.cat-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; align-items: baseline; font-size: .84rem; color: var(--text-2); }
.cat-bars b { color: var(--text); font-weight: 620; font-variant-numeric: tabular-nums; }
.cat-bars i { grid-column: 1 / -1; height: 6px; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, var(--c-out) calc(var(--v) * 100%), rgba(255, 255, 255, .06) 0); }
.dish-list, .due-list { display: grid; margin: 0; padding: 0; list-style: none; }
.dish-list li, .due-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.dish-list li:first-child, .due-list li:first-child { border-top: 0; padding-top: 0; }
.dish-list .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #2a2420; color: #f0c7a6; font-family: var(--serif); font-style: italic; font-size: .9rem; }
.dish-list b, .due-list b { display: block; font-weight: 620; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dish-list small, .due-list small { display: block; color: var(--text-3); font-size: .76rem; }
.dish-list strong, .due-list strong { font-size: .95rem; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.dish-list strong small { text-align: right; font-weight: 450; }
.due-list li { grid-template-columns: minmax(0, 1fr) auto; }
.due-list .st { grid-column: 2; justify-self: end; }
.st-late { color: var(--late); background: var(--late-bg); box-shadow: inset 0 0 0 1px rgba(255, 130, 110, .35); }
.st-neg { color: #ffd2ca; background: #4a1d17; box-shadow: inset 0 0 0 1px rgba(255, 130, 110, .5); }
.inv-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.inv-mini div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.inv-mini span { display: block; color: var(--text-3); font-size: .74rem; }
.inv-mini strong { font-size: 1.1rem; font-weight: 620; font-variant-numeric: tabular-nums; }
.inv-mini .warn strong { color: var(--accent-2); }
.dash-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 22px; }
.dash-note { display: flex; align-items: flex-start; gap: 10px; max-width: 70ch; margin: 0; color: var(--text-2); font-size: .95rem; }
.dash-note .i { margin-top: 3px; color: var(--accent-2); }
@container (max-width: 1040px) {
  .dash-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid.three > :last-child { grid-column: 1 / -1; }
}
@container (max-width: 860px) {
  .dash-grid, .dash-grid.half, .dash-grid.three { grid-template-columns: minmax(0, 1fr); }
  .dash-grid.three > :last-child { grid-column: auto; }
}
@container (max-width: 640px) {
  .dash-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dash-kpi { grid-column: span 2; }
  .dash-kpi:nth-child(n + 4) { grid-column: span 3; }
  .dash-kpi strong { font-size: 1.3rem; }
}
@container (max-width: 420px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dash-kpi, .dash-kpi:nth-child(n + 4) { grid-column: auto; padding: 10px 12px; }
  .dash-kpi.is-accent, .dash-kpis.three .dash-kpi:last-child { grid-column: 1 / -1; }
  .chart, .compact .chart { grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: 150px auto; }
  .chart-plot, .chart-x { gap: 4px; }
  .chart-x .wk { display: none; }
  .dash-card { padding: 12px 12px 14px; }
  .dish-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .dish-list .n { display: none; }
}

/* Finestre dell'app: schede, righe */
.app-panel { padding: clamp(14px, 2.2vw, 22px); container-type: inline-size; }
.app-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 14px; margin-bottom: 14px; }
.app-head strong { display: block; margin-top: 3px; font-size: 1.2rem; font-weight: 620; letter-spacing: -.02em; }
.app-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .25); }
.app-tabs span { padding: 6px 11px; border-radius: 10px; color: var(--text-3); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.app-tabs span.on { background: rgba(255, 131, 63, .14); color: var(--accent-3); box-shadow: inset 0 0 0 1px rgba(255, 150, 90, .45); }
.stock-sum { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.stock-sum span { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: var(--text-3); font-size: .8rem; }
.stock-sum b { color: var(--text); font-size: 1.05rem; font-weight: 640; font-variant-numeric: tabular-nums; }
.stock-sum .warn { box-shadow: inset 0 0 0 1px rgba(255, 140, 70, .45); background: rgba(255, 131, 63, .07); }
.stock-sum .warn b { color: var(--accent-2); }
.stock-sum .bad b { color: var(--late); }
.app-rows { border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; overflow: hidden; }
.app-row { display: grid; align-items: center; gap: 4px 12px; padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--text-2); font-size: .86rem; }
.app-row:first-child { border-top: 0; }
.app-row.head { padding-block: 8px; background: rgba(255, 255, 255, .02); color: var(--text-3); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.app-row b { display: block; color: var(--text); font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row small { display: block; color: var(--text-3); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row > div { min-width: 0; }
.app-row .num { color: var(--text); font-weight: 620; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.app-row .st { justify-self: end; }
.stock-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 108px; }
.lvl { display: grid; gap: 5px; }
.lvl span { color: var(--text); font-weight: 620; font-variant-numeric: tabular-nums; }
.lvl i { position: relative; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--lv, var(--ok)) calc(var(--v) * 100%), rgba(255, 255, 255, .07) 0); }
.lvl i::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; border-radius: 1px; background: rgba(246, 241, 234, .55); }
.lvl.low i { --lv: var(--accent); }
.lvl.out i { --lv: var(--danger-line); }
.recipe-row { grid-template-columns: minmax(0, 1fr) auto 72px; }
.ledger-row { grid-template-columns: 56px minmax(0, 1fr) auto; }
.ledger-row time { color: var(--text); font-weight: 620; font-variant-numeric: tabular-nums; }
.ledger-row .num.in { color: var(--ok); }
.ledger-row .tag-due { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 5px; background: var(--orange-bg); color: #ffad78; font-size: .68rem; font-weight: 700; vertical-align: 1px; }
.app-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; color: var(--text-3); font-size: .82rem; }
.app-foot dl { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; }
.app-foot dt { display: inline; }
.app-foot dd { display: inline; margin: 0 0 0 6px; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.app-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid rgba(255, 150, 90, .5); border-radius: 999px; background: rgba(255, 131, 63, .1); color: var(--accent-3); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.app-btn .i { width: 15px; height: 15px; }
.recipe-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.recipe-sum div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.recipe-sum span { display: block; color: var(--text-3); font-size: .74rem; }
.recipe-sum strong { font-size: 1.15rem; font-weight: 620; font-variant-numeric: tabular-nums; white-space: nowrap; }
.recipe-sum .is-accent { background: rgba(255, 131, 63, .08); box-shadow: inset 0 0 0 1px rgba(255, 140, 70, .45); }
.recipe-sum .is-accent strong { color: var(--accent-2); }
.fc-bar { margin-top: 12px; }
.fc-bar i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) calc(var(--v) * 100%), rgba(255, 255, 255, .07) 0); }
.fc-bar > span { display: flex; justify-content: space-between; margin-top: 6px; color: var(--text-3); font-size: .74rem; }
@container (max-width: 470px) {
  .stock-row { grid-template-columns: minmax(0, 1fr) auto; }
  .stock-row .lvl { grid-column: 1; grid-row: 2; }
  .stock-row .st { grid-row: 1 / span 2; grid-column: 2; }
  .stock-row.head > :nth-child(2) { display: none; }
  .recipe-row { grid-template-columns: minmax(0, 1fr) auto 62px; gap: 4px 8px; padding-inline: 12px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 12px; }
  .ledger-row time { grid-column: 1 / -1; color: var(--text-3); font-size: .74rem; }
  .ledger-row.head > :first-child { display: none; }
  .ledger-row small { white-space: normal; }
  .recipe-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Riquadro che si appoggia all'illustrazione principale (scarico, chiusura di cassa, movimenti) */
.visual-stack { position: relative; width: 100%; max-width: 620px; margin-inline: auto; padding-bottom: 96px; }
.float-card { position: absolute; right: -2%; bottom: 0; z-index: 2; width: min(300px, 64%); padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px; background: rgba(24, 22, 21, .96); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 60px -24px rgba(255, 122, 50, .5); font-size: .84rem; }
.float-card.left { right: auto; left: -2%; }
/* Composizione a strati: pannello spostato di lato, riquadro che ne sovrappone solo l'angolo. */
.visual-stack.deep { padding-bottom: 204px; }
.visual-stack.deep > .panel { margin-left: 7%; }
.visual-stack.deep > .float-card { left: 0; right: auto; }
.visual-stack.deep.flip > .panel { margin-left: 0; margin-right: 7%; }
.visual-stack.deep.flip > .float-card { left: auto; right: 0; }
.float-card > small { display: block; color: var(--accent-2); font-size: .66rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.float-card > b { display: block; margin: 3px 0 8px; font-size: 1rem; font-weight: 640; }
.float-card ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; color: var(--text-2); }
.float-card li { display: flex; justify-content: space-between; gap: 12px; }
.float-card li span:last-child { color: var(--text); font-weight: 620; font-variant-numeric: tabular-nums; white-space: nowrap; }
.float-card .total { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); }
.float-card .total span:last-child { color: var(--accent-2); }
.float-card .sub { margin: -4px 0 8px; color: var(--text-3); font-size: .8rem; }
.float-card .hint { margin: 8px 0 0; padding: 7px 10px; border-radius: 10px; background: rgba(255, 131, 63, .08); color: var(--text-2); font-size: .78rem; }

/* Più sedi: conti a confronto */
.eco-sedi { display: grid; gap: 10px; }
.eco-sede { display: grid; grid-template-columns: 44px minmax(0, 1.1fr) repeat(3, minmax(0, .8fr)) 104px; gap: 6px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .025); font-size: .86rem; }
.eco-sede.head { padding-block: 4px; border: 0; background: none; color: var(--text-3); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eco-sede .mono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #2a2420; color: #f0c7a6; font-family: var(--serif); font-style: italic; }
.eco-sede b { display: block; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eco-sede small { display: block; color: var(--text-3); font-size: .76rem; }
.eco-sede .num { color: var(--text); font-weight: 620; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.eco-sede .mg { display: grid; gap: 5px; text-align: right; }
.eco-sede .mg span { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.eco-sede .mg i { height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) calc(var(--v) * 100%), rgba(255, 255, 255, .07) 0); }
.eco-sede.total { border-color: rgba(255, 150, 90, .45); background: rgba(255, 131, 63, .07); }
.eco-sede.total .mono { background: linear-gradient(180deg, #ffa566, #ff7c35); color: var(--accent-ink); font-style: normal; font-family: var(--sans); font-weight: 750; font-size: .8rem; }
.eco-sede .lbl { display: none; color: var(--text-3); font-size: .72rem; font-weight: 450; }
@container (max-width: 640px) {
  .eco-sede { grid-template-columns: 40px minmax(0, 1fr) 96px; }
  .eco-sede.head { display: none; }
  .eco-sede .mono { width: 40px; height: 40px; grid-row: 1 / span 2; }
  .eco-sede .num.c1, .eco-sede .num.c2 { display: none; }
  .eco-sede .num.c3 { grid-column: 2; grid-row: 2; text-align: left; font-size: .82rem; }
  .eco-sede .mg { grid-column: 3; grid-row: 1 / span 2; }
  .eco-sede .lbl { display: inline; }
}
.sede.eco { border-color: rgba(255, 150, 90, .4); }
.sede.eco .mono { background: rgba(255, 131, 63, .14); color: var(--accent-2); }
.sede.eco .mono .i { width: 22px; height: 22px; }

/* Il percorso dei numeri (pagina gestione) */
.flow-note { margin-top: clamp(26px, 3vw, 36px); color: var(--text-3); font-size: .95rem; text-align: center; }

/* Barre che crescono alla comparsa (solo con movimento consentito e JS attivo) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-armed .bar-g i { transform: scaleY(.04); transition: transform .9s var(--ease); }
  .reveal-armed.is-visible .bar-g i { transform: none; }
  .reveal-armed.is-visible .bar-g:nth-child(2) i { transition-delay: .06s; }
  .reveal-armed.is-visible .bar-g:nth-child(3) i { transition-delay: .12s; }
  .reveal-armed.is-visible .bar-g:nth-child(4) i { transition-delay: .18s; }
  .reveal-armed.is-visible .bar-g:nth-child(5) i { transition-delay: .24s; }
}

/* Tra 1081 e 1240 px la colonna è stretta: il QR della pagina Prenota non deve uscire dal bordo pagina. */
@media (min-width: 1081px) and (max-width: 1240px) {
  .qr-card { right: -2%; }
}
@media (max-width: 1080px) {
  .visual-stack { max-width: 640px; }
}
@media (max-width: 640px) {
  .tent, .menu-duo .tent, .menu-duo.solo .tent { position: relative; left: auto; top: auto; bottom: auto; justify-self: start; margin: -44px 0 0 2px; }
  .menu-duo { justify-items: center; padding-right: 0; }
  .menu-duo .device { margin-inline: auto; }
  .menu-duo .ticket.low { position: relative; left: auto; bottom: auto; width: min(100%, 300px); margin: 18px auto 0; }
  .visual-stack, .visual-stack.deep { padding-bottom: 0; }
  .visual-stack.deep > .panel, .visual-stack.deep.flip > .panel { margin: 0; }
  .visual-stack.deep > .float-card { left: auto; right: auto; margin: -10px 0 0 auto; }
  .visual-stack.deep.flip > .float-card { margin: -10px auto 0 0; }
  .float-card, .float-card.left { position: relative; right: auto; left: auto; bottom: auto; width: min(100%, 320px); margin: -10px 0 0 auto; }
  .float-card.left { margin: -10px auto 0 0; }
  .dash-after { flex-direction: column; align-items: flex-start; }
}

/* ── 23. Movimento ridotto ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ── 24. Stampa (informative legali, piani): fondo bianco e logo per sfondi chiari ── */
@media print {
  :root { --bg: #fff; --bg-2: #fff; --surface: #fff; --surface-2: #fff; --text: #111; --text-2: #222; --text-3: #4a4a4a; --line: #d6d6d6; --line-2: #c4c4c4; --accent-2: #a44a14; --accent-3: #a44a14; }
  html, body { background: #fff; color: #111; }
  .site-header { position: static; height: auto; padding-block: 12px; border-bottom: 1px solid #d6d6d6; }
  .site-header::before, .glow::before, .bokeh::after, .hero::before, .page-hero::before, .site-footer::before, .cta-band::before { display: none; }
  .main-nav, .nav-toggle, .skip-link, .chips-nav, .legal-index, .footer-cols, .footer-brand .btn, .cta-band, .crumbs, video, iframe { display: none !important; }
  .brand img, .footer-brand img { content: url("/assets/trilutable-logo-light.svg"); }
  .reveal { opacity: 1 !important; transform: none !important; }
  .panel, .card, .note, .plan, .legal-status, .legal-facts, .legal-meta, .table-scroll { box-shadow: none !important; background: #fff !important; }
  .legal-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  .ph { background: #ffe9d6; color: #6b2e00; }
  .site-footer { padding-top: 24px; background: #fff; }
}
