/* ==========================================================
   TOSTART — SITO DEFINITIVO
   Header e footer: struttura di Lorenzo (pillola sfocata, footer pulito)
   Contenuti e stile: Ramon (teal pieno, ombre piene, serif, scontrino,
   comande, ricetta, menù), sfondo bianco / nero.
   Solo i colori presenti nei file di Lorenzo e Ramon.

    1. Colori e misure (giorno / notte)
    2. Base e tipografia
    3. Cursore (rosso, guanto da cucina sulle immagini)
    4. Header (pillola) e menu a tendina
    5. Elementi riusabili
    6. Hero + dashboard sotto
    7. Fascia
    8. Frase + scontrino
    9. Problema (comande)
   10. Soluzione
   11. Come funziona (Lu, tre passaggi, barra, funzionalità)
   12. Menù
   13. Obiettivo
   14. FAQ
   15. Come lavoriamo + frase finale
   16. Contatti e newsletter
   17. Footer
   18. Lu che accompagna
   19. Lightbox
   20. Comparse
   21. Tablet e mobile
   22. Movimento ridotto
   ========================================================== */


/* ---------- 1. COLORI E MISURE ---------- */

:root {
  /* palette dei file */
  --teal: #007A7A;
  --teal-deep: #004947;
  --ocean: #008081;
  --pearl: #8bc4c4;
  --yellow: #E6E140;
  --cream: #F3EDBE;
  --vanilla: #fff8b4;
  --bordeaux: #6E0F2B;
  --amaranth: #6a0d2c;
  --red: #B3261E;
  --carbon: #181818;
  --white: #FFFFFF;
  --receipt: #F3EDBE;          /* giorno: crema, si stacca dal bianco */

  /* tema chiaro: sfondo bianco */
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #EEEBDF;        /* box: carta, ben visibile sul bianco */
  --ink: #181818;
  --ink-soft: #5f5f5f;
  --ink-faint: #767676;
  --line: #cccccc;
  --hairline: #e0e0e0;
  --edge: #cccccc;             /* bordo dei box */
  --shadow: rgba(110, 15, 43, 0.22);
  --nav-bg: rgba(255, 255, 255, .9);
  --nav-border: #ebebeb;
  --overlay: rgba(255, 255, 255, .55);
  --shot-edge: rgba(0, 0, 0, .14);  /* contorno di 1px sugli screenshot (come Lorenzo) */
  --hl-y: .58em; --hl-h: .46em;          /* evidenziatore: banda bassa */
  --stage-cream: #F3EDBE;

  --serif: "Abhaya Libre", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --mono: "Courier Prime", "Courier New", monospace;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --header-h: 88px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* cursori */
  --cur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M4 2.5 L4 20.5 L8.4 16.6 L11.4 23.2 L13.9 22.1 L11 15.6 L17 15.6 Z' fill='%23B3261E' stroke='%23ffffff' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto;
  --cur-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M4 2.5 L4 20.5 L8.4 16.6 L11.4 23.2 L13.9 22.1 L11 15.6 L17 15.6 Z' fill='%23B3261E' stroke='%23ffffff' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer;
  --cur-glove: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 32 32'%3E%3Cpath d='M11 14 V4.6 a2.5 2.5 0 0 1 5 0 V11 c1-.6 2.2-.9 3.4-.6 C22 11 24 12.5 24.5 15 L25 21 c0 3-1.5 5-4 5.5 H13.4 c-2.5-.4-4-2-4.6-4.5 L6.2 17.6 c-.6-1.4.2-2.8 1.6-3 c1.2-.2 2.3.4 3.2 1.4 Z' fill='%23B3261E' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M16.5 15 L22.5 21 M16.5 19.5 L20.5 23.5 M19.6 13.4 L23.8 17.6' stroke='%23F3EDBE' stroke-width='1.1' stroke-linecap='round' opacity='.85'/%3E%3Crect x='11.6' y='25.2' width='11' height='5.2' rx='1.6' fill='%23F3EDBE' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E") 13 2, zoom-in;
}

/* tema scuro: sfondo nero */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #181818;
  --surface: #202020;
  --surface-2: #262626;
  --ink: #f8f8f8;
  --ink-soft: #a8a8a8;
  --ink-faint: #8e8e8e;
  --line: rgba(255, 255, 255, .11);
  --hairline: rgba(255, 255, 255, .11);
  --shadow: rgba(0, 0, 0, .55);
  --nav-bg: rgba(32, 32, 32, .72);
  --nav-border: rgba(255, 255, 255, .09);
  --overlay: rgba(24, 24, 24, .6);
  --shot-edge: rgba(255, 255, 255, .1);
  --hl-y: .12em; --hl-h: 1.02em;         /* al buio: blocco pieno, testo scuro */
  --stage-cream: #2a3159;
  --receipt: #FAF9F3;
  --edge: rgba(255, 255, 255, .11);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #181818; --surface: #202020; --surface-2: #262626;
    --ink: #f8f8f8; --ink-soft: #a8a8a8; --ink-faint: #8e8e8e;
    --line: rgba(255, 255, 255, .11); --hairline: rgba(255, 255, 255, .11);
    --shadow: rgba(0, 0, 0, .55);
    --nav-bg: rgba(32, 32, 32, .72); --nav-border: rgba(255, 255, 255, .09);
    --overlay: rgba(24, 24, 24, .6); --shot-edge: rgba(255, 255, 255, .1);
    --hl-y: .12em; --hl-h: 1.02em;
    --stage-cream: #2a3159;
    --receipt: #FAF9F3;
    --edge: rgba(255, 255, 255, .11);
  }
}


/* ---------- 2. BASE E TIPOGRAFIA ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .5s var(--ease-io), color .5s var(--ease-io);
}
img { display: block; max-width: 100%; height: auto; }
main { overflow-x: clip; }
ul, ol { list-style: none; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--carbon); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 12px 16px; background: var(--carbon); color: var(--white); border-radius: 999px; font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.wrap { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.display { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; line-height: 1.04; color: var(--ink); text-wrap: balance; }
.d1 { font-size: clamp(46px, 6.4vw, 86px); }
.d2 { font-size: clamp(34px, 4.4vw, 58px); }
.d3 { font-size: clamp(28px, 3vw, 40px); }
.center { text-align: center; }

/* Evidenziatore GIALLO (non più rosso): pennarello a mano sotto la parola */
.hl {
  color: inherit;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath fill='%23E6E140' d='M3 4C45 1 95 3 140 2s50 0 58 1l-2 35c-46 2-96-1-141 1S12 39 2 39z'/%3E%3C/svg%3E")
    left 0 top var(--hl-y) / calc(var(--draw, 1) * 100%) var(--hl-h) no-repeat;
  padding-inline: .1em .14em;
  margin-inline: -.1em -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.1s var(--ease-out) .35s;
}
:root[data-theme="dark"] .hl { color: var(--carbon); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl { color: var(--carbon); } }
.js .rv:not(.in) .hl, .js .hero .ln .hl { --draw: 0; }
.js .hero .ln .hl { animation: draw-in 1.1s var(--ease-out) 1.1s forwards; }
@keyframes draw-in { to { --draw: 1; background-size: 100% var(--hl-h); } }

