/* ============================================
   PIZZERIA DA DIEGHINO — Stylesheet
   Editorial / dark / warm / Italian
   ============================================ */

:root {
  /* Palette */
  --bg: #1a0e0a;
  --bg-soft: #221410;
  --bg-card: #2a1814;
  --bg-elevated: #321d18;
  --cream: #f0e3c5;
  --cream-bright: #f9eed2;
  --cream-dim: #c4b58e;
  --cream-faint: #8a7d5e;
  --red: #c8362b;
  --red-dark: #8a1f1a;
  --red-glow: rgba(200, 54, 43, 0.18);
  --gold: #c9a961;
  --gold-bright: #e0c074;

  /* Type */
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;
  --font-body: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 9rem;

  /* Layout */
  --max-width: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s var(--ease); }
em { font-style: italic; }

/* ============================================
   GRAIN TEXTURE OVERLAY
   ============================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ============================================
   COMMON SECTION ELEMENTS
   ============================================ */
.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.section__eyebrow::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream-bright);
  margin-bottom: 2rem;
}

.section__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  transition: all 0.4s var(--ease);
  background: linear-gradient(to bottom, rgba(26, 14, 10, 0.5), transparent);
  /* NB: niente backdrop-filter qui, romperebbe il position:fixed
     del menu overlay (creerebbe un containing block che lo confina dentro la nav). */
}

.nav.is-scrolled {
  background: rgba(26, 14, 10, 0.96);
  padding: 0.875rem var(--gutter);
  border-bottom: 1px solid rgba(240, 227, 197, 0.08);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-right: auto;
}

.nav__brand-logo {
  width: 56px;
  height: 56px;
  display: block;
  border-radius: 50%;
  transition: transform 0.4s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.nav__brand:hover .nav__brand-logo {
  transform: rotate(-8deg) scale(1.05);
}

.nav.is-scrolled .nav__brand-logo {
  width: 46px;
  height: 46px;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  position: relative;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--red);
  color: var(--cream-bright);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}

.nav__cta:hover {
  background: transparent;
  border-color: var(--red);
  transform: translateY(-2px);
}

.nav__cta svg { width: 16px; height: 16px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 6px;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 8rem var(--gutter) 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(26, 14, 10, 0.55) 0%, rgba(26, 14, 10, 0.45) 40%, rgba(26, 14, 10, 0.85) 100%),
    url('img/foto/forno.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(200, 54, 43, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(201, 169, 97, 0.12), transparent 55%);
}

.hero__content {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__logo {
  width: clamp(220px, 32vw, 380px);
  height: auto;
  display: block;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: heroFade 1.2s var(--ease) 0.3s forwards;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.6));
  border-radius: 50%;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--cream-bright);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFade 1s var(--ease) 0.6s forwards;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero__tagline em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.4em;
  color: var(--gold-bright);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  display: inline-block;
  margin-top: -0.1em;
  vertical-align: -0.05em;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 400;
  color: var(--cream-dim);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: heroFade 1s var(--ease) 0.9s forwards;
}

.hero__lead em { color: var(--cream); font-style: italic; }

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: heroFade 1s var(--ease) 1.1s forwards;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  border: 1px solid rgba(240, 227, 197, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  animation: heroFade 1s var(--ease) 1.3s forwards;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}

.hero__meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.hero__meta-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
}

.hero__meta-divider {
  width: 1px;
  height: 28px;
  background: rgba(240, 227, 197, 0.15);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--cream-dim));
  position: relative;
  overflow: hidden;
}

.hero__scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--cream);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--cream-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(240, 227, 197, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(240, 227, 197, 0.25);
}

.btn--ghost:hover {
  border-color: var(--cream);
  background: rgba(240, 227, 197, 0.05);
}

.btn--lg {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* ============================================
   STORIA
   ============================================ */
.storia {
  padding: var(--space-xxl) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.storia__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.storia__image {
  position: relative;
}

.storia__image-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(240, 227, 197, 0.05);
}

.storia__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.storia__image:hover .storia__image-frame img {
  transform: scale(1.04);
}

.storia__image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.storia__image-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 124px;
  height: 124px;
  background: var(--red);
  color: var(--cream-bright);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  box-shadow: 0 15px 40px -10px rgba(200, 54, 43, 0.5);
  transform: rotate(-8deg);
  animation: badgeFloat 4s var(--ease-soft) infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-6px); }
}

