/* ==========================================================
   La Favorita — Pizzeria a Melicucco
   ========================================================== */

:root {
  --ink: #16110e;
  --ink-2: #221a15;
  --ink-3: #2e241d;
  --cream: #f6efe4;
  --cream-2: #efe5d5;
  --paper: #fbf7f1;
  --text: #2a211b;
  --muted: #6f6258;
  --muted-light: #b9ab9c;
  --red: #c8361d;
  --red-dark: #a42a14;
  --gold: #e3a43c;
  --basil: #2f6b3a;
  --line: rgba(42, 33, 27, .12);
  --line-light: rgba(246, 239, 228, .14);

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -20px rgba(22, 17, 14, .35);
  --shadow-lg: 0 30px 80px -30px rgba(22, 17, 14, .55);
  --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) + 10px); -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 { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1em; }
em { font-style: italic; }
body.is-locked { overflow: hidden; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; margin-bottom: 20px; }
.h2 em { color: var(--red); }
.section--dark .h2 em, .contact .h2 em { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; text-decoration: none; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { --bg: var(--red); box-shadow: 0 12px 30px -12px rgba(200, 54, 29, .8); }
.btn--primary:hover { --bg: var(--red-dark); }
.btn--ghost { --bg: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .2); }
.btn--ghost-dark { --bg: transparent; --fg: var(--text); border: 1px solid var(--line); }
.btn--dark { --bg: var(--ink); }
.btn--wa { --bg: #1f9d55; }
.btn--wa:hover { --bg: #178246; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.round-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-light);
  background: transparent; display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--red); border-color: var(--red); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: #fff; transition: background .35s, box-shadow .35s, color .35s, height .35s;
}
.nav.is-scrolled {
  background: rgba(22, 17, 14, .88); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-light); --nav-h: 66px; height: 66px;
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; color: var(--gold); display: grid; place-items: center; }
.brand__mark svg { width: 40px; height: 40px; }
.brand__text { font-family: var(--serif); font-size: 1.55rem; line-height: 1; display: flex; flex-direction: column; }
.brand__text small { font-family: var(--sans); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; opacity: .7; margin-bottom: 3px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .92rem; font-weight: 600; opacity: .85; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
.nav__links a:hover, .nav__links a.is-current { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__call svg { width: 16px; height: 16px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  white-space: nowrap;
}
.status-pill i, .delivery__live i { width: 8px; height: 8px; border-radius: 50%; background: #9a8f86; flex: none; }
.is-open i { background: #3ecf6e; box-shadow: 0 0 0 0 rgba(62, 207, 110, .6); animation: pulse 2s infinite; }
.is-soon i { background: var(--gold); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(62, 207, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 207, 110, 0); } }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: clamp(640px, 100svh, 1100px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 17, 14, .7) 0%, rgba(22, 17, 14, .1) 30%, rgba(22, 17, 14, .25) 55%, rgba(22, 17, 14, .95) 100%),
    linear-gradient(90deg, rgba(22, 17, 14, .75) 0%, rgba(22, 17, 14, 0) 65%);
}
.hero__content { position: relative; padding: calc(var(--nav-h) + 60px) 0 90px; }
.hero__title { font-family: var(--serif); font-size: clamp(3.8rem, 12vw, 9.5rem); line-height: .92; letter-spacing: -.02em; margin-bottom: 26px; }
.hero__title em { color: var(--gold); display: block; }
.hero__lead { max-width: 560px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .86); margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); max-width: 720px; }
.hero__facts li { flex: 1 1 180px; padding: 20px 24px 0 0; display: flex; flex-direction: column; }
.hero__facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero__facts b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.hero__facts span { font-size: .88rem; color: rgba(255, 255, 255, .7); }
.hero__scroll { position: absolute; right: 40px; bottom: 40px; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- TICKER ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; gap: 28px; width: max-content; animation: ticker 40s linear infinite; font-family: var(--serif); font-size: 1.45rem; white-space: nowrap; align-items: center; }
.ticker__track i { font-style: normal; color: var(--gold); font-size: .9rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--cream { background: var(--cream); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section__sub { color: var(--muted); max-width: 560px; margin: 0; }

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

/* ---------- ABOUT ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1.05; }
.about__img { position: absolute; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.05); }
.about__img--a { inset: 0 22% 18% 0; }
.about__img--b { inset: 46% 0 0 40%; border: 8px solid var(--paper); }
.about__badge {
  position: absolute; left: -14px; bottom: 6%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.about__badge b { font-family: var(--serif); font-weight: 400; font-size: 2.8rem; line-height: 1; }
.about__badge span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
@keyframes float { 50% { transform: translateY(-10px); } }
.about__text > p { color: var(--muted); font-size: 1.05rem; }
.about__text b { color: var(--text); }
.pillars { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.pillars li { display: flex; gap: 18px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.pillars li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.pillars__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--cream); color: var(--red); display: grid; place-items: center; }
.pillars__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillars b { display: block; font-size: 1rem; }
.pillars span { color: var(--muted); font-size: .93rem; }

/* ---------- FAVORITES ---------- */
.favs { overflow: hidden; }
.favs__arrows { display: flex; gap: 10px; }
.favs__rail {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px max(20px, calc((100vw - 1200px) / 2)) 30px;
  scroll-padding-inline: max(20px, calc((100vw - 1200px) / 2));
}
.favs__rail::-webkit-scrollbar { display: none; }
.fav {
  flex: none; width: clamp(270px, 30vw, 360px); scroll-snap-align: start; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-light); text-align: left; padding: 0;
  transition: transform .4s var(--ease), border-color .3s;
}
.fav:hover { transform: translateY(-8px); border-color: rgba(227, 164, 60, .5); }
.fav__img { aspect-ratio: 4 / 3.4; overflow: hidden; position: relative; }
.fav__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fav:hover .fav__img img { transform: scale(1.08); }
.fav__tag { position: absolute; top: 16px; left: 16px; background: rgba(22, 17, 14, .75); backdrop-filter: blur(6px); color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.fav__body { padding: 22px 24px 26px; color: var(--cream); }
.fav__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.fav h3 { font-family: var(--serif); font-size: 1.7rem; }
.fav__price { font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.fav p { color: var(--muted-light); font-size: .92rem; margin: 0 0 18px; min-height: 3em; }
.fav__add { font-size: .85rem; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.fav__add::before { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 1.1rem; }

/* ---------- MENU ---------- */
.menu__controls { position: sticky; top: calc(var(--nav-h) - 1px); z-index: 20; background: rgba(251, 247, 241, .94); backdrop-filter: blur(12px); padding: 16px 0 14px; margin-bottom: 26px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); transition: background .25s, color .25s; }
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--ink); color: #fff; }
.menu__tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.search { flex: 1 1 280px; max-width: 460px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 54, 29, .12); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: inherit; padding: 12px 0; width: 100%; color: var(--text); }
.search--sm { max-width: none; margin-bottom: 12px; flex: none; }
.search--sm input { padding: 9px 0; font-size: .92rem; }

.size-switch { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); background: var(--cream-2); border-radius: 999px; padding: 4px; }
.size-switch button { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 16px; font-weight: 700; font-size: .88rem; color: var(--muted); transition: color .3s; white-space: nowrap; }
.size-switch button.is-active { color: #fff; }
.size-switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--red); transition: transform .35s var(--ease); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 600; transition: all .2s; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.menu__group { margin-bottom: 50px; }
.menu__group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.menu__group-head h3 { font-family: var(--serif); font-size: 2rem; }
.menu__group-head span { color: var(--muted); font-size: .9rem; }
.menu__group-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }

