/* ═══════════════════════════════════════════════════
   LA CICCHETTERIA — Caslano
   Pizzeria napoletana premium · bordeaux & avorio
   ═══════════════════════════════════════════════════ */

:root {
  --bordeaux: #ac261c;
  --bordeaux-deep: #871d15;
  --bordeaux-soft: #c1362a;
  --ivory: #faf6ee;
  --ivory-2: #f2ebdd;
  --paper: #fffdf8;
  --ink: #221518;
  --ink-soft: #4a3a3e;
  --muted: #8a7a7d;
  --gold: #e6b64a;
  --line: rgba(172, 38, 28, .14);
  --line-light: rgba(250, 246, 238, .18);
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", "Archivo", system-ui, sans-serif;
  --font-script: "Yellowtail", cursive;
  --radius: 14px;
  --shadow: 0 18px 44px -22px rgba(34, 21, 24, .35);
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.03rem;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
picture { display: contents; }

img { max-width: 100%; display: block; }

a { color: var(--bordeaux); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .topbar.is-solid :focus-visible { outline-color: var(--ivory); }
.btn:focus-visible, .nav-toggle:focus-visible, .bottom-bar a:focus-visible { outline-offset: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--bordeaux); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; outline: 2px solid var(--ivory); }

/* ───────── Typography ───────── */
h1, h2, h3 { line-height: 1.1; font-weight: 480; }
h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.02;
  margin-bottom: .6em; color: var(--ink);
}
h2 em, h1 em { font-style: normal; font-weight: 800; color: var(--bordeaux); }
.kicker {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: 1em;
  background: rgba(172,38,28,.08); padding: 6px 12px; border-radius: 999px;
}
.on-dark, .on-dark h2, .on-dark h3 { color: var(--ivory); }
.on-dark h2 em { color: var(--gold); }
.on-dark .kicker { color: var(--gold); }
.on-dark .muted { color: rgba(250,246,238,.7); }
.on-dark a { color: var(--ivory); }

/* ───────── Reveal ───────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,.68,.24,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-failsafe .reveal { opacity: 1; transform: none; }

/* ───────── Checker (brand, sottile) ───────── */
.checker {
  height: 14px;
  background: repeating-conic-gradient(var(--bordeaux) 0% 25%, transparent 0% 50%) 0 0 / 28px 28px;
  opacity: .9;
}

