/* ==========================================================
   Pizzeria De Paris — stile
   ========================================================== */
:root {
  --ink: #16110d;
  --ink-2: #221a14;
  --ink-3: #2e241c;
  --paper: #fbf7f0;
  --cream: #f3ebdf;
  --line: #e5dace;
  --muted: #6f6257;
  --muted-light: #b9ab9c;
  --tomato: #b8362a;
  --tomato-dark: #962a20;
  --gold: #c9a063;
  --basil: #3d6b45;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(22, 17, 13, .35);
  --shadow-sm: 0 6px 18px -8px rgba(22, 17, 13, .25);
  --header-h: 76px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  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; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; }

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

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--tomato); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--gold); }
.title { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.015em; }
.title em, .hero__title em { font-style: italic; font-weight: 400; color: var(--tomato); }
.title--light { color: #fff; }
.title--light em { color: var(--gold); }

/* ---------- Bottoni ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { --bg: var(--tomato); box-shadow: 0 10px 24px -10px rgba(184, 54, 42, .7); }
.btn--primary:hover { --bg: var(--tomato-dark); }
.btn--ghost { --bg: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: #fff; --fg: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--outline-light { --bg: transparent; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.link { font-weight: 700; color: var(--tomato); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--tomato-dark); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
  color: #fff;
}
.header.is-scrolled { background: rgba(22, 17, 13, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); --header-h: 66px; }
.header__inner { height: 100%; width: min(1280px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tomato); color: #f6efe4; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.15), 0 0 0 1px rgba(201,160,99,.6);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 24px; font-weight: 600; font-style: italic; letter-spacing: -.01em; }
.brand__sub { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; opacity: .88; transition: opacity .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); white-space: nowrap;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-light); }
.status.is-open .status__dot { background: #4cc46b; box-shadow: 0 0 0 0 rgba(76,196,107,.6); animation: pulse 2s infinite; }
.status.is-closed .status__dot { background: #e05a4c; }
.status--dark { background: var(--cream); border-color: var(--line); color: var(--ink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(76,196,107,0); } 100% { box-shadow: 0 0 0 0 rgba(76,196,107,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: #fff; 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: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,17,13,.55) 0%, rgba(22,17,13,.15) 30%, rgba(22,17,13,.55) 62%, rgba(22,17,13,.95) 100%),
    linear-gradient(90deg, rgba(22,17,13,.7) 0%, rgba(22,17,13,0) 65%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: 56px; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 7.4vw, 96px); letter-spacing: -.025em; line-height: 1.02; max-width: 14ch; margin-bottom: 22px; }
.hero__title em { color: var(--gold); }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__content > * { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero__content > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__strip { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(22,17,13,.55); backdrop-filter: blur(8px); }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__stats > div { padding: 22px 20px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid rgba(255,255,255,.1); }
.hero__stats > div:first-child { border-left: 0; padding-left: 0; }
.hero__stats strong { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--gold); line-height: 1.1; }
.hero__stats span { font-size: 13px; color: rgba(255,255,255,.72); }

/* ---------- Marquee ---------- */
.marquee { background: var(--tomato); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: 22px; }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 14px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section__head { margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__lead { color: var(--muted); font-size: 17px; margin: 18px auto 0; max-width: 580px; }

/* ---------- Chi siamo ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.about__img--main { width: 100%; aspect-ratio: 4/5; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--paper); }
.about__badge {
  position: absolute; left: -18px; top: 28px; background: var(--ink); color: #fff; border-radius: 14px; padding: 16px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--serif); font-size: 42px; color: var(--gold); line-height: 1; }
.about__badge span { font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.78); }
.about__text > p { color: var(--muted); font-size: 17px; }
.about__text .title { margin-bottom: 24px; }
.perks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.perk__ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--cream); display: grid; place-items: center; color: var(--tomato); }
.perk__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Firme (carosello) ---------- */
.signature { background: var(--ink); color: #fff; overflow: hidden; }
.carousel__nav { display: flex; gap: 10px; }
.round-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; display: grid; place-items: center;
  transition: background .25s, border-color .25s;
}
.round-btn:hover { background: var(--tomato); border-color: var(--tomato); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(16px, calc((100vw - 1200px) / 2)) 8px; scroll-padding-inline: max(16px, calc((100vw - 1200px) / 2));
  cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.card {
  flex: 0 0 clamp(260px, 28vw, 340px); scroll-snap-align: start; background: var(--ink-2); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.06); transition: transform .4s var(--ease), border-color .3s; user-select: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,160,99,.4); }
.card__img { aspect-ratio: 4/3.4; overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); pointer-events: none; }
.card:hover .card__img img { transform: scale(1.06); }
.card__tag { position: absolute; top: 14px; left: 14px; background: rgba(22,17,13,.75); backdrop-filter: blur(6px); color: var(--gold); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.card__body { padding: 20px 22px 24px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.card__name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.card__price { font-weight: 700; color: var(--gold); white-space: nowrap; font-size: 15px; }
.card__price small { font-weight: 500; color: var(--muted-light); font-size: 12px; margin-right: 4px; }
.card__desc { color: rgba(255,255,255,.62); font-size: 14px; margin: 0; }

/* ---------- Menù ---------- */
.menu { background: var(--paper); }
.menu__toolbar {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px; box-shadow: var(--shadow-sm);
}
.menu__search { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.menu__search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.menu__search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; padding: 10px 0; font-size: 15px; }
.seg { display: flex; background: var(--cream); border-radius: 999px; padding: 4px; }
.seg button {
  border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; line-height: 1.1; transition: background .25s, color .25s;
}
.seg button small { font-size: 10.5px; font-weight: 600; opacity: .75; margin-top: 2px; }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 8px; padding-right: 4px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px; transition: all .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--basil); border-color: var(--basil); color: #fff; }
.chip[data-filter="hot"][aria-pressed="true"] { background: var(--tomato); border-color: var(--tomato); }

.menu__cats {
  position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; margin: 22px -16px 0; padding: 12px 16px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; background: rgba(251,247,240,.94); backdrop-filter: blur(10px);
  transition: top .35s;
}
.menu__cats::-webkit-scrollbar { display: none; }
.menu__cats a {
  flex-shrink: 0; text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; color: var(--muted);
  border: 1px solid transparent; transition: all .2s;
}
.menu__cats a:hover { color: var(--ink); border-color: var(--line); }
.menu__cats a.is-active { background: var(--tomato); color: #fff; }
.menu__cats a[hidden] { display: none; }

.cat { padding-top: 48px; }
.cat[hidden] { display: none; }
.cat__head { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; margin-bottom: 26px; }
.cat__img { aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__title { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; }
.cat__intro { color: var(--muted); margin: 6px 0 0; }
.cat__count { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); margin-bottom: 6px; display: block; }
.cat__items { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 48px; }

.item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.item[hidden] { display: none; }
.item__row { display: flex; align-items: baseline; gap: 10px; }
.item__name { font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.item__dots { flex: 1; border-bottom: 1.5px dotted #cdbfb0; transform: translateY(-4px); min-width: 20px; }
.item__price { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--tomato); white-space: nowrap; transition: opacity .2s; }
.item__price.is-swap { opacity: 0; }
.item__price--ask { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--muted); }
.item__desc { color: var(--muted); font-size: 14.5px; margin: 4px 0 0; }
.item__sizes { font-size: 13px; color: var(--muted); margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.item__sizes b { color: var(--ink); }
.tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: .02em; }
.tag--veg { background: #e5efe4; color: var(--basil); }
.tag--hot { background: #f7e1dc; color: var(--tomato); }
.tag--star { background: #f4e9d4; color: #8a6428; }
mark { background: #f6e1a8; color: inherit; border-radius: 3px; padding: 0 2px; }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; }
.more { display: flex; margin: 26px auto 0; }
.more[hidden] { display: none; }
.menu__empty { text-align: center; color: var(--muted); padding: 48px 0; font-size: 17px; }

.menu__extras { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 64px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.info-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 18px; }
.info-card h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--tomato); margin: 24px 0 10px; }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.kv li:last-child { border-bottom: 0; }
.kv li span small { display: block; color: var(--muted); font-size: 13px; }
.kv li b { font-family: var(--serif); color: var(--tomato); font-weight: 600; white-space: nowrap; }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.notes li { padding-left: 22px; position: relative; color: var(--muted); font-size: 15px; }
.notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.notes b { color: var(--ink); }
.extras { grid-column: 1 / -1; }
.extras summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; cursor: pointer; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary h3 { margin: 0; display: flex; align-items: center; gap: 12px; }
.extras summary h3::after { content: "+"; font-family: var(--sans); font-size: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transition: transform .3s; }
.extras[open] summary h3::after { transform: rotate(45deg); }
.extras summary > span { color: var(--muted); font-size: 14px; }
.extras__list { margin-top: 22px; display: grid; gap: 18px; }
.extras__group { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: start; }
.extras__price { font-family: var(--serif); font-weight: 600; color: var(--tomato); font-size: 20px; }
.extras__names { display: flex; flex-wrap: wrap; gap: 6px; }
.extras__names span { background: var(--cream); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; }

/* ---------- Promo ---------- */
.promo { background: var(--paper); padding-bottom: clamp(72px, 10vw, 128px); }
.promo__inner {
  position: relative; display: grid; grid-template-columns: 300px 1fr auto; gap: 40px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 28px; padding: 22px 48px 22px 22px; overflow: hidden;
}
.promo__inner::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(184,54,42,.55), transparent 70%); }
.promo__img { border-radius: 20px; overflow: hidden; aspect-ratio: 1; }
.promo__img img { width: 100%; height: 100%; object-fit: cover; }
.promo__text p { color: rgba(255,255,255,.75); max-width: 480px; }
.promo__text .title { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
.promo__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #fff !important; background: rgba(255,255,255,.1); border-radius: 999px; padding: 8px 14px; margin: 4px 0 0; }
.promo__status:empty { display: none; }
.promo__price { position: relative; width: 150px; height: 150px; border-radius: 50%; background: var(--tomato); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 0 0 8px rgba(184,54,42,.25); }
.promo__price s { color: rgba(255,255,255,.7); font-size: 18px; }
.promo__price strong { font-family: var(--serif); font-size: 52px; line-height: 1; }

/* ---------- Servizi ---------- */
.services { background: var(--cream); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__img { aspect-ratio: 16/11; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__img img { transform: scale(1.05); }
.service__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; }
.service h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 4px 0 12px; }
.service p { color: var(--muted); flex: 1; }
.service .link { align-self: flex-start; }
.pay { margin-top: 22px; background: var(--paper); border-radius: var(--radius); padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.pay h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.pay p { margin: 0; color: var(--muted); max-width: 560px; }
.pay__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pay__list li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; background: #fff; }
.pay__list li::before { content: "✓ "; color: var(--basil); }

/* ---------- Prenota ---------- */
.booking { position: relative; background: var(--ink) url("../images/tavola.jpg") center/cover; color: #fff; isolation: isolate; }
.booking::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(22,17,13,.96) 30%, rgba(22,17,13,.82)); z-index: -1; }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.booking__intro > p { color: rgba(255,255,255,.75); font-size: 17px; margin-top: 20px; }
.booking__facts { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 0; }
.booking__facts li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.8); display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.booking__facts b { color: var(--gold); font-weight: 700; }
.booking__call { display: flex; gap: 12px; flex-wrap: wrap; }

.form { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6257' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(184,54,42,.12); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--tomato); }
.form__msg { margin: 0; font-size: 14px; font-weight: 600; min-height: 0; }
.form__msg:empty { display: none; }
.form__msg.is-error { color: var(--tomato); }
.form__msg.is-info { color: #8a6428; }
.form__hint { text-align: center; font-size: 13px; color: var(--muted); margin: -4px 0 0; }
.ico-wa { width: 20px !important; height: 20px !important; }

/* ---------- Galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-auto-flow: dense; }
.g { border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--cream); position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.g::after { content: "+"; position: absolute; inset: auto 14px 14px auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; font-size: 22px; opacity: 0; transform: scale(.7); transition: all .3s var(--ease); }
.g:hover img { transform: scale(1.07); }
.g:hover::after { opacity: 1; transform: none; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12,9,7,.92); display: grid; place-items: center; padding: 24px; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: min(1200px, 100%); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 28px; line-height: 1; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Dove siamo ---------- */
.where { background: var(--cream); }
.where__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.where__info .title { margin-bottom: 16px; }
.where__addr { color: var(--muted); font-size: 17px; }
.where__addr small { font-size: 14px; display: block; margin-top: 6px; }
.hours { margin-top: 34px; background: var(--paper); border-radius: var(--radius); padding: 24px 26px; }
.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.hours__head h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.hours__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours__table td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours__table tr:last-child td { border-bottom: 0; }
.hours__table td:last-child { text-align: right; font-weight: 600; }
.hours__table tr.is-closed td:last-child { color: var(--tomato); }
.hours__table tr.is-today td { font-weight: 800; }
.hours__table tr.is-today td:first-child::after { content: "Oggi"; margin-left: 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.hours__note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.where__map { border-radius: 24px; overflow: hidden; min-height: 460px; box-shadow: var(--shadow); background: var(--line); }
.where__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.85) contrast(1.02); }

/* ---------- Contatti ---------- */
.contacts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact {
  text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 4px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; min-width: 0;
}
.contact:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.contact__ico { width: 50px; height: 50px; border-radius: 14px; background: var(--tomato); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.contact__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact:first-child .contact__ico svg, .contact__ico--wa svg { fill: currentColor; stroke: none; }
.contact__ico--wa { background: #25a35a; }
.contact__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact strong { font-size: 17px; overflow-wrap: break-word; min-width: 0; }
.contact:last-child strong { font-size: 15.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer p { font-size: 15px; }
.brand--footer { color: #fff; margin-bottom: 18px; }
.footer__claim { max-width: 320px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a, .footer__bottom a { text-decoration: none; transition: color .2s; }
.footer__links a:hover, .footer__bottom a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; flex-wrap: wrap; }

/* ---------- Barra mobile ---------- */
.mobile-bar { display: none; }

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

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .header__call { display: none; }
  .menu__toolbar { grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .menu__search { grid-column: 1 / -1; background: var(--cream); border-radius: 999px; }
  .chips { justify-content: flex-end; }
  .contacts__grid { grid-template-columns: 1fr 1fr; }
  .promo__inner { grid-template-columns: 240px 1fr; padding-right: 32px; }
  .promo__price { display: none; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: var(--ink); flex-direction: column; align-items: stretch;
    padding: calc(var(--header-h) + 20px) 28px 28px; gap: 2px; transform: translateX(100%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.4); transition: transform .45s var(--ease); }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 24px; }
  .header__actions { margin-left: auto; position: relative; z-index: 2; }
  body.nav-open { overflow: hidden; }

  .about__grid, .booking__grid, .where__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .services__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .service { flex-direction: row; }
  .service__img { aspect-ratio: auto; width: 40%; flex-shrink: 0; }
  .cat__items { grid-template-columns: 1fr; }
  .menu__extras { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; padding-bottom: 72px; }
  .status { display: none; }
  .hours .status { display: inline-flex; }
  .brand__name { font-size: 21px; }
  .brand__mark { width: 38px; height: 38px; font-size: 15px; }
  .brand__sub { display: none; }
  .hero__content { padding-bottom: 36px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats > div { padding: 14px 12px; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .hero__stats > div:nth-child(odd) { padding-left: 0; }
  .hero__stats > div:nth-child(-n+2) { border-top: 0; }
  .hero__stats strong { font-size: 24px; }
  .hero__stats span { font-size: 12px; }
  .section__head--row { align-items: flex-start; flex-direction: column; }
  .perks { grid-template-columns: 1fr; }
  .about__badge { left: 8px; top: 12px; }
  .menu__toolbar { grid-template-columns: 1fr; padding: 10px; }
  .seg { justify-self: stretch; } .seg button { flex: 1; padding: 8px 6px; }
  .chips { justify-content: stretch; } .chip { flex: 1; justify-content: center; }
  .cat__head { grid-template-columns: 1fr; gap: 16px; }
  .cat__img { aspect-ratio: 21/9; }
  .info-card { padding: 24px 22px; }
  .extras__group { grid-template-columns: 1fr; gap: 8px; }
  .promo__inner { grid-template-columns: 1fr; padding: 16px 16px 28px; gap: 24px; border-radius: 22px; }
  .promo__img { aspect-ratio: 16/9; }
  .promo__text { padding: 0 8px; }
  .service { flex-direction: column; }
  .service__img { width: 100%; aspect-ratio: 16/10; }
  .form__row { grid-template-columns: 1fr; }
  .booking__facts li { grid-template-columns: 1fr; gap: 2px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .where__map, .where__map iframe { min-height: 340px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .contact { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; row-gap: 0; align-items: center; padding: 18px 20px; }
  .contact__ico { margin: 0; grid-row: 1 / span 2; }
  .contact__label { align-self: end; }
  .contact strong { align-self: start; font-size: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90;
    background: rgba(22,17,13,.95); backdrop-filter: blur(12px); border-radius: 18px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.35);
    padding-bottom: calc(6px + env(safe-area-inset-bottom) * .5);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; text-decoration: none; color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 12px; }
  .mobile-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bar a:first-child svg, .mobile-bar a:last-child svg { fill: currentColor; stroke: none; }
  .mobile-bar__main { background: var(--tomato); }
}

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