.storia__image-badge-num {
  display: block;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 700;
  font-style: italic;
}

.storia__image-badge-text {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 4px;
}

.storia__text p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

.storia__text strong { color: var(--cream); font-weight: 600; }
.storia__text em { color: var(--gold-bright); font-style: italic; }

.storia__lead {
  font-size: 1.35rem !important;
  color: var(--cream) !important;
  font-weight: 400;
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 2rem !important;
}

.storia__values {
  list-style: none;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(240, 227, 197, 0.1);
}

.storia__values li {
  font-size: 0.95rem;
  padding: 0.75rem 0;
  color: var(--cream-dim);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.storia__values li::before {
  content: "✦";
  color: var(--gold);
  font-size: 0.8rem;
}

.storia__values strong {
  color: var(--cream);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================
   MENU
   ============================================ */
.menu {
  padding: var(--space-xxl) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.menu__header {
  text-align: center;
  margin-bottom: 2rem;
}

.menu__header .section__eyebrow::before { display: none; }
.menu__header .section__eyebrow {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

.menu__intro {
  max-width: 500px;
  margin: 1.5rem auto 0;
  color: var(--cream-dim);
  font-size: 1.05rem;
  font-style: italic;
}

.menu__download {
  margin-top: 1.25rem;
}

.menu__controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 70px;
  z-index: 10;
  padding: 0.75rem 0;
  background: var(--bg);
  background: linear-gradient(to bottom, var(--bg) 80%, transparent);
}

.menu__tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.menu__tab {
  padding: 0.6rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream-dim);
  border: 1px solid rgba(240, 227, 197, 0.15);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.menu__tab:hover {
  border-color: var(--cream-dim);
  color: var(--cream);
}

.menu__tab.is-active {
  background: var(--cream);
  color: var(--bg);
  border-color: var(--cream);
  font-weight: 600;
}

.menu__search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(240, 227, 197, 0.1);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease);
}

.menu__search:focus-within {
  border-color: var(--gold);
}

.menu__search svg {
  width: 16px;
  height: 16px;
  color: var(--cream-faint);
  flex-shrink: 0;
}

.menu__search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
}

.menu__search input::placeholder {
  color: var(--cream-faint);
  font-style: italic;
}

.menu__results {
  text-align: center;
  color: var(--cream-faint);
  font-style: italic;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  min-height: 0;
}

.menu__results:empty { display: none; }

.menu__section {
  margin-bottom: 5rem;
  scroll-margin-top: 200px;
}

.menu__section[hidden] { display: none; }

.menu__section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--cream-bright);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.menu__section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(240, 227, 197, 0.2), transparent);
  margin-left: 1rem;
  align-self: center;
}

.menu__section-script {
  font-family: var(--font-script);
  font-size: 1.5em;
  color: var(--gold-bright);
  font-weight: 400;
  font-style: normal;
}

.menu__section-note {
  font-style: italic;
  color: var(--cream-faint);
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.5rem 2.5rem;
}

.menu__grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.menu__grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.25rem 2rem;
}

/* Dish card */
.dish {
  padding: 1.1rem 0;
  border-bottom: 1px dashed rgba(240, 227, 197, 0.1);
  transition: all 0.3s var(--ease);
  position: relative;
}

.dish:hover {
  border-bottom-color: var(--gold);
}

.dish[hidden] { display: none; }

.dish header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.3rem;
}

.dish h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream-bright);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.dish__price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.dish p {
  font-size: 0.92rem;
  color: var(--cream-dim);
  line-height: 1.5;
  font-style: italic;
}

.dish__tag {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  cursor: help;
  margin-left: 2px;
}

.dish--feature {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(201, 169, 97, 0.15);
  position: relative;
  overflow: hidden;
}

.dish--feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.dish--feature h4 {
  font-size: 1.25rem;
  color: var(--cream-bright);
}

.dish__featured-label {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.dish--large h4 { font-size: 1.4rem; }
.dish--large { padding: 1.5rem 0; }

.dish--compact { padding: 0.75rem 0; }
.dish--compact h4 { font-size: 1rem; }

.menu__footnote {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(240, 227, 197, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: var(--cream-faint);
  font-style: italic;
  line-height: 1.8;
}

.menu__footnote p { margin: 0.25rem 0; }

.menu__cta {
  margin-top: 3rem;
  text-align: center;
}

/* ============================================
   PAGINATOR (menu + ordina)
   ============================================ */
.paginator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0 1rem;
  padding: 1rem 0;
}

.paginator[hidden] { display: none; }

.paginator__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  border: 1px solid rgba(240, 227, 197, 0.18);
  background: transparent;
  transition: all 0.25s var(--ease);
}

