/* ==========================================================
   Ciro Passione e Gusto — stile
   ========================================================== */
:root {
  --ink: #16130f;
  --ink-2: #221d18;
  --ink-3: #2e2720;
  --paper: #faf6ef;
  --cream: #f1e8da;
  --sand: #e6d9c4;
  --line: rgba(22, 19, 15, .12);
  --line-light: rgba(250, 246, 239, .14);
  --text: #2a241e;
  --muted: #6f665b;
  --red: #a3271c;
  --red-2: #c23a2b;
  --gold: #bf9148;
  --gold-2: #d9b273;
  --olive: #5c6437;
  --sea: #2f6170;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(22, 19, 15, .45);
  --shadow-sm: 0 6px 20px -10px rgba(22, 19, 15, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}

*, *::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.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg { stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografia ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--gold-2); }
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0 0 20px;
  color: var(--ink);
}
.h2 em, .h3 em { font-style: italic; color: var(--red); font-weight: 500; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin: 0 0 8px; color: var(--ink); }
.h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; margin: 0 0 8px; }
.lead--light { color: rgba(250, 246, 239, .75); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -12px rgba(163, 39, 28, .8); }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { color: var(--paper); border-color: rgba(250, 246, 239, .45); background: rgba(250, 246, 239, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(250, 246, 239, .16); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--text { background: none; color: var(--muted); padding: 10px; }
.btn--text:hover { color: var(--red); transform: none; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

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

/* ---------- Navigazione ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  color: var(--paper);
  transition: background .35s, box-shadow .35s, color .35s, height .35s;
}
.nav.is-solid { background: rgba(22, 19, 15, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-light); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 46px; height: 46px; color: var(--gold-2); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: .01em; }
.brand__text small { font-family: var(--serif); font-style: italic; font-size: 15px; opacity: .8; margin-top: 3px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; opacity: .85; transition: opacity .2s, background .2s;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; background: rgba(250, 246, 239, .1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(250, 246, 239, .08); border: 1px solid var(--line-light);
  white-space: nowrap;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #9b9187; }
.status.is-open .status__dot { background: #5fbf6a; box-shadow: 0 0 0 0 rgba(95, 191, 106, .6); animation: pulse 2s infinite; }
.status.is-closed .status__dot { background: #d26a5c; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(95, 191, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 191, 106, 0); } }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 72px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: heroZoom 18s var(--ease) both; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 11, 8, .92) 0%, rgba(14, 11, 8, .7) 42%, rgba(14, 11, 8, .15) 75%),
    linear-gradient(0deg, rgba(14, 11, 8, .85) 0%, rgba(14, 11, 8, 0) 45%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { position: relative; }
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(72px, 12vw, 168px);
  line-height: .86;
  letter-spacing: -.02em;
  margin: 0 0 26px;
  display: flex; flex-direction: column;
}
.hero__title em {
  font-style: italic; font-weight: 500;
  font-size: .42em; letter-spacing: 0;
  color: var(--gold-2);
  margin-top: .25em; margin-left: .08em;
}
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); max-width: 58ch; color: rgba(250, 246, 239, .82); margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-light); padding-top: 26px; max-width: 760px; }
.hero__facts li { display: flex; flex-direction: column; padding-right: 36px; margin-right: 36px; border-right: 1px solid var(--line-light); }
.hero__facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero__facts strong { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.hero__facts span { font-size: 13px; color: rgba(250, 246, 239, .65); }
.hero__scroll { position: absolute; right: 40px; bottom: 40px; width: 28px; height: 46px; border: 1.5px solid rgba(250, 246, 239, .5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--paper); border-radius: 3px; animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(0, 0, 0, .15); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 42s linear infinite; font-family: var(--serif); font-style: italic; font-size: 24px; font-weight: 500; white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--gold-2); font-size: 14px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .lead { margin-inline: auto; }

/* ---------- 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.08; }
.about__img { position: absolute; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.about__img--a { inset: 0 18% 18% 0; width: 82%; height: 82%; }
.about__img--b { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid var(--paper); }
.about__badge {
  position: absolute; left: -14px; bottom: 6%;
  background: var(--ink); color: var(--paper);
  border-radius: 50%; width: 132px; height: 132px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 178, 115, .5);
}
.about__badge strong { font-family: var(--serif); font-size: 50px; line-height: .9; color: var(--gold-2); }
.about__badge span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; max-width: 90px; line-height: 1.3; margin-top: 4px; }
.about__text p { margin: 0 0 16px; }
.about__points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.about__points li { display: flex; gap: 16px; align-items: flex-start; padding-top: 18px; border-top: 1px solid var(--line); }
.about__points strong { display: block; color: var(--ink); font-size: 16px; }
.about__points p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; flex: none; }
.dot--red { background: var(--red); }
.dot--gold { background: var(--gold); }
.dot--olive { background: var(--olive); }

/* ---------- Territorio ---------- */
.terra { background: var(--ink); color: var(--paper); }
.terra .h2 { color: var(--paper); }
.terra__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 11, 8, .9) 0%, rgba(14, 11, 8, 0) 55%); }
.tile figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.tile strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.tile span { font-size: 13.5px; color: rgba(250, 246, 239, .75); }

