/* =============================================================================
   PIZZERIA JANARE — Benevento
   Foglio di stile principale
   1. Design tokens      6. Storia / Chi siamo
   2. Reset e base       7. Menu
   3. Componenti UI      8. Componibili / Metro / Galleria
   4. Header e nav       9. Info, orari, contatti
   5. Hero              10. Footer, dock, responsive
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. DESIGN TOKENS
-------------------------------------------------------------------------------*/
:root {
  /* Superfici */
  --ink:        #0C0A09;
  --ink-2:      #141010;
  --ink-3:      #1C1614;
  --ink-4:      #251C19;

  /* Testo */
  --cream:      #F7F1E8;
  --cream-dim:  #D9CFC2;
  --muted:      #A2948A;
  --muted-2:    #7A6E66;

  /* Accenti */
  --red:        #C8202B;
  --red-soft:   #E23A3F;
  --ember:      #F08A3C;
  --gold:       #E0B86C;
  --basil:      #6F8F4E;

  /* Linee e velature */
  --line:       rgba(247, 241, 232, .10);
  --line-2:     rgba(247, 241, 232, .18);
  --glass:      rgba(20, 16, 16, .72);

  /* Tipografia */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Misure */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Ombre */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, .45);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .55);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Altezze fisse calcolate in JS */
  --header-h: 76px;
}

/* -----------------------------------------------------------------------------
   2. RESET E BASE
-------------------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0;
  font-variation-settings: 'SOFT' 0, 'WONK' 1, 'opsz' 40;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: #3A2E29; border-radius: 99px; border: 3px solid var(--ink-2); }
::-webkit-scrollbar-thumb:hover { background: #52403A; }

/* Layout helpers ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding: clamp(72px, 10vw, 132px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--alt { background: var(--ink-2); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--wide { max-width: 780px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.section-head--center .eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: .5em;
}
.title em { font-style: italic; color: var(--gold); }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.115rem);
  color: var(--cream-dim);
  line-height: 1.75;
}

.muted { color: var(--muted); }
.tiny { font-size: 13px; line-height: 1.6; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--red); color: #fff;
  padding: 10px 18px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* -----------------------------------------------------------------------------
   3. COMPONENTI UI
-------------------------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 26px rgba(200, 32, 43, .32);
}
.btn--primary:hover { background: var(--red-soft); box-shadow: 0 16px 34px rgba(226, 58, 63, .38); }

.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--cream);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--cream); background: rgba(247, 241, 232, .07); }

.btn--wa { background: #1FAF54; color: #fff; box-shadow: 0 10px 26px rgba(31, 175, 84, .28); }
.btn--wa:hover { background: #25c962; }

.btn--sm { padding: 11px 20px; font-size: 13.5px; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--cream-dim);
  background: rgba(247, 241, 232, .04);
}
.chip--red    { border-color: rgba(200, 32, 43, .45);  color: #FF8E92; background: rgba(200, 32, 43, .10); }
.chip--gold   { border-color: rgba(224, 184, 108, .4); color: var(--gold); background: rgba(224, 184, 108, .09); }
.chip--green  { border-color: rgba(111, 143, 78, .45); color: #A8CB7C; background: rgba(111, 143, 78, .12); }

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  flex: none;
}
.dot--live { position: relative; }
.dot--live::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .55;
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(.6); opacity: .8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(224, 184, 108, .28);
  background: rgba(224, 184, 108, .07);
  color: var(--cream-dim);
  font-size: 14px;
  line-height: 1.6;
}
.note svg { width: 19px; height: 19px; flex: none; color: var(--gold); margin-top: 2px; }

/* Rivelazione allo scroll -------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* -----------------------------------------------------------------------------
   PRELOADER
-------------------------------------------------------------------------------*/
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark {
  width: clamp(110px, 22vw, 150px);
  height: auto;
  margin: 0 auto 18px;
  opacity: .92;
}
.preloader__word {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: center;
}
.preloader__bar {
  width: 130px; height: 2px;
  margin: 20px auto 0;
  background: var(--line-2);
  overflow: hidden;
  border-radius: 2px;
}
.preloader__bar i {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--red), var(--ember));
  animation: load 1.1s var(--ease) infinite;
}
@keyframes load {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(330%); }
}

