/* =========================================================
   Il Capriccio 2 — restyling 2026
   Palette originale: rosso #C4071B · giallo #F9BA00 · bianco
   Font: Fraunces (titoli) · Manrope (testo) — self-hosted, licenza OFL
   ========================================================= */

@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Variable.woff2") format("woff2-variations"), url("../fonts/Fraunces-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Variable-Italic.woff2") format("woff2-variations"), url("../fonts/Fraunces-Variable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Variable.woff2") format("woff2-variations"), url("../fonts/Manrope-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --red: #C4071B;
  --red-600: #A60517;
  --red-800: #7A0310;
  --red-900: #4A020A;
  --yellow: #F9BA00;
  --yellow-300: #FFD45C;
  --cream: #FFF8EC;
  --cream-2: #F8EBD6;
  --ink: #22120D;
  --ink-soft: #5B463D;
  --white: #fff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gold: #D9A21B;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 20px 50px -20px rgba(74, 2, 10, .35);
  --shadow-lg: 0 40px 80px -30px rgba(74, 2, 10, .5);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { fill: currentColor; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; margin-top: 48px; }

/* grana "farina" leggera su tutto il sito */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- tipografia ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 26px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.h2 em { font-style: italic; font-weight: 400; color: var(--red); }
.h2 em.block { display: block; font-size: .6em; margin-top: 6px; }
.h2--light { color: var(--white); }
.h2--light em { color: var(--yellow); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--yellow); }
.lead { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.55; color: var(--ink); font-weight: 400; font-variation-settings: "opsz" 24; }
p { margin: 0 0 16px; color: var(--ink-soft); }
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- bottoni ---------- */
.btn {
  --bg: var(--red); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 600; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--bg) 80%, transparent);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px color-mix(in srgb, var(--bg) 90%, transparent); }