/* ───────── Topbar ───────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 22px;
  padding: calc(14px + env(safe-area-inset-top)) max(34px, env(safe-area-inset-right)) 14px max(34px, env(safe-area-inset-left));
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease, transform .45s cubic-bezier(.16,.68,.24,1), color .35s ease;
  color: var(--ivory);
}
.topbar.is-hidden { transform: translateY(-110%); }
.topbar.is-solid {
  background: rgba(172, 38, 28, .96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -14px rgba(34,21,24,.5);
  padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px;
  color: var(--ivory);
}
.brand { display: flex; align-items: center; min-height: 44px; color: inherit; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 50px; width: auto; display: block; transition: height .35s ease; filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)); }
.topbar.is-solid .brand-logo { height: 42px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  color: inherit; font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding: 12px 4px; min-height: 44px; min-width: 44px;
  justify-content: center; display: inline-flex; align-items: center;
}
.nav a:hover { text-decoration: none; opacity: .8; }
.nav a::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 8px;
  width: 0; height: 1px; background: currentColor; transition: width .35s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: calc(100% - 8px); }
.nav-menu-link { font-weight: 800; }
.nav-toggle { display: none; }

/* Topbar sull'hero chiaro (prima dello scroll): testo scuro; nav su pillola avorio sopra la foto (solo desktop) */
.topbar:not(.is-solid) { color: var(--ink); }
@media (min-width: 1021px) {
  .topbar:not(.is-solid) .nav {
    background: rgba(250,246,238,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 0 14px; border-radius: 999px; gap: 14px;
  }
  .topbar.is-solid .nav { background: transparent; padding: 0; }
}
.topbar:not(.is-solid) .topbar-call { box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.topbar.is-solid .topbar-call { background: var(--ivory); color: var(--bordeaux); border-color: var(--ivory); }
.page-menu .topbar:not(.is-solid) { color: var(--ivory); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 999px; min-height: 48px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--bordeaux); color: #fff; }
.btn-primary { box-shadow: 0 10px 24px -12px rgba(172,38,28,.55); }
.btn-primary:hover { background: var(--bordeaux-deep); box-shadow: 0 16px 34px -14px rgba(172,38,28,.7); }
.btn-outline { border: 2px solid var(--bordeaux); color: var(--bordeaux); background: transparent; }
.btn-outline:hover { background: var(--bordeaux); color: #fff; }
.on-dark .btn-outline { border-color: rgba(250,246,238,.4); color: var(--ivory); }
.on-dark .btn-outline:hover { border-color: var(--ivory); background: rgba(250,246,238,.08); }
.btn-light { background: var(--ivory); color: var(--bordeaux); }
.btn-light:hover { background: #fff; }
.btn-stack { flex-direction: column; gap: 1px; line-height: 1.25; padding-top: 12px; padding-bottom: 13px; }
.btn-stack .btn-num { white-space: nowrap; letter-spacing: .08em; }
.btn-call { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; font-size: .82rem; padding: 12px 20px; min-height: 44px; }
.btn-call:hover { background: var(--bordeaux-deep); }

/* ═══════════ HERO — split: pannello avorio + foto nitida ═══════════ */
.hero {
  display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  min-height: clamp(560px, 88vh, 860px);
  min-height: clamp(560px, 88svh, 860px);
  background: var(--ivory);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(104px, 13vh, 130px) clamp(28px, 5vw, 80px) clamp(40px, 6vh, 64px);
}
.hero-eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: var(--bordeaux); margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 8px 14px; border-radius: 999px;
  opacity: 0; animation: fadeUp 1s .2s ease forwards;
}
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 4.1vw, 3.8rem); line-height: 1;
  letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 18px; color: var(--ink);
}
.hero-title .line { display: block; overflow: hidden; white-space: nowrap; }
.hero-title .line > * { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s cubic-bezier(.16,.68,.24,1) forwards; }
.hero-title .line:nth-child(1) > * { animation-delay: .35s; }
.hero-title .line:nth-child(2) > * { animation-delay: .5s; }
.hero-title .line:nth-child(3) > * { animation-delay: .65s; }
.hero-title em { font-style: normal; color: var(--bordeaux); }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-mini { max-width: 520px; margin: 2px 0 18px; opacity: 0; animation: fadeUp 1s .9s ease forwards; }
.hero-mini img { width: 100%; height: clamp(160px, 24vh, 230px); object-fit: cover; object-position: 50% 78%; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-tag { color: var(--ink-soft); max-width: 46ch; font-size: 1.02rem; margin-bottom: 24px; opacity: 0; animation: fadeUp 1s 1s ease forwards; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; opacity: 0; animation: fadeUp 1s 1.2s ease forwards; }
.hero-facts {
  display: flex; gap: clamp(20px, 2.6vw, 40px); flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 18px;
  opacity: 0; animation: fadeUp 1s 1.4s ease forwards;
}
.hero-facts dt { font-size: .72rem; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-facts dd { font-size: .95rem; font-weight: 600; color: var(--ink); }
.hero-photo { position: relative; overflow: hidden; min-height: 460px; }
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-conic-gradient(var(--ivory) 0% 25%, transparent 0% 50%) 0 0 / 28px 28px; opacity: .9; }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 38%;
  transform: scale(1.03); animation: heroSettle 8s ease-out forwards;
}
@keyframes heroSettle { to { transform: scale(1); } }

/* ───────── Marquee ───────── */
.marquee { background: var(--bordeaux); color: var(--ivory); overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════ ENZO ═══════════ */
.enzo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: var(--paper); align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); }
.enzo-media { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 520px; width: 100%; justify-self: center; }
/* foto INTERA: proporzioni originali, nessun ritaglio → viso e pizza sempre visibili */
.enzo-media img { display: block; width: 100%; height: auto; }
.enzo-copy { display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(0px, 2vw, 32px); }
.enzo-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.enzo-copy p { color: var(--ink-soft); margin-bottom: 1.15em; max-width: 54ch; }
.enzo-points { list-style: none; margin-top: 18px; max-width: 54ch; }
.enzo-points li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.enzo-points li strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; min-width: 175px; }