/* Barra di avanzamento lettura -------------------------------------------- */
.progress {
  position: fixed; top: 0; left: 0; z-index: 90;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red), var(--ember), var(--gold));
  pointer-events: none;
}

/* -----------------------------------------------------------------------------
   4. TOPBAR, HEADER, NAV
-------------------------------------------------------------------------------*/
.topbar {
  position: relative;
  z-index: 61;
  background: var(--ink-3);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 7px;
}
.topbar__status { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.topbar__status .dot { color: var(--muted); }
.topbar__status.is-open  .dot { color: #57C97A; }
.topbar__status.is-open  b   { color: #7BD897; }
.topbar__status.is-closed .dot { color: #E2565B; }
.topbar__status.is-closed b   { color: #F08A8E; }
.topbar__status b { font-weight: 600; }
.topbar__status span { color: var(--muted); }
.topbar__links { display: flex; align-items: center; gap: 22px; color: var(--muted); }
.topbar__links a { transition: color .25s var(--ease); display: inline-flex; align-items: center; gap: 7px; }
.topbar__links a:hover { color: var(--cream); }
.topbar__links svg { width: 14px; height: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height .4s var(--ease);
}
.site-header.is-stuck .site-header__in { height: 66px; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
/* La janara sulla scopa: marchio ufficiale estratto dai materiali del locale,
   ricolorato in crema per il fondo scuro. */
.brand__mark {
  width: 56px;
  height: auto;
  flex: none;
  transition: transform .5s var(--ease-out);
}
.brand:hover .brand__mark { transform: translateX(3px) rotate(-4deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .01em;
}
.brand__sub {
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Navigazione desktop */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cream-dim);
  border-radius: var(--r-pill);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s var(--ease-out);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--cream); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }

/* Hamburger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  place-items: center;
  flex: none;
}
.burger span {
  display: block;
  width: 18px; height: 1.6px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Menu mobile a tutto schermo */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 59;
  background: var(--ink);
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .4s var(--ease), transform .45s var(--ease-out), visibility .4s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a.mobile-nav__link {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .25s var(--ease);
}
.mobile-nav.is-open a.mobile-nav__link { opacity: 1; transform: none; }
.mobile-nav a.mobile-nav__link:hover { color: var(--gold); }
.mobile-nav__num { font-family: var(--font-ui); font-size: 11px; color: var(--ember); letter-spacing: .18em; }
.mobile-nav__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }

/* -----------------------------------------------------------------------------
   5. HERO
-------------------------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 940px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(12, 10, 9, .94) 0%, rgba(12, 10, 9, .82) 34%, rgba(12, 10, 9, .38) 62%, rgba(12, 10, 9, .55) 100%),
    linear-gradient(to top, var(--ink) 2%, rgba(12, 10, 9, .1) 42%);
}
.hero__glow {
  position: absolute;
  right: -6%; bottom: -14%;
  width: min(58vw, 720px); aspect-ratio: 1;
  z-index: -1;
  background: radial-gradient(circle, rgba(240, 138, 60, .28) 0%, rgba(200, 32, 43, .12) 42%, transparent 68%);
  filter: blur(10px);
  animation: flicker 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes flicker {
  0%   { opacity: .75; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.06); }
  100% { opacity: .8;  transform: scale(.98); }
}

.hero__inner { position: relative; max-width: 720px; padding-block: 60px; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgba(12, 10, 9, .5);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream-dim);
  margin-bottom: 26px;
}
.hero__kicker .dot { color: var(--ember); }

.hero__title {
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: .32em;
}
.hero__title .l { display: block; overflow: hidden; }
.hero__title .l > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.hero.is-ready .hero__title .l > span { transform: none; }
.hero__title i { font-style: italic; color: var(--gold); }

.hero__text {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--cream-dim);
  max-width: 47ch;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 40px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__fact { display: flex; flex-direction: column; gap: 2px; }
.hero__fact b {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--cream);
}
.hero__fact span {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Ancorato a destra: la colonna di testo della hero è allineata a sinistra,
   al centro si sovrapporrebbe alla riga dei dati. */
.scroll-cue {
  position: absolute;
  right: var(--gutter); bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.scroll-cue i {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--ember));
  animation: cue 2.1s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { opacity: .25; transform: scaleY(.55); transform-origin: 50% 0; }
  50%      { opacity: 1;   transform: scaleY(1);   transform-origin: 50% 0; }
}

/* Marquee ------------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 15px;
  user-select: none;
}
.marquee__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--cream-dim);
  white-space: nowrap;
  font-style: italic;
}
.marquee svg { width: 15px; height: 15px; color: var(--red); flex: none; }
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -----------------------------------------------------------------------------
   6. STORIA / CHI SIAMO
-------------------------------------------------------------------------------*/
.story { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }

.story__media { position: relative; }
.story__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.story__frame img { width: 100%; height: 100%; object-fit: cover; }
.story__frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 9, .5), transparent 55%);
}
.story__inset {
  position: absolute;
  right: -6%; bottom: -8%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid var(--ink);
  box-shadow: var(--shadow-md);
}
.story__inset img { width: 100%; height: 100%; object-fit: cover; }