.btn:active { transform: translateY(0); }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--red-600); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn--yellow:hover { --bg: var(--yellow-300); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none; }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--sm { padding: 10px 18px; font-size: .82rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--pulse { position: relative; }
.btn--pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--red);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: height .4s var(--ease);
}
.nav__inner { height: 100%; width: min(1320px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.nav__brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .5s var(--ease); }
.nav__brand:hover img { transform: rotate(-12deg) scale(1.05); }
.nav__brand span { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.nav__brand b { color: var(--yellow); font-weight: 500; font-style: italic; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 12px; color: #fff; text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; white-space: nowrap;
  transition: color .3s, background .3s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--yellow); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: translateX(-50%) scale(1); }
.nav__links a.is-active { color: var(--yellow); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.3); transition: background .3s, transform .3s; }
.nav__social:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.nav__social svg { width: 20px; height: 20px; }
.nav__call-mobile { display: none !important; }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--yellow); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Sfondo della barra su pseudo-elemento: il backdrop-filter applicato alla .nav
   creerebbe un containing block per i figli position:fixed (menu mobile). */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: color-mix(in srgb, var(--red) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -12px rgba(74,2,10,.55);
  transition: opacity .4s var(--ease);
}
.nav.is-scrolled { --nav-h: 66px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled .nav__brand img { width: 42px; height: 42px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate;
  color: #fff; padding: calc(var(--nav-h) + 40px) 0 0;
}
.hero__bg {
  position: absolute; inset: -8% 0; z-index: -3; background-size: cover; background-position: center 40%;
  animation: kenburns 26s ease-in-out infinite alternate; will-change: transform;
}
@keyframes kenburns { from { scale: 1.02; } to { scale: 1.1; } }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(26,12,9,.88) 0%, rgba(26,12,9,.62) 45%, rgba(26,12,9,.25) 100%),
    linear-gradient(180deg, rgba(26,12,9,.4) 0%, rgba(26,12,9,0) 30%, rgba(26,12,9,.75) 100%);
}
.hero__embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.hero__grid { flex: 1; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 48px; padding-bottom: 40px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--yellow);
}
.hero__kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero__title {
  margin: 22px 0 36px; font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(2.8rem, 6.6vw, 6rem); line-height: .98; letter-spacing: -.03em; text-wrap: balance;
}
.hero__title em { display: block; font-style: italic; font-weight: 300; color: var(--yellow); font-size: .52em; letter-spacing: -.01em; margin-top: 16px; line-height: 1.1; }
.nowrap { white-space: nowrap; }
.hero__cta { display: inline-grid; gap: 14px; width: min(100%, 460px); }
.hero__cta .btn { width: 100%; }
.hero__menus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__menus .btn { padding-inline: 16px; }
.hero__badge { justify-self: center; width: min(100%, 340px); position: relative; }
.hero__badge::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(249,186,0,.35), rgba(196,7,27,.15) 45%, transparent 70%); filter: blur(20px);
}
.hero__badge img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero__facts {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.18); background: rgba(26,12,9,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__facts li { padding: 22px clamp(20px, 4vw, 48px); border-left: 1px solid rgba(255,255,255,.12); display: flex; }
.hero__facts li:first-child { border-left: 0; }
.hero__facts li > *, .hero__facts li { flex-direction: column; }
.hero__facts a { display: flex; text-decoration: none; }
.hero__facts span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.hero__facts small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 4px; }
.hero__facts a:hover span { color: var(--yellow); }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--red-900); color: var(--cream); overflow: hidden; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 2.3vw, 1.7rem); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--yellow); font-size: .8rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CHI SIAMO ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__frame img { transform: scale(1.05); }
.about__media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--yellow); border-radius: var(--radius-lg); z-index: -1;
}
.about__badge {
  position: absolute; right: -18px; top: 32px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--red); color: #fff; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center;
  box-shadow: var(--shadow); rotate: 8deg; border: 4px solid var(--cream);
}
.about__badge strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--yellow); font-weight: 500; font-style: italic; }
.about__badge span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.stats { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stats li { background: var(--white); border-radius: 18px; padding: 18px 16px; box-shadow: 0 8px 24px -16px rgba(74,2,10,.4); border: 1px solid var(--cream-2); }
.stats strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 2.1rem; line-height: 1; color: var(--red); letter-spacing: -.02em; }
.stats span { font-size: .85rem; line-height: 1.35; color: var(--ink-soft); display: block; margin-top: 6px; }
.menu-card {
  display: flex; align-items: center; gap: 18px; text-decoration: none; padding: 12px 22px 12px 12px;
  background: var(--ink); color: #fff; border-radius: 22px; max-width: 420px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: var(--shadow);
}
.menu-card:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.menu-card img { width: 78px; height: 78px; object-fit: cover; border-radius: 14px; }
.menu-card__txt { display: flex; flex-direction: column; flex: 1; }
.menu-card__txt small { color: var(--yellow); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.menu-card__txt strong { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.1; }
.menu-card__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-size: 1.2rem; transition: transform .4s var(--ease); }
.menu-card:hover .menu-card__arrow { transform: translateX(4px); background: var(--yellow); color: var(--ink); }