/* ═══════════ GALLERIA SCORREVOLE ═══════════ */
.gallery { padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); background: var(--ivory); overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.gallery-head h2 { margin-bottom: 0; }
.gallery-note { color: var(--ink-soft); max-width: 36ch; font-size: .95rem; text-align: right; }
.gallery-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gallery-track {
  display: flex; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(28px, calc((100vw - var(--wrap)) / 2 + 28px));
  padding: 6px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 26px;
  scrollbar-width: none; cursor: grab;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.g-item { flex: 0 0 clamp(240px, 30vw, 420px); scroll-snap-align: start; margin: 0; }
.g-item picture, .g-item img { display: block; }
.g-item img {
  aspect-ratio: 4/5; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--ivory-2);
  transition: transform .6s cubic-bezier(.16,.68,.24,1);
}
.g-item:hover img { transform: translateY(-4px); }
.g-item figcaption { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .98rem; margin-top: 12px; }
.gallery-ctrl { display: flex; gap: 10px; justify-content: flex-end; }
.g-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--bordeaux);
  background: transparent; color: var(--bordeaux); font-size: 1.1rem; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.g-btn:hover { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.g-btn:disabled { opacity: .3; cursor: default; }

/* ═══════════ MENU TEASER ═══════════ */
.menu-teaser { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ───────── Promo ───────── */
.promo { background: var(--bordeaux); color: #fff; text-align: center; position: relative; }
.promo::before, .promo::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: repeating-conic-gradient(var(--ivory) 0% 25%, transparent 0% 50%) 0 0 / 28px 28px; opacity: .9; }
.promo::before { top: 0; } .promo::after { bottom: 0; }
.promo-inner { padding: clamp(70px, 9vw, 120px) 28px; }
.promo-script { font-family: var(--font-script); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); margin-bottom: .2em; }
.promo-big { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.05; margin-bottom: .5em; color: #fff; letter-spacing: -.01em; }
.promo-big span { font-weight: 800; color: var(--gold); }
.promo-note { opacity: .9; margin-bottom: 30px; font-size: .95rem; }

/* ═══════════ CONSEGNA ═══════════ */
.consegna { padding: clamp(70px, 9vw, 120px) 0; background: var(--ivory); }
.consegna-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.consegna-copy p { color: var(--ink-soft); max-width: 50ch; }
.consegna-copy .btn { margin-top: 26px; }
.ordina-card { display: block; max-width: 440px; margin-top: 26px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 2px solid rgba(172,38,28,.18); transition: transform .3s ease, box-shadow .3s ease; }
.ordina-card:hover { transform: translateY(-4px); box-shadow: 0 24px 54px -22px rgba(34,21,24,.45); }
.ordina-card img { display: block; width: 100%; height: auto; }
.zone { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 6px; }
.zone-label { margin-top: 24px; font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); }
.zona { border: 2px solid rgba(172,38,28,.25); color: var(--ink); padding: 8px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600; transition: border-color .3s ease, color .3s ease, background .3s ease; }
.zona:hover { border-color: var(--bordeaux); background: var(--bordeaux); color: #fff; }
.consegna-badge {
  aspect-ratio: 1; max-width: 340px; margin: 0 auto; border-radius: 50%;
  border: 3px solid var(--bordeaux); display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--bordeaux); text-align: center; background: var(--paper);
  box-shadow: var(--shadow); width: 100%;
}
.badge-n { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 8vw, 7rem); line-height: 1; }
.badge-n small { font-size: .28em; font-style: normal; font-family: var(--font-body); letter-spacing: .1em; vertical-align: super; margin-left: 4px; }
.badge-n small:first-child { margin-left: 0; margin-right: 4px; vertical-align: baseline; font-weight: 700; }
.badge-l { font-size: .74rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; margin-top: 8px; color: var(--bordeaux); }

