/* =====================================================================
   SETTEBELLO – foglio di stile
   Palette dal logo e dai volantini: nero carbone, arancione, crema.
   ===================================================================== */

:root {
  /* Colori brand */
  --nero: #141213;
  --nero-2: #1f1c1d;
  --nero-3: #2b2728;
  --arancio: #e2581f;        /* pennellate e superfici */
  --arancio-vivo: #f26b2e;   /* pulsanti e testo arancio su nero */
  --arancio-scuro: #a83a0b;  /* testo arancio su crema */
  --crema: #f6eee1;
  --crema-2: #ecdfca;
  --wa: #25d366;             /* verde WhatsApp */
  --wa-hover: #4be083;
  --inchiostro: #1b191a;

  /* Ruoli */
  --bg: var(--crema);
  --text: var(--inchiostro);
  --muted: #5b5250;
  --focus: #2f7cf6;

  /* Tipografia */
  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Kaushan Script", "Brush Script MT", cursive;

  /* Spaziature (scala 8) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);

  --grunge: url("../img/grunge-mask.png");
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath fill='%23e2581f' d='M6 14 L20 9 L60 11 L110 6 L170 9 L230 5 L300 8 L352 6 L392 10 L388 18 L396 24 L386 31 L394 38 L384 46 L340 50 L270 53 L200 50 L140 55 L80 51 L30 54 L10 49 L16 41 L4 34 L14 27 L3 21 Z'/%3E%3C/svg%3E");
  --brush-crema: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath fill='%23f6eee1' d='M6 14 L20 9 L60 11 L110 6 L170 9 L230 5 L300 8 L352 6 L392 10 L388 18 L396 24 L386 31 L394 38 L384 46 L340 50 L270 53 L200 50 L140 55 L80 51 L30 54 L10 49 L16 41 L4 34 L14 27 L3 21 Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; }
h1, h2, h3 { margin: 0; line-height: 1; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--arancio-vivo); color: var(--nero); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .footer :focus-visible, .topbar :focus-visible { outline-color: #8fb8ff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* Effetto timbro consumato, come nei volantini */
.grunge {
  padding-top: .14em; margin-top: -.14em; /* spazio per gli accenti (MENÙ, FEDELTÀ) dentro la maschera */
  -webkit-mask-image: var(--grunge);
  mask-image: var(--grunge);
  -webkit-mask-size: 300px; mask-size: 300px;
}

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .95;
}
.display em { font-style: normal; color: var(--arancio-vivo); }
.section--cream .display em { color: var(--arancio); }
.script { font-family: var(--f-script); font-size: 1.5em; line-height: 1.1; color: var(--arancio-vivo); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 56ch; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  font-family: var(--f-label); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; touch-action: manipulation;
  transition: transform .18s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 1.05rem; }