/* ---------- MENU / PIATTI ---------- */
.dishes { background: var(--red); color: #fff; overflow: hidden; }
.dishes::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 0); background-size: 26px 26px;
}
.dishes::after {
  content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,186,0,.28), transparent 65%); pointer-events: none;
}
.dishes__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.dish {
  grid-column: span 2; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--red-800);
  display: flex; flex-direction: column; min-height: 440px; isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  transition: transform .5s var(--ease);
}
.dish:nth-child(4), .dish:nth-child(5) { grid-column: span 3; }
.dish--xl { grid-column: span 2; grid-row: span 1; }
.dish:hover { transform: translateY(-6px); }
.dish__img { position: absolute; inset: 0; z-index: -1; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.dish:hover .dish__img img { transform: scale(1.08); }
.dish__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,18,13,0) 25%, rgba(34,18,13,.55) 55%, rgba(34,18,13,.95) 100%); }
.dish__body { margin-top: auto; padding: 28px; }
.dish__num { display: block; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--yellow); margin-bottom: 8px; }
.dish__num::before { content: "N° "; }
.dish h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.05; margin: 0 0 10px; color: #fff; }
.dish p { color: rgba(255,255,255,.82); font-size: .98rem; margin: 0; line-height: 1.55;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.dish:hover p, .dish:focus-within p { max-height: 200px; opacity: 1; }
@media (hover: none) { .dish p { max-height: none; opacity: 1; } }

.menu-ctas { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.menu-cta {
  display: flex; flex-direction: column; gap: 8px; padding: 34px 36px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: var(--cream); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.menu-cta--alt { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; }
.menu-cta:hover { transform: translateY(-5px); }
.menu-cta__kicker { font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--red); }
.menu-cta--alt .menu-cta__kicker { color: var(--yellow); }
.menu-cta strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.02em; line-height: 1.05; }
.menu-cta__txt { font-size: .98rem; opacity: .75; }
.menu-cta__go { margin-top: 10px; font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.menu-cta__go span { display: inline-block; transition: transform .3s var(--ease); }
.menu-cta:hover .menu-cta__go span { transform: translateX(5px); }
.menu-cta--alt:hover .menu-cta__go span { transform: translateY(3px); }

/* ---------- GIRO PIZZA ---------- */
.giro { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(110px, 16vw, 200px) 0; text-align: center; }
.giro__bg { position: absolute; inset: -20% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.giro__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(74,2,10,.55), rgba(34,18,13,.88)); }
.giro__content { max-width: 780px; }
.giro .lead { color: #fff; }
.giro p { color: rgba(255,255,255,.85); }
.giro__tag { display: inline-block; padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(249,186,0,.6); color: var(--yellow); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; font-size: .72rem; margin-bottom: 22px; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .92rem; }
.chips--red { justify-content: flex-start; }
.chips--red li { border-color: color-mix(in srgb, var(--ink) 18%, transparent); background: transparent; color: var(--ink); font-weight: 500; }

/* ---------- APERICENA ---------- */
.aperi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.aperi__media { position: relative; }
.aperi__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 38% 38% var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.aperi__media::after {
  content: ""; position: absolute; width: 140px; height: 140px; left: -40px; bottom: -30px; border-radius: 50%;
  background: var(--yellow); z-index: -1;
}

/* ---------- TEAM ---------- */
.team { background: var(--cream-2); }
.team__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: -80px; position: relative; }
.team__photo img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.team__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 clamp(0px, 3vw, 40px); }
.member {
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member__avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--yellow); font-family: var(--font-display); font-style: italic; font-size: 1.3rem; margin-bottom: 16px; }
.member h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.65rem; letter-spacing: -.01em; color: var(--ink); margin: 0 0 8px; line-height: 1.1; }
.member p { font-size: .98rem; margin: 0; }
.quality {
  margin-top: 64px; display: grid; grid-template-columns: .8fr 1.6fr; gap: 40px; align-items: start;
  background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.quality::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(196,7,27,.55), transparent 70%); }
.quality__head svg { width: 42px; height: 42px; color: var(--yellow); margin-bottom: 12px; }
.quality__head h3 { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; margin: 0; color: var(--yellow); }
.quality p { color: rgba(255,255,255,.82); position: relative; z-index: 1; }

/* ---------- GALLERY ---------- */
.gallery { background: var(--ink); }
.gallery__grid { columns: 4 240px; column-gap: 16px; }
.g-item { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #2e1a14; }
.g-item img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .5s; }
.g-item:hover img { transform: scale(1.06); filter: saturate(1.15); }
.g-item figcaption:empty { display: none; }
.g-item figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 12px;
  background: rgba(34,18,13,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: .85rem; letter-spacing: .04em;
  transform: translateY(8px); opacity: 0; transition: .4s var(--ease);
}
.g-item:hover figcaption { transform: none; opacity: 1; }
.g-item::after {
  content: "+"; position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 1.4rem; line-height: 1;
  transform: scale(0); transition: transform .4s var(--ease);
}
.g-item:hover::after { transform: scale(1); }
@media (hover: none) { .g-item figcaption { opacity: 1; transform: none; } }