.paginator__btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201, 169, 97, 0.08);
}

.paginator__btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.paginator__btn svg {
  width: 18px;
  height: 18px;
}

.paginator__pages {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.paginator__page {
  min-width: 38px;
  height: 38px;
  padding: 0 0.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream-dim);
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: all 0.2s var(--ease);
}

.paginator__page:hover:not(.is-active) {
  color: var(--cream-bright);
  border-color: rgba(240, 227, 197, 0.18);
}

.paginator__page.is-active {
  background: var(--cream);
  color: var(--bg);
  font-weight: 600;
  cursor: default;
}

/* ============================================
   ORDER PAGE (ordina.html)
   ============================================ */
.order-page {
  padding: calc(var(--space-xxl) + 2rem) var(--gutter) calc(var(--space-xxl) + 5rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.order-page__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.order-page__header .section__eyebrow {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
}

.order-page__header .section__eyebrow::before { display: none; }

.order-page__intro {
  color: var(--cream-dim);
  font-size: 1.05rem;
  font-style: italic;
  margin-top: 1rem;
}

.order-page__intro strong {
  color: var(--cream-bright);
  font-style: normal;
  font-weight: 600;
}

/* ---------- Tabs categoria ---------- */
.order-tabs {
  position: sticky;
  top: 70px;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem 0 1.25rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(to bottom, var(--bg) 75%, transparent);
}

.order-tab {
  padding: 0.55rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream-dim);
  border: 1px solid rgba(240, 227, 197, 0.15);
  border-radius: 999px;
  background: transparent;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.order-tab:hover {
  border-color: var(--cream-dim);
  color: var(--cream);
}

.order-tab.is-active {
  background: var(--cream);
  color: var(--bg);
  border-color: var(--cream);
  font-weight: 600;
}

@media (max-width: 720px) {
  .order-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.75rem var(--gutter);
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .order-tabs::-webkit-scrollbar { display: none; }
}

.order__group[hidden] { display: none; }

/* ---------- Items list ---------- */
.order__items-loading {
  color: var(--cream-faint);
  font-style: italic;
}

.order__group {
  margin-bottom: 2.5rem;
}

.order__group:last-child { margin-bottom: 0; }

.order__group-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream-bright);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(240, 227, 197, 0.12);
  letter-spacing: 0.01em;
}

.order__group-title em {
  color: var(--gold-bright);
  font-style: italic;
}

.order__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(240, 227, 197, 0.08);
  transition: background 0.25s var(--ease);
}

.order__row[hidden] { display: none; }

.order__row:hover {
  background: rgba(240, 227, 197, 0.025);
}

.order__row-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.order__row-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream-bright);
  font-weight: 500;
}

.order__row-desc {
  font-size: 0.85rem;
  color: var(--cream-dim);
  font-style: italic;
  line-height: 1.4;
}

.order__row-desc:empty { display: none; }

.order__row-price {
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-right: 0.25rem;
}

/* Qty stepper */
.order__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(240, 227, 197, 0.12);
  border-radius: 999px;
  padding: 0.2rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.order__qty.has-items {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
}

.order__qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
  transition: all 0.2s var(--ease);
}

.order__qty-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.order__qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.order__qty-btn:disabled:hover {
  background: transparent;
  color: var(--cream);
}

.order__qty-num {
  min-width: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--cream-bright);
  font-size: 0.95rem;
}

/* ---------- Cart (dentro la modal) ---------- */
.order__cart {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.order__cart-empty {
  color: var(--cream-faint);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.order__cart-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--cream);
  border-bottom: 1px dashed rgba(240, 227, 197, 0.08);
}

.order__cart-item:last-child { border-bottom: none; }

.order__cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.order__cart-item-name {
  flex: 1;
  min-width: 0;
}

.order__cart-item-name strong {
  color: var(--gold-bright);
  margin-right: 0.4rem;
  font-weight: 700;
}

.order__cart-item-price {
  font-variant-numeric: tabular-nums;
  color: var(--cream-dim);
  white-space: nowrap;
}

.order__cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream-faint);
  background: transparent;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}

