/* =========================================================
   Il Buffet — stile
   ========================================================= */
:root {
  --ink: #1f1a16;
  --ink-2: #2b241f;
  --ink-soft: #6b6058;
  --cream: #f6efe2;
  --cream-2: #ece1cc;
  --paper: #fffaf1;
  --line: #e3d5bb;
  --tomato: #d4402a;
  --tomato-2: #e4573d;
  --tomato-dark: #a52f1d;
  --mustard: #f2b33d;
  --mustard-soft: #fbdc94;
  --olive: #5d7a3e;
  --olive-dark: #34472a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(31, 26, 22, .45);
  --shadow-sm: 0 6px 20px -10px rgba(31, 26, 22, .3);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* quadretti da tovaglia */
  --gingham: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 14px, transparent 14px 28px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 14px, transparent 14px 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
svg { width: 1em; height: 1em; }
.ic { width: 18px; height: 18px; fill: currentColor; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--tomato); margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: var(--mustard); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 18px; }
.h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--tomato); }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 10px; }
.h4 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 0 0 12px; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 640px; margin: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 15px; text-decoration: none; line-height: 1;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--tomato { background: var(--tomato); color: #fff; box-shadow: 0 10px 24px -10px rgba(212, 64, 42, .8); }
.btn--tomato:hover { background: var(--tomato-dark); }
.btn--mustard { background: var(--mustard); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.btn--mustard:hover { background: #ffc552; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--text { background: none; color: var(--ink-soft); padding: 10px; font-weight: 600; }
.btn--text:hover { color: var(--tomato); transform: none; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.round {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--paper); display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { background: var(--tomato); color: #fff; border-color: var(--tomato); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: content-box;
  transition: background .3s, box-shadow .3s, color .3s;
  color: #fff;
}
.nav.is-solid { background: rgba(246, 239, 226, .94); backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; color: var(--tomato); display: grid; place-items: center; }
.nav:not(.is-solid) .brand__mark { color: var(--mustard); }
.brand__mark svg { width: 38px; height: 38px; }
.brand__text { font-family: var(--display); font-weight: 800; font-size: 27px; letter-spacing: -.03em; line-height: 1; white-space: nowrap; display: flex; flex-direction: column; }
.brand__text small { font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.brand__text b { color: var(--tomato); font-weight: 800; }
.nav:not(.is-solid) .brand__text b { color: var(--mustard); }
.brand--light { color: #fff; }
.brand--light .brand__mark, .brand--light .brand__text b { color: var(--mustard); }

.nav__links { display: flex; gap: 2px; }
.nav__links a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav__links a:hover { background: rgba(127, 127, 127, .14); }
.nav__links a.is-active { background: rgba(212, 64, 42, .1); color: var(--tomato); }
.nav:not(.is-solid) .nav__links a.is-active { background: rgba(255, 255, 255, .16); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: rgba(127, 127, 127, .16); white-space: nowrap; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #999; }
.status.is-open .status__dot { background: #5fd27c; box-shadow: 0 0 0 0 rgba(95, 210, 124, .6); animation: pulse 2s infinite; }
.status.is-closed .status__dot { background: #f08a5d; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(95, 210, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 210, 124, 0); } }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(127, 127, 127, .18); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px); display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-block: calc(var(--nav-h) + 40px) 90px;
  background: radial-gradient(70% 80% at 80% 45%, rgba(212, 64, 42, .45) 0%, transparent 70%), var(--ink);
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--gingham); -webkit-mask: linear-gradient(100deg, #000 10%, transparent 60%); mask: linear-gradient(100deg, #000 10%, transparent 60%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6.6vw, 94px); line-height: .95; letter-spacing: -.035em; margin: 0 0 24px; }
.hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--mustard); }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); max-width: 540px; color: rgba(255, 255, 255, .82); margin: 0 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.hero__facts li { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--tomato); }
.hero__facts strong { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.hero__facts span { font-size: 13px; color: rgba(255, 255, 255, .7); }

.notice {
  display: inline-block; margin: 0 0 22px; padding: 10px 16px; border-radius: 14px; font-size: 14px; line-height: 1.4;
  background: rgba(242, 179, 61, .14); border: 1px solid rgba(242, 179, 61, .5); color: #fde7b8; max-width: 540px;
}
.notice strong { color: var(--mustard); }

.hero__visual { position: relative; aspect-ratio: 1; width: min(560px, 100%); justify-self: center; }
.hero__plate { position: absolute; inset: 0 12% 12% 0; border-radius: 50%; overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 12px rgba(255, 255, 255, .06); }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1.06); } }
.hero__burger {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.hero__burger img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.15); }
.hero__sticker {
  position: absolute; right: 6%; top: 4%; width: 128px; height: 128px; border-radius: 50%;
  background: var(--mustard); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; transform: rotate(10deg); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6);
  outline: 2px dashed rgba(31, 26, 22, .3); outline-offset: -8px;
}
.hero__sticker span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.hero__sticker strong { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.05; letter-spacing: -.02em; }
.hero__sticker span:last-child { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 11px; }

.hero__text > * { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.hero__text > *:nth-child(2) { animation-delay: .08s; }
.hero__text > *:nth-child(3) { animation-delay: .16s; }
.hero__text > *:nth-child(4) { animation-delay: .24s; }
.hero__text > *:nth-child(5) { animation-delay: .32s; }
.hero__text > *:nth-child(6) { animation-delay: .4s; }
.hero__visual { opacity: 0; animation: rise 1.1s .25s var(--ease) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--tomato); color: #fff; overflow: hidden; padding: 15px 0; }
.marquee__track { display: flex; gap: 26px; width: max-content; animation: marquee 44s linear infinite; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; text-transform: uppercase; }
.marquee__track i { font-style: normal; color: var(--mustard); font-size: 16px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(72px, 10vw, 130px); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section__head .h2 { margin-bottom: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .h2 { margin-bottom: 14px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Chi siamo ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1.05; }
.about__img { position: absolute; object-fit: cover; box-shadow: var(--shadow); }
.about__img--a { inset: 0 0 18% 22%; width: 78%; height: 82%; border-radius: var(--radius) 160px var(--radius) var(--radius); }
.about__img--b { left: 0; bottom: 0; width: 50%; height: 46%; border-radius: 50%; border: 8px solid var(--cream); }
.about__badge {
  position: absolute; right: -6px; bottom: 4%; background: var(--tomato); color: #fff;
  width: 138px; height: 138px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow); transform: rotate(-8deg); outline: 2px dashed rgba(255, 255, 255, .4); outline-offset: -9px;
}
.about__badge strong { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--mustard); letter-spacing: -.03em; }
.about__badge span { font-size: 11px; font-weight: 700; max-width: 96px; line-height: 1.3; margin-top: 4px; }
.about__text p { color: var(--ink-soft); font-size: 17px; }
.about__text p strong { color: var(--ink); }
.about__points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.about__points li { display: flex; gap: 14px; align-items: flex-start; }
.about__points p { margin: 2px 0 0; font-size: 15px; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; }
.dot--tomato { background: var(--tomato); } .dot--olive { background: var(--olive); } .dot--mustard { background: var(--mustard); }

/* ---------- Categorie ---------- */
.cats { background: var(--paper); }
.cats .lead { max-width: 360px; }
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ctile {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; text-decoration: none; color: #fff;
  box-shadow: var(--shadow-sm); isolation: isolate;
}
.ctile--big { grid-column: span 2; aspect-ratio: auto; min-height: 300px; }
.ctile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.ctile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(31, 26, 22, .88)); }
.ctile:hover img { transform: scale(1.07); }
.ctile__body { position: absolute; left: 20px; right: 64px; bottom: 18px; display: flex; flex-direction: column; }
.ctile__body strong { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2vw, 27px); line-height: 1.05; letter-spacing: -.02em; }
.ctile--big .ctile__body strong { font-size: clamp(26px, 2.8vw, 36px); }
.ctile__body span { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82); margin-top: 4px; }
.ctile__go { position: absolute; right: 16px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); }
.ctile__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ctile:hover .ctile__go { transform: translateX(4px); }