.story__badge {
  position: absolute;
  left: -18px; top: 32px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.story__badge b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.story__badge span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

.story__body p + p { margin-top: 1.1em; }
.story__quote {
  margin: 30px 0 0;
  padding: 22px 26px;
  border-left: 2px solid var(--red);
  background: rgba(247, 241, 232, .035);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--cream);
}
.story__quote footer { margin-top: 10px; font-family: var(--font-ui); font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Statistiche -------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 7vw, 80px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat { background: var(--ink); padding: clamp(22px, 3vw, 34px); text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}
.stat span { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

/* Passi dell'ordine -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.step {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink);
  transition: transform .45s var(--ease-out), border-color .35s var(--ease), background-color .35s var(--ease);
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--ember));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .5s var(--ease-out);
}
.step:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--ink-3); }
.step:hover::before { transform: scaleX(1); }
.step__n {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(247, 241, 232, .13);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.32rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* -----------------------------------------------------------------------------
   7. MENU
-------------------------------------------------------------------------------*/
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

/* min-width:0 è obbligatorio: senza, il flex item non scende sotto la larghezza
   dei suoi tab e trascina la pagina in overflow orizzontale sul mobile. */
.tabs {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: 10px 19px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.tab:hover { color: var(--cream); border-color: var(--line-2); }
.tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.tab small { opacity: .65; margin-left: 6px; font-size: 11.5px; }

.search {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
}
.search svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted-2); pointer-events: none;
}
.search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--cream);
  font: inherit;
  font-size: 14px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.search input::placeholder { color: var(--muted-2); }
.search input:focus { outline: none; border-color: var(--ember); background: var(--ink-4); }

.menu-cat { margin-bottom: clamp(44px, 6vw, 68px); scroll-margin-top: 140px; }
.menu-cat[hidden] { display: none !important; }

.menu-cat__head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.menu-cat__thumb {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.menu-cat__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.menu-cat:hover .menu-cat__thumb img { transform: scale(1.06); }
.menu-cat__head h3 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin-bottom: 8px; }
.menu-cat__head .eyebrow { margin-bottom: 12px; }
.menu-cat__head p { color: var(--muted); font-size: 14.5px; max-width: 60ch; }

.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 44px; }

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px dashed var(--line);
  transition: padding-left .3s var(--ease);
}
.dish:hover { padding-left: 8px; }
.dish[hidden] { display: none !important; }
.dish__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
/* Prezzo: una cifra per panuozzi, fritti e bibite; due per le pizze
   (tonda / formato famiglia 35×75). */