.btn--orange { background: var(--arancio-vivo); color: var(--nero); }
.btn--orange:hover { background: #ff8247; }
.btn--dark { background: var(--nero); color: var(--crema); }
.btn--dark:hover { background: var(--nero-3); }
.btn--line { border-color: var(--nero); color: var(--nero); background: transparent; }
.btn--line:hover { background: var(--nero); color: var(--crema); }
/* Verde WhatsApp ufficiale; testo scuro per un contrasto leggibile (il bianco sul verde non basta) */
.btn--wa { background: var(--wa); color: var(--nero); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--line-light { border-color: var(--crema); color: var(--crema); }
.btn--line-light:hover { background: var(--crema); color: var(--nero); }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--nero); color: var(--crema);
  border-bottom: 3px solid var(--arancio);
}
.topbar__inner {
  height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto;
  display: flex; align-items: center; gap: var(--s3);
}
.topbar__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.topbar__logo img { width: 52px; height: 52px; }
.topbar__name { font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-family: var(--f-label); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; color: var(--crema); transition: color .2s, background-color .2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--arancio-vivo); }
.nav a[aria-current="true"] { color: var(--arancio-vivo); }
.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--nero-3);
  background: transparent; color: var(--crema); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1280px) {
  .topbar__cta span { display: none; }
  .topbar__cta { padding: 8px 12px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .topbar__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--nero); border-bottom: 3px solid var(--arancio);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .25s var(--ease-out); }
  .nav ul { flex-direction: column; padding: var(--s2) var(--gutter) var(--s3); }
  .nav a { font-size: 1.6rem; padding: 12px 4px; border-bottom: 1px solid var(--nero-3); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--crema);
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(32px, 4vw, 48px);
  overflow: hidden;
}
/* SETTE [pizza] BELLO: il nome resta leggibile, la pizza ne è il centro */
.hero__stage {
  position: relative;
  max-width: 1400px; margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(4rem, 13.6vw, 15rem);
  padding-block: clamp(16px, 3vw, 40px);
}
.hero__w {
  position: relative; z-index: 1;
  font-family: var(--f-display);
  line-height: .86;
  text-transform: uppercase;
  color: var(--nero);
  letter-spacing: -.005em;
  user-select: none;
}
.hero__w--alt { z-index: 3; }
.hero__center {
  position: relative; z-index: 2;
  width: 1.85em; aspect-ratio: 1;
  margin-inline: -.06em;
  display: grid; place-items: center;
}
.hero__plate {
  position: absolute; left: 50%; bottom: -14%;
  width: 135%; aspect-ratio: 3.2;
  background: var(--arancio); border-radius: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
.hero__pizza {
  width: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 24px 26px rgba(20, 18, 19, .45));
  transform: rotate(-8deg);
  animation: hero-in 1.1s var(--ease-out) both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(40px) rotate(-60deg) scale(.85); }
  to   { opacity: 1; transform: rotate(-8deg); }
}
.hero__badge {
  position: absolute; left: -8%; top: -6%;
  width: 34%; height: auto; z-index: 4;
  animation: spin 22s linear infinite;
}
.hero__badge-bg { fill: var(--arancio-vivo); }
.hero__badge text { font-family: var(--f-label); font-weight: 700; font-size: 17.5px; letter-spacing: 2.2px; fill: var(--nero); }
.hero__badge-icon { color: var(--nero); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot {
  max-width: 1320px; margin: clamp(28px, 4vw, 48px) auto 0;
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3);
}
.hero__intro { max-width: 30ch; }
.hero__claim {
  font-family: var(--f-label); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: .02em;
  margin: 0;
}
.hero__address {
  margin-top: .5em;
  font-family: var(--f-label); font-style: normal; font-weight: 500;
  font-size: clamp(.9rem, 1.4vw, 1.12rem); /* ~70% del claim */
  line-height: 1.3; letter-spacing: .03em;
  color: var(--muted);
}
.hero__actions { display: grid; gap: 12px; justify-items: end; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--f-label); font-weight: 600; font-size: 1.1rem; letter-spacing: .03em; text-transform: uppercase;
}
.status__dot { width: 12px; height: 12px; border-radius: 50%; background: #8a817e; box-shadow: 0 0 0 4px rgba(138, 129, 126, .2); }
.status.is-open .status__dot { background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .2); }