/* Sottolineato (frase sotto la fascia) */
.ul { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .14em; text-underline-offset: .16em; text-decoration-skip-ink: none; }

.label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.label .n { color: var(--teal); margin-right: 10px; }
.course { display: inline-block; margin-left: 10px; font-family: var(--hand); font-size: 23px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--teal); transform: rotate(-3deg) translateY(2px); }
.hand-title { font-family: var(--hand); font-weight: 700; color: var(--teal); line-height: 1; font-size: 34px; margin-bottom: 10px; transform: rotate(-2deg); transform-origin: left; }
.body-lg { font-size: clamp(17px, 1.7vw, 19px); line-height: 1.6; color: var(--ink-soft); }
.tlink { color: var(--teal); font-size: 14px; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease-out); }
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }
:root[data-theme="dark"] .tlink, :root[data-theme="dark"] .label .n, :root[data-theme="dark"] .course, :root[data-theme="dark"] .hand-title { color: var(--pearl); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.tlink, .label .n, .course, .hand-title) { color: var(--pearl); } }

.section { position: relative; padding: clamp(96px, 11vw, 160px) 0 0; }
.section-mark { display: flex; align-items: baseline; gap: 18px; padding-bottom: 22px; margin-bottom: clamp(40px, 5vw, 64px); position: relative; }
.section-mark .label { flex: 1; }
.section-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--hairline); transform-origin: left; transform: scaleX(var(--line, 1)); transition: transform 1.4s var(--ease-out) .15s; }
.js .section-mark.rv:not(.in) { --line: 0; }


/* ---------- 3. CURSORE ---------- */

@media (hover: hover) and (pointer: fine) {
  html, body { cursor: var(--cur); }
  a, button, summary, label, [role="switch"], input[type="checkbox"] { cursor: var(--cur-link); }
  .zoom, .zoom img { cursor: var(--cur-glove); }
  input, textarea { cursor: text; }
}


/* ---------- 4. HEADER (pillola di Lorenzo, contenuti di Ramon) ---------- */

/* Sempre visibile: segue la pagina e non scompare mai */
.site-header { position: fixed; inset: 16px 0 auto; z-index: 50; display: flex; justify-content: center; padding-inline: 16px; pointer-events: none; }
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 20px;
  padding: 6px 6px 6px 14px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--nav-border);
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.nav-logo { display: flex; align-items: center; height: 44px; border-radius: 8px; transition: transform .5s var(--spring); }
.nav-logo:hover { transform: rotate(-4deg) scale(1.05); }
.nav-logo img { height: 32px; width: auto; }
.logo .logo-dark { display: none; }
:root[data-theme="dark"] .logo .logo-light { display: none; }
:root[data-theme="dark"] .logo .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo .logo-dark { display: block; }
}
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.lang-switch { display: flex; align-items: center; font-size: 12px; font-weight: 600; }
.lang-switch button { min-width: 36px; min-height: 44px; padding: 0 4px; background: none; border: 0; font: inherit; color: var(--ink-faint); border-radius: 999px; transition: color .2s; }
.lang-switch button[aria-pressed="true"] { color: var(--ink); }
.lang-switch button:hover { color: var(--teal); }
.lang-sep { width: 1px; height: 12px; background: var(--line); }