.dish__price {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.dish__price .p-tonda { color: var(--gold); }
.dish__price .p-sep   { color: var(--muted-2); font-weight: 400; }
.dish__price .p-fam   { color: var(--cream-dim); font-size: .94em; }
.dish__price.is-empty { color: var(--muted-2); font-family: var(--font-ui); font-size: .95rem; }
.dish__desc { grid-column: 1 / -1; color: var(--muted); font-size: 13.8px; line-height: 1.6; }

/* Legenda dei due prezzi, nella testata delle categorie di pizze */
.price-key {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-key span:first-child { color: var(--gold); }
.price-key span:last-child  { color: var(--cream-dim); }
.price-key i { font-style: normal; color: var(--muted-2); }

.menu-cat__nota {
  margin-top: 18px;
  padding: 13px 18px;
  border-left: 2px solid var(--ember);
  background: rgba(240, 138, 60, .07);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13.5px;
  color: var(--cream-dim);
  line-height: 1.6;
}
.tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.tag--casa      { background: rgba(224, 184, 108, .16); color: var(--gold); }
.tag--dolce     { background: rgba(200, 140, 200, .14); color: #E0AEDC; }
.tag--piccante  { background: rgba(200, 32, 43, .18);  color: #FF8E92; }
.tag--vegana,
.tag--vegetariana { background: rgba(111, 143, 78, .18); color: #A8CB7C; }

.menu-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.menu-empty b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); margin-bottom: 8px; }

.menu-foot {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* -----------------------------------------------------------------------------
   8. COMPONIBILI · METRO · CITAZIONE · GALLERIA
-------------------------------------------------------------------------------*/
.componi { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(34px, 5vw, 70px); align-items: start; }

.componi__aside { position: sticky; top: 120px; }
.componi__img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 26px;
  box-shadow: var(--shadow-md);
}
.componi__img img { width: 100%; height: 100%; object-fit: cover; }

/* Le tre regole di prezzo: composta, metà e metà, famiglia a 2 gusti -------- */
.regole {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 20px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.regola {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink);
  transition: border-color .35s var(--ease), transform .45s var(--ease-out);
}
.regola:hover { border-color: var(--line-2); transform: translateY(-4px); }
.regola h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.regola__formula {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: rgba(224, 184, 108, .1);
  border: 1px solid rgba(224, 184, 108, .3);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
}
.regola__testo { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Informativa allergeni ---------------------------------------------------- */
.allergeni {
  margin-top: clamp(30px, 4vw, 46px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--ink-3), var(--ink));
}
.allergeni__head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.allergeni__head svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.allergeni__head h3 { font-size: 1.2rem; }
.allergeni__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.allergeni__testo { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 78ch; }

.ingr-groups { display: grid; gap: 12px; }
.ingr {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.ingr.is-open { border-color: var(--line-2); }
.ingr__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  text-align: left;
  transition: background-color .3s var(--ease);
}
.ingr__btn:hover { background: var(--ink-3); }
.ingr__icon {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(240, 138, 60, .12);
  color: var(--ember);
}
.ingr__icon svg { width: 19px; height: 19px; }
.ingr__label { flex: 1; }
.ingr__label b { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; }
.ingr__label small { color: var(--muted); font-size: 12.5px; }
.ingr__chev {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  color: var(--muted);
  transition: transform .4s var(--ease-out), color .3s var(--ease);
}
.ingr__chev svg { width: 15px; height: 15px; }
.ingr.is-open .ingr__chev { transform: rotate(180deg); color: var(--ember); }
.ingr__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.ingr.is-open .ingr__panel { grid-template-rows: 1fr; }
.ingr__panel > div { overflow: hidden; }
.ingr__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 22px 76px;
}
.ingr__items li {
  font-size: 13px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--cream-dim);
}

/* Metro -------------------------------------------------------------------- */
.metro {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}
.metro__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.metro__media img { width: 100%; height: 100%; object-fit: cover; }
.metro__tape {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: rgba(12, 10, 9, .78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.metro__tape b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; color: var(--gold); text-transform: none; }
.metro__list { display: grid; gap: 14px; margin: 26px 0 32px; }
.metro__list li { display: flex; gap: 13px; align-items: flex-start; color: var(--cream-dim); font-size: 15px; }
.metro__list svg { width: 19px; height: 19px; flex: none; color: var(--basil); margin-top: 3px; }

/* Citazione a tutta larghezza --------------------------------------------- */
.quote-band {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.quote-band img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.quote-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, var(--ink) 0%, rgba(12, 10, 9, .74) 30%, rgba(12, 10, 9, .74) 70%, var(--ink) 100%);
}
.quote-band__in { max-width: 780px; padding: 80px var(--gutter); }
.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3.6vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -.015em;
}
.quote-band cite {
  display: block;
  margin-top: 22px;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ember);
}