.order__cart-item-remove:hover {
  background: var(--red);
  color: var(--cream-bright);
  transform: rotate(90deg);
}

.order__cart-item-remove svg {
  width: 14px;
  height: 14px;
}

.order__cart-item-note {
  width: 100%;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 227, 197, 0.1);
  border-radius: 5px;
  padding: 0.4rem 0.65rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.order__cart-item-note:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.4);
}

.order__cart-item-note::placeholder {
  color: var(--cream-faint);
  opacity: 0.7;
}

.order__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1rem 0 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  font-family: var(--font-display);
}

.order__total span {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-family: var(--font-body);
  font-weight: 500;
}

.order__total strong {
  font-size: 1.5rem;
  color: var(--gold-bright);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Form fields */
.order__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.order__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.order__field > span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 500;
}

.order__field-hint {
  font-style: italic;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--cream-faint);
  font-weight: 400;
  font-size: 0.95em;
  margin-left: 0.4rem;
}

.order__field input,
.order__field textarea,
.order__field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream-bright);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(240, 227, 197, 0.15);
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  width: 100%;
}

.order__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.order__field select option {
  background: var(--bg-card);
  color: var(--cream-bright);
}

.order__time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
}

.order__time-slot {
  padding: 0.6rem 0.4rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(240, 227, 197, 0.15);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s var(--ease);
}

.order__time-slot:hover:not(.is-active) {
  border-color: var(--cream-dim);
  color: var(--cream-bright);
  background: rgba(240, 227, 197, 0.04);
}

.order__time-slot.is-active {
  background: var(--cream);
  color: var(--bg);
  border-color: var(--cream);
  font-weight: 600;
}

.order__field textarea {
  resize: vertical;
  min-height: 60px;
  font-family: var(--font-body);
}

.order__field input:focus,
.order__field textarea:focus,
.order__field select:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.4);
}

.order__field input::placeholder,
.order__field textarea::placeholder {
  color: var(--cream-faint);
  font-style: italic;
}

/* time picker — Safari/Chrome quirk */
.order__field input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.85) sepia(0.4) saturate(2) hue-rotate(5deg);
  cursor: pointer;
}

.order__disclaimer {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--cream-dim);
  background: rgba(200, 54, 43, 0.12);
  border: 1px solid rgba(200, 54, 43, 0.35);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  margin-top: 0.5rem;
}

.order__disclaimer strong {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.order__send {
  margin-top: 0.25rem;
  width: 100%;
  justify-content: center;
  background: #25d366;
  color: #fff;
}

.order__send:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.4);
}

.order__form-error {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.order__form-error[hidden] { display: none; }

/* Responsive rows */
@media (max-width: 720px) {
  .order__row {
    grid-template-columns: 1fr auto;
    gap: 0.4rem 0.6rem;
  }
  .order__row-info {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .order__row-price {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
  .order__qty {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: end;
  }
}

/* ============================================
   FAB (floating cart button)
   ============================================ */
.fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem 0.85rem 1.05rem;
  background: var(--red);
  color: var(--cream-bright);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow:
    0 20px 40px -10px rgba(200, 54, 43, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.fab:hover {
  transform: translateY(-3px);
  box-shadow:
    0 25px 50px -10px rgba(200, 54, 43, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.fab.has-items {
  animation: fabBump 0.45s var(--ease);
}

@keyframes fabBump {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.08); }
}

.fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.fab__total {
  font-variant-numeric: tabular-nums;
}

.fab__count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 2px solid var(--bg);
  font-variant-numeric: tabular-nums;
}

.fab__count[hidden] { display: none; }

/* ============================================
   CART MODAL
   ============================================ */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.cart-modal[hidden] { display: none; }

.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.cart-modal.is-open .cart-modal__backdrop { opacity: 1; }

.cart-modal__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100% - 2rem));
  max-height: min(90vh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.75rem;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 10px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.75);
  transform: translate(-50%, -42%) scale(0.96);
  opacity: 0;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 97, 0.35) transparent;
}

.cart-modal__inner::-webkit-scrollbar {
  width: 6px;
}

.cart-modal__inner::-webkit-scrollbar-track {
  background: transparent;
}

.cart-modal__inner::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 97, 0.35);
  border-radius: 3px;
}

.cart-modal__inner::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 97, 0.55);
}

.cart-modal.is-open .cart-modal__inner {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.cart-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream-dim);
  transition: all 0.22s var(--ease);
}