.hamburger { width: 44px; height: 44px; padding: 14px 11px; display: flex; flex-direction: column; justify-content: space-between; background: var(--teal); border: none; border-radius: 50%; }
.hamburger span { height: 2px; background: var(--white); border-radius: 2px; transition: transform .5s var(--spring), opacity .25s, width .4s var(--ease-out); }
.hamburger span:nth-child(2) { width: 70%; margin-left: auto; }
.hamburger:hover span:nth-child(2) { width: 100%; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu a tendina di Ramon */
.overlay { position: fixed; inset: 0; z-index: 45; background: var(--overlay); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade-in .4s var(--ease-out) both; }
.overlay.closing { animation: fade-out .32s ease-in both; }
.menu {
  position: fixed; top: calc(var(--header-h) + 4px); right: max(16px, calc(50vw - 600px)); z-index: 49;
  width: 420px; max-width: calc(100vw - 32px); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto;
  padding: 24px 24px 24px 28px; display: flex; justify-content: space-between; gap: 16px;
  background: var(--teal); border-radius: 22px; box-shadow: 4px 8px 24px var(--shadow);
  animation: curtain-down .75s var(--ease-out) both;
}
.menu.closing { animation: curtain-up .32s var(--ease-io) both; }
@keyframes curtain-down {
  0% { clip-path: inset(0 0 100% 0 round 22px); transform: translateY(-8px); }
  60% { clip-path: inset(0 0 0 0 round 22px); transform: translateY(6px); }
  80% { transform: translateY(-2px); }
  100% { clip-path: inset(0 0 0 0 round 22px); transform: none; }
}
@keyframes curtain-up { from { clip-path: inset(0 0 0 0 round 22px); } to { clip-path: inset(0 0 100% 0 round 22px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.menu ul { display: flex; flex-direction: column; gap: 4px; }
.menu a { display: block; min-width: 200px; padding: 6px 14px; border: 1.5px solid transparent; border-radius: 999px; color: var(--white); font-size: 17px; font-weight: 600; text-decoration: none; transition: border-color .3s, transform .4s var(--ease-out); }
.menu a:hover { transform: translateX(6px); }
.menu a:hover, .menu a.active { border-color: var(--yellow); }
.menu:not(.closing) li { animation: item-in .6s var(--ease-out) both; }
.menu li:nth-child(1) { animation-delay: .1s; } .menu li:nth-child(2) { animation-delay: .14s; } .menu li:nth-child(3) { animation-delay: .18s; }
.menu li:nth-child(4) { animation-delay: .22s; } .menu li:nth-child(5) { animation-delay: .26s; } .menu li:nth-child(6) { animation-delay: .3s; }
.menu li:nth-child(7) { animation-delay: .34s; } .menu li:nth-child(8) { animation-delay: .38s; } .menu li:nth-child(9) { animation-delay: .42s; }
@keyframes item-in { from { opacity: 0; transform: translateY(-10px); } }
.menu-lang { display: none; padding: 6px 14px 0; }
.menu-lang .lang-switch button { color: rgba(255, 255, 255, .7); }
.menu-lang .lang-switch button[aria-pressed="true"] { color: var(--yellow); }

/* Interruttore giorno/notte: le due cipolle di Ramon */
.theme-switch { flex: none; align-self: flex-start; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; background: rgba(255, 255, 255, .1); border: 2px solid rgba(230, 225, 64, .55); border-radius: 999px; transition: background-color .3s; }
.theme-switch:hover { background: rgba(255, 255, 255, .18); }
.onion { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.onion-img { position: relative; width: 46px; height: 46px; overflow: visible; transform-origin: 50% 90%; transition: opacity .4s, filter .4s, scale .5s var(--spring); }
.onion-img .o-leaf { fill: none; stroke: var(--o-leaf); stroke-width: 2.6; stroke-linecap: round; }
.onion-img .o-body { fill: var(--o-body); stroke: var(--o-line); stroke-width: 1.6; }
.onion-img .o-line { fill: none; stroke: var(--o-line); stroke-width: 1.1; opacity: .55; }
.onion-img .o-root { fill: none; stroke: var(--o-line); stroke-width: 1.4; stroke-linecap: round; }
.onion-img .o-face { fill: var(--o-face); }
.onion-img .o-smile { fill: none; stroke: var(--o-face); stroke-width: 1.5; stroke-linecap: round; }
.onion-day { --o-body: #F7F2E6; --o-line: #9C8F74; --o-leaf: #8FBF6A; --o-face: #3D3328; }
.onion-night { --o-body: #9B1E45; --o-line: #5E0A24; --o-leaf: #7FB35C; --o-face: #FBEFF2; }
.onion-cap { font-family: var(--hand); font-size: 17px; line-height: 1; color: var(--white); opacity: .85; }
.theme-switch[aria-checked="false"] .onion-night .onion-img,
.theme-switch[aria-checked="true"] .onion-day .onion-img { opacity: .7; filter: saturate(.8); scale: .82; }
.rays { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transform: scale(.3) rotate(-60deg); transition: opacity .4s, transform .7s var(--spring); }
.rays g { transform-origin: 0 0; animation: spin 26s linear infinite; }
.rays line { stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; }
.onion-night .rays line { stroke: #D9DCDA; stroke-width: 2.4; }
.onion-night .rays g { animation-duration: 60s; }
.theme-switch[aria-checked="false"] .onion-day .rays { opacity: 1; transform: none; }
.theme-switch[aria-checked="true"] .onion-night .rays { opacity: 1; transform: scale(.74); }
@keyframes spin { to { transform: rotate(360deg); } }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }


/* ---------- 5. ELEMENTI RIUSABILI ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 32px;
  background: var(--teal); color: var(--white);
  border: none; border-radius: var(--radius);
  box-shadow: 5px 7px 0 var(--shadow);
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap;
  translate: var(--mx, 0px) var(--my, 0px);
  transition: transform .4s var(--ease-out), translate .5s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, color .3s;
}
.hamburger, .lightbox-close { translate: var(--mx, 0px) var(--my, 0px); transition: translate .5s var(--ease-out), background-color .3s; }
.btn:hover { box-shadow: 8px 11px 0 var(--shadow); transform: translate(-2px, -2px); }
.btn:active { box-shadow: 2px 3px 0 var(--shadow); transform: translate(2px, 2px); transition-duration: .1s; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--teal-deep); }
.btn-cream { background: var(--cream); color: var(--bordeaux); box-shadow: none; height: 52px; }
.btn-cream:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; border-radius: 999px; box-shadow: none; }
.btn-sm:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transform: none; }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-sm.btn-ghost { box-shadow: inset 0 0 0 2px var(--ink); }

.card { max-width: 400px; padding: 20px 24px; border-radius: var(--radius); font-size: 18px; font-weight: 600; line-height: 1.4; }
.card-teal { background: var(--teal); color: var(--white); box-shadow: 5px 7px 0 var(--shadow); }
.card-outline { background: var(--surface-2); border: 1.5px solid var(--ink); color: var(--ink); }
.bubble { box-shadow: 4px 5px 0 var(--shadow); border-color: var(--edge) !important; }

.mascot { position: relative; display: flex; justify-content: center; }
.mascot::before { content: ""; position: absolute; bottom: 2%; left: 50%; width: 60%; height: 10%; border-radius: 50%; background: var(--yellow); transform: translateX(-50%); }
.mascot img { position: relative; }

/* Immagini in cui "entrare" */
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; border-radius: inherit; }
.zoom img { width: 100%; transition: transform .9s var(--ease-out); transform-origin: var(--zx, 50%) var(--zy, 30%); }
@media (hover: hover) { .zoom:hover img { transform: scale(1.06); } }

.frame { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--shot-edge), 0 1px 2px rgba(0, 0, 0, .06), 0 18px 40px -12px rgba(0, 0, 0, .3); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cccccc; }
.frame-bar em { margin-left: 14px; padding: 2px 12px; background: var(--bg); border-radius: 999px; font-style: normal; font-size: 12px; color: var(--ink-soft); }
.frame-bar small { margin-left: 4px; font-size: 12px; color: var(--ink-soft); }
.widget { background: var(--white); border: 1px solid var(--shot-edge); border-radius: 10px; overflow: hidden; box-shadow: 5px 7px 0 var(--shadow), 0 18px 40px -16px rgba(0, 0, 0, .3); }

.bubble { background: var(--surface); border: 1.5px solid var(--hairline); border-radius: 16px 16px 16px 4px; padding: 13px 16px; margin-bottom: 10px; max-width: 280px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.bubble b { color: var(--ink); }

/* Check-box di Ramon con la spunta disegnata */
.claims { padding-top: 8px; }
.claims li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1.5px solid var(--hairline); font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.claims li:first-child { border-top: 1.5px solid var(--hairline); }
.claims b { color: var(--ink); font-weight: 600; }
.tick { width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--ink); display: grid; place-items: center; align-self: center; }
.tick svg { width: 20px; height: 20px; overflow: visible; fill: none; stroke: var(--teal); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .tick svg { stroke: var(--yellow); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tick svg { stroke: var(--yellow); } }
.js .tick path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out) calc(var(--d, 0s) + .45s); }
.claims li.in .tick path { stroke-dashoffset: 0; }
.claims-compact li { padding: 13px 0; font-size: 15px; }


/* ---------- 6. HERO ---------- */

.hero { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.kicker .dash { width: 40px; height: 3px; border-radius: 3px; background: var(--yellow); transform-origin: left; animation: grow-x 1.2s var(--ease-out) .2s both; }
@keyframes grow-x { from { transform: scaleX(0); } }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .ln > span { display: block; transform: translateY(115%) rotate(4deg); transform-origin: left bottom; animation: rise 1.3s var(--ease-out) both; }
@keyframes rise { to { transform: none; } }
.hero-text .body-lg { margin-top: clamp(22px, 3vw, 34px); max-width: 46ch; }
.hero-text .cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

.hero-card {
  position: relative; min-height: 540px; padding: 30px 32px 0;
  display: flex; flex-direction: column; color: var(--white);
  background-color: var(--teal); background-position: 0% 0%; background-size: 180% 180%;
  border-radius: 28px; box-shadow: 8px 10px 0 var(--shadow);
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora { 0% { background-position: 0% 0%; } 50% { background-position: 60% 40%; } 100% { background-position: 100% 100%; } }
.hero-card-logo { width: 130px; }
.hero-card-claim { margin-top: 10px; font-size: 20px; font-weight: 500; }
.hero-lu { margin-top: auto; }
.hero-lu img { width: min(300px, 80%); animation: lu-wave 4.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes lu-wave { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.chip { position: absolute; max-width: 220px; padding: 14px 18px; background: var(--cream); color: var(--teal-deep); border-radius: 16px; font-size: 15px; font-weight: 700; line-height: 1.35; box-shadow: 5px 7px 0 rgba(110, 15, 43, .2); }
.chip-a { top: 200px; right: -34px; animation: bob 6s ease-in-out infinite; }
.chip-b { bottom: 70px; left: -40px; animation: bob 7s ease-in-out -2s infinite; background: var(--bordeaux); color: var(--cream); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }

/* Dashboard sotto l'hero (Lorenzo) */
.hero-stage { display: flow-root; position: relative; isolation: isolate; overflow: clip; width: calc(100% - 24px); max-width: 1416px; margin: clamp(72px, 9vw, 120px) auto 0; padding-inline: clamp(16px, 6.5vw, 96px); border-radius: 0 0 24px 24px; }
.hero-slab { position: absolute; z-index: -1; inset: 24% 0 0; border-radius: 24px; background: radial-gradient(70% 90% at 50% 0%, rgba(139, 196, 196, .5), transparent 70%), var(--ocean); }
.hero-shot { position: relative; max-width: 1120px; margin: 0 auto -64px; transform-origin: 50% 0; will-change: transform; box-shadow: 0 0 0 1px var(--shot-edge), 0 1px 2px rgba(0, 0, 0, .06), 0 40px 80px -32px rgba(0, 0, 0, .45); }
.hero-stage { perspective: 1600px; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 820px; background: radial-gradient(50% 60% at 50% 0%, rgba(0, 128, 129, .10), transparent 70%); pointer-events: none; }
.hero { position: relative; isolation: isolate; }
.modules { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; margin-top: 24px; padding-inline: 16px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.modules li { display: flex; align-items: center; }
.modules li + li::before { content: ""; width: 4px; height: 4px; margin-inline: 14px; border-radius: 50%; background: var(--yellow); }


/* ---------- 7. FASCIA (tovaglia a quadretti) ---------- */

.marquee {
  --check: rgba(110, 15, 43, .5);
  position: relative; margin-top: clamp(80px, 9vw, 120px); padding: 30px 0;
  overflow: hidden; white-space: nowrap;
  background: var(--surface-2); color: var(--ink);
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: 0 8px 0 var(--shadow);
}
.marquee::before, .marquee::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--check) 0 14px, transparent 14px 28px), repeating-linear-gradient(0deg, var(--check) 0 7px, transparent 7px 14px), var(--surface-2); }
.marquee::before { top: 0; }
.marquee::after { bottom: 0; }
:root[data-theme="dark"] .marquee { --check: rgba(230, 225, 64, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .marquee { --check: rgba(230, 225, 64, .35); } }
.marquee .track { display: inline-flex; animation: marquee 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee .q { font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); font-weight: 700; padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; }
.marquee .q::after { content: "✻"; font-size: 14px; color: var(--teal); }
.marquee .who { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-left: 14px; }


/* ---------- 8. FRASE + SCONTRINO ---------- */

.statement-wrap { padding-top: clamp(96px, 11vw, 150px); }
.statement { max-width: 22ch; margin: 0 auto; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.12; text-align: center; letter-spacing: -0.01em; text-wrap: balance; }

.bill { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: clamp(96px, 11vw, 150px); }
.bill-text { position: sticky; top: calc(var(--header-h) + 40px); }
.bill-text .display { margin-top: 18px; }
.bill-text .body-lg { margin-top: 20px; max-width: 40ch; }

.receipt-wrap { position: relative; padding-top: 18px; width: 100%; }
/* Stampante: lo scontrino esce centrato dalla fessura */
.printer { position: relative; z-index: 2; height: 30px; margin: 0 -22px; border-radius: 14px; background: linear-gradient(#3a3f3e, #1f2322); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.printer i { position: absolute; left: 12px; right: 12px; bottom: 9px; height: 5px; border-radius: 4px; background: #0b0d0d; }
/* la carta sta SOPRA la parte grigia sotto la fessura: esce dalla linea scura */
.receipt-clip { position: relative; z-index: 3; overflow: hidden; margin: -12px 0 0; padding: 0 0 26px; }
.receipt-clip::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 10px; background: linear-gradient(rgba(0, 0, 0, .28), rgba(0, 0, 0, 0)); pointer-events: none; }
.receipt {
  position: relative; margin: 0 auto; width: 100%;
  padding: 38px 34px 22px; background: var(--receipt); color: #2C2C2A;
  font-family: var(--mono); font-size: 15px; line-height: 1.5;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 14px 30px rgba(0, 0, 0, .16), 6px 8px 0 var(--shadow);
  transform: translateY(-101%);
  transition: transform 2.6s cubic-bezier(.3, .1, .2, 1) .2s;
}
.receipt-wrap.in .receipt { transform: none; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: linear-gradient(135deg, var(--receipt) 50%, transparent 50%) 0 0 / 14px 12px, linear-gradient(225deg, var(--receipt) 50%, transparent 50%) 0 0 / 14px 12px; }
.r-head { text-align: center; font-size: 14px; }
.r-head b { font-size: 16px; letter-spacing: .04em; }
.r-sep { height: 0; margin: 16px 0; border-top: 2px dashed rgba(0, 0, 0, .35); }
.r-item + .r-item { margin-top: 14px; }
/* Macroproblema = oggetto acquistato */
.r-line { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; font-weight: 700; }
.r-line span:first-child { flex: 1; }
.r-line b { font-size: 24px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Sottoproblema = riga dell'IVA: più piccola, rientrata, importo a destra */
.r-sub { display: flex; justify-content: space-between; gap: 10px; padding: 0 0 0 28px; font-size: 12.5px; line-height: 1.55; color: #55554F; text-transform: uppercase; letter-spacing: .02em; }
.r-sub span:last-child:not(:first-child) { white-space: nowrap; }
.r-total { padding: 12px 14px; margin: 0 -14px; background: rgba(0, 122, 122, .1); color: var(--teal-deep); }
.r-total b { font-size: 34px; }
.r-foot { margin-top: 18px; text-align: center; font-size: 13px; color: #55554F; }
.r-barcode { height: 42px; margin: 16px auto 0; width: 72%; background: repeating-linear-gradient(90deg, #2C2C2A 0 2px, transparent 2px 4px, #2C2C2A 4px 5px, transparent 5px 9px, #2C2C2A 9px 12px, transparent 12px 14px); }
.r-src { margin-top: 12px; text-align: center; font-size: 10.5px; line-height: 1.45; color: #55554F; }


/* ---------- 9. PROBLEMA (comande) ---------- */

.split { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.split .sticky .body-lg { margin-top: 20px; max-width: 38ch; }
.lu-problem { display: flex; align-items: flex-end; gap: 14px; margin-top: 30px; }
.lu-problem img { width: 92px; animation: lu-sigh 4.6s ease-in-out infinite; transform-origin: 50% 100%; filter: drop-shadow(0 10px 18px rgba(0, 73, 71, .2)); }
@keyframes lu-sigh { 0%, 100% { transform: none; } 55% { transform: translateY(3px) scaleY(.97); } }

.tickets { position: relative; padding-top: 26px; }
.tickets::before { content: ""; position: absolute; top: 0; left: -12px; right: -12px; height: 12px; border-radius: 6px; background: linear-gradient(#cfd3d2, #8d9493 60%, #b8bdbc); box-shadow: 0 3px 6px rgba(0, 0, 0, .2); }
.tickets li {
  position: relative; margin: 0 0 22px; padding: 22px 26px 24px;
  background: var(--receipt); color: #2C2C2A; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 8px 18px rgba(0, 0, 0, .14), 4px 6px 0 var(--shadow);
  transform: rotate(var(--tilt, 0deg)); opacity: .7;
  transition: opacity .7s var(--ease-out), transform .8s var(--spring), box-shadow .6s;
}
.tickets li:nth-child(odd) { --tilt: -1.2deg; }
.tickets li:nth-child(even) { --tilt: 1deg; }
.tickets li.active { opacity: 1; transform: rotate(0) scale(1.02); box-shadow: 0 16px 30px rgba(0, 0, 0, .16); }
.tickets li::before { content: ""; position: absolute; left: 50%; top: -10px; width: 34px; height: 14px; border-radius: 3px; background: var(--yellow); transform: translateX(-50%); box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
/* numeri romani ROSSI */
.tickets .n { display: block; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 2px dashed rgba(0, 0, 0, .25); font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--red); }
.tickets .n-pre { color: #55554F; font-weight: 400; }
.tickets h3 { font-size: 18px; font-weight: 600; color: #1F2B2A; }
.tickets p { font-size: 14.5px; color: #4A4A45; margin-top: 5px; max-width: 58ch; }
.tickets b { color: #1F2B2A; font-weight: 600; }
.tickets li > div { position: relative; }
.tickets li > div::after { content: attr(data-urgent); position: absolute; right: -6px; top: -48px; padding: 2px 10px; border: 2.5px solid var(--red); border-radius: 4px; color: var(--red); font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .1em; opacity: 0; transform: rotate(-12deg) scale(2); transition: opacity .3s, transform .45s var(--spring); }
.tickets li.active > div::after { opacity: .85; transform: rotate(-12deg) scale(1); }


/* ---------- 10. SOLUZIONE ---------- */

.sol-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.figure { margin-top: 36px; }
.stage-sol { aspect-ratio: 1 / 1; }
.stage-sol .stage-frame { width: 112%; }
.figcap { display: flex; justify-content: space-between; gap: 18px; padding: 12px 2px 0; font-size: 12px; color: var(--ink-faint); }


/* ---------- 11. COME FUNZIONA ---------- */

.lu-quote { display: grid; grid-template-columns: 130px 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--teal); color: var(--white); border-radius: 26px; box-shadow: 6px 8px 0 var(--shadow); }
.lu-quote .portrait { width: 130px; height: 130px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.lu-quote .portrait img { width: 76%; transform: translateY(8%); transition: transform .8s var(--spring); }
.lu-quote:hover .portrait img { transform: translateY(2%) rotate(-6deg) scale(1.06); }
.lu-quote blockquote { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 31px); font-weight: 700; line-height: 1.3; }
.lu-quote cite { display: block; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-top: 14px; }
.lu-quote cite b { color: var(--yellow); }

.how-head { max-width: 760px; margin-top: clamp(80px, 9vw, 120px); }
.how-head .body-lg { margin-top: 20px; max-width: 60ch; }
.steps-title { margin-top: clamp(48px, 6vw, 72px); font-family: var(--hand); font-size: 32px; font-weight: 700; color: var(--teal); transform: rotate(-1.5deg); transform-origin: left; }
:root[data-theme="dark"] .steps-title { color: var(--pearl); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .steps-title { color: var(--pearl); } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; background: var(--surface-2); border: 1.5px solid var(--ink); border-radius: 22px; box-shadow: 5px 7px 0 var(--shadow); }
.step-num { align-self: flex-start; font-family: var(--serif); font-size: 44px; font-weight: 800; line-height: 1; color: var(--teal); }
.step-num { background: linear-gradient(var(--yellow), var(--yellow)) 0 80% / 100% .3em no-repeat; padding: 0 .1em; color: var(--ink); }
.step h4 { font-size: 19px; font-weight: 600; }
.step p { color: var(--ink-soft); font-size: 15px; }
.step:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; right: -22px; top: 30px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; box-shadow: 3px 4px 0 var(--shadow); }

/* Barra che segue (Lorenzo), colori di Ramon */
.feature-tabs { position: sticky; top: calc(var(--header-h) - 4px); z-index: 40; display: flex; justify-content: center; padding-inline: 16px; margin: clamp(72px, 8vw, 110px) 0 8px; pointer-events: none; }
.feature-tabs-track { pointer-events: auto; position: relative; display: flex; gap: 2px; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--nav-border); border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.feature-tabs-track::-webkit-scrollbar { display: none; }
.feature-tabs a { position: relative; z-index: 1; flex: none; display: flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: color .25s; }
.feature-tabs a:hover { color: var(--ink); }
.feature-tabs a[aria-current] { color: var(--white); }
.feature-tabs-indicator { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: var(--teal); box-shadow: 0 0 0 2px var(--yellow); opacity: 0; transition: transform .45s cubic-bezier(.32, .72, 0, 1), width .45s cubic-bezier(.32, .72, 0, 1), opacity .25s; }
.feature-tabs.has-active .feature-tabs-indicator { opacity: 1; }

.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 96px); align-items: center; padding-block: clamp(64px, 7vw, 96px); scroll-margin-top: calc(var(--header-h) + 64px); }
.feature + .feature { border-top: 1.5px solid var(--hairline); }
.feature-flip .feature-text { order: 2; }
.feature-text { max-width: 520px; }
.feature-num { display: flex; align-items: baseline; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.feature-num span { font-family: var(--serif); font-size: 22px; font-weight: 800; letter-spacing: 0; color: var(--carbon); padding: 0 10px; background: var(--yellow); border-radius: 8px; }
.feature-lead { margin-top: 20px; color: var(--ink-soft); }
.feature-text .claims { margin-top: 24px; }
.asks { margin-top: 26px; display: grid; gap: 10px; }
.asks li { padding: 13px 18px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 16px 16px 16px 4px; color: var(--ink); font-weight: 500; box-shadow: 4px 5px 0 var(--shadow); }
.note { margin-top: 22px; font-size: 14px; color: var(--ink); padding: 12px 16px; background: var(--surface-2); border-radius: 12px; border: 1.5px dashed var(--ink-faint); }

.feature-figure { min-width: 0; }
.feature-figure figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }
.stage { position: relative; overflow: clip; isolation: isolate; aspect-ratio: 6 / 5; border-radius: 24px; padding: 48px 0 0 48px; box-shadow: 6px 8px 0 var(--shadow); }
.stage-teal { background: linear-gradient(150deg, var(--teal) 0%, var(--ocean) 50%, var(--pearl) 100%); }
.stage-cream { background: var(--stage-cream); }
.stage-pearl { background: var(--pearl); }
.stage-bordeaux { background: var(--bordeaux); }
.stage-frame { width: 150%; }
.stage-f-acquisti .stage-frame { width: 120%; }
.stage-f-lu .stage-frame { width: 143%; }
.widget-float { position: absolute; left: 24px; bottom: 24px; width: 54%; z-index: 2; }
.widget-right { left: auto; right: 24px; }
.widget-top { top: 24px; bottom: auto; left: auto; right: 24px; }
.widget-wide { width: 62%; bottom: 16px; }
.stage-collage { padding: 0; }
.stage-collage .widget-main { position: absolute; left: 32px; top: 32px; width: 62%; }
.stage-collage .widget-stack { position: absolute; right: 32px; bottom: 40px; width: 34%; display: grid; gap: 16px; z-index: 2; }
.stage-phone { padding: 32px 0 0; display: flex; justify-content: center; }
.stage-phone .phone { width: 52%; max-width: 280px; height: fit-content; border: 8px solid var(--carbon); border-bottom: 0; border-radius: 34px 34px 0 0; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.widget-phone { position: absolute; right: 24px; bottom: 28px; width: 56%; z-index: 2; }


/* ---------- 12. MENÙ ---------- */

.menu-card {
  position: relative; max-width: 820px; margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 6vw, 72px);
  background: var(--surface); border: 1.5px solid var(--ink); outline: 1.5px solid var(--ink); outline-offset: -10px;
  border-radius: 6px; box-shadow: 8px 10px 0 var(--shadow); text-align: center;
}
.menu-card-title { font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); font-weight: 800; line-height: 1.1; }
.menu-card-title em { font-style: italic; background: linear-gradient(var(--yellow), var(--yellow)) 0 85% / 100% .3em no-repeat; padding: 0 .08em; }
.menu-card-title::before, .menu-card-title::after { content: " ❦ "; color: var(--teal); font-size: .6em; vertical-align: middle; }
.menu-card-intro { margin: 14px auto 0; max-width: 46ch; font-size: 15px; font-style: italic; color: var(--ink-soft); }
.menu-course, .menu-special { margin-top: 36px; text-align: left; }
.menu-course-name { text-align: center; font-family: var(--hand); font-size: 30px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 6px; }
:root[data-theme="dark"] .menu-course-name, :root[data-theme="dark"] .menu-card-title::before, :root[data-theme="dark"] .menu-card-title::after { color: var(--pearl); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.menu-course-name, .menu-card-title::before, .menu-card-title::after) { color: var(--pearl); } }
.menu-item { margin-top: 16px; }
.menu-item h3 { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); font-weight: 700; line-height: 1.25; }
.menu-item h3 i { flex: 1; min-width: 20px; border-bottom: 3px dotted var(--ink-faint); transform: translateY(-6px); }
.menu-item h3 b { font-family: var(--hand); font-size: 1.1em; color: var(--ink-soft); white-space: nowrap; }
.menu-item p { margin-top: 2px; font-size: 14px; font-style: italic; color: var(--ink-soft); max-width: 56ch; }
.menu-special { padding-top: 28px; border-top: 2px dashed var(--hairline); }
.menu-special .menu-item { margin-top: 22px; }
.menu-special .menu-item h3 { font-size: clamp(24px, 2.6vw, 30px); }
.menu-special .menu-item h3 b { font-family: var(--serif); font-weight: 800; color: var(--ink); font-size: 1em; }
.menu-item-pro h3 b { background: linear-gradient(var(--yellow), var(--yellow)) 0 85% / 100% .32em no-repeat; padding: 0 4px; }
.menu-item-pro h3 b small { font-family: var(--sans); font-size: .5em; font-weight: 600; margin-left: 4px; color: var(--ink-soft); }
.menu-special .btn { margin-top: 14px; }
.menu-card-note { margin-top: 36px; font-family: var(--hand); font-size: 25px; color: var(--ink-soft); }
.chef-form { margin-top: 16px; display: grid; gap: 12px; padding: 20px; background: var(--surface-2); border: 1.5px solid var(--hairline); border-radius: 14px; }
.chef-form-title { font-family: var(--hand); font-size: 26px; font-weight: 700; color: var(--teal); line-height: 1; }
.chef-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.chef-form .btn { justify-self: start; margin-top: 2px; }
.form-msg { font-size: 14px; font-weight: 600; animation: fade-in .6s var(--ease-out); }


/* ---------- 13. OBIETTIVO ---------- */

.product { display: flex; flex-direction: column; gap: 48px; }
.product-row { display: flex; justify-content: center; align-items: center; gap: 24px; }
.icon { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.js .icon [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-io) .3s; }
.in .icon [pathLength] { stroke-dashoffset: 0; }
.icon-bin .solid { fill: var(--ink); stroke: none; transform-origin: 50% 100%; transition: transform .9s var(--spring) .2s; }
.js .rv:not(.in) .icon-bin .solid { transform: scaleY(0); }
.icon-bin .cut { stroke: var(--bg); }


/* ---------- 14. FAQ (Lorenzo) ---------- */

.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); }
.faq-head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .display { margin-top: 18px; }
.faq-head .body-lg { margin-top: 20px; }
.faq-list { border-top: 1.5px solid var(--hairline); }
.faq details { border-bottom: 1.5px solid var(--hairline); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 18px 0; font-size: 18px; font-weight: 600; line-height: 1.3; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-3px) rotate(45deg); transition: transform .25s cubic-bezier(.32, .72, 0, 1); }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq summary:hover { color: var(--teal); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-soft); animation: fade-in .25s var(--ease-out); }
.faq-more { margin-top: 28px; }


/* ---------- 15. COME LAVORIAMO + FRASE FINALE ---------- */

#come-lavoriamo h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.process { display: flex; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 64px); }
.recipe-card {
  --margin-x: 40px;
  position: relative; width: 580px; max-width: 100%;
  padding: 28px 30px 36px calc(var(--margin-x) + 20px); border-radius: 6px;
  background: linear-gradient(90deg, transparent var(--margin-x), rgba(179, 38, 30, .55) var(--margin-x) calc(var(--margin-x) + 2px), transparent calc(var(--margin-x) + 2px)), repeating-linear-gradient(var(--receipt) 0 39px, rgba(0, 122, 122, .28) 39px 40px), var(--receipt);
  color: #181818;
  border: 1.5px solid var(--carbon);
  box-shadow: 8px 10px 0 var(--shadow), 0 18px 40px rgba(0, 0, 0, .1);
  rotate: -1deg;
}
.recipe-card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; background: rgba(230, 225, 64, .6); transform: translateX(-50%) rotate(3deg); }
.recipe-head { margin-bottom: 16px; }
.recipe-title { font-family: var(--serif); font-size: 29px; font-weight: 800; color: #181818; }
.recipe-title em { font-style: italic; color: var(--teal); }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; font-family: var(--hand); font-size: 22px; font-weight: 700; color: #4A4A45; }
.process-steps { display: flex; flex-direction: column; align-items: center; padding-top: 8px; font-family: var(--hand); font-size: 31px; font-weight: 700; text-align: center; line-height: 1.2; }
.process-steps li { padding-bottom: 12px; color: #55554F; transition: color .6s var(--ease-out); }
.process-steps li:last-child { padding-bottom: 0; }
.process-steps li.on { color: #181818; }
.process-steps li + li::before { content: ""; display: block; width: 5px; height: 46px; margin: 0 auto 12px; border-radius: 4px; background: linear-gradient(var(--teal), var(--teal)) top / 100% calc(var(--f) * 100%) no-repeat, rgba(0, 0, 0, .15); }
.pill { display: inline-block; padding: 6px 24px; background: var(--teal); color: var(--white); border-radius: 12px; font-family: var(--sans); font-size: 19px; transition: transform .6s var(--spring), box-shadow .6s; }
.process-steps li.on .pill { transform: scale(1.08); box-shadow: 0 0 0 4px var(--yellow); }
.process-lu img { width: 220px; animation: lu-bob 4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes lu-bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }

.closing { padding-top: clamp(120px, 13vw, 180px); }
.closing-statement { max-width: 20ch; margin: 0 auto; font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5vw, 66px); line-height: 1.1; text-align: center; text-wrap: balance; }


/* ---------- 16. CONTATTI + NEWSLETTER (un'unica parte) ---------- */

.contact { padding-bottom: clamp(96px, 11vw, 150px); }
.contact-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-lu { width: clamp(96px, 10vw, 130px); margin-bottom: 18px; }
.contact-lu img { animation: lu-bob 4.4s ease-in-out infinite; transform-origin: 50% 100%; filter: drop-shadow(0 14px 24px rgba(0, 73, 71, .18)); }
.bigmail { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; margin-top: 22px; overflow-wrap: anywhere; }
.bigmail a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 100% .18em no-repeat; transition: background-size .5s var(--ease-out); }
.bigmail a:hover { background-size: 100% .6em; }
:root[data-theme="dark"] .bigmail a:hover { color: var(--carbon); background-size: 100% 1em; }

/* newsletter: un riquadro sotto i contatti, nello stesso blocco */
.nl-box { margin-top: 40px; padding: 24px 26px; background: var(--surface-2); border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 5px 7px 0 var(--shadow); scroll-margin-top: calc(var(--header-h) + 24px); }
.nl-box h3 { font-family: var(--serif); font-size: 26px; font-weight: 800; line-height: 1.1; }
.nl-box p { margin-top: 6px; font-size: 14.5px; color: var(--ink-soft); }
.nl-box form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.nl-box input { flex: 1 1 200px; min-width: 0; }
.nl-box .form-msg { flex-basis: 100%; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.form input, .form textarea, .nl-box input, .chef-form input, .chef-form textarea { padding: 12px 16px; background: var(--white); color: var(--carbon); border: 1.5px solid var(--edge); border-radius: 12px; font: inherit; font-size: 16px; font-weight: 400; transition: box-shadow .35s var(--ease-out), border-color .3s; }
.nl-box input { height: 44px; padding-block: 0; }
:is(.form, .nl-box, .chef-form) :is(input, textarea):focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--yellow); }
.form textarea, .chef-form textarea { resize: vertical; }
.form .btn { align-self: flex-start; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form input, .form textarea { width: 100%; min-width: 0; }
/* il modulo: foglietto di prenotazione teal con i fori in alto */
.ticket-form { position: relative; padding: 48px clamp(22px, 3vw, 36px) clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--teal); color: var(--white); box-shadow: 6px 8px 0 var(--shadow); }
.ticket-form::before { content: ""; position: absolute; top: 14px; left: 20px; right: 20px; height: 10px; background: radial-gradient(circle, var(--bg) 4px, transparent 4.5px) 0 0 / 22px 10px repeat-x; }
.ticket-form input, .ticket-form textarea { border-color: var(--cream); }
.ticket-form .btn { background: var(--cream); color: var(--bordeaux); box-shadow: none; }
.form-title { font-family: var(--hand); font-size: 32px; font-weight: 700; color: var(--cream); line-height: 1; }
.form-title span { font-size: .8em; opacity: .85; }


/* ---------- 17. FOOTER (Lorenzo) ---------- */

.site-footer { padding-block: 64px 96px; border-top: 1.5px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-logo { display: inline-flex; border-radius: 8px; }
.footer-logo img { width: 111px; height: auto; }
.footer-tagline { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.footer-label { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); text-decoration: none; }
.site-footer ul a:hover { color: var(--teal); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1.5px solid var(--hairline); }
.copyright { font-size: 14px; color: var(--ink-soft); }
.copyright a { color: var(--ink-soft); }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); color: var(--ink); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .4s var(--spring); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { grid-area: 1 / 1; }
.to-top-ring { width: 52px; height: 52px; rotate: -90deg; fill: none; stroke-width: 2.5; }
.to-top-ring circle { stroke: var(--line); }
.to-top-ring .to-top-progress { stroke: var(--red); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.to-top-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- 18. LU CHE ACCOMPAGNA ---------- */

/* Riquadro fisso = proporzioni della Lu gialla (lu-wave, 500×602) */
.guide { position: fixed; left: 20px; bottom: 20px; z-index: 35; display: flex; align-items: flex-end; gap: 10px; pointer-events: none; opacity: 0; transform: translateY(30px) scale(.9); transform-origin: left bottom; transition: opacity .6s var(--ease-out), transform .8s var(--spring); }
.guide.show { opacity: 1; transform: none; }
.g-btn { position: relative; pointer-events: auto; width: 96px; height: 116px; padding: 0; background: none; border: 0; border-radius: 24px; }
.g-img { position: absolute; inset: 0; display: block; animation: lu-bob 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
.g-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; scale: .85; transition: opacity .35s, scale .5s var(--spring); filter: drop-shadow(0 10px 16px rgba(0, 73, 71, .22)); }
.g-img img.on { opacity: 1; scale: 1; }
.guide.talk .g-img { animation: lu-hop .8s var(--ease-out); }
@keyframes lu-hop { 0% { transform: none; } 28% { transform: translateY(-14px) scale(.95, 1.06); } 55% { transform: scale(1.06, .92); } 75% { transform: translateY(-4px); } 100% { transform: none; } }
/* alone: sole di giorno, luna di notte */
.g-halo { position: absolute; left: 50%; bottom: 6px; width: 110px; height: 110px; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(230, 225, 64, .38), rgba(230, 225, 64, 0) 68%); transition: background .5s; }
.g-dot { position: absolute; top: 2px; right: -6px; display: flex; gap: 3px; padding: 6px 8px; background: var(--teal); border-radius: 12px 12px 12px 3px; box-shadow: 2px 3px 0 var(--shadow); }
.g-dot i { width: 5px; height: 5px; border-radius: 50%; background: var(--white); animation: typing 1.2s ease-in-out infinite; }
.g-dot i:nth-child(2) { animation-delay: .15s; } .g-dot i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .6; } 30% { transform: translateY(-3px); opacity: 1; } }
.g-bubble { max-width: 240px; margin-bottom: 14px; padding: 12px 16px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 16px 16px 16px 4px; box-shadow: 4px 5px 0 var(--shadow); font-size: 14px; line-height: 1.45; font-weight: 500; opacity: 0; transform: scale(.85) translateY(6px); transform-origin: left bottom; transition: opacity .3s var(--ease-out), transform .45s var(--spring); }
.guide.talk .g-bubble { opacity: 1; transform: none; }
.g-bubble:empty { visibility: hidden; }
:root[data-theme="dark"] .g-halo { background: radial-gradient(circle, rgba(139, 196, 196, .32), rgba(139, 196, 196, 0) 68%); }
:root[data-theme="dark"] .g-img img { filter: drop-shadow(0 0 14px rgba(255, 248, 180, .25)) drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
:root[data-theme="dark"] .g-bubble { border-color: var(--pearl); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .g-halo { background: radial-gradient(circle, rgba(139, 196, 196, .32), rgba(139, 196, 196, 0) 68%); }
  :root:not([data-theme="light"]) .g-img img { filter: drop-shadow(0 0 14px rgba(255, 248, 180, .25)) drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
  :root:not([data-theme="light"]) .g-bubble { border-color: var(--pearl); }
}


/* ---------- 19. LIGHTBOX ---------- */

.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 5vh 4vw; border: 0; background: transparent; overflow: auto; }
.lightbox[open] { display: flex; animation: fade-in .3s var(--ease-out); }
.lightbox::backdrop { background: rgba(24, 24, 24, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox figure { margin: auto; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-width: min(1600px, 92vw); max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); animation: lb-in .5s var(--ease-out); }
@keyframes lb-in { from { transform: scale(.92); opacity: 0; } }
.lightbox figcaption { max-width: min(72ch, 92vw); font-size: 14px; text-align: center; color: rgba(255, 255, 255, .85); }
.lightbox-close { position: fixed; top: 16px; right: 16px; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--white); color: var(--carbon); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .5); }
.lightbox-close:hover { background: var(--yellow); }
.lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }


/* ---------- 20. COMPARSE ---------- */

.js .rv { opacity: 0; transform: translate3d(0, 32px, 0); filter: blur(6px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s), filter 1s var(--ease-out) var(--d, 0s); }
.js .rv-left { transform: translate3d(-60px, 0, 0); }
.js .rv-right { transform: translate3d(60px, 0, 0); }
.js .rv-scale { transform: scale(.92) translate3d(0, 30px, 0); }
.js .rv.in { opacity: 1; transform: none; filter: none; }


/* ---------- 21. TABLET E MOBILE ---------- */

@media (max-width: 1100px) {
  .nav-links { display: none; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 480px; max-width: 520px; width: 100%; margin: 0 auto; }
  .chip-a { right: -10px; }
  .chip-b { left: -10px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step:not(:last-child)::after { content: "↓"; right: auto; left: 28px; top: auto; bottom: -30px; }
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 860px) {
  :root { --header-h: 80px; }
  .split, .sol-grid, .contact-panel, .bill, .feature { grid-template-columns: minmax(0, 1fr); }
  .split .sticky, .bill-text { position: static; }
  .feature-flip .feature-text { order: 0; }
  .receipt-wrap { max-width: 520px; margin: 0 auto; }
  .process { flex-direction: column; gap: 20px; }
  .process-lu img { width: 160px; }
  .product { gap: 36px; }
  .product-row { flex-direction: column; gap: 14px; text-align: center; }
  .product-row .icon { order: -1; }
  .js .rv-left, .js .rv-right { transform: translate3d(0, 32px, 0); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .recipe-card { --margin-x: 28px; padding: 22px 18px 28px 44px; }
  .process-steps { font-size: 23px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .d1 { font-size: clamp(38px, 11.5vw, 48px); }
  .d2 { font-size: clamp(29px, 8.6vw, 36px); }
  .section { padding-top: 80px; }
  .nav-pill { width: 100%; gap: 6px; }
  .site-header { inset: 10px 0 auto; padding-inline: 10px; }
  .nav-logo { margin-right: auto; }
  .nav-lang { display: none; }
  .menu-lang { display: block; }
  .menu { left: 10px; right: 10px; width: auto; padding: 20px; }
  .menu a { min-width: 0; font-size: 16px; }
  .nav-pill .btn-sm { padding: 0 14px; font-size: 13px; }
  .hero-text .cta .btn { flex: 1; }
  .btn { height: 52px; padding: 0 22px; font-size: 15px; }
  .hero-card { min-height: 420px; padding: 24px 22px 0; }
  .hero-card-logo { width: 104px; }
  .chip { max-width: 170px; font-size: 13px; padding: 10px 13px; }
  .chip-a { top: 140px; right: -6px; }
  .chip-b { bottom: 54px; left: -6px; }
  .hero-stage { width: calc(100% - 16px); }
  .hero-shot { margin-bottom: -40px; }
  .hero-shot .frame-bar { height: 22px; padding: 0 10px; }
  .hero-shot .frame-bar em, .hero-shot .frame-bar small { display: none; }
  .modules { display: none; }
  .marquee .q { font-size: 17px; padding: 0 16px; gap: 16px; }
  .receipt { padding: 30px 18px 18px; font-size: 13px; }
  .r-line b { font-size: 19px; }
  .r-total b { font-size: 26px; }
  .r-sub { padding-left: 14px; font-size: 11px; }
  .printer { margin: 0 -10px; }
  .printer i { left: 5px; right: 5px; }
  .tickets li { padding: 18px 18px 20px; }
  .lu-quote { grid-template-columns: 1fr; }
  .lu-quote .portrait { width: 96px; height: 96px; }
  .feature-tabs { padding-inline: 8px; }
  .feature-tabs a { padding: 0 14px; }
  .stage { padding: 24px 0 0 24px; aspect-ratio: 1 / 1; border-radius: 20px; }
  .stage-frame { width: 190%; }
  .widget-float, .widget-phone { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; }
  .stage-collage { aspect-ratio: auto; padding: 16px 16px 0; display: grid; gap: 10px; }
  .stage-collage .widget-main, .stage-collage .widget-stack { position: static; width: 100%; }
  .stage-collage .widget-stack { grid-template-columns: 1fr 1fr; gap: 10px; order: -1; }
  .stage-collage .widget-main { max-height: 380px; }
  .stage-phone .phone { width: 62%; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .menu-card { padding: 32px 18px; outline-offset: -7px; }
  .menu-item h3 { flex-wrap: wrap; }
  .menu-item h3 i { display: none; }
  .menu-item h3 b { width: 100%; }
  .faq details p { padding-right: 0; }
  .guide { left: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .g-btn { width: 66px; height: 80px; }
  .g-halo { width: 76px; height: 76px; }
  .g-bubble { max-width: 62vw; font-size: 13px; }
  .to-top { right: 12px; bottom: 12px; }
}

@media (hover: none) {
  .zoom:hover img { transform: none; }
}


/* ---------- 22. MOVIMENTO RIDOTTO ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv-left, .js .rv-right, .js .rv-scale { opacity: 1; transform: none; filter: none; }
  .hero h1 .ln > span { transform: none; }
  .js .hero .ln .hl, .js .rv:not(.in) .hl { --draw: 1; }
  .receipt { transform: none; }
  .js .tick path, .js .icon [pathLength] { stroke-dashoffset: 0; }
  .marquee .track { transform: none; }
}

/* Versione HTML: gli elementi con l'attributo hidden restano nascosti anche se il CSS dà loro un display */
[hidden] { display: none !important; }