/* ---------- CONTATTI ---------- */
.contact { background: linear-gradient(135deg, var(--red) 0%, var(--red-800) 100%); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(249,186,0,.25), transparent 65%); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(40px, 6vw, 80px); align-items: start; position: relative; }
.info-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list svg { flex: none; width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.12); color: var(--yellow); }
.info-list small { display: block; color: var(--yellow); letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }
.info-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.info-list a:hover { border-color: var(--yellow); }
.form {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; padding: 22px 18px 10px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(34,18,13,.25); color: #fff; font: inherit; font-size: 1rem; outline: none; resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; }
.field span { position: absolute; left: 18px; top: 16px; color: rgba(255,255,255,.7); pointer-events: none; transition: .25s var(--ease); font-size: 1rem; }
.field input:focus, .field textarea:focus { border-color: var(--yellow); background: rgba(34,18,13,.4); box-shadow: 0 0 0 4px rgba(249,186,0,.18); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 6px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--yellow-300); box-shadow: 0 0 0 4px rgba(255,212,92,.25); }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .95rem; color: rgba(255,255,255,.9); margin: 6px 0 12px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(255,255,255,.5); margin-top: 2px; display: grid; place-items: center; transition: .25s; }
.check input:checked + .check__box { background: var(--yellow); border-color: var(--yellow); }
.check input:checked + .check__box::after { content: ""; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; rotate: 45deg; margin-top: -3px; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(249,186,0,.3); }
.check a { color: var(--yellow); }
.form__msg { min-height: 1.4em; margin: 0 0 10px; color: var(--yellow-300); font-size: .95rem; }
.form__submit { width: 100%; }

/* ---------- MAPPA ---------- */
.map { position: relative; height: clamp(320px, 45vw, 480px); overflow: hidden; }
.map__link { display: block; position: absolute; inset: 0; }
.map__link > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform 1.2s var(--ease), filter .6s; }
.map__link:hover > img { transform: scale(1.03); filter: none; }
.map__pin {
  position: absolute; left: 50%; top: 50%; translate: -50% -100%; width: 74px; height: 74px; border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: var(--red); display: grid; place-items: center; box-shadow: 0 16px 30px -8px rgba(74,2,10,.6); animation: bounce 2.4s var(--ease) infinite;
}
.map__pin img { width: 56px; height: 56px; border-radius: 50%; rotate: 45deg; }
@keyframes bounce { 50% { transform: translateY(-10px); } }
.map__cta { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; white-space: nowrap; box-shadow: var(--shadow); transition: background .3s; }
.map__link:hover .map__cta { background: var(--red); }