/* ---------- In evidenza ---------- */
.featured { background: var(--cream); padding-bottom: clamp(70px, 8vw, 110px); }
.carousel-ctrl { display: flex; gap: 10px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 80vw);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(20px, calc((100vw - 1200px) / 2)) 24px;
  scroll-padding-inline: max(20px, calc((100vw - 1200px) / 2));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.fcard { scroll-snap-align: start; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.06); }
.fcard__tag { position: absolute; left: 14px; top: 14px; background: rgba(22, 19, 15, .78); color: var(--paper); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.fcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.fcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fcard__top h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 0; line-height: 1.1; color: var(--ink); }
.fcard__price { font-weight: 700; color: var(--red); white-space: nowrap; }
.fcard__desc { color: var(--muted); font-size: 14.5px; margin: 8px 0 18px; flex: 1; }

.add {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 700;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.add:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.add.done { background: var(--olive); color: #fff; border-color: var(--olive); }

/* ---------- Menù ---------- */
.menu__tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-bottom: 22px; }
.search { position: relative; flex: 1 1 360px; max-width: 520px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; }
.search input {
  width: 100%; padding: 14px 18px 14px 48px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 15px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(191, 145, 72, .18); }
.search--sm { max-width: 360px; margin-bottom: 22px; }
.search--sm input { padding-block: 11px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.tabs {
  position: sticky; top: var(--nav-h); z-index: 20;
  display: flex; gap: 6px; overflow-x: auto;
  padding: 12px 4px; margin: 0 -4px 30px;
  background: rgba(250, 246, 239, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; background: none; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.tab span { font-size: 11px; background: var(--cream); color: var(--muted); padding: 1px 7px; border-radius: 999px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tab[aria-selected="true"] span { background: rgba(250, 246, 239, .16); color: var(--paper); }

.menu__body { display: grid; gap: 64px; }
.mcat { 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: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.mcat__img img { width: 100%; height: 100%; object-fit: cover; }
.mcat__head p { margin: 0 0 8px; color: var(--muted); max-width: 60ch; }
.mcat__count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }

.mlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.mgroup { grid-column: 1 / -1; font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--red); padding: 22px 0 6px; border-bottom: 1px solid var(--line); }
.mgroup:first-child { padding-top: 0; }
.mitem {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px dashed var(--line);
  animation: fadeUp .5s var(--ease) both;
}
.mitem.has-img { grid-template-columns: 68px 1fr auto; }
.mitem__thumb { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-sm); border: 3px solid #fff; }
.mitem__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mitem__name { font-weight: 700; color: var(--ink); font-size: 16.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.mitem__desc { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.mitem__right { display: flex; align-items: center; gap: 12px; }
.mitem__price { font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mitem .add { padding: 7px; }
.mitem .add svg { width: 15px; height: 15px; }
mark { background: rgba(191, 145, 72, .3); color: inherit; border-radius: 3px; padding: 0 2px; }
.badge { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.badge--veg { background: rgba(92, 100, 55, .14); color: var(--olive); }
.badge--hot { background: rgba(163, 39, 28, .12); color: var(--red); }
.badge--sea { background: rgba(47, 97, 112, .12); color: var(--sea); }
.badge--star { background: rgba(191, 145, 72, .18); color: #8a6324; }
.menu__empty { text-align: center; color: var(--muted); padding: 40px 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Impasti */
.doughs { display: grid; grid-template-columns: .8fr 1.2fr; margin-top: 80px; border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.doughs__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.doughs__body { padding: clamp(28px, 4vw, 52px); }
.doughs .h3 { color: var(--paper); }
.doughs__list { list-style: none; padding: 0; margin: 18px 0 26px; }
.doughs__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.doughs__list b { color: var(--gold-2); white-space: nowrap; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: rgba(250, 246, 239, .78); }
.rules li { padding-left: 22px; position: relative; }
.rules li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 4px; }
.rules strong { color: var(--paper); }

/* Aggiunte */
.extras { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.extras summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; cursor: pointer; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary .eyebrow { margin-bottom: 6px; }
.extras summary .h3 { margin: 0; }
.extras__toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .3s; }
.extras__toggle::before, .extras__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); 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 28px 28px; }
.extras__grid { columns: 4 200px; column-gap: 32px; }
.xgroup { break-inside: avoid; margin-bottom: 22px; }
.xgroup h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .1em; color: var(--red); font-weight: 800; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.xgroup ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.xgroup li { padding: 3px 0; }

.mitem__al { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 11px; }
.mitem__al span { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 3px; }
.mitem__al b, .al-legend b { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px; border: 1px solid rgba(191, 145, 72, .55); color: #8a6324; font-size: 10.5px; font-weight: 700; cursor: help; }
.al-intro { margin: 0 0 18px; font-size: 15px; max-width: 80ch; }
.al-legend { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 24px; font-size: 14.5px; }
.al-legend li { display: flex; align-items: center; gap: 10px; }
.al-legend b { cursor: default; min-width: 24px; height: 24px; font-size: 12px; }
.ccard__addr { font-size: 24px !important; }
.allergy { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px 24px; border-radius: var(--r); background: rgba(163, 39, 28, .07); border: 1px solid rgba(163, 39, 28, .18); }
.allergy svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 2; flex: none; margin-top: 2px; }
.allergy p { margin: 0; font-size: 15px; }

/* ---------- Asporto ---------- */
.takeaway { background: var(--cream); }
.takeaway__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.takeaway__media { position: relative; }
.takeaway__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.takeaway__card { position: absolute; right: -18px; bottom: 32px; background: var(--paper); border-radius: var(--r); padding: 20px 24px; box-shadow: var(--shadow); max-width: 220px; }
.takeaway__card strong { display: block; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--red); }
.takeaway__card span { font-size: 13.5px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 4px; }
.steps li { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li > span { font-family: var(--serif); font-size: 28px; color: var(--gold); line-height: 1; width: 36px; flex: none; }
.steps strong { color: var(--ink); }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.slots div { background: var(--paper); border-radius: var(--r-sm); padding: 14px 16px; border: 1px solid var(--line); }
.slots span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.slots strong { font-family: var(--serif); font-size: 22px; color: var(--ink); font-weight: 600; }

/* ---------- Prenota ---------- */
.book { color: var(--paper); background: var(--ink); overflow: hidden; }
.book__bg { position: absolute; inset: 0; }
.book__bg img { width: 100%; height: 100%; object-fit: cover; }
.book__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 11, 8, .9), rgba(14, 11, 8, .82)); }
.book .wrap { position: relative; }
.book .h2 { color: var(--paper); }
.book__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bcard { background: rgba(250, 246, 239, .06); border: 1px solid var(--line-light); border-radius: var(--r); padding: 28px 24px; backdrop-filter: blur(6px); }
.bcard svg { width: 34px; height: 34px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; margin-bottom: 16px; }
.bcard h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 0 0 6px; }
.bcard p { margin: 0; color: rgba(250, 246, 239, .75); font-size: 15px; }
.bcard strong { color: var(--paper); }
.book__cta { text-align: center; margin-top: 44px; }

/* ---------- Dove ---------- */
.where__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.where__info .h2 { font-size: clamp(32px, 4vw, 48px); }
.hours { margin: 32px 0 26px; }
.hours table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:first-child { font-weight: 600; color: var(--ink); width: 34%; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours .sep { color: var(--gold); margin: 0 8px; }
.hours tr.is-today td { color: var(--red); font-weight: 700; }
.hours tr.is-today td:first-child::after { content: " · oggi"; font-weight: 600; font-size: 12px; }
.hours tr.is-closed td:last-child { color: var(--muted); }
.amenities { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 14.5px; }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities svg { width: 22px; height: 22px; fill: none; stroke: var(--olive); stroke-width: 1.8; flex: none; }
.pay { margin-bottom: 30px; }
.pay ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 7px; }
.pay li.ok::before { content: "✓"; color: var(--olive); font-weight: 800; }
.pay li.no { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(163, 39, 28, .5); }
.where__side { display: grid; gap: 18px; }
.map { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; background: var(--cream); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85) contrast(1.02); }
.where__photo { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 7; }
.where__photo img { width: 100%; height: 100%; object-fit: cover; }
.where__photo figcaption { position: absolute; left: 16px; bottom: 12px; color: #fff; font-family: var(--serif); font-style: italic; font-size: 20px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }

/* ---------- Contatti ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact .h2 { color: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.35fr; gap: 18px; }
.ccard {
  display: flex; flex-direction: column; gap: 4px;
  padding: 28px 24px; border-radius: var(--r);
  background: var(--ink-2); border: 1px solid var(--line-light);
  text-decoration: none; min-width: 0;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.ccard:hover { transform: translateY(-4px); border-color: rgba(217, 178, 115, .5); }
.ccard svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-2); stroke-width: 1.7; margin-bottom: 14px; }
.ccard__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(250, 246, 239, .6); }
.ccard strong { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.15; }
.ccard__mail { font-size: 16px !important; font-family: var(--sans) !important; font-weight: 700 !important; overflow-wrap: anywhere; }
.ccard__hint { font-size: 13.5px; color: rgba(250, 246, 239, .6); }
.ccard--main { background: var(--red); border-color: var(--red); }
.ccard--main svg { stroke: #fff; }
.ccard--main .ccard__label, .ccard--main .ccard__hint { color: rgba(255, 255, 255, .8); }
.ccard--main:hover { background: var(--red-2); }

/* ---------- Footer ---------- */
.footer { background: #0e0b08; color: rgba(250, 246, 239, .75); padding: 70px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.brand--light { color: var(--paper); }
.footer__tag { margin: 16px 0 0; max-width: 30ch; }
.footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 6px 0 12px; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--paper); }
.credits { padding-top: 18px; font-size: 12.5px; color: rgba(250, 246, 239, .55); }
.credits ul { margin: 8px 0 0; padding-left: 18px; columns: 2 320px; column-gap: 32px; }
.credits li { margin-bottom: 4px; break-inside: avoid; }
.credits a { text-decoration: underline; }

/* ---------- Lista asporto ---------- */
.cart-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper); border: 0;
  padding: 14px 18px 14px 20px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease);
}
.cart-fab[hidden] { display: none; }
.cart-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.cart-fab b { background: var(--red); min-width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; padding: 0 7px; }
.cart-fab:hover { transform: translateY(-3px); }
.cart-fab.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.1); } }