/* ───────── Sections / Contatti ───────── */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.contatti { background: var(--paper); }
.contatti-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 54px 0; border-top: 1px solid var(--line); }
.contatto-box { padding: 36px 28px 30px; border-left: 1px solid var(--line); }
.contatto-box:first-child { border-left: 0; }
.contatto-box h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 14px; font-weight: 800; }
.contatto-box p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 6px; }
.contatto-box .social-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: 18px; }
.contatto-box .tel-big { display: inline-flex; align-items: center; min-height: 44px; }
.tel-big { font-family: var(--font-display); font-size: 1.6rem; color: var(--bordeaux); font-weight: 800; }
.tel-big:hover { text-decoration: none; color: var(--bordeaux-deep); }
.mappa { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mappa iframe { width: 100%; height: 430px; border: 0; display: block; }

/* ───────── Footer ───────── */
.footer { background: var(--bordeaux-deep); color: var(--ivory); }
.footer .checker { background: repeating-conic-gradient(var(--ivory) 0% 25%, transparent 0% 50%) 0 0 / 20px 20px; opacity: .25; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 70px 28px 44px; }
.footer-logo { height: 76px; width: auto; display: block; }
.footer-brand p { color: rgba(250,246,238,.7); margin-top: 14px; font-size: .9rem; }
.footer-col h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 800; }
.footer-col a, .footer-col span { display: block; color: rgba(250,246,238,.85); font-size: .9rem; padding: 6px 0; }
.footer-col a { min-height: 44px; display: flex; align-items: center; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-legal { border-top: 1px solid var(--line-light); padding: 28px 28px calc(44px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal p { color: rgba(250,246,238,.6); font-size: .8rem; }
.footer-legal a { color: var(--ivory); display: inline-block; padding: 12px 8px; margin: -12px -8px; }
/* link testuali dentro paragrafi: tap area 44px senza spostare il layout */
.gallery-note a, .menu-hero .hero-tag a, .center.muted a, .come-step p a {
  display: inline-block; padding: 12px 2px; margin: -12px -2px; border-radius: 4px;
}

/* ───────── Pagina MENU ───────── */
.page-menu { background: var(--ivory); }
.menu-hero { position: relative; text-align: center; padding: 170px 28px 80px; background: var(--bordeaux); color: var(--ivory); }
.menu-hero .hero-eyebrow { justify-content: center; color: var(--bordeaux); background: var(--gold); align-self: center; }
.menu-hero .hero-eyebrow::before { display: none; }
.menu-hero h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 7.5vw, 5.2rem); margin-bottom: 18px; color: var(--ivory); letter-spacing: -.01em; }
.menu-hero h1 em { font-style: normal; color: var(--gold); }
.menu-hero .hero-tag { margin: 0 auto; color: rgba(250,246,238,.85); }
.menu-hero .hero-tag a { color: #fff; }
.menu-hero .checker { position: absolute; bottom: 0; left: 0; right: 0; background: repeating-conic-gradient(var(--ivory) 0% 25%, transparent 0% 50%) 0 0 / 20px 20px; opacity: .3; }
.menu-section.alt { background: var(--paper); }
.menu-list { max-width: 860px; margin: 46px auto 0; }
.menu-list.compact { margin-top: 34px; }
.menu-list.cols-2 { max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 17px 4px; border-bottom: 1px solid var(--line); transition: padding .3s ease; }
.menu-item:hover { padding-left: 10px; }
.menu-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.menu-item p { color: var(--muted); font-size: .88rem; margin-top: 3px; }
.mprice { font-family: var(--font-display); font-weight: 800; color: var(--bordeaux); white-space: nowrap; font-size: 1.1rem; flex-shrink: 0; }
.menu-cat { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin: 70px 0 6px; text-align: center; color: var(--ink); }
.menu-cat small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: .22em; text-transform: uppercase; margin-top: 8px; }
.regola { max-width: 760px; margin: 40px auto; border: 1px solid rgba(172,38,28,.35); border-radius: var(--radius); padding: 22px 30px; text-align: center; font-size: .95rem; color: var(--ink-soft); }
.regola b { color: var(--bordeaux); }
.ingredienti-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1100px; margin: 34px auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ing-col { padding: 30px 26px; border-left: 1px solid var(--line); }
.ing-col:first-child { border-left: 0; }
.ing-col h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 12px; font-weight: 800; }
.ing-col p { color: var(--ink-soft); font-size: .88rem; }
.ing-col b { color: var(--bordeaux); font-weight: 600; }
.promo-inline { margin-top: 60px; text-align: center; background: var(--bordeaux); border-radius: var(--radius); padding: 40px 28px; color: #fff; }
.promo-inline .promo-script { font-size: 1.6rem; }
.promo-inline-big { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 2.1rem); color: #fff; }


/* ═══════════ COME SI ORDINA ═══════════ */
.come { padding: clamp(64px, 8vw, 110px) 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.come-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.come-step { padding: 36px 30px 40px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.come-step:first-child { border-left: 0; }
.come-n { width: 52px; height: 52px; border-radius: 50%; background: var(--bordeaux); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; margin-bottom: 18px; }
.come-step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 10px; color: var(--ink); }
.come-step p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }
.come-step p b { color: var(--bordeaux); font-weight: 800; }
.come-step p a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.come-step .btn { align-self: flex-start; margin-top: auto; }

/* ═══════════ LE PIÙ RICHIESTE ═══════════ */
.best-list { max-width: 880px; margin: 40px auto 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.best { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.best h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.best p { color: var(--muted); font-size: .85rem; margin-top: 2px; }

/* ═══════════ MENU: scorciatoie categorie ═══════════ */
.menu-hero-cta { margin-top: 26px; }
.menu-jump { position: sticky; top: 0; z-index: 60; background: rgba(250,246,238,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.menu-jump-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.menu-jump-inner::-webkit-scrollbar { display: none; }
.menu-jump a { flex: 0 0 auto; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 2px solid rgba(172,38,28,.25); color: var(--ink); font-size: .84rem; font-weight: 700; white-space: nowrap; }
.menu-jump a:hover, .menu-jump a[aria-current="true"] { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); text-decoration: none; }
.menu-section { scroll-margin-top: 70px; }

/* ═══════════ BOTTOM BAR (mobile) ═══════════ */
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1.2fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-family: var(--font-display); font-size: .88rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bottom-bar a:hover { text-decoration: none; }
.bb-call { background: var(--bordeaux); color: #fff; }
.bb-menu { background: var(--ivory); color: var(--bordeaux); }


/* ═══════════ SPLASH — apertura "La Cicchetteria" ═══════════ */
.splash {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bordeaux); color: var(--ivory);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
/* fallback senza JS: sparisce comunque dopo 4s */
.splash { animation: splashAuto 0s 4s forwards; }
@keyframes splashAuto { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-inner { text-align: center; padding: 0 28px; transform: translateY(-4%); }
.splash-name {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 9.5vw, 7.5rem); line-height: 1.1; color: var(--ivory); white-space: nowrap;
  text-shadow: 0 0 14px rgba(255,230,180,.55), 0 0 40px rgba(255,200,120,.35);
  opacity: 0; animation: splashNeon 1.25s .15s ease-out forwards;
}
.splash-sub {
  display: block; margin-top: 14px;
  font-family: var(--font-display); font-weight: 800; font-size: .82rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
  opacity: 0; animation: fadeUp .8s .7s ease forwards;
}
.splash-bar {
  display: block; width: 160px; height: 3px; margin: 26px auto 0;
  background: rgba(250,246,238,.18); border-radius: 3px; overflow: hidden;
}
.splash-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 3px; animation: splashBar 1.5s .3s cubic-bezier(.2,.7,.2,1) forwards; }
.splash-checker { position: absolute; left: 0; right: 0; height: 16px; background: repeating-conic-gradient(var(--ivory) 0% 25%, transparent 0% 50%) 0 0 / 32px 32px; opacity: .9; }
.splash-checker.top { top: 0; } .splash-checker.bottom { bottom: 0; }
@keyframes splashNeon {
  0%   { opacity: 0; transform: scale(.96); filter: brightness(.6); }
  35%  { opacity: 1; filter: brightness(1.4); }
  45%  { opacity: .55; }
  60%  { opacity: 1; filter: brightness(1.2); }
  100% { opacity: 1; transform: none; filter: brightness(1); }
}
@keyframes splashBar { to { width: 100%; } }
html.splash-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .splash-name, .splash-sub, .splash-bar i { animation: none; opacity: 1; width: 100%; }
  .splash { transition: none; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1024px) {
  .contatti-grid { grid-template-columns: repeat(2, 1fr); }
  .contatti-grid .contatto-box { border-top: 1px solid var(--line); }
  .contatti-grid .contatto-box:nth-child(-n+2) { border-top: 0; }
  .contatti-grid .contatto-box:nth-child(odd) { border-left: 0; }
  .ingredienti-grid { grid-template-columns: repeat(2, 1fr); }
  .ingredienti-grid .ing-col { border-top: 1px solid var(--line); }
  .ingredienti-grid .ing-col:nth-child(-n+2) { border-top: 0; }
  .ingredienti-grid .ing-col:nth-child(odd) { border-left: 0; }
}

@media (max-width: 1020px) {
  .topbar { padding-left: 20px; padding-right: 20px; }
  .topbar-call { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; background: none; border: 0; cursor: pointer; padding: 0 9px;
    width: 44px; height: 44px; position: relative; z-index: 101; color: inherit;
  }
  .nav-toggle span { width: 26px; height: 2px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
  .nav-toggle.is-open { color: var(--bordeaux); }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    background: var(--ivory); color: var(--bordeaux);
    opacity: 0; pointer-events: none; transition: opacity .35s ease;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  }
  .nav.is-open { opacity: 1; pointer-events: auto; z-index: 99; }
  /* menu aperto: niente blur/sfondo sulla topbar (fix containing-block iOS) e brand in bordeaux */
  .topbar.nav-open, .topbar.nav-open.is-solid {
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: none; border-bottom: 0; color: var(--bordeaux);
  }
  .nav a { font-size: 1.1rem; font-weight: 800; color: var(--bordeaux); padding: 12px 24px; min-height: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .bottom-bar { display: grid; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .come-grid { grid-template-columns: 1fr; }
  .come-step { border-left: 0; border-top: 1px solid var(--line); }
  .come-step:first-child { border-top: 0; }
  .menu-list.cols-2 { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; min-height: 0; height: clamp(320px, 52vh, 520px); }
  .hero-copy { padding-top: 44px; }
  .topbar:not(.is-solid) { color: var(--ivory); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
  .enzo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }


  .gallery-head { flex-direction: column; align-items: flex-start; }
  .gallery-note { text-align: left; }
  .consegna-inner { grid-template-columns: 1fr; }
  .consegna-badge { max-width: 240px; }
}

@media (max-width: 700px) {
  .enzo { grid-template-columns: 1fr; }
  .enzo-media { max-width: 100%; }
}

@media (max-width: 520px) {
  .hero-title { font-size: clamp(2.1rem, 11vw, 2.6rem); }
  .hero-title .line { white-space: normal; }
  .best-list { grid-template-columns: 1fr; }
  .contatti-grid { grid-template-columns: 1fr; }
  .contatto-box { border-left: 0 !important; }
  .ingredienti-grid { grid-template-columns: 1fr; }
  .ing-col { border-left: 0 !important; }
  .mappa iframe { height: 320px; }
  .hero-cta .btn { width: 100%; }
  .g-item { flex-basis: 78vw; }
}

/* ───────── Large desktop (≥1800px) ───────── */
@media (min-width: 1800px) {
  :root { --wrap: 1320px; }
  html { font-size: 18px; }
  .hero { min-height: clamp(700px, 88vh, 980px); }
  .consegna-copy { padding-inline: clamp(60px, 7vw, 140px); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-photo img { animation: none; transform: none; }
  .hero-title .line > * { animation: none; transform: none; }
  .hero-eyebrow, .hero-tag, .hero-cta, .hero-facts, .hero-mini { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .g-item img { transition: none; }
  .btn, .topbar { transition: none; }
  .gallery-track { scroll-behavior: auto; }
}