/* ---------- FOOTER ---------- */
.footer { background: var(--red-900); color: rgba(255,255,255,.85); padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand { display: flex; gap: 18px; align-items: center; }
.footer__brand img { width: 88px; height: 88px; border-radius: 50%; }
.footer__brand strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.footer__brand span { font-size: .9rem; }
.footer__info { font-style: normal; line-height: 1.8; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .3s; }
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.footer__social svg { width: 22px; height: 22px; }
.footer__legal { display: flex; gap: 20px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- FAB ---------- */
.fab { display: none; position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: #fff; place-items: center; box-shadow: 0 14px 30px -8px rgba(196,7,27,.7); }
.fab svg { width: 26px; height: 26px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: pulse 2.2s var(--ease) infinite; }

/* ---------- LIGHTBOX / MODAL ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(20,10,8,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .3s ease; padding: 20px; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 16px; box-shadow: 0 40px 80px rgba(0,0,0,.6); animation: zoomIn .4s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }
.lightbox figcaption { color: #fff; margin-top: 14px; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); font-size: 1.8rem; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 2rem; line-height: 1; transition: background .3s; }
.lightbox__nav:hover { background: var(--red); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }

/* ---------- COOKIE BANNER ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 150; width: min(420px, calc(100% - 40px));
  background: var(--ink); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); font-size: .92rem; line-height: 1.6;
  transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.cookie.is-in { transform: none; opacity: 1; }
.cookie strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.cookie p { color: inherit; margin: 0 0 16px; }
.cookie a { color: var(--yellow); }
.cookie__actions { display: flex; align-items: center; gap: 16px; }
.cookie .btn { padding: 11px 22px; }

/* ---------- MENU MOBILE ----------
   Overlay separato dall'header (creato da main.js): nessun backdrop-filter,
   clip-path o z-index negativo che possano lasciarlo "a metà". */
.mnav {
  position: fixed; inset: 0; z-index: 95; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: calc(var(--nav-h) + 16px) 24px calc(24px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 80% 10%, var(--red-600), var(--red-900) 70%);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mnav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s var(--ease), visibility 0s; }
.mnav a:not(.btn) {
  color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 2rem; line-height: 1.2; padding: 6px 16px;
  transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease), color .2s;
}
.mnav a.is-active { color: var(--yellow); }
.mnav.is-open a { transform: none; opacity: 1; }
.mnav .btn { margin-top: 20px; }
@media (max-width: 980px) { .mnav { display: flex; } }
html.is-locked, html.is-locked body { overflow: hidden; }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1320px) {
  .nav__links a { padding: 8px 9px; font-size: .76rem; letter-spacing: .1em; }
}
@media (max-width: 1180px) {
  .nav__call { display: none; }
}
@media (max-width: 980px) {
  .nav__burger { display: block; }
  .nav__social { display: none; }
  .nav__links { display: none; }
  .nav.is-open::before { opacity: 0; }
  .about__grid, .aperi__grid, .contact__grid, .quality { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 28px; padding-bottom: 32px; }
  .hero__badge { order: -1; width: min(60vw, 240px); }
  .hero__kicker { justify-content: center; letter-spacing: .2em; }
  .hero__kicker::before { display: none; }
  .hero__cta { justify-content: center; }
  .hero__text { display: flex; flex-direction: column; align-items: center; }
  .hero__shade { background: linear-gradient(180deg, rgba(26,12,9,.7), rgba(26,12,9,.55) 40%, rgba(26,12,9,.9)); }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .aperi__media { order: -1; max-width: 520px; margin-inline: auto; }
  .dishes__grid { grid-template-columns: 1fr 1fr; }
  .dish, .dish:nth-child(4), .dish:nth-child(5), .dish--xl { grid-column: span 1; min-height: 380px; }
  .dish--xl { grid-column: span 2; }
  .menu-ctas { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; padding: 0 16px; }
  .team__photo img { aspect-ratio: 16/9; }
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  body { font-size: 1rem; }
  .container { width: calc(100% - 32px); }
  .nav__brand span { font-size: 1.3rem; }
  .hero__cta { max-width: 360px; margin-inline: auto; }
  .hero__menus { gap: 10px; }
  .hero__menus .btn { padding: 15px 10px; font-size: .74rem; letter-spacing: .1em; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 14px 20px; text-align: center; }
  .hero__facts li:first-child { border-top: 0; }
  .hero__facts li:not(:last-child) { display: none; }
  .hero__badge { width: min(52vw, 200px); }
  .about__badge { right: 8px; width: 96px; height: 96px; }
  .about__media::before { inset: 14px -10px -14px 14px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stats li { padding: 14px 10px; }
  .stats strong { font-size: 1.5rem; }
  .stats span { font-size: .75rem; }
  .dishes__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 0 16px 12px; scrollbar-width: none; }
  .dishes__grid::-webkit-scrollbar { display: none; }
  .dish, .dish--xl { flex: 0 0 82%; scroll-snap-align: center; min-height: 440px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .gallery__grid { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; border-radius: 14px; }
  .g-item::after { display: none; }
  .team__photo { margin-bottom: -40px; }
  .fab { display: grid; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  body.has-cookie .fab { display: none; }
  .prose table { display: block; overflow-x: auto; }
  .footer__bottom { flex-direction: column; }
  .footer__legal { gap: 16px; }
  .lightbox__nav { top: auto; bottom: 20px; translate: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

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

/* ---------- pagine interne (blog / privacy) ---------- */
.page-hero { background: linear-gradient(135deg, var(--red), var(--red-800)); color: #fff; padding: calc(var(--nav-h) + 70px) 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero .h2 { color: #fff; margin: 0; }
.page-hero p { color: rgba(255,255,255,.8); margin: 12px 0 0; }
.page-body { padding: 70px 0 100px; }
.page-body .container { max-width: 860px; }
.prose h2 { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1.7rem; letter-spacing: -.01em; margin: 44px 0 12px; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--cream-2); vertical-align: top; color: var(--ink-soft); }
.prose th { color: var(--ink); font-weight: 600; background: #fff; }
.prose a { color: var(--red); }
.prose .note { background: #fff; border-left: 3px solid var(--yellow); padding: 14px 18px; border-radius: 10px; font-size: .95rem; }
.prose h3 { font-size: 1.1rem; margin: 26px 0 6px; }
.prose ul { color: var(--ink-soft); padding-left: 20px; }
.nav--solid { background: var(--red); }