.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; transition: visibility 0s .4s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(14, 11, 8, .55); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .4);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 26px 18px; border-bottom: 1px solid var(--line); }
.drawer__head .eyebrow { margin-bottom: 4px; }
.drawer__head .h3 { margin: 0; }
.drawer__list { list-style: none; margin: 0; padding: 8px 26px; overflow-y: auto; flex: 1; }
.drawer__empty { padding: 30px 26px; color: var(--muted); margin: 0; }
.citem { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.citem__name { font-weight: 700; color: var(--ink); }
.citem__price { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.citem__meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.citem__meta em { font-style: normal; }
.citem__dough { font: inherit; font-size: 13px; padding: 6px 28px 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f665b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 14px; appearance: none; color: var(--text); max-width: 100%; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; justify-self: end; }
.qty button { border: 0; background: none; width: 32px; height: 32px; font-size: 17px; }
.qty button:hover { background: var(--cream); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.drawer__sum { padding: 0 26px; }
.drawer__sum .tot { display: flex; justify-content: space-between; padding: 16px 0; font-weight: 800; font-size: 18px; color: var(--ink); border-top: 2px solid var(--ink); }
.drawer__foot { padding: 16px 26px calc(22px + env(safe-area-inset-bottom)); display: grid; gap: 10px; border-top: 1px solid var(--line); }
.drawer__foot p { margin: 0; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 95;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow); transition: all .3s var(--ease);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Barra mobile */
.mbar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .status { display: none; }
  .nav__links a { padding: 8px 9px; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .book__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --nav-h: 66px; }
  .burger { display: block; }
  .nav__actions .btn { display: none; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(22, 19, 15, .98); padding: 10px 20px 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
    border-bottom: 1px solid var(--line-light);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { font-family: var(--serif); font-size: 26px; font-weight: 600; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line-light); }
  .nav__links a:hover, .nav__links a.is-active { background: none; color: var(--gold-2); }
  .nav__actions { margin-left: auto; }

  .about__grid, .takeaway__grid, .where__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .takeaway__media { max-width: 560px; }
  .takeaway__card { right: 16px; }
  .terra__grid { grid-template-columns: 1fr 1fr; }
  .mlist { grid-template-columns: 1fr; }
  .mcat__head { grid-template-columns: 150px 1fr; gap: 20px; }
  .doughs { grid-template-columns: 1fr; }
  .doughs__img img { min-height: 0; aspect-ratio: 16 / 8; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }

  .mbar {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(22, 19, 15, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-light);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--paper); }
  .mbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .mbar__call { background: var(--red); }
  .mbar__link { border: 1px solid var(--line-light); }
  body { padding-bottom: 72px; }
  .cart-fab { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; }
  .toast { bottom: 150px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .brand__mark { width: 40px; height: 40px; }
  .brand__text b { font-size: 24px; }
  .brand__text small { font-size: 13px; }
  .hero { align-items: flex-end; padding-bottom: 48px; }
  .hero__bg img { object-position: 70% 50%; }
  .hero__bg::after { background: linear-gradient(0deg, rgba(14, 11, 8, .95) 0%, rgba(14, 11, 8, .7) 55%, rgba(14, 11, 8, .35) 100%); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: 16px 0; }
  .hero__facts li { padding-right: 18px; margin-right: 18px; }
  .hero__facts li:nth-child(3) { flex-basis: 100%; border: 0; }
  .hero__facts strong { font-size: 21px; }
  .section__head { margin-bottom: 32px; }
  .about__badge { width: 104px; height: 104px; left: -4px; }
  .about__badge strong { font-size: 38px; }
  .about__badge span { font-size: 9.5px; }
  .terra__grid { gap: 12px; }
  .tile figcaption { left: 14px; right: 14px; bottom: 12px; }
  .tile strong { font-size: 21px; }
  .tile span { font-size: 12px; }
  .mcat__head { grid-template-columns: 1fr; }
  .mcat__img { aspect-ratio: 16 / 7; }
  .mitem.has-img { grid-template-columns: 54px 1fr auto; gap: 12px; }
  .mitem__thumb { width: 54px; height: 54px; }
  .mitem__right { flex-direction: column; align-items: flex-end; gap: 6px; }
  .menu__tools { flex-direction: column; align-items: stretch; }
  .search { flex-basis: auto; max-width: none; }
  .filters { justify-content: center; }
  .extras summary, .extras__body { padding-inline: 18px; }
  .slots { grid-template-columns: 1fr; }
  .slots div { display: flex; justify-content: space-between; align-items: center; }
  .book__grid, .contact__grid, .footer__grid { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .takeaway__card { position: relative; right: auto; bottom: auto; margin: -40px 16px 0 auto; }
  .credits ul { columns: 1; }
}

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