@media (max-width: 700px) {
  .hero__stage { flex-direction: column; font-size: 31vw; padding-block: 0; }
  .hero__center { width: 1.9em; margin: -.42em 0 -.36em; }
  .hero__badge { left: -10%; top: 2%; width: 32%; }
  .hero__actions { justify-items: start; width: 100%; }
  .hero__buttons { width: 100%; flex-direction: column; }
  .btn { white-space: nowrap; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--nero); color: var(--crema);
  padding: var(--s3) 0; overflow: hidden;
  border-block: 3px solid var(--arancio);
}
.marquee__row { overflow: hidden; }
.marquee__track {
  display: flex; width: max-content; gap: 0;
  animation: marquee 38s linear infinite;
}
.marquee__row--rev .marquee__track { animation-duration: 46s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: 1.12; padding-inline: .35em;
  display: inline-flex; align-items: center; gap: .7em;
}
.marquee span::after { content: ""; width: .32em; height: .32em; background: var(--arancio); transform: rotate(45deg); margin-left: .35em; }
.marquee span.o { color: var(--arancio-vivo); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--dark { background: var(--nero); color: var(--crema); }
.section--cream { background: var(--crema); color: var(--text); }
.section--orange { background: var(--arancio); color: var(--nero); }

/* ---------- Specialità ---------- */
.specials__head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
@media (min-width: 900px) { .specials__head { grid-template-columns: 1.1fr 1fr; align-items: end; } .specials__head .lead { margin: 0; } }

.month {
  display: grid; gap: var(--s4);
  background: var(--nero-2); border-radius: var(--radius);
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--nero-3);
}
@media (min-width: 820px) { .month { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: var(--s6); } }
.month__media img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 57%; border-radius: 10px; }
.month__body .script { font-size: 2rem; margin-bottom: 4px; }
.month__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: var(--s3); }
.month__name { font-family: var(--f-label); font-weight: 600; font-size: 1.5rem; text-transform: uppercase; color: var(--arancio-vivo); margin-bottom: var(--s2); }
.month__ingr { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.month__ingr li {
  font-family: var(--f-label); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em;
  padding: 6px 14px; border: 2px solid var(--crema); border-radius: 999px;
}
.month__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--s3); }
.month__price .script { font-size: 2rem; color: var(--crema); }
.month__price strong {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1;
  color: var(--arancio-vivo); font-variant-numeric: tabular-nums;
}
.month__note { color: #cbbfb0; max-width: 44ch; }

.cards { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--nero-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--nero-3); display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; width: 100%; }
.picks { margin-top: var(--s6); }
.picks__title {
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--nero); display: inline-block; line-height: 1.15; padding: 6px 28px 10px 18px; margin-bottom: var(--s4);
  background: var(--brush) center / 100% 100% no-repeat;
}
/* Fascia scorrevole della rosticceria: da destra verso sinistra, si ferma passandoci sopra */
.slider {
  overflow: hidden;
  margin-inline: calc(-1 * var(--gutter));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.slider__track {
  display: flex; width: max-content;
  animation: marquee var(--durata, 45s) linear infinite;
}
.slider--reverse { margin-top: var(--s3); }
.slider--reverse .slider__track { animation-direction: reverse; }
.slider:hover .slider__track, .slider:focus-within .slider__track { animation-play-state: paused; }
.slider__track .card { width: clamp(220px, 24vw, 280px); margin-right: var(--s3); flex: none; }
.picks__cta { margin-top: var(--s5); display: flex; justify-content: center; }
.picks__cta .btn svg { width: 1em; height: 1em; }
.card__body { padding: var(--s2) var(--s3) var(--s3); }
.card h3 {
  font-family: var(--f-label); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em;
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px;
}
.card .price { color: var(--arancio-vivo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card p { margin: 0; color: #d8cdbd; font-size: 1rem; }

/* ---------- Menù ---------- */
.menu__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); margin-bottom: var(--s5); }
.menu__tag { margin: 0; font-family: var(--f-label); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.menu__tag .script { color: var(--arancio-scuro); text-transform: none; font-size: 1.6rem; letter-spacing: 0; margin-right: 6px; }

.tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: var(--s4);
}
.tab {
  min-height: 48px; padding: 8px 20px;
  font-family: var(--f-label); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em;
  background: transparent; color: var(--nero); border: 2px solid var(--nero); border-radius: 999px;
  cursor: pointer; transition: background-color .2s, color .2s;
}
.tab:hover { background: var(--crema-2); }
@media (max-width: 700px) {
  /* su telefono le schede scorrono in orizzontale, su una sola riga */
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; min-height: 44px; padding: 6px 16px; font-size: 1.05rem; }
}
.tab[aria-selected="true"] { background: var(--nero); color: var(--crema); }

.panel { animation: fade .3s var(--ease-out); }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel__title {
  display: inline-block;
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--nero); padding: 6px 28px 10px 18px; margin-bottom: var(--s3);
  background: var(--brush) center / 100% 100% no-repeat;
}
.panel__note { font-weight: 600; color: var(--arancio-scuro); margin-bottom: var(--s3); }
.dishes { display: grid; gap: 0 var(--s6); }
@media (min-width: 820px) { .dishes { grid-template-columns: 1fr 1fr; } }
.dish {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 2px dashed rgba(27, 25, 26, .22);
}
.dish__name { font-family: var(--f-label); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.dish__price { font-family: var(--f-label); font-weight: 700; font-size: 1.4rem; font-variant-numeric: tabular-nums; color: var(--arancio-scuro); white-space: nowrap; }
.dish__desc { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 1rem; }
.menu__extra {
  margin: var(--s4) 0 0; padding: var(--s2) var(--s3);
  background: var(--nero); color: var(--crema); border-radius: 10px; display: inline-block;
  font-family: var(--f-label); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em;
}

/* ---------- Consegna ---------- */
.delivery { overflow: hidden; }
.delivery__grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .delivery__grid { grid-template-columns: 1fr 1.1fr; } }
.delivery__art img {
  width: 100%; max-width: 560px; margin-inline: auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.brush-label {
  display: inline-block; margin: var(--s3) 0;
  font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--nero);
  padding: 8px 30px 12px 22px; background: var(--brush-crema) center / 100% 100% no-repeat;
}
.delivery__price { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); flex-wrap: wrap; }
.delivery__price-label { font-family: var(--f-label); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; max-width: 6ch; }
.delivery__price-value {
  font-family: var(--f-display); font-size: clamp(4rem, 10vw, 7rem); line-height: 1;
  color: var(--crema); padding: 8px 36px 16px 26px; background: var(--brush) center / 100% 100% no-repeat;
  -webkit-mask-image: var(--grunge); mask-image: var(--grunge); -webkit-mask-size: 260px; mask-size: 260px;
}
.ticks { display: grid; gap: 10px; margin-bottom: var(--s4); }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-size: 1.1rem; }
.ticks li::before { content: ""; width: 10px; height: 10px; background: var(--arancio-vivo); transform: rotate(45deg) translateY(-2px); flex: none; }
.delivery__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.delivery__sign { margin: var(--s4) 0 0; font-size: 2rem; transform: rotate(-3deg); transform-origin: left; }