/* Galleria ----------------------------------------------------------------- */
/* 3 colonne: la prima foto occupa 2×2, le altre cinque riempiono la griglia. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
  background: var(--ink-3);
}
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out), filter .5s var(--ease);
  filter: saturate(.92);
}
.gallery figure:hover img { transform: scale(1.07); filter: saturate(1.1); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 18px 15px;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(to top, rgba(12, 10, 9, .88), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease-out);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: rgba(6, 5, 4, .94);
  backdrop-filter: blur(6px);
  padding: 5vh 5vw;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 84vh;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transform: scale(.96);
  transition: transform .4s var(--ease-out);
}
.lightbox.is-open img { transform: none; }
.lightbox__close {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--cream);
  transition: background-color .25s var(--ease);
}
.lightbox__close:hover { background: rgba(247, 241, 232, .1); }
.lightbox__close svg { width: 19px; height: 19px; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  color: var(--cream);
  transition: background-color .25s var(--ease);
}
.lightbox__nav:hover { background: rgba(247, 241, 232, .1); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: 22px;
  text-align: center;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}

/* -----------------------------------------------------------------------------
   9. SERVIZI · ORARI · CONTATTI
-------------------------------------------------------------------------------*/
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 20px); }
.feature {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink);
  transition: border-color .35s var(--ease), transform .45s var(--ease-out);
}
.feature:hover { border-color: var(--line-2); transform: translateY(-4px); }
.feature__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(240, 138, 60, .11);
  color: var(--ember);
  margin-bottom: 16px;
}
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { font-size: 13.6px; color: var(--muted); line-height: 1.6; }

.pay-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Orari -------------------------------------------------------------------- */
.hours-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

.hours {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
}
.hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  transition: background-color .3s var(--ease);
}
.hours__row:last-child { border-bottom: 0; }
.hours__row.is-today { background: rgba(240, 138, 60, .09); }
.hours__row.is-today .hours__day { color: var(--ember); font-weight: 600; }
.hours__row.is-closed .hours__time { color: var(--muted-2); font-style: italic; }
.hours__day { color: var(--cream-dim); display: inline-flex; align-items: center; gap: 10px; }
.hours__today-pin {
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--ember); color: #1a1210;
  padding: 2px 7px; border-radius: 3px; font-weight: 700;
}
.hours__time { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--cream); }

.season {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.season__card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-3);
}
.season__card.is-current { border-color: rgba(240, 138, 60, .4); background: rgba(240, 138, 60, .07); }
.season__card h4 { font-size: 1.05rem; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; }
.season__card p { font-size: 13.6px; color: var(--muted); }

.status-panel {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  margin-bottom: 22px;
}
.status-panel__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.status-panel__label {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.status-panel h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.status-panel p { color: var(--muted); font-size: 14.5px; }
.status-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Contatti ----------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 4vw, 60px); align-items: start; }

.contact-list { display: grid; gap: 2px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { padding-top: 0; }
.contact-item__icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  color: var(--ember);
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item__body { min-width: 0; }
.contact-item h4 {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 5px;
}
.contact-item a, .contact-item span { font-size: 16px; color: var(--cream); word-break: break-word; }
.contact-item a { transition: color .25s var(--ease); }
.contact-item a:hover { color: var(--ember); }
.contact-item small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

.map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
  position: relative;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) invert(.9) hue-rotate(180deg) contrast(.9); }
