/* B Burger · sito demo · nero come le foto, arancio e rosso dal logo */
:root {
  --nero: #0a0a0a;
  --nero-2: #141210;
  --crema: #f4ede3;
  --grigio: #a39a90;
  --arancio: #f29632;
  --rosso: #e2001f;
  --display: 'Anton', 'Impact', sans-serif;
  --testo: 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--nero); color: var(--crema);
  font: 400 17px/1.55 var(--testo);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* non hidden: su Safari iOS hidden rompe position:sticky */
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- barra in alto ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 4vw, 44px);
  background: rgba(10, 10, 10, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand img { width: 46px; height: auto; }
.links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.links a { text-decoration: none; opacity: .8; }
.links a:hover { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px;
  background: var(--rosso); color: #fff;
  font: 800 16px/1 var(--testo); letter-spacing: .02em; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(226, 0, 31, .6);
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #ff1433; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-ghost { background: transparent; border: 1px solid #4a3d31; box-shadow: none; }
.btn-ghost:hover { background: #1d1712; }

.over {
  font: 800 13px/1.2 var(--testo); letter-spacing: .22em; text-transform: uppercase;
  color: var(--arancio);
}
h1, h2 { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
h1 { font-size: clamp(52px, 7.2vw, 116px); }
h2 { font-size: clamp(40px, 6vw, 88px); }

/* ---------- il panino che si scompone ---------- */
.smonta { position: relative; height: 420vh; height: 420svh; }
.sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(60% 55% at 50% 52%, #1b1512 0%, var(--nero) 70%);
}
.stage {
  position: relative;
  /* tela 1024x1536 del panino esploso */
  height: min(88svh, 1180px); aspect-ratio: 1024 / 1536;
  will-change: transform;
}
.stage .layer {
  position: absolute; height: auto;
  will-change: transform;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55));
  user-select: none; -webkit-user-drag: none;
}
.tag {
  position: absolute; left: 100%; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: 30vw;
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.tag::before { content: ''; width: 64px; height: 1px; background: rgba(244, 237, 227, .45); flex: none; }
.tag.sx { left: auto; right: 100%; flex-direction: row-reverse; }
.tag b { font: 400 14px/1 var(--display); color: var(--arancio); letter-spacing: .08em; }
.tag span { display: block; font: 400 clamp(22px, 2.1vw, 34px)/1 var(--display); text-transform: uppercase; }
.tag small { display: block; margin-top: 6px; font: 600 14px/1.3 var(--testo); color: var(--grigio); }
.tag.on { opacity: 1; }

.testo { position: absolute; z-index: 30; pointer-events: none; transition: opacity .4s, transform .4s; }
.testo .btn { pointer-events: auto; }
.intro { left: clamp(16px, 6vw, 96px); top: 50%; transform: translateY(-50%); max-width: 42vw; }
.intro h1 { margin: 14px 0 22px; }
.hint { font-weight: 600; color: var(--grigio); }
.hint span { display: inline-block; animation: giu 1.6s ease-in-out infinite; }
@keyframes giu { 50% { transform: translateY(6px); } }
.meta { right: clamp(16px, 6vw, 96px); bottom: 12svh; text-align: right; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; opacity: 0; }
.meta strong { color: var(--arancio); font-weight: 800; }
.outro { right: clamp(16px, 6vw, 96px); top: 50%; transform: translateY(-50%); max-width: 34vw; opacity: 0; }
.outro h2 { margin: 14px 0 22px; }
.prezzi-eroe { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 24px; font-size: 18px; }
.prezzi-eroe b { color: var(--arancio); font-weight: 800; }
.prezzi-eroe .piccolo { flex-basis: 100%; font-size: 14px; color: var(--grigio); }
.fuori { opacity: 0 !important; }
.dentro { opacity: 1 !important; }

.barra { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--arancio), var(--rosso)); }

/* ---------- sezioni ---------- */
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.due { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 60px; align-items: start; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 46ch; }
section h2 { margin: 16px 0 26px; }

.smash { padding: 18vh 0 10vh; }
.passi { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.passi li { border-radius: 18px; background: var(--nero-2); border: 1px solid #231f1b; overflow: hidden; }
.passo-foto { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #000; }
.passo-testo { padding: 24px 24px 28px; }
.passi b { font: 400 16px/1 var(--display); color: var(--arancio); letter-spacing: .08em; }
.passi h3 { margin: 18px 0 10px; font: 400 30px/1 var(--display); text-transform: uppercase; }
.passi p { color: var(--grigio); }

/* ---------- menù ---------- */
.menu { padding: 12vh 0 8vh; }
.chip-bar {
  position: sticky; top: 64px; z-index: 40;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px max(16px, calc((100% - 1180px) / 2)); margin: 34px 0 10px;
  background: rgba(10, 10, 10, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid #1d1a17;
}
.chip-bar::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid #332d27; color: var(--crema);
  font: 700 14px/1 var(--testo); text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s;
}
.chip.on, .chip:hover { background: var(--arancio); border-color: var(--arancio); color: #1a0f05; }
.cat { padding-top: 70px; scroll-margin-top: 120px; }
.cat-testa { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 26px; flex-wrap: wrap; }
.cat-testa h3 { font: 400 clamp(34px, 4vw, 54px)/1 var(--display); text-transform: uppercase; }
.cat-testa p { color: var(--grigio); max-width: 46ch; }
.griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.piatto {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; color: inherit; font: inherit; padding: 0;
}
.piatto .ft { display: block; position: relative; overflow: hidden; border-radius: 16px; background: #000; aspect-ratio: 3 / 2; }
.piatto .ft img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.piatto:hover .ft img, .piatto:focus-visible .ft img { transform: scale(1.05); }
.piatto .ft.vuota { display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 45%, #231a14, #0d0b0a); }
.piatto .ft.vuota span { font: 400 clamp(22px, 2.4vw, 32px)/1 var(--display); text-transform: uppercase; color: #4a3d32; text-align: center; padding: 0 12px; }
.piatto .riga-nome { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 0 6px; }
.piatto .nm { font: 400 25px/1.05 var(--display); text-transform: uppercase; }
.piatto .pz { font-weight: 800; color: var(--arancio); white-space: nowrap; }
.piatto .desc { color: var(--grigio); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.piatto .top { position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; background: var(--rosso); color: #fff; font: 800 12px/1 var(--testo); letter-spacing: .06em; text-transform: uppercase; }
.piatto:focus-visible { outline: 2px solid var(--arancio); outline-offset: 6px; border-radius: 16px; }
.lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; max-width: 900px; list-style: none; }
.lista li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #221e1a; font-weight: 600; }
.lista li span:last-child { color: var(--arancio); font-weight: 800; }

.formula {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 90px; padding: 38px; border-radius: 22px;
  background: linear-gradient(135deg, #1d1510, #120f0d); border: 1px solid #2c241d;
}
.formula h3 { margin: 12px 0 10px; font: 400 clamp(28px, 3vw, 40px)/1.02 var(--display); text-transform: uppercase; }
.formula p { color: var(--grigio); }
.formula ul { list-style: none; align-self: center; }
.formula li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid #2c241d; font-weight: 600; }
.formula li b { color: var(--arancio); white-space: nowrap; }

.noi { padding: 16vh 0 10vh; }
.noi p + p { margin-top: 14px; color: var(--grigio); }
.noi .lead { margin-bottom: 18px; }
.pilastri { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pilastri li { padding: 10px 16px; border-radius: 999px; background: var(--nero-2); border: 1px solid #2c241d; font-weight: 700; font-size: 15px; }

.voci { padding: 8vh 0 12vh; }
.citazioni { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
blockquote { padding: 30px 28px; border-radius: 18px; background: var(--nero-2); border: 1px solid #231f1b; }
blockquote p { font-size: 17px; line-height: 1.55; }
blockquote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 800; color: var(--arancio); }

.dove { padding: 14vh 0 16vh; background: radial-gradient(70% 60% at 20% 30%, #1a1411, var(--nero) 70%); }
.link-mappa { display: inline-block; margin-bottom: 30px; color: var(--arancio); font-weight: 800; text-decoration: none; }
.orari { border-collapse: collapse; min-width: min(100%, 380px); }
.orari th, .orari td { padding: 12px 0; border-bottom: 1px solid #2a241f; text-align: left; font-weight: 600; }
.orari td { text-align: right; color: var(--arancio); font-weight: 800; }
.ordina h3 { font: 400 32px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.riga {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 10px;
  border-radius: 14px; background: var(--nero-2); border: 1px solid #2a241f; text-decoration: none; transition: border-color .2s;
}
.riga:hover { border-color: var(--arancio); }
.riga b { font-weight: 800; }
.riga span { color: var(--grigio); font-size: 15px; text-align: right; }
.fidelity { margin-top: 22px; padding: 22px; border-radius: 16px; border: 1px dashed #4a3d31; }
.fidelity p { color: var(--grigio); margin: 4px 0 10px; }
.fidelity a { color: var(--arancio); font-weight: 800; text-decoration: none; }

.piede { border-top: 1px solid #1d1a17; padding: 30px 0 40px; color: var(--grigio); font-size: 14px; }
.piede-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.piede a { color: var(--crema); }
.social { margin-left: auto; display: flex; gap: 18px; font-weight: 700; }

/* ---------- scheda del piatto ---------- */
.scheda {
  margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: hidden;
  width: min(940px, 100% - 32px); max-width: none; max-height: min(92svh, 760px);
  background: #11100e; color: var(--crema);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
}
.scheda::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scheda[open] { animation: su .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes su { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.scheda-in { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); max-height: inherit; }
.scheda-foto { background: #000; min-height: 100%; }
.scheda-foto img { width: 100%; height: 100%; object-fit: cover; }
.scheda-foto.vuota { display: grid; place-items: center; min-height: 260px; background: radial-gradient(70% 70% at 50% 45%, #231a14, #0d0b0a); }
.scheda-foto.vuota img { width: 34%; height: auto; opacity: .45; }
.scheda-testo { padding: 34px 32px 30px; overflow-y: auto; }
.scheda-testo h3 { margin: 10px 0 14px; font: 400 clamp(34px, 4vw, 50px)/1 var(--display); text-transform: uppercase; }
.scheda-desc { font-size: 17px; line-height: 1.5; }
.scheda-desc:empty { display: none; }
.scheda-nota { margin-top: 10px; color: var(--arancio); font-weight: 600; }
.scheda-nota:empty { display: none; }
.scheda-prezzi { margin: 22px 0 6px; }
.scheda-prezzi .pr { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #2a241f; font-weight: 600; }
.scheda-prezzi .pr b { color: var(--arancio); font-size: 19px; white-space: nowrap; }
.scheda-prezzi .pr small { display: block; color: var(--grigio); font-weight: 400; font-size: 13px; }
.scheda-extra { margin-top: 14px; font-size: 14px; color: var(--grigio); }
.scheda-extra:empty { display: none; }
.scheda-azioni { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.scheda-azioni .btn { flex: 1 1 auto; }
.chiudi {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .6); color: #fff; font: 400 26px/1 var(--testo);
}
body.bloccato { overflow: hidden; }

/* comparsa al passaggio */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.rv.in { opacity: 1; transform: none; }

/* ---------- telefono ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .links { display: none; }
  .nav { justify-content: space-between; }
  .stage { height: auto; width: min(94vw, 58svh); }
  .tag, .tag.sx { left: 0; right: auto; flex-direction: row; max-width: none; gap: 8px; }
  .tag::before { display: none; }
  .tag span { font-size: 19px; }
  .tag small { display: none; }
  .tag b { font-size: 12px; }
  .intro { left: 16px; right: 16px; top: 13svh; transform: none; max-width: none; }
  .intro h1 { font-size: 15vw; margin: 10px 0 12px; }
  .hint { display: none; }
  .meta { display: none; }
  .outro { left: 16px; right: 16px; top: auto; bottom: 6svh; transform: none; max-width: none; }
  .outro h2 { font-size: 12vw; margin: 8px 0 14px; }
  .prezzi-eroe { font-size: 16px; margin: 0 0 16px; }
  .outro .btn { width: 100%; }
  .due, .formula { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .passi, .citazioni { grid-template-columns: minmax(0, 1fr); }
  .passi li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .passo-foto { height: 100%; aspect-ratio: auto; min-height: 190px; }
  .passo-testo { padding: 18px 16px; }
  .passi h3 { font-size: 24px; margin: 10px 0 6px; }
  .passi p { font-size: 14px; }
  .chip-bar { top: 60px; }
  .griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .piatto .nm { font-size: 19px; }
  .piatto .riga-nome { flex-direction: column; gap: 4px; margin-top: 10px; }
  .piatto .pz { font-size: 15px; }
  .piatto .desc { font-size: 13px; }
  .lista { grid-template-columns: minmax(0, 1fr); }
  .formula { padding: 26px 20px; }
  .riga { flex-direction: column; align-items: flex-start; gap: 2px; }
  .riga span { text-align: left; }
  .social { margin-left: 0; }
  /* la scheda sul telefono sale dal basso */
  .scheda { width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92svh; }
  .scheda[open] { animation: sale .35s cubic-bezier(.2, .8, .2, 1); }
  .scheda-in { grid-template-columns: minmax(0, 1fr); overflow-y: auto; max-height: 92svh; }
  .scheda-foto { aspect-ratio: 3 / 2; min-height: 0; }
  .scheda-foto.vuota { min-height: 0; }
  .scheda-testo { padding: 22px 18px 0; overflow: visible; }
  .scheda-azioni { position: sticky; bottom: 0; margin: 18px -18px 0; padding: 14px 18px 18px; background: linear-gradient(transparent, #11100e 28%); }
}
@keyframes sale { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hint span { animation: none; }
  .scheda[open] { animation: none; }
}