/* ---------- Tessera fedeltà ---------- */
.loyalty__grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .loyalty__grid { grid-template-columns: 1fr 1fr; } }
.loyalty .display { color: var(--nero); }
.loyalty .display .script { display: block; text-transform: none; color: var(--crema); font-size: .62em; margin-top: 8px; -webkit-text-stroke: 0; }
.steps { display: grid; gap: var(--s2); margin: var(--s4) 0; }
.steps li { display: flex; gap: var(--s2); align-items: center; }
.steps svg { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--nero); color: var(--arancio-vivo); }
.steps p { margin: 0; font-size: 1.15rem; line-height: 1.35; }
.steps strong { font-family: var(--f-label); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; display: block; }
.loyalty__how { max-width: 46ch; font-weight: 500; }
.loyalty .btn svg { width: 1em; height: 1em; }

.loyalty__card-wrap { display: grid; gap: var(--s3); justify-items: center; }
.stampcard {
  position: relative; width: min(100%, 480px);
  background: var(--nero); color: var(--crema);
  border: 3px solid var(--crema); border-radius: 18px;
  padding: 52px clamp(16px, 4vw, 32px) 20px;
  box-shadow: 0 24px 50px rgba(20, 18, 19, .35);
  transform: rotate(-2.5deg);
}
.stampcard__logo { position: absolute; top: -36px; left: 50%; transform: translateX(-50%); width: 72px; height: 72px; }
.stampcard__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 2vw, 14px); }
.stamp {
  aspect-ratio: 1; border-radius: 50%; background: var(--crema);
  border: 3px dashed var(--nero-3); outline: 3px solid var(--crema); outline-offset: -1px;
  display: grid; place-items: center;
  font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: clamp(.62rem, 1.7vw, .82rem); color: var(--arancio-scuro);
}
.stamp.is-on { background: var(--arancio) url("../img/logo.png") center / 82% no-repeat; }
.stampcard__title {
  margin: 18px -6px 0; text-align: center;
  font-family: var(--f-display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: .03em; color: var(--nero);
  padding: 6px 0 8px; background: var(--brush) center / 100% 100% no-repeat;
}
.qr { margin: 0; display: flex; align-items: center; gap: var(--s2); max-width: 380px; }
.qr img { width: 112px; border-radius: 10px; }
.qr figcaption { font-family: var(--f-label); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; line-height: 1.2; }
@media (hover: none) and (pointer: coarse) { .qr { display: none; } }

/* ---------- Recensioni ---------- */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); margin-bottom: var(--s5); }
.score { display: grid; grid-template-columns: auto auto; gap: 0 14px; align-items: center; text-decoration: none; }
.score__value { font-family: var(--f-display); font-size: 4.4rem; line-height: 1; grid-row: span 2; }
.score__stars { display: flex; gap: 2px; color: var(--arancio); }
.score__stars svg { width: 24px; height: 24px; }
.score__stars .half { -webkit-mask-image: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, .25) 50%); mask-image: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, .25) 50%); }
.score__count { font-family: var(--f-label); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; text-decoration: underline; text-underline-offset: 3px; }
.quotes { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.quote {
  background: #fffaf2; border: 2px solid var(--nero); border-radius: var(--radius);
  padding: var(--s3); display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 6px 6px 0 var(--nero);
}
.quote:nth-child(even) { box-shadow: 6px 6px 0 var(--arancio); }
.quote blockquote { margin: 0 0 var(--s2); font-size: 1.1rem; line-height: 1.5; }
.quote blockquote p { margin: 0; }
.quote blockquote p::before { content: "“"; font-family: var(--f-display); color: var(--arancio); font-size: 2.6rem; line-height: 0; vertical-align: -.42em; margin-right: 4px; }
.quote__who { margin: 0; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* ---------- Chi siamo + Instagram ---------- */
.about__grid { display: grid; gap: var(--s5); align-items: center; margin-bottom: var(--s6); }
@media (min-width: 900px) { .about__grid { grid-template-columns: .9fr 1.1fr; } }
.about__photo { margin: 0; position: relative; }
.about__photo img { width: 100%; aspect-ratio: 3 / 4; background: #fff; object-fit: cover; border-radius: var(--radius); transform: rotate(-2deg); border: 4px solid var(--crema); }
.about__text .display { margin-bottom: var(--s3); }
.about__text p { color: #e3d8c8; max-width: 58ch; }
.about__text .lead { color: var(--crema); }
.insta-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s2); min-height: 44px;
  font-family: var(--f-label); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--arancio-vivo); text-decoration: none;
}
.insta-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.gram { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 900px) { .gram { grid-template-columns: repeat(6, 1fr); } }
.gram a { display: block; overflow: hidden; border-radius: 8px; }
.gram img { aspect-ratio: 1; object-fit: cover; object-position: 70% 58%; width: 100%; transition: transform .4s var(--ease-out); }
.gram a:hover img { transform: scale(1.05); }

/* ---------- Contatti ---------- */
.contact__grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact .display { margin-bottom: var(--s4); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.15rem; }
.hours th, .hours td { padding: 12px 8px; border-bottom: 2px dashed rgba(27, 25, 26, .22); text-align: left; vertical-align: top; }
.hours th { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 1.3rem; width: 40%; }
.hours td { font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { background: var(--nero); color: var(--crema); }
.hours tr.is-today th { border-radius: 8px 0 0 8px; }
.hours tr.is-today td { border-radius: 0 8px 8px 0; }
.hours .today-tag { display: inline-block; margin-left: 8px; font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: var(--arancio-vivo); color: var(--nero); vertical-align: middle; }

.contact__cards { display: grid; gap: 12px; }
.info {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s2); align-items: center;
  padding: var(--s2) var(--s3); min-height: 76px;
  background: #fffaf2; border: 2px solid var(--nero); border-radius: var(--radius);
  text-decoration: none; transition: background-color .2s, transform .18s var(--ease-out);
}
.info:hover { background: var(--crema-2); }
.info:active { transform: scale(.99); }
.info > svg { width: 28px; height: 28px; color: var(--arancio); }
.info strong { display: block; font-family: var(--f-label); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.info span { line-height: 1.3; }
.info__go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--arancio-scuro); }
.info__go svg { width: 1em; height: 1em; }
@media (max-width: 420px) { .info__go { display: none; } .info { grid-template-columns: auto 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--nero); color: var(--crema); padding: clamp(48px, 7vw, 96px) 0 calc(var(--s4) + 70px); overflow: hidden; }
@media (min-width: 761px) { .footer { padding-bottom: var(--s4); } }
.footer__big {
  display: flex; align-items: center; justify-content: center; gap: .05em;
  font-family: var(--f-display); text-transform: uppercase; line-height: .8;
  font-size: clamp(4rem, 17vw, 17rem); color: var(--crema);
  padding-inline: var(--gutter);
}
.footer__big img { width: .9em; height: .9em; transform: rotate(-12deg); }
.footer__big span:last-child { color: var(--arancio-vivo); }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid var(--nero-3); }
.footer__claim { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0; }
.footer__small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); padding-top: var(--s3); color: #b9ad9e; font-size: .95rem; }
.footer__small p { margin: 0; }