.cart-modal__close:hover {
  background: rgba(240, 227, 197, 0.08);
  color: var(--cream-bright);
}

.cart-modal__close svg {
  width: 20px;
  height: 20px;
}

.cart-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream-bright);
  padding: 0 2.5rem 0.75rem 0;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(240, 227, 197, 0.1);
}

@media (max-width: 600px) {
  .cart-modal__inner {
    width: calc(100% - 1rem);
    padding: 1.25rem;
    max-height: 92vh;
  }
  .fab {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1.1rem 0.75rem 0.95rem;
    font-size: 0.95rem;
  }
}

/* ============================================
   GALLERIA
   ============================================ */
.galleria {
  padding: var(--space-xxl) var(--gutter);
  background: var(--bg-soft);
  position: relative;
}

.galleria__header {
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  text-align: center;
}

.galleria__header .section__eyebrow {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

.galleria__header .section__eyebrow::before { display: none; }

.galleria__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.galleria__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-card);
  aspect-ratio: 4/3;
}

.galleria__item--tall {
  grid-row: span 2;
  aspect-ratio: 3/4.2;
}

.galleria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.galleria__item:hover img {
  transform: scale(1.06);
}

.galleria__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-style: italic;
}

.galleria__item--quote {
  background: linear-gradient(135deg, var(--red-dark), var(--bg-elevated));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  text-align: center;
  aspect-ratio: 4/3;
}

.galleria__item--quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.4;
  color: var(--cream-bright);
  font-style: italic;
  position: relative;
  padding: 1.5rem 0;
}

.galleria__item--quote em {
  color: var(--gold-bright);
  font-weight: 600;
}

.galleria__quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.4em;
  display: inline-block;
  opacity: 0.6;
}

.galleria__item--quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ============================================
   CONTATTI
   ============================================ */
.contatti {
  padding: var(--space-xxl) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.contatti__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contatti__blocks {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contatti__block {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(240, 227, 197, 0.1);
}

.contatti__block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contatti__block-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.625rem;
  font-weight: 500;
}

.contatti__block-value {
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.contatti__block-value a {
  color: var(--cream-bright);
  font-weight: 500;
}

.contatti__link {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--gold-bright);
  font-style: italic;
  transition: transform 0.3s var(--ease);
}

.contatti__link:hover {
  transform: translateX(4px);
}

.contatti__socials {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contatti__socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}

.contatti__socials a:hover {
  color: var(--gold-bright);
}

.contatti__socials svg {
  width: 20px;
  height: 20px;
}

.contatti__cta {
  margin-top: 2.5rem;
}

.contatti__map {
  position: sticky;
  top: 100px;
  height: 600px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(240, 227, 197, 0.08);
}

.contatti__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-soft);
  padding: var(--space-lg) var(--gutter) var(--space-md);
  border-top: 1px solid rgba(240, 227, 197, 0.08);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__brand {
  text-align: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(240, 227, 197, 0.08);
  margin-bottom: 2rem;
}

.footer__logo {
  width: 140px;
  height: 140px;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.footer__sub {
  margin-top: 0.75rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
  font-style: italic;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  transition: color 0.3s var(--ease);
}

.footer__links a:hover {
  color: var(--gold-bright);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(240, 227, 197, 0.05);
  font-size: 0.8rem;
  color: var(--cream-faint);
  letter-spacing: 0.02em;
}

/* ============================================
   MAP CONSENT OVERLAY
   ============================================ */
.map-consent {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
}

.map-consent[hidden] { display: none; }

.map-consent svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.map-consent p {
  color: var(--cream-dim);
  font-size: 1rem;
  max-width: 280px;
}

.map-consent strong { color: var(--cream); }

/* ============================================
   COOKIE / PRIVACY BANNER
   ============================================ */
.cookie {
  position: fixed;
  z-index: 9998;
  left: 50%;
  bottom: clamp(1rem, 3vw, 2rem);
  transform: translateX(-50%);
  width: min(680px, calc(100% - 2rem));
  background: rgba(34, 20, 16, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 14px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  animation: cookieUp 0.5s var(--ease) both;
}

.cookie[hidden] { display: none; }

@keyframes cookieUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.cookie__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
}

.cookie__text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cream-dim);
}

.cookie__text a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.footer__consent {
  font-size: inherit;
  color: var(--cream-faint);
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s var(--ease);
}