.dish {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 12px 12px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; width: 100%;
  animation: dishIn .5s var(--ease) both;
}
@keyframes dishIn { from { opacity: 0; transform: translateY(12px); } }
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.dish__img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.12) rotate(3deg); }
.dish__name { font-weight: 800; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dish__alias { font-weight: 500; color: var(--muted); font-size: .82rem; }
.dish__ingr { color: var(--muted); font-size: .88rem; line-height: 1.45; margin: 3px 0 0; }
.dish__tags { display: inline-flex; gap: 4px; }
.dish__tags span { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--cream); }
.dish__tags .t-hot { background: #fde3dc; color: var(--red-dark); }
.dish__tags .t-veg { background: #e0efe2; color: var(--basil); }
.dish__tags .t-sea { background: #deecf6; color: #235b82; }
.dish__tags .t-new { background: var(--gold); color: var(--ink); }
.dish__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dish__price { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.dish__plus { width: 32px; height: 32px; border-radius: 50%; background: var(--cream); color: var(--red); display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; transition: background .2s, color .2s, transform .3s var(--ease); }
.dish:hover .dish__plus { background: var(--red); color: #fff; transform: rotate(90deg); }
mark { background: rgba(227, 164, 60, .35); color: inherit; border-radius: 3px; padding: 0 1px; }

.menu__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.menu__extra { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 30px; align-items: start; }
.custom-card { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--cream); }
.custom-card__img img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.custom-card__body { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.custom-card h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 12px; }
.custom-card p { color: var(--muted-light); }
.custom-card b { color: var(--gold); }
.custom-card .eyebrow { color: var(--gold); }

.extras { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.extras summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 26px; cursor: pointer; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary b { display: block; font-size: 1.1rem; }
.extras summary small { color: var(--muted); }
.extras summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; transition: transform .3s var(--ease); }
.extras[open] summary svg { transform: rotate(180deg); }
.extras__list { list-style: none; margin: 0; padding: 0 26px 22px; columns: 2; column-gap: 26px; font-size: .9rem; }
.extras__list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.extras__list li span:last-child { font-weight: 700; color: var(--red); white-space: nowrap; }

/* ---------- FORMATS ---------- */
.formats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 60px; }
.format { background: var(--paper); border-radius: var(--radius-lg); padding: 34px 30px; text-align: center; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.format:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.format--main { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.format--main p:not(.format__price), .format--main p:last-child { color: var(--muted-light); }
.format--main b { color: var(--cream); }
.format h3 { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 6px; }
.format__price { color: var(--red); font-weight: 800; margin-bottom: 14px; }
.format--main .format__price { color: var(--gold); }
.format p:last-child { color: var(--muted); margin: 0; font-size: .95rem; }
.format__viz { height: 110px; display: grid; place-items: center; margin-bottom: 18px; }
.disc { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3c46a 0 12%, transparent 13%), radial-gradient(circle at 62% 58%, #c8361d 0 10%, transparent 11%), radial-gradient(circle at 40% 68%, #c8361d 0 8%, transparent 9%), radial-gradient(circle, #e8a646 0 64%, #c9823a 65% 100%); box-shadow: inset 0 0 0 7px #d99a52; transition: transform .8s var(--ease); }
.disc--s { width: 66px; height: 66px; }
.bar { width: 190px; height: 70px; border-radius: 36px; background: radial-gradient(circle at 20% 40%, #c8361d 0 7px, transparent 8px), radial-gradient(circle at 48% 62%, #f3c46a 0 8px, transparent 9px), radial-gradient(circle at 76% 38%, #c8361d 0 7px, transparent 8px), #e8a646; box-shadow: inset 0 0 0 7px #d99a52; }
.format:hover .disc { transform: rotate(180deg); }

.side-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.side-offer { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.side-offer img { height: 200px; width: 100%; object-fit: cover; }
.side-offer div { padding: 24px 26px 28px; }
.side-offer h3 { font-family: var(--serif); font-size: 1.55rem; margin-bottom: 8px; }
.side-offer p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- DELIVERY ---------- */
.delivery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.delivery__text > p { color: var(--muted); font-size: 1.05rem; }
.delivery__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 30px; }
.delivery__facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.delivery__facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.delivery__facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
.town-check { background: var(--cream); border-radius: var(--radius-lg); padding: 26px; }
.town-check__label { font-weight: 800; margin-bottom: 14px; }
.town-check__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.town { border: 0; background: #fff; border-radius: 999px; padding: 8px 14px 8px 10px; font-size: .88rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.town::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: var(--basil); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.town.is-hit { background: var(--basil); color: #fff; }
.town-check__form { display: flex; gap: 10px; }
.town-check__form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font: inherit; background: #fff; }
.town-check__form input:focus { outline: none; border-color: var(--red); }
.town-check__result { margin: 12px 0 0; font-weight: 600; min-height: 1.6em; }
.town-check__result.ok { color: var(--basil); }
.town-check__result.ko { color: var(--red-dark); }
.delivery__media { position: relative; }
.delivery__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.delivery__card { position: absolute; left: -30px; bottom: 30px; max-width: 290px; background: var(--paper); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-lg); }
.delivery__card p { margin: 10px 0 0; font-size: .93rem; color: var(--muted); }
.delivery__card b { color: var(--text); }
.delivery__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; }

/* ---------- HOURS ---------- */
.hours__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.hours__note { color: var(--muted-light); }
.hours__note b { color: var(--gold); }
.hours__table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 1.02rem; }
.hours__table td { padding: 15px 4px; border-bottom: 1px solid var(--line-light); }
.hours__table td:last-child { text-align: right; font-weight: 700; }
.hours__table tr.is-closed td { color: var(--muted-light); }
.hours__table tr.is-closed td:last-child { font-weight: 500; }
.hours__table tr.is-today td { color: var(--gold); }
.hours__table tr.is-today td:first-child::after { content: "oggi"; margin-left: 10px; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; background: var(--gold); color: var(--ink); padding: 3px 8px; border-radius: 999px; font-weight: 800; vertical-align: middle; }
.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-card { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: 26px; transition: border-color .3s, transform .3s var(--ease); }
.info-card:hover { border-color: rgba(227, 164, 60, .45); transform: translateY(-4px); }
.info-card__icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(227, 164, 60, .12); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.info-card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-card h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 8px; }
.info-card p { color: var(--muted-light); margin: 0; font-size: .93rem; }
.info-card small { display: block; margin-top: 8px; color: #8d8076; font-size: .82rem; }

/* ---------- WHERE ---------- */
.where__grid { display: grid; grid-template-columns: 1.6fr 1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.map { min-height: 440px; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: saturate(.85) contrast(1.02); }
.where__card { padding: 44px 38px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.where__card h3 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 12px; }
.where__card address { font-style: normal; color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.where__meta { list-style: none; padding: 0; margin: 0 0 28px; width: 100%; }
.where__meta li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.where__meta span { color: var(--muted); }

/* ---------- CONTACT ---------- */
.contact { color: #fff; overflow: hidden; text-align: center; background: var(--ink); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(22, 17, 14, .4), rgba(22, 17, 14, .92) 75%); }
.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact .h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.contact__lead { color: rgba(255, 255, 255, .78); max-width: 560px; font-size: 1.08rem; margin-bottom: 44px; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; max-width: 980px; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 20px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); text-decoration: none; transition: background .3s, transform .3s var(--ease); min-width: 0; }
.contact-card:hover { background: rgba(255, 255, 255, .12); transform: translateY(-6px); }
.contact-card__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin-bottom: 10px; }
.contact-card__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card:first-child .contact-card__icon svg { fill: #fff; stroke: none; }
.contact-card small { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--gold); }
.contact-card b { font-size: 1.2rem; }
.contact-card__mail { font-size: .95rem !important; overflow-wrap: anywhere; }

/* ---------- FOOTER ---------- */
.footer { background: #0f0b09; color: var(--muted-light); padding: 70px 0 30px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.brand--footer { color: var(--cream); margin-bottom: 16px; }
.footer__claim { max-width: 320px; }
.footer h4 { color: var(--cream); font-family: var(--sans); font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: .84rem; }

/* ---------- CART FAB ---------- */
.cart-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; border: 0; background: var(--ink); color: #fff;
  display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease);
}
.cart-fab[hidden] { display: none; }
.cart-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-fab__count { position: absolute; top: 4px; left: 30px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--red); font-size: .72rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.cart-fab__total { font-weight: 800; }
.cart-fab:hover { transform: translateY(-3px); }
.cart-fab.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ---------- MODAL ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; display: flex; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal { align-items: center; justify-content: center; padding: 20px; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 11, 9, .65); backdrop-filter: blur(4px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.modal__panel {
  position: relative; width: min(920px, 100%); max-height: calc(100svh - 40px); background: var(--paper); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; box-shadow: var(--shadow-lg); animation: pop .4s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; }
.pm__img { position: relative; background: var(--ink); }
.pm__img img { width: 100%; height: 100%; object-fit: cover; }
.pm__body { padding: 34px 30px 26px; overflow-y: auto; display: flex; flex-direction: column; }
.pm__cat { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.pm__body h3 { font-family: var(--serif); font-size: 2.3rem; margin-bottom: 8px; padding-right: 40px; }
.pm__ingr { color: var(--muted); }
.pm__label { font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 16px 0 10px; }
.pm__label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-left: 6px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--cream-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 10px 8px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: all .2s; }
.seg button.is-active { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.seg button span { display: block; font-size: .78rem; font-weight: 600; color: var(--red); }
.pm__extras { display: flex; flex-wrap: wrap; gap: 6px; max-height: 170px; overflow-y: auto; padding: 2px; margin-bottom: 8px; }
.xchip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; transition: all .15s; }
.xchip small { color: var(--muted); font-weight: 600; margin-left: 4px; }
.xchip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.xchip.is-on small { color: rgba(255, 255, 255, .8); }
.pm__foot { display: flex; gap: 12px; margin-top: auto; padding-top: 18px; }
.qty { display: flex; align-items: center; background: var(--cream-2); border-radius: 999px; padding: 4px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.2rem; font-weight: 700; }
.qty output { min-width: 34px; text-align: center; font-weight: 800; }

/* ---------- DRAWER ---------- */
.drawer { justify-content: flex-end; }
.drawer__panel { position: relative; width: min(460px, 100%); height: 100%; background: var(--paper); display: flex; flex-direction: column; animation: slideIn .4s var(--ease) both; box-shadow: var(--shadow-lg); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--serif); font-size: 1.8rem; }
.drawer__head .modal__close { position: static; background: var(--cream-2); box-shadow: none; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-list { list-style: none; padding: 0; margin: 0 0 10px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.cart-item b { display: block; font-size: .95rem; }
.cart-item small { color: var(--muted); font-size: .8rem; display: block; line-height: 1.35; }
.cart-item__side { text-align: right; }
.cart-item__price { font-weight: 800; font-size: .95rem; }
.cart-item__ctrl { display: flex; gap: 4px; margin-top: 4px; align-items: center; justify-content: flex-end; }
.cart-item__ctrl button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-weight: 700; line-height: 1; }
.cart-item__ctrl span { min-width: 18px; text-align: center; font-weight: 700; font-size: .88rem; }
.cart-empty { color: var(--muted); text-align: center; padding: 30px 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.field label { font-weight: 700; font-size: .85rem; }
.field input, .field select, .field textarea { font: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: #fff; color: var(--text); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 54, 29, .12); }
.field__hint { color: var(--muted); font-size: .8rem; }
.drawer__foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }
.cart-sum { margin: 0; display: grid; gap: 4px; }
.cart-sum div { display: flex; justify-content: space-between; font-size: .93rem; color: var(--muted); }
.cart-sum dd { margin: 0; }
.cart-sum div[hidden] { display: none; }
.cart-sum__total { color: var(--text) !important; font-size: 1.2rem !important; font-weight: 800; margin-top: 4px; }
.cart-warn { margin: 0; font-size: .85rem; color: var(--red-dark); background: #fde3dc; padding: 10px 12px; border-radius: 10px; }
.cart-legal { margin: 0; font-size: .75rem; color: var(--muted); text-align: center; }

/* ---------- TOAST ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 120; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .35s var(--ease); box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .nav__links { gap: 18px; }
  .status-pill { display: none; }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; margin: 0; background: var(--ink); flex-direction: column; justify-content: center; align-items: center;
    gap: 22px; opacity: 0; pointer-events: none; transition: opacity .35s; z-index: -1;
  }
  .nav__links a { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__mobile-cta { display: inline-flex; margin-top: 14px; font-family: var(--sans) !important; font-size: 1rem !important; font-weight: 700 !important; background: var(--red); padding: 14px 26px !important; border-radius: 999px; }
  .nav__mobile-cta::after { display: none; }
  .about__grid, .delivery__grid, .hours__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin: 0 auto; }
  .menu__extra { grid-template-columns: 1fr; }
  .formats__grid, .side-offers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .formats__grid { margin-bottom: 40px; }
  .where__grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .delivery__card { left: 16px; }
  .modal__panel { grid-template-columns: 1fr; overflow-y: auto; }
  .pm__img { height: 240px; }
  .pm__body { overflow: visible; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav__call span { display: none; }
  .nav__call { padding: 10px 12px; }
  .hero__content { padding-bottom: 70px; }
  .hero__facts li { flex: 1 1 100%; padding: 14px 0 0 !important; border-left: 0 !important; }
  .hero__facts { gap: 0; }
  .hero__scroll { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head--center { align-items: center; }
  .favs__arrows { display: none; }
  .menu__grid { grid-template-columns: 1fr; }
  .dish { grid-template-columns: 68px 1fr auto; gap: 12px; }
  .dish__img { width: 68px; height: 68px; }
  .menu__tools { flex-direction: column; align-items: stretch; }
  .search { max-width: none; flex: none; }
  .menu__controls { position: static; }
  .size-switch button { padding: 9px 8px; }
  .custom-card { grid-template-columns: 1fr; }
  .custom-card__img img { min-height: 0; height: 190px; }
  .extras__list { columns: 1; }
  .delivery__facts dd { font-size: 1.4rem; }
  .town-check__form { flex-direction: column; }
  .info-cards { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .where__card { padding: 30px 24px; }
  .about__badge { width: 104px; height: 104px; left: 0; }
  .about__badge b { font-size: 2.1rem; }
  .cart-fab { right: 16px; bottom: 16px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel { max-height: 94svh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .pm__body { padding: 24px 20px 20px; }
}

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