/* ---------- Barra ordini mobile ---------- */
.mobilebar { display: none; }
@media (max-width: 760px) {
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--nero); border-top: 3px solid var(--arancio);
  }
  .mobilebar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
    border-radius: 999px; text-decoration: none;
    font-family: var(--f-label); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em;
  }
  .mobilebar a:first-child { background: var(--arancio-vivo); color: var(--nero); }
  .mobilebar a:last-child { background: var(--wa); color: var(--nero); }
  body { padding-bottom: 0; }
}

/* ---------- Comparsa allo scroll (solo un effetto, discreto) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Movimento ridotto ----------
   Scelta del cliente: gli effetti restano attivi anche con "riduci animazioni".
   Si toglie solo lo scorrimento morbido dei link interni e si rallentano le fasce. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider__track { animation-duration: calc(var(--durata, 45s) * 1.5) !important; }
}

/* =====================================================================
   EFFETTI ALLO SCORRIMENTO (attivi quando js/scroll.js aggiunge .fx a <html>)
   ===================================================================== */
/* il banner e il bollino li muove lo script */
.fx .marquee__track { animation: none; will-change: transform; }
.fx .hero__badge { animation: none; }
.fx .hero__w, .fx .hero__logo, .fx .hero__plate { will-change: translate, rotate; }