.footer__consent:hover { color: var(--gold-bright); }

@media (max-width: 600px) {
  .cookie__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    text-align: center;
  }
  .cookie__actions { justify-content: center; }
}

/* ============================================
   LEGAL PAGE (privacy.html)
   ============================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--space-xxl) + 3rem) var(--gutter) var(--space-xl);
}

.legal__updated {
  color: var(--cream-faint);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--cream-bright);
  margin: 2.5rem 0 1rem;
}

.legal h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin: 1.5rem 0 0.5rem;
}

.legal p,
.legal li {
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.legal ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.4rem; }

.legal a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal strong { color: var(--cream); }

.legal__todo {
  background: rgba(200, 54, 43, 0.12);
  border: 1px dashed var(--red);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  color: var(--cream);
  font-style: italic;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  color: var(--gold-bright);
  font-style: italic;
}

/* ============================================
   REVEAL ANIMATIONS (intersection observer)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .storia__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .storia__image-frame {
    aspect-ratio: 4/5;
    max-width: 500px;
    margin: 0 auto;
  }

  .storia__image-badge {
    width: 110px;
    height: 110px;
  }

  .storia__image-badge-num { font-size: 2.5rem; }

  .contatti__grid {
    grid-template-columns: 1fr;
  }

  .contatti__map {
    height: 400px;
    position: relative;
    top: 0;
  }

  .galleria__grid {
    grid-template-columns: 1fr 1fr;
  }

  .galleria__item--tall { grid-row: auto; aspect-ratio: 4/3; }

  .galleria__item--quote {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
}

/* Hamburger attivo già da 900px (5 link diventano stretti sui tablet) */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(26, 14, 10, 0.985);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 6rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }

  .nav__links.is-open { transform: translateX(0); }

  .nav__links a {
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--cream-bright);
    padding: 0.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid transparent;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  }

  .nav__links a::after { display: none; }

  .nav__links a:hover,
  .nav__links a:focus-visible {
    color: var(--gold-bright);
    border-bottom-color: var(--gold);
  }

  .nav__links a[aria-current="page"] {
    color: var(--gold-bright);
  }

  .nav__burger {
    display: flex;
    position: relative;
    z-index: 200;
    width: 40px;
    height: 40px;
    padding: 8px;
  }
}

@media (max-width: 720px) {
  body { font-size: 17px; }

  :root {
    --space-xxl: 5rem;
    --space-xl: 4rem;
  }

  /* Navigation mobile */
  .nav__brand-logo {
    width: 48px;
    height: 48px;
  }

  .nav__cta span { display: none; }

  .nav__cta {
    padding: 0.5rem;
    width: 38px;
    height: 38px;
    justify-content: center;
  }

  /* Hero */
  .hero { padding-top: 6rem; }
  .hero__meta {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
  }
  .hero__meta-divider { width: 28px; height: 1px; }
  .hero__meta-item { align-items: center; text-align: center; }

  /* Menu */
  .menu__controls {
    position: relative;
    top: 0;
  }

  .menu__tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    scrollbar-width: none;
  }

  .menu__tabs::-webkit-scrollbar { display: none; }

  .menu__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .menu__grid--two { grid-template-columns: 1fr; }

  /* Galleria */
  .galleria__grid {
    grid-template-columns: 1fr;
  }

  .galleria__item--quote {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  /* Footer */
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero__actions .btn { justify-content: center; }
  .storia__image-badge {
    width: 88px;
    height: 88px;
    bottom: 0.75rem;
    right: 0.75rem;
  }
  .storia__image-badge-num { font-size: 2rem; }
  .storia__image-badge-text { font-size: 0.6rem; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .grain, .nav, .hero__scroll, .contatti__map, .footer__bottom,
  .nav__burger, .menu__search, .menu__tabs, .hero__actions, .cookie, .menu__download,
  .menu__cta, .order-page, .order-tabs, .fab, .cart-modal, .paginator {
    display: none !important;
  }
  body { background: white; color: black; font-size: 11pt; }
  .hero { min-height: auto; padding: 1rem 0; }
  .hero__title-pre, .hero__title-script, .section__title, .menu__section-title, .dish h4 { color: black; }
  .dish__price, .menu__section-script, .section__title em { color: #8a1f1a; }
  .menu__section { page-break-inside: avoid; }
  .dish { break-inside: avoid; }
}

/* ============================================
   ACCESSIBILITY: reduce motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