.map__bar {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 18px;
  border-radius: var(--r-md);
  background: rgba(12, 10, 9, .88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
}
.map__bar b { font-size: 14px; display: block; }
.map__bar small { color: var(--muted); font-size: 12.5px; }

/* Fascia CTA finale -------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(38px, 6vw, 72px);
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background: url('../img/gal-6.jpg') center / cover no-repeat;
  opacity: .3;
  filter: saturate(.85);
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(200, 32, 43, .42), transparent 58%),
    radial-gradient(ellipse at 85% 80%, rgba(240, 138, 60, .3), transparent 58%),
    linear-gradient(rgba(12, 10, 9, .78), rgba(12, 10, 9, .86));
}
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin-bottom: 14px; }
.cta-band p { color: var(--cream-dim); max-width: 54ch; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 30px; }

/* -----------------------------------------------------------------------------
   10. FOOTER · DOCK · UTILITY FLOTTANTI
-------------------------------------------------------------------------------*/
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(52px, 7vw, 78px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(38px, 5vw, 56px);
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li { font-size: 14.5px; color: var(--cream-dim); }
.footer-col a { transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--ember); }
.footer-about p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin-top: 18px; max-width: 40ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--cream-dim);
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease-out);
}
.footer-social a:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted-2);
}
.footer-bottom a:hover { color: var(--cream-dim); }

/* Dock mobile -------------------------------------------------------------- */
.dock {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 55;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-pill);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md);
  transform: translateY(140%);
  transition: transform .45s var(--ease-out);
}
.dock.is-visible { transform: none; }
.dock a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 9px 4px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--cream-dim);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.dock a svg { width: 19px; height: 19px; }
.dock a.is-primary { background: var(--red); color: #fff; }
.dock a:not(.is-primary):hover { background: rgba(247, 241, 232, .08); }

/* Torna su ----------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 54;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  color: var(--cream);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease-out), visibility .35s, background-color .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); border-color: var(--red); }
.to-top svg { width: 17px; height: 17px; }

/* -----------------------------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------------------------------*/
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-list { grid-template-columns: 1fr; gap: 0; }
  .regole { grid-template-columns: 1fr; }
  .componi { grid-template-columns: 1fr; }
  .componi__aside { position: static; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .burger { display: grid; }
  .story { grid-template-columns: 1fr; }
  .story__inset { display: none; }
  .story__badge { left: 14px; top: 14px; }
  .metro { grid-template-columns: 1fr; }
  .hours-wrap { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .menu-cat__head { grid-template-columns: 1fr; }
  .menu-cat__thumb { aspect-ratio: 21 / 9; }
  .dock { display: flex; }
  .to-top { bottom: 92px; right: 14px; }
  body { padding-bottom: 76px; }
}

@media (max-width: 700px) {
  .topbar__links a span { display: none; }
  .topbar__in { font-size: 12px; }
  /* Il tetto evita una hero smisurata sui display molto alti. */
  .hero { min-height: min(88vh, 760px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/11; }
  /* In colonna il flex-basis agirebbe sull'altezza: azzero flex e fisso la
     larghezza, così i tab restano una riga che scorre da sola. */
  .menu-toolbar { flex-direction: column; align-items: stretch; }
  .tabs { flex: none; width: 100%; }
  .search { flex: none; max-width: none; width: 100%; order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .ingr__items { padding-left: 22px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .hero__facts { gap: 12px 22px; }
  .dock a span { font-size: 9.5px; }
}

/* Accessibilità: movimento ridotto ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__title .l > span { transform: none !important; }
}

/* Stampa ------------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .dock, .to-top, .hero__media, .hero__glow,
  .marquee, .gallery, .quote-band, .progress, .preloader { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 20px 0; }
  .dish__price { color: #000; }
}