/* Pizza del mese: la sezione resta ferma mentre la sequenza avanza (solo da computer) */
@media (min-width: 820px) {
  .fx .month-pin { height: 240vh; }
  .fx .month { position: sticky; top: max(calc(var(--header-h) + 24px), calc(50vh - 250px)); }
}
.month__media { position: relative; }
.month__media.has-slices img { visibility: hidden; }
.slices { position: absolute; inset: 0; }
/* ogni spicchio porta con sé il bordo rotondo della pizza (--r: 0-100, raggio del cerchio) */
.slice {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 57%;
  --mask: radial-gradient(closest-side at 50% 52%, #000 calc(var(--r, 100) * 1% - 1%), transparent calc(var(--r, 100) * 1%));
  -webkit-mask-image: var(--mask); mask-image: var(--mask);
  will-change: translate;
}
.month__media.is-cut .slice { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.fx .month__price { transform-origin: left center; }

/* Panettoni: il volantino deve stare tutto nello schermo mentre la sezione è ferma */
@media (min-width: 820px) {
  .fx .month--panettoni { top: calc(var(--header-h) + 16px); }
  .fx .month--panettoni .month__media img { height: min(calc(100vh - var(--header-h) - 56px), 820px); max-height: none; max-width: 100%; }
}
.fx .month--panettoni .month__media { transform-origin: 50% 100%; will-change: translate, rotate, scale, clip-path; }
/* riflesso dorato: lo sposta lo script con --shine */
.month--panettoni .month__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 12px;
  background: linear-gradient(105deg, transparent calc(var(--shine, -60%) - 18%), rgba(255, 214, 140, .55) var(--shine, -60%), transparent calc(var(--shine, -60%) + 18%));
  mix-blend-mode: screen;
}
.fx .gusto { will-change: translate, rotate, opacity; }

/* Consegna: il prezzo arriva come un timbro */
.fx .delivery__price-value {
  opacity: 0; scale: 1.6; rotate: -10deg;
  transition: opacity .25s ease-out, scale .35s cubic-bezier(.3, 1.6, .5, 1), rotate .35s ease-out;
}
.fx .delivery__price-value.is-stamped { opacity: 1; scale: 1; rotate: -3deg; }

/* Tessera: timbri che si riempiono, premi che si accendono */
.stamp { transition: background-color .2s; }
.stamp.is-on, .stamp.is-won { animation: stamp-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.stamp.is-won { background: var(--arancio); color: var(--nero); border-color: var(--nero); }
@keyframes stamp-pop { from { scale: 1.35; } to { scale: 1; } }

/* ---------- Novità di Natale: i panettoni ---------- */
.month--panettoni .month__media img { aspect-ratio: 941 / 1670; object-fit: contain; max-height: 78vh; width: auto; margin-inline: auto; border-radius: 12px; }
.month__lead { font-size: 1.15rem; max-width: 46ch; margin-bottom: var(--s3); }
.month--panettoni .month__ingr li { border-color: var(--arancio-vivo); }
.gusti { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: var(--s5); }
.gusto { background: var(--nero-2); border: 1px solid var(--nero-3); border-radius: var(--radius); overflow: hidden; }
.gusto img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.gusto h4 { margin: 14px 16px 6px; font-family: var(--f-label); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.gusto p { margin: 0 16px 16px; font-size: .98rem; color: #d8cdbd; }
