/* ==========================================================
   Spizzi Pizza — style.css
   ========================================================== */

:root {
  --ink: #1c1410;
  --ink-2: #2a1f19;
  --ink-3: #3a2c23;
  --cream: #fbf4e8;
  --cream-2: #f3e7d3;
  --paper: #fffaf2;
  --tomato: #d8431f;
  --tomato-dk: #b3341a;
  --saffron: #e8b33a;
  --basil: #3f7a3a;
  --wa: #1fa855;
  --muted: #7a6a5c;
  --line: rgba(28, 20, 16, .12);
  --line-light: rgba(255, 244, 220, .16);

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;

  --r: 18px;
  --r-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(28, 20, 16, .35);
  --shadow-sm: 0 6px 20px -10px rgba(28, 20, 16, .3);
  --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; background: var(--cream); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
p { margin: 0 0 1em; }

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

.eyebrow {
  font-family: var(--f-hand); font-size: 1.6rem; color: var(--tomato);
  margin: 0 0 .15em; line-height: 1;
}
.eyebrow--light { color: var(--saffron); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--tomato); color: #fff; box-shadow: 0 10px 24px -10px rgba(216, 67, 31, .8); }
.btn--primary:hover { background: var(--tomato-dk); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 168, 85, .7); }
.btn--wa:hover { background: #17904a; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--sm { padding: .65em 1.05em; font-size: .92rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
  color: var(--cream);
}
.nav.is-scrolled { background: rgba(28, 20, 16, .9); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -18px rgba(0,0,0,.6); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark svg { width: 42px; height: 42px; display: block; transition: transform .6s var(--ease); }
.brand:hover .brand__mark svg { transform: rotate(120deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.brand__text small { font-size: .75rem; opacity: .7; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav__links a:hover { background: var(--line-light); }
.nav__call-mobile { display: none; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--line-light); border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.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); }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--line-light); white-space: nowrap; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #9a8b7d; }
.status.is-open .status__dot { background: #4cd46b; box-shadow: 0 0 0 0 rgba(76, 212, 107, .7); animation: pulse 2s infinite; }
.status.is-orders .status__dot { background: var(--saffron); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(76, 212, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 212, 107, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--cream); background: var(--ink); overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 90px; }
.hero__bg { position: absolute; inset: -40px 0 0; background-size: cover; background-position: center 60%; transform: scale(1.06); will-change: transform; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse at 20% 40%, rgba(28,20,16,.55), transparent 70%),
  linear-gradient(90deg, rgba(28,20,16,.94) 0%, rgba(28,20,16,.72) 45%, rgba(28,20,16,.25) 100%),
  linear-gradient(0deg, rgba(28,20,16,.9) 0%, transparent 35%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.35fr .8fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 800; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero__lead { font-size: 1.12rem; max-width: 56ch; opacity: .9; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__badges li { font-size: .88rem; padding: 8px 14px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(255,244,220,.06); backdrop-filter: blur(6px); }
.hero__badges b { color: var(--saffron); }

.hero__card { background: rgba(255, 250, 242, .96); color: var(--ink); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); position: relative; }
.hero__card::before { content: ""; position: absolute; top: -10px; left: 26px; right: 26px; height: 10px; background: repeating-linear-gradient(90deg, var(--tomato) 0 14px, var(--cream) 14px 28px); border-radius: 6px 6px 0 0; }
.hero__card-kicker { font-family: var(--f-hand); font-size: 1.5rem; color: var(--tomato); margin: 0; line-height: 1; }
.hero__card-status { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; line-height: 1.15; margin: 4px 0 18px; }
.hero__card-list { margin: 0; display: grid; gap: 10px; }
.hero__card-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hero__card-list dt { color: var(--muted); }
.hero__card-list dd { margin: 0; font-weight: 700; text-align: right; }
.hero__card-link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--tomato); text-decoration: none; }
.hero__card-link:hover { text-decoration: underline; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; border: 2px solid rgba(255,244,220,.5); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--cream); border-radius: 2px; animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Strip ---------- */
.strip { background: var(--tomato); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: -14px -10px 0; position: relative; z-index: 2; box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.strip__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.strip i { font-style: normal; color: var(--saffron); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head--left { text-align: left; margin: 0; }
.section__sub { color: var(--muted); font-size: 1.08rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__img { border-radius: var(--r); object-fit: cover; box-shadow: var(--shadow); }
.about__img--main { width: 100%; aspect-ratio: 4/3.4; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 8px solid var(--cream); }
.about__sticker { position: absolute; top: -18px; right: 4%; width: 118px; height: 118px; border-radius: 50%; background: var(--saffron); color: var(--ink); display: grid; place-items: center; text-align: center; font-family: var(--f-hand); font-size: 1.55rem; line-height: .95; transform: rotate(10deg); box-shadow: var(--shadow-sm); animation: wobble 6s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.04); } }
.about__copy > p:not(.eyebrow) { color: #4b3d33; }
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.features li { display: flex; gap: 12px; padding: 16px; background: var(--paper); border-radius: var(--r-sm); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.features li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.features__icon { font-size: 1.5rem; line-height: 1; }
.features b { display: block; font-family: var(--f-display); font-size: 1.05rem; }
.features span:not(.features__icon) { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Favs ---------- */
.favs { background: var(--cream-2); }
.favs__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; scrollbar-color: var(--tomato) transparent; }
.fav { scroll-snap-align: start; position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--cream); text-align: left; border: 0; padding: 0; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.fav:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fav:hover img { transform: scale(1.08); }
.fav::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28,20,16,.95) 0%, rgba(28,20,16,.2) 55%, transparent 100%); }
.fav__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 1; }
.fav__cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--saffron); font-weight: 700; }
.fav__name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; display: block; margin: 2px 0 4px; }
.fav__desc { font-size: .88rem; opacity: .8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.fav__price { position: absolute; top: 14px; right: 14px; z-index: 1; background: var(--tomato); color: #fff; font-weight: 800; padding: 6px 12px; border-radius: 999px; font-size: .95rem; }

/* ---------- Menu ---------- */
.menu__controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; position: sticky; top: calc(var(--nav-h) - 1px); z-index: 20; background: var(--cream); padding: 12px 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 2px solid var(--ink); background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: background .2s, color .2s; }
.tab small { opacity: .6; font-weight: 600; margin-left: 4px; }
.tab:hover { background: var(--cream-2); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.menu__tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(216, 67, 31, .12); }
.search svg { width: 20px; height: 20px; fill: var(--muted); flex: none; }
.search input { border: 0; background: transparent; font: inherit; padding: 12px 0; width: 100%; outline: none; color: var(--ink); }
.seg { display: inline-flex; background: var(--cream-2); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.seg button[aria-checked="true"] { background: var(--tomato); color: #fff; }
.menu__note { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.menu__gf { background: #fff3d6; border-left: 4px solid var(--saffron); padding: 12px 16px; border-radius: 8px; font-size: .95rem; }
.menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.item { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: start; padding: 18px 0; border-bottom: 1px dashed var(--line); animation: fadeUp .45s var(--ease) both; }
.item__thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; grid-row: span 2; }
.item__thumb--empty { background: var(--cream-2); display: grid; place-items: center; font-size: 1.6rem; }
.item__name { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.item__tag { font-family: var(--f-body); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--saffron); color: var(--ink); padding: 3px 8px; border-radius: 999px; }
.item__tag--warn { background: #f7d9cf; color: var(--tomato-dk); }
.item__price { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; color: var(--tomato); white-space: nowrap; }
.item__desc { grid-column: 2 / 4; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.item mark { background: rgba(232, 179, 58, .45); color: inherit; border-radius: 3px; }
.item.is-flash { animation: flash 1.8s var(--ease); }
@keyframes flash { 0%, 40% { background: rgba(232, 179, 58, .35); } 100% { background: transparent; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.menu__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: .88rem; color: var(--muted); }
.legend b { color: var(--tomato); }

.addons { margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.addons summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; gap: 16px; }
.addons summary::-webkit-details-marker { display: none; }
.addons summary b { font-family: var(--f-display); font-size: 1.35rem; display: block; }
.addons summary small { color: var(--muted); }
.addons__chev { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--cream-2); position: relative; transition: transform .3s, background .3s; }
.addons__chev::before { content: ""; position: absolute; left: 14px; top: 12px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.addons[open] .addons__chev { transform: rotate(180deg); background: var(--saffron); }
.addons__body { padding: 0 26px 26px; }
.addons__tips { background: var(--cream); padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.addons__grid { columns: 3 220px; column-gap: 32px; }
.addon { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dotted var(--line); break-inside: avoid; font-size: .95rem; }
.addon span:last-child { font-weight: 700; color: var(--tomato); white-space: nowrap; }

/* ---------- Formats ---------- */
.formats { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.formats::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -200px; top: -200px; background: radial-gradient(circle, rgba(216,67,31,.25), transparent 65%); }
.formats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.formats__copy > p { opacity: .85; }
.formats__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 20px; }
.fcard { border: 1px solid var(--line-light); border-radius: var(--r-sm); padding: 18px 14px; background: rgba(255,244,220,.04); text-align: center; transition: border-color .2s, transform .25s var(--ease); }
.fcard:hover { border-color: var(--saffron); transform: translateY(-3px); }
.fcard__shape { margin: 0 auto 12px; background: var(--saffron); border: 3px solid var(--tomato); }
.fcard__shape--gigante { width: 56px; height: 56px; border-radius: 50%; }
.fcard__shape--mezzo { width: 56px; height: 34px; border-radius: 6px; }
.fcard__shape--metro { width: 90px; height: 28px; border-radius: 6px; }
.fcard b { font-family: var(--f-display); font-size: 1.3rem; display: block; }
.fcard span { font-size: .85rem; opacity: .7; display: block; }
.fcard em { font-style: normal; color: var(--saffron); font-weight: 700; font-size: .9rem; display: block; margin-top: 6px; }
.formats__small { font-size: .92rem; opacity: .75; }

.builder { background: var(--paper); color: var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.builder__img { width: 100%; height: 190px; object-fit: cover; }
.builder__body { padding: 24px; }
.builder__kicker { font-family: var(--f-hand); font-size: 1.6rem; color: var(--tomato); line-height: 1; margin-bottom: 14px; }
.builder__fmt { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.builder__fmt button { flex: 1; border: 2px solid var(--line); background: transparent; border-radius: 12px; padding: 10px; font-weight: 700; transition: border-color .2s, background .2s; }
.builder__fmt button[aria-checked="true"] { border-color: var(--tomato); background: rgba(216, 67, 31, .08); color: var(--tomato-dk); }
.builder__slots { display: grid; gap: 10px; }
.slot { display: flex; align-items: center; gap: 10px; }
.slot__n { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.slot select { flex: 1; font: inherit; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; min-width: 0; }
.slot select:focus { outline: none; border-color: var(--tomato); }
.builder__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed var(--line); margin-top: 18px; padding-top: 14px; }
.builder__total strong { font-family: var(--f-display); font-size: 2.2rem; color: var(--tomato); transition: transform .2s; }
.builder__total strong.bump { transform: scale(1.12); }
.builder__hint { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- Panino ---------- */
.panino__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.panino__copy { position: sticky; top: calc(var(--nav-h) + 24px); }
.panino__copy > p:not(.eyebrow) { color: #4b3d33; }
.panino__receipt { margin-top: 24px; background: var(--paper); border-radius: var(--r-sm); padding: 22px; box-shadow: var(--shadow-sm); position: relative; }
.panino__receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: radial-gradient(circle at 10px -2px, transparent 9px, var(--paper) 10px) 0 0 / 20px 10px repeat-x; }
.panino__receipt-title { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; }
.panino__receipt ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; max-height: 220px; overflow: auto; }
.panino__receipt li { display: flex; justify-content: space-between; padding: 4px 0; animation: fadeUp .3s var(--ease); }
.panino__sum { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed var(--line); margin-top: 10px; padding-top: 10px; }
.panino__sum strong { font-family: var(--f-display); font-size: 1.9rem; color: var(--tomato); }
.panino__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.picker__label { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--muted); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 14px; font-size: .92rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; transition: background .2s, border-color .2s, transform .15s; }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip small { color: var(--muted); font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip[aria-pressed="true"] small { color: var(--saffron); }
.chips--base .chip { padding: 14px 20px; font-size: 1rem; }

/* ---------- Delivery ---------- */
.delivery { background: var(--cream-2); }
.delivery__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-bottom: 36px; }
.delivery__img { border-radius: var(--r); aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.checker { position: relative; background: var(--paper); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); margin-bottom: 36px; }
.checker__field { display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.checker__field svg { width: 26px; height: 26px; fill: var(--tomato); flex: none; }
.checker__field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 1.15rem; padding: 16px 0; color: var(--ink); }
.checker__results { display: grid; gap: 6px; }
.checker__results:not(:empty) { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.res { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; animation: fadeUp .3s var(--ease) both; }
.res:hover { background: var(--cream); }
.res__street { font-weight: 700; }
.res__zone { font-size: .88rem; color: var(--muted); }
.res__badge { flex: none; font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(63, 122, 58, .14); color: var(--basil); white-space: nowrap; }
.res__badge--min { background: rgba(232, 179, 58, .25); color: #8a5d00; }
.res__badge--call { background: rgba(216, 67, 31, .12); color: var(--tomato-dk); }
.res--none { display: block; }
.res--none a { color: var(--tomato); font-weight: 700; }
.zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 40px; }
.zone { background: var(--paper); border-radius: var(--r-sm); border: 1px solid var(--line); padding: 18px; text-align: left; transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.zone:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--tomato); }
.zone__group { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.zone__name { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; display: block; margin: 2px 0 8px; }
.zone__min { font-weight: 700; color: var(--tomato); }
.zone__meta { font-size: .85rem; color: var(--muted); display: block; margin-top: 4px; }
.zone--call { border-style: dashed; }
.delivery__rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rule { background: var(--ink); color: var(--cream); border-radius: var(--r-sm); padding: 22px; }
.rule__n { font-family: var(--f-display); font-weight: 800; color: var(--saffron); font-size: 1.6rem; display: block; margin-bottom: 8px; }
.rule p { margin: 0; font-size: .95rem; opacity: .88; }
.rule b { color: #fff; }

/* Zone modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(28, 20, 16, .6); backdrop-filter: blur(6px); animation: fadeIn .25s; }
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.modal__box { background: var(--paper); border-radius: var(--r); width: min(720px, 100%); max-height: 85vh; display: flex; flex-direction: column; box-shadow: var(--shadow); animation: fadeUp .35s var(--ease); }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 24px 24px 12px; }
.modal__head h3 { font-size: 1.7rem; margin: 0 0 4px; }
.modal__head p { margin: 0; color: var(--muted); }
.modal__close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream-2); font-size: 1.4rem; line-height: 1; }
.modal__list { list-style: none; margin: 0; padding: 8px 24px 24px; overflow: auto; columns: 2 220px; column-gap: 24px; font-size: .95rem; }
.modal__list li { padding: 6px 0; border-bottom: 1px dotted var(--line); break-inside: avoid; }

/* ---------- How ---------- */
.how { background: var(--tomato); color: #fff; position: relative; overflow: hidden; }
.how h2 { color: #fff; }
.how .eyebrow--light { color: var(--saffron); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: rgba(0,0,0,.14); border-radius: var(--r); padding: 26px 22px; position: relative; }
.steps span { font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--saffron); display: block; margin-bottom: 10px; }
.steps b { font-family: var(--f-display); font-size: 1.3rem; display: block; margin-bottom: 6px; }
.steps p { margin: 0; opacity: .9; font-size: .95rem; }
.how__note { text-align: center; margin: 32px auto 0; max-width: 640px; font-size: .95rem; opacity: .9; }

/* ---------- Hours ---------- */
.hours__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hours__card, .info { background: var(--paper); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.hours__card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.hours__table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours__table th, .hours__table td { padding: 12px 10px; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 500; }
.hours__table td { text-align: right; font-weight: 700; }
.hours__table tr[data-day="1"] td { color: var(--muted); }
.hours__table tr.is-today { background: rgba(232, 179, 58, .22); }
.hours__table tr.is-today th::after { content: "oggi"; margin-left: 8px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; background: var(--tomato); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.hours__note { margin: 18px 0 0; color: var(--muted); }
.info { display: grid; gap: 28px; align-content: start; }
.pay, .facts { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.pay--ok { background: rgba(63, 122, 58, .13); color: var(--basil); }
.pay--ok::before { content: "✓"; font-weight: 800; }
.pay--no { background: var(--cream-2); color: var(--muted); text-decoration: line-through; }
.facts { flex-direction: column; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.facts span { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--cream-2); display: grid; place-items: center; font-size: 1.15rem; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact__landmark { font-size: 1.08rem; color: #4b3d33; }
.contact__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; flex: none; }
.contact__icon svg { width: 22px; height: 22px; fill: var(--saffron); }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.contact__list a { font-weight: 700; font-size: 1.1rem; text-decoration: none; word-break: break-word; }
.contact__list a:hover { color: var(--tomato); }
.contact__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.map { border-radius: var(--r); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); border: 6px solid var(--paper); background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.9) contrast(1.02); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(90px, 12vw, 150px) 0; color: #fff; text-align: center; overflow: hidden; background: var(--ink); }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(28,20,16,.4), rgba(28,20,16,.9)); }
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(2.6rem, 7vw, 5rem); }
.cta p { font-size: 1.15rem; opacity: .9; }
.cta .hero__ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(251, 244, 232, .75); padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; color: var(--cream); margin-bottom: 8px; }
.footer__title { font-weight: 700; color: var(--saffron); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line-light); margin-top: 40px; padding-top: 20px; font-size: .85rem; opacity: .7; }

/* ---------- Mobile bar ---------- */
.mbar { display: none; }

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

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 9px; font-size: .9rem; }
  .status { display: none; }
}
@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .burger { display: block; }
  .nav__right .btn { display: none; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink); padding: 8px 16px 20px; margin: 0;
    transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility .35s;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 14px 8px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line-light); }
  .nav__call-mobile { display: block; color: var(--saffron); }
  .nav.menu-open { background: var(--ink); }

  .hero__inner, .about__grid, .formats__grid, .panino__grid, .delivery__top, .hours__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__card { max-width: 480px; }
  .panino__copy { position: static; }
  .delivery__rules, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .menu__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { width: calc(100% - 32px); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__badges li { font-size: .8rem; }
  .features { grid-template-columns: 1fr; }
  .formats__cards { grid-template-columns: 1fr; }
  .fcard { display: grid; grid-template-columns: 90px 1fr; text-align: left; align-items: center; gap: 0 12px; }
  .fcard__shape { grid-row: span 3; margin: 0 auto; }
  .delivery__rules, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 8px 6px; font-size: .85rem; }
  .item__thumb { width: 54px; height: 54px; }
  .item__desc { grid-column: 1 / 4; }
  .res { flex-direction: column; align-items: flex-start; }
  .about__sticker { width: 92px; height: 92px; font-size: 1.25rem; }
  .map, .map iframe { min-height: 320px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(28, 20, 16, .95); backdrop-filter: blur(10px); }
  .mbar__btn { flex: 1; text-align: center; padding: 13px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff; }
  .mbar__btn--call { background: var(--tomato); }
  .mbar__btn--wa { background: var(--wa); }
}

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