/* ---------- La firma ---------- */
.signature { background: var(--olive-dark); color: #fff; position: relative; overflow: hidden; }
.signature::before { content: ""; position: absolute; inset: 0; background: var(--gingham); opacity: .8; }
.signature__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.signature__img { margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transform: rotate(-2deg); outline: 2px dashed rgba(242, 179, 61, .5); outline-offset: 12px; }
.signature__img img { width: 100%; height: 100%; object-fit: cover; }
.signature .h2 { font-size: clamp(50px, 6.5vw, 88px); color: var(--mustard); letter-spacing: -.04em; }
.signature__lead { color: rgba(255, 255, 255, .82); font-size: 17px; margin: 0 0 22px; max-width: 460px; }
.signature__ing { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.signature__ing li { border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 15px; }
.signature__prices { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.signature__prices div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-sm); padding: 14px 20px; display: flex; flex-direction: column; min-width: 150px; }
.signature__prices span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.signature__prices strong { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
.signature__also { margin: 22px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.signature__also b { color: #fff; }

/* ---------- In evidenza ---------- */
.featured { background: var(--cream); padding-bottom: clamp(60px, 8vw, 100px); }
.carousel-ctrl { display: flex; gap: 10px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px max(20px, (100% - 1200px) / 2) 30px; scroll-padding-inline: max(20px, (100% - 1200px) / 2);
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.fcard {
  scroll-snap-align: start; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid var(--line);
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fcard__img { aspect-ratio: 4 / 3.2; overflow: hidden; position: relative; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.07); }
.fcard__tag { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 999px; }
.fcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fcard__top h3 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 0; line-height: 1.12; letter-spacing: -.015em; }
.fcard__price { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--tomato); white-space: nowrap; }
.fcard__desc { font-size: 14px; color: var(--ink-soft); margin: 0; flex: 1; }
.fcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.fcard__fam { font-size: 13px; font-weight: 700; color: var(--olive); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Formati ---------- */
.formats { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.formats::before { content: ""; position: absolute; inset: 0; background: var(--gingham); -webkit-mask: linear-gradient(180deg, #000, transparent 70%); mask: linear-gradient(180deg, #000, transparent 70%); }
.formats > .wrap { position: relative; }
.formats .lead { color: rgba(255, 255, 255, .75); }
.formats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.fmt { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: 28px; }
.fmt p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.fmt__ico { height: 64px; margin-bottom: 18px; position: relative; }
.fmt__ico::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); background: var(--mustard); border-radius: 50%; box-shadow: inset 0 0 0 5px #e09a22; }
.fmt__ico--n::before { width: 48px; height: 48px; }
.fmt__ico--m::before { width: 64px; height: 64px; }
.fmt__ico--b::before { width: 34px; height: 34px; }
.fmt__ico--p::before { width: 96px; height: 40px; border-radius: 12px; }

.half { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 50px); align-items: center; background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.half__disc { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); outline: 6px solid var(--cream-2); }
.half__disc span { position: absolute; top: 0; bottom: 0; width: 50%; transition: background-image .3s; }
.half__disc span:first-child { left: 0; background-size: 200% 100%; background-position: 0 50%; }
.half__disc span:last-child { right: 0; background-size: 200% 100%; background-position: 100% 50%; border-left: 3px solid var(--paper); }
.half__panel .h3 { margin-bottom: 16px; }
.seg { display: inline-grid; grid-auto-flow: column; background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.seg button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: background .2s, color .2s; white-space: nowrap; }
.seg button small { font-weight: 600; opacity: .75; font-size: 12px; }
.seg button[aria-checked="true"] { background: var(--tomato); color: #fff; }
.seg--light { margin-bottom: 0; }
.seg--wrap { display: grid; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); width: 100%; border-radius: 18px; }
.seg--wrap button { padding-inline: 8px; display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.half__selects { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.half__selects label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); min-width: 0; }
.half__selects select {
  height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); width: 100%;
}
.half__selects select:focus { outline: none; border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(212, 64, 42, .1); }
.half__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; flex-wrap: wrap; }
.half__total > div { display: flex; flex-direction: column; }
.half__total strong { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.1; color: var(--tomato); letter-spacing: -.02em; }

/* ---------- Menù ---------- */
.menu { background: var(--cream); }
.menu__tools { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; margin-bottom: 12px; }
.menu__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.menu__hint { margin: 0; font-size: 14px; color: var(--ink-soft); }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; }
.search input {
  width: 100%; height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper);
  padding: 0 18px 0 46px; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(212, 64, 42, .08); }
.search--sm input { height: 44px; font-size: 14px; }

.sizes { display: inline-flex; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.sizes button { border: 0; background: none; padding: 11px 20px; border-radius: 999px; font-weight: 800; font-size: 14px; line-height: 1.1; transition: background .25s, color .25s; white-space: nowrap; }
.sizes button[aria-checked="true"] { background: var(--tomato); color: #fff; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 700; transition: all .2s; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--olive-dark); border-color: var(--olive-dark); color: #fff; }

.tabs {
  display: flex; gap: 6px; overflow-x: auto; padding: 8px 2px 12px; margin-bottom: 26px; scrollbar-width: none;
  position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; border: 0; background: none; padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.tab:hover { color: var(--ink); background: var(--cream-2); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab span { font-size: 12px; opacity: .7; margin-left: 4px; }

.mcat { margin-bottom: 64px; scroll-margin-top: calc(var(--nav-h) + 80px); }
.mcat__head { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; margin-bottom: 22px; }
.mcat__img { aspect-ratio: 16 / 11; border-radius: var(--radius) var(--radius) 80px var(--radius); overflow: hidden; }
.mcat__img img { width: 100%; height: 100%; object-fit: cover; }
.mcat__head .h3 { font-size: clamp(30px, 3.2vw, 42px); margin: 0 0 6px; letter-spacing: -.03em; }
.mcat__head p { margin: 0; color: var(--ink-soft); }
.mcat__count { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--tomato); }

.mlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.mitem {
  display: grid; grid-template-columns: 1fr auto; gap: 3px 14px; padding: 18px 0; border-bottom: 1px dashed var(--line);
  align-items: start; animation: fadeIn .4s var(--ease) both;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.mitem__name { font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mitem__desc { grid-column: 1; font-size: 14px; color: var(--ink-soft); margin: 0; }
.mitem__all { grid-column: 1; font-size: 12px; color: #93826f; margin: 0; font-style: italic; }
.mitem__right { grid-row: 1 / span 3; grid-column: 2; display: flex; align-items: center; gap: 12px; }
.mitem__price { font-family: var(--display); font-weight: 800; font-size: 19px; white-space: nowrap; min-width: 70px; text-align: right; transition: color .3s; display: flex; flex-direction: column; line-height: 1.1; letter-spacing: -.01em; }
.mitem__price small { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mitem__price.is-na { color: var(--ink-soft); }
.mitem__price.flash { color: var(--tomato); }
.mitem--vars { grid-template-columns: 1fr; }
.vars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.var {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 6px 8px 6px 14px; font-size: 13px; font-weight: 700; transition: all .2s var(--ease);
}
.var b { font-family: var(--display); font-weight: 800; font-size: 14px; background: var(--cream-2); padding: 3px 10px; border-radius: 999px; }
.var::after { content: "+"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--ink); color: #fff; line-height: 1; }
.var:hover { border-color: var(--tomato); }
.var:hover::after { background: var(--tomato); }
.var.done { border-color: var(--olive); }
.var.done::after { background: var(--olive); content: "✓"; font-size: 12px; }

.badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; line-height: 1.4; }
.badge--veg { background: rgba(93, 122, 62, .15); color: var(--olive-dark); }
.badge--hot { background: rgba(212, 64, 42, .12); color: var(--tomato-dark); }
.badge--mare { background: rgba(40, 110, 160, .12); color: #1f5e8a; }
.badge--pist { background: rgba(125, 154, 53, .25); color: #34471a; }
.badge--puglia { background: rgba(242, 179, 61, .3); color: #7a5208; }
.badge--star { background: var(--tomato); color: #fff; }
mark { background: rgba(242, 179, 61, .5); color: inherit; border-radius: 3px; padding: 0 2px; }

.add {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper);
  display: grid; place-items: center; transition: all .2s var(--ease);
}
.add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.add:hover { background: var(--tomato); border-color: var(--tomato); color: #fff; transform: rotate(90deg); }
.add.done { background: var(--olive); border-color: var(--olive); color: #fff; }
.fcard .add { width: auto; border-radius: 999px; padding: 9px 16px 9px 12px; display: inline-flex; gap: 6px; font-weight: 700; font-size: 14px; }
.fcard .add:hover { transform: none; }

.menu__empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* Aggiunte */
.extras { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); margin-top: 10px; overflow: hidden; }
.extras summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 30px; cursor: pointer; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary .h3 { margin: 0; }
.extras summary .eyebrow { margin-bottom: 6px; }
.extras__toggle { width: 44px; height: 44px; border-radius: 50%; background: var(--tomato); position: relative; flex: none; }
.extras__toggle::before, .extras__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: #fff; transform: translate(-50%, -50%); }
.extras__toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.extras[open] .extras__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.extras__body { padding: 0 30px 30px; }
.extras__intro { margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }
.extras__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.xgroup h4 { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 0 0 10px; color: var(--tomato); letter-spacing: -.02em; }
.xgroup ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.xgroup li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.xgroup li em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-soft); background: var(--cream-2); padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.xgroup--range h4, .xgroup--dough h4 { color: var(--ink); font-size: 20px; }
.extras__notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 30px; }
.extras__notes div { background: var(--cream); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }

/* ---------- Builder ---------- */
.builder { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.builder::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 64, 42, .35), transparent 65%); left: -280px; top: -220px; }
.builder__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.builder__intro p { color: rgba(255, 255, 255, .75); font-size: 17px; }
.builder__tip { background: rgba(242, 179, 61, .12); border: 1px solid rgba(242, 179, 61, .35); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px !important; }
.builder__tip strong { color: var(--mustard); }
.builder__preview { margin-top: 30px; display: grid; place-items: center; }

.pz { position: relative; width: min(340px, 80vw); aspect-ratio: 1; }
.pz > div { position: absolute; border-radius: 50%; transition: background .4s, opacity .4s; }
.pz__crust { inset: 0; background: radial-gradient(circle at 40% 35%, #f0c27a, #c98844 66%, #8f4f1f); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 6px rgba(120, 60, 20, .25); }
.pz__sauce { inset: 9%; background: radial-gradient(circle at 45% 40%, #d8472b, #b3301b 75%); }
.pz__cheese { inset: 11%; opacity: 0; background:
  radial-gradient(circle at 30% 30%, #fff8e6 0 12%, transparent 13%),
  radial-gradient(circle at 65% 28%, #fff4d9 0 10%, transparent 11%),
  radial-gradient(circle at 70% 62%, #fff8e6 0 13%, transparent 14%),
  radial-gradient(circle at 35% 70%, #fff4d9 0 11%, transparent 12%),
  radial-gradient(circle at 50% 48%, #fffaf0 0 10%, transparent 11%);
}
.pz[data-base="margherita"] .pz__cheese, .pz[data-base="bianca"] .pz__cheese { opacity: 1; }
.pz[data-base="bianca"] .pz__sauce { background: radial-gradient(circle at 45% 40%, #f7e8c4, #ead3a0 75%); }
.pz[data-base="piadina"] .pz__sauce { background: radial-gradient(circle at 45% 40%, #f3cf8f, #e2b56c 75%); }
.pz[data-base="ciccio"] .pz__sauce { background:
  radial-gradient(circle at 30% 35%, #e0412a 0 6%, transparent 7%), radial-gradient(circle at 62% 30%, #e0412a 0 6%, transparent 7%),
  radial-gradient(circle at 68% 64%, #e0412a 0 6%, transparent 7%), radial-gradient(circle at 36% 68%, #e0412a 0 6%, transparent 7%),
  radial-gradient(circle at 50% 50%, #4f8a35 0 9%, transparent 10%), radial-gradient(circle at 45% 25%, #4f8a35 0 5%, transparent 6%),
  radial-gradient(circle at 45% 40%, #f3cf8f, #e2b56c 75%); }
.pz__toppings { inset: 12%; }
.pz__toppings i { position: absolute; width: 9%; height: 9%; border-radius: 50%; animation: pop .4s var(--ease) both; box-shadow: 0 2px 3px rgba(0, 0, 0, .25); }
@keyframes pop { from { transform: scale(0); } }

.builder__panel { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.builder__panel fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.builder__panel legend { font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; padding: 0; }
.builder__panel legend small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-soft); margin-left: 6px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt {
  border: 1.5px solid var(--line); background: var(--cream); border-radius: var(--radius-sm); padding: 12px; text-align: left;
  display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, background .2s;
}
.opt strong { font-size: 15px; }
.opt span { font-size: 12px; color: var(--ink-soft); line-height: 1.35; }
.opt em { font-style: normal; font-weight: 800; color: var(--tomato); font-size: 14px; margin-top: auto; padding-top: 4px; }
.opt[aria-checked="true"] { border-color: var(--tomato); background: #fff; box-shadow: inset 0 0 0 1px var(--tomato); }
.toppings { display: flex; flex-wrap: wrap; gap: 8px; max-height: 250px; overflow-y: auto; margin-top: 12px; padding-right: 4px; }
.top {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600;
  display: inline-flex; gap: 6px; align-items: center; transition: all .15s;
}
.top b { font-weight: 700; color: var(--ink-soft); font-size: 12px; }
.top[aria-pressed="true"] { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.top[aria-pressed="true"] b { color: var(--mustard-soft); }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); margin-bottom: 8px; font-weight: 600; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--tomato); }
.check em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--olive); font-size: 13px; }
.builder__lines { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--ink-soft); }
.builder__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.builder__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; flex-wrap: wrap; }
.builder__total > div { display: flex; flex-direction: column; }
.builder__total strong { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -.02em; }
.builder__note { margin: 14px 0 0; }

/* ---------- Come ordinare ---------- */
.order { background: var(--paper); }
.modes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.mode { background: var(--cream); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.mode p { color: var(--ink-soft); }
.mode__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--tomato); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.mode__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mode--img { position: relative; padding: 0; overflow: hidden; color: #fff; min-height: 500px; border: 0; }
.mode--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mode--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 26, 22, .1), rgba(31, 26, 22, .95) 55%); }
.mode__over { position: relative; z-index: 1; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.mode--img p { color: rgba(255, 255, 255, .85); }
.mode--img .mode__icon { background: var(--mustard); color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 15px; font-weight: 600; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px; background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks--light li::before { background-color: #c98a14; }

.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps span { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--tomato); line-height: 1; display: block; margin-bottom: 12px; letter-spacing: -.03em; }
.steps strong { display: block; font-size: 16px; margin-bottom: 4px; }
.steps p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.costs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.cost { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.cost strong { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); color: var(--mustard); line-height: 1.05; letter-spacing: -.02em; }
.cost span { font-size: 14px; color: rgba(255, 255, 255, .75); }

.zone { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.zone > div { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.zone__text p { color: var(--ink-soft); }
.zone__pay .small { margin: 14px 0 0; }
.pay { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.pay li::before { font-weight: 800; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: none; }
.pay .ok::before { content: "✓"; background: var(--olive); color: #fff; }
.pay .no { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); font-weight: 500; }
.pay .no::before { content: "✕"; background: var(--cream-2); color: var(--ink-soft); }

.allergy { display: flex; gap: 16px; align-items: flex-start; background: #fff4d6; border: 1px solid #f0d9a0; border-radius: var(--radius); padding: 20px 24px; margin-top: 22px; }
.allergy svg { flex: none; width: 26px; height: 26px; fill: none; stroke: #a36b0a; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-top: 2px; }
.allergy p { margin: 0; font-size: 15px; }

/* ---------- Dove ---------- */
.where { background: var(--cream); }
.where__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: stretch; }
.where__info .lead { margin-bottom: 30px; }
.hours { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 24px; }
.hours table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { color: var(--tomato); font-weight: 800; }
.hours tr.is-today td:first-child::after { content: "Oggi"; margin-left: 8px; font-size: 11px; background: var(--tomato); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.slot { white-space: nowrap; }
.hours tr.is-closed td:last-child { color: var(--ink-soft); font-weight: 500; }
.hours__svc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hours__svc div { background: var(--cream); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; font-size: 13px; }
.hours__svc strong { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-dark); }
.hours__svc span { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.hours .small { margin: 12px 0 0; }
.amenities { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.amenities li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.amenities svg { width: 22px; height: 22px; fill: none; stroke: var(--olive); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--dark .ic { fill: none; stroke: currentColor; stroke-width: 2; }
.where__side { display: grid; grid-template-rows: 1fr auto; gap: 18px; }
.map { border-radius: 24px; overflow: hidden; min-height: 400px; box-shadow: var(--shadow); background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; filter: saturate(.85) contrast(1.02); }
.postcard { margin: 0; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow-sm); }
.postcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.postcard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; color: #fff; font-family: var(--serif); font-style: italic; font-size: 21px; background: linear-gradient(transparent, rgba(31, 26, 22, .78)); }

/* ---------- Contatti ---------- */
.contact { background: var(--tomato); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: var(--gingham); opacity: 1.4; }
.contact::after { content: ""; position: absolute; right: -180px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%; border: 80px solid rgba(255, 255, 255, .06); }
.contact .wrap { position: relative; z-index: 1; }
.contact .eyebrow--light { color: var(--mustard-soft); }
.contact__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.ccard {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 28px;
  text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: background .25s, transform .25s var(--ease); min-width: 0;
}
.ccard:hover { background: rgba(255, 255, 255, .18); transform: translateY(-4px); }
.ccard svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.ccard--main { background: var(--ink); color: #fff; border-color: var(--ink); }
.ccard--main:hover { background: var(--ink-2); }
.ccard--main svg { fill: var(--mustard); stroke: none; }
.ccard__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.ccard strong { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.02em; }
.ccard--main strong { color: var(--mustard); font-size: clamp(32px, 3.6vw, 48px); }
.ccard__mail, .ccard__addr { font-size: clamp(18px, 1.6vw, 22px) !important; overflow-wrap: anywhere; }
.ccard__hint { font-size: 14px; opacity: .82; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding-block: 70px 30px; padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.footer p { margin: 0; }
.footer a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.footer a:hover { color: var(--mustard); }
.footer__tag { margin-top: 14px !important; max-width: 280px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; flex-wrap: wrap; }
.footer__credit a { text-decoration: underline; }

/* ---------- Lista ordine ---------- */
.cart-fab {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 60; border: 0;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 14px 16px 14px 20px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55); animation: rise .5s var(--ease);
}
.cart-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cart-fab b { background: var(--tomato); min-width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; padding: 0 7px; }
.cart-fab.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(31, 26, 22, .5); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--cream);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 10px; }
.drawer__head .h3 { margin: 0; }
.drawer__mode { display: grid; grid-template-columns: 1fr 1fr; margin: 10px 24px 6px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.drawer__mode button { border: 0; background: none; border-radius: 999px; padding: 10px; font-weight: 700; font-size: 14px; }
.drawer__mode button[aria-checked="true"] { background: var(--tomato); color: #fff; }
.drawer__list { list-style: none; margin: 0; padding: 10px 24px; overflow-y: auto; flex: 1; }
.citem { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); animation: fadeIn .3s both; }
.citem__name { font-weight: 800; }
.citem__meta { font-size: 13px; color: var(--ink-soft); grid-column: 1; }
.citem__price { font-family: var(--display); font-weight: 800; font-size: 17px; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; grid-column: 2; justify-self: end; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; line-height: 1; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.drawer__empty { padding: 30px 24px; color: var(--ink-soft); text-align: center; }
.drawer__sum { padding: 8px 24px; }
.drawer__sum div { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: var(--ink-soft); }
.drawer__tip { font-size: 13px; background: #fff4d6; border: 1px solid #f0d9a0; border-radius: 10px; padding: 8px 12px; margin: 6px 0; }
.drawer__tip--soft { background: rgba(93, 122, 62, .12); border-color: rgba(93, 122, 62, .3); }
.drawer__sum .tot { font-size: 20px; color: var(--ink); font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.drawer__sum .tot span:last-child { font-family: var(--display); font-size: 24px; }
.drawer__foot { padding: 12px 24px 24px; display: grid; gap: 6px; }
.drawer__foot .small { margin: 0 0 8px; text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease); white-space: nowrap; box-shadow: var(--shadow-sm);
  max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav__links { gap: 0; }
  .nav__links a { padding: 8px 9px; font-size: 14px; }
  .status { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .costs { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .modes { grid-template-columns: 1fr 1fr; }
  .modes .mode:first-child { grid-column: 1 / -1; min-height: 420px; }
  .extras__grid { grid-template-columns: repeat(3, 1fr); }
  .formats__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --nav-h: 66px; }
  .burger { display: block; }
  .nav__actions .btn { display: none; }
  .status { display: inline-flex; }
  .nav__links {
    position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; gap: 0;
    background: var(--cream); color: var(--ink); padding: 10px 20px 24px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { font-size: 22px; font-family: var(--display); font-weight: 700; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav:not(.is-solid) .nav__links a.is-active { color: var(--tomato); background: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { width: min(420px, 88%); order: -1; margin-bottom: -10px; }
  .about__grid, .builder__grid, .where__grid, .zone, .signature__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .signature__img { max-width: 560px; }
  .half { grid-template-columns: 1fr; }
  .half__disc { width: min(260px, 70%); justify-self: center; }
  .menu__tools { grid-template-columns: 1fr; }
  .sizes { justify-self: start; }
  .mlist { grid-template-columns: 1fr; }
  .mcat__head { grid-template-columns: 140px 1fr; gap: 18px; }
  .contact__grid { grid-template-columns: 1fr; }
  .builder__preview { display: none; }
  .cats__grid { grid-template-columns: 1fr 1fr; }
  .ctile--big { grid-column: span 2; min-height: 240px; }
  .extras__grid { grid-template-columns: 1fr 1fr; }

  .mbar {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: rgba(31, 26, 22, .96); backdrop-filter: blur(10px);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; text-decoration: none; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .1); }
  .mbar__call { background: var(--tomato) !important; }
  .mbar svg { width: 18px; height: 18px; fill: currentColor; }
  .cart-fab { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); right: 14px; }
  .toast { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: auto; padding-bottom: 64px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: 14px 24px; }
  .hero__facts strong { font-size: 18px; }
  .hero__sticker { width: 100px; height: 100px; right: 2%; top: 0; }
  .hero__sticker strong { font-size: 19px; }
  .hero__sticker span { font-size: 9.5px; }
  .hero__sticker span:last-child { font-size: 9.5px; }
  .hero__burger { border-width: 6px; }
  .modes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:last-child { grid-column: 1 / -1; }
  .costs { gap: 10px; }
  .cost { padding: 18px; }
  .cost strong { font-size: 22px; }
  .mode, .mode__over, .zone > div { padding: 24px; }
  .mcat__head { grid-template-columns: 1fr; }
  .mcat__img { aspect-ratio: 21 / 9; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .extras summary, .extras__body { padding-inline: 20px; }
  .extras__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .half__selects { grid-template-columns: 1fr; }
  .seg:not(.seg--wrap) { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg--wrap { grid-template-columns: 1fr 1fr; }
  .pay, .amenities, .hours__svc { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__badge { width: 108px; height: 108px; right: 0; }
  .about__badge strong { font-size: 32px; }
  .about__badge span { font-size: 9.5px; max-width: 80px; }
  .sizes { width: 100%; }
  .sizes button { flex: 1; padding-inline: 8px; }
  .filters { width: 100%; }
  .filters .chip { flex: 1 1 calc(50% - 8px); }
  .brand__text { font-size: 24px; }
  .nav .status { display: none; }
  .slot { display: block; }
  .slot__sep { display: none; }
  .fmt { padding: 22px; }
  .formats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fmt p { font-size: 14px; }
  .postcard { aspect-ratio: 16 / 9; }
  .map, .map iframe { min-height: 320px; }
  .signature__prices div { min-width: 0; flex: 1; }
  .cats__grid { gap: 12px; }
  .ctile { aspect-ratio: 4 / 4.6; }
  .ctile--big { min-height: 200px; }
  .ctile__body { left: 14px; right: 50px; bottom: 14px; }
  .ctile__body strong { font-size: 19px; }
  .ctile__go { width: 32px; height: 32px; right: 12px; bottom: 14px; }
  .var { font-size: 12px; padding-left: 12px; }
}

@media (max-width: 400px) {
  .formats__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
