/* ============================================================
   premium.css — Boomerang Bar
   Caricato dopo style.css. Eleva tipografia, microinterazioni
   e finiture senza riscrivere il layout di base.
   ============================================================ */

:root {
  --title: "Playfair Display", "Cormorant Garamond", "Space Grotesk", serif;
  --body: "Inter", "Poppins", system-ui, -apple-system, sans-serif;
  --display: "Playfair Display", "Cormorant Garamond", serif;
  --script: "Cormorant Garamond", "Playfair Display", serif;

  --premium-orange: #ff7a1a;
  --premium-amber: #ffb464;
  --premium-cream: #ffead2;
  --premium-deep: #0d0805;

  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --radius-lux: 26px;
}

/* ---------- Tipografia premium ---------- */
body {
  font-family: var(--body);
  font-feature-settings: "ss01", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .logo span, .footer-logo span,
.eyebrow, .hero-subtitle, .big-link,
.main-nav a, .menu-card strong, .event-card span,
.timeline-card time, .timeline-card span,
.legal-block h2 {
  font-family: var(--title);
}

/* I titoli grandi diventano serif eleganti — corsivo editoriale */
h1, .page-hero h1, h2, .menu-category h2, .feature-card h3,
.legal-block h2, .band-content h2, .cookie-banner h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.018em;
  text-transform: none;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 700;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 600;
}

h3 {
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: -0.005em;
  text-transform: none;
}

.feature-card h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.012em;
}

p {
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
}

.hero-subtitle {
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: rgba(255, 234, 210, 0.96);
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.menu-card h3,
.event-card h3,
.timeline-card h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  letter-spacing: -0.012em;
  text-transform: none;
}

.menu-category h2 {
  text-transform: none;
}

.legal-block h2 {
  text-transform: none;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.big-link {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ---------- Stato pre-animazione (GSAP prende il controllo) ---------- */
html.gsap-ready .reveal,
html.gsap-ready .reveal.slide-up,
html.gsap-ready .reveal.fade-in,
html.gsap-ready .reveal.zoom-in {
  opacity: 0;
  transform: none;
  transition: none;
}

html.gsap-ready .hero-actions .btn,
html.gsap-ready .hero-content .eyebrow,
html.gsap-ready .hero-content h1,
html.gsap-ready .hero-content .hero-subtitle {
  opacity: 0;
  transform: translateY(28px);
}

/* Fallback: se GSAP non si carica, restano i reveal CSS originali */

/* ---------- Navbar morph ---------- */
.site-header {
  transition:
    top 0.4s var(--ease-luxe),
    width 0.4s var(--ease-luxe),
    background 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft),
    padding 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft),
    backdrop-filter 0.35s var(--ease-soft);
}

.site-header.scrolled {
  top: 6px;
  width: fit-content;
  padding: 6px 8px;
  background: rgba(42, 22, 12, 0.86);
  border-color: rgba(217, 130, 43, 0.36);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34), 0 1px 0 rgba(217, 130, 43, 0.12) inset;
  backdrop-filter: blur(22px) saturate(140%);
}

.main-nav a {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.9rem;
}

/* ---------- Bottoni premium ---------- */
.btn {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.35s var(--ease-luxe),
    box-shadow 0.35s var(--ease-luxe),
    background 0.3s var(--ease-soft),
    color 0.3s var(--ease-soft),
    border-color 0.3s var(--ease-soft);
}

.btn::after {
  transition: transform 0.7s var(--ease-luxe);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(120deg, #e8782a 0%, #d9822b 55%, #a85715 100%);
  background-size: 180% 100%;
  background-position: 0% 50%;
  box-shadow:
    0 14px 32px rgba(217, 130, 43, 0.34),
    0 0 0 1px rgba(255, 234, 210, 0.16) inset;
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow:
    0 22px 44px rgba(232, 120, 42, 0.44),
    0 0 0 1px rgba(255, 234, 210, 0.28) inset;
}

.btn-ghost {
  background: rgba(74, 40, 21, 0.42);
  border-color: rgba(217, 130, 43, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
}

.btn-ghost:hover {
  background: rgba(74, 40, 21, 0.6);
  border-color: rgba(232, 120, 42, 0.85);
}

.magnetic {
  will-change: transform;
}

/* ---------- Card tilt + hover refinement ---------- */
.feature-card,
.event-card,
.menu-card,
.timeline-card,
.mosaic-item,
.gallery-tile {
  transform-style: preserve-3d;
  transition:
    transform 0.6s var(--ease-luxe),
    box-shadow 0.6s var(--ease-luxe),
    border-color 0.4s var(--ease-soft);
  will-change: transform;
}

.feature-card[data-tilt],
.event-card[data-tilt],
.menu-card[data-tilt],
.timeline-card[data-tilt] {
  transform: perspective(1100px) rotateX(0deg) rotateY(0deg) translateY(0);
}

.feature-card img {
  transition: transform 1.1s var(--ease-luxe), filter 0.5s var(--ease-soft);
}

.feature-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.18) contrast(1.05) brightness(1.02);
}

.mosaic-item img,
.gallery-tile img {
  transition: transform 1.4s var(--ease-luxe), filter 0.5s var(--ease-soft);
}

.mosaic-item:hover img,
.gallery-tile:hover img {
  transform: scale(1.07);
  filter: saturate(1.18) contrast(1.04);
}

/* Glass overlay sulle card hover (testo) */
.feature-card div {
  background: rgba(13, 8, 5, 0.58);
  border-color: rgba(255, 234, 210, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.6s var(--ease-luxe), background 0.4s var(--ease-soft);
}

.feature-card:hover div {
  transform: translateY(-4px);
  background: rgba(13, 8, 5, 0.7);
}

/* ---------- Hero refinements ---------- */
.hero-media,
.parallax-bg {
  filter: saturate(1.06) contrast(1.04) brightness(0.96);
  transition: transform 0.05s linear;
}

/* Overlay più trasparente: meno arancione, più aria */
.hero-overlay {
  background:
    radial-gradient(ellipse at 30% 80%, rgba(255, 122, 26, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(13, 8, 5, 0.04) 0%, rgba(13, 8, 5, 0.22) 50%, rgba(13, 8, 5, 0.78) 100%),
    linear-gradient(90deg, rgba(13, 8, 5, 0.42) 0%, rgba(74, 36, 14, 0.12) 52%, rgba(13, 8, 5, 0.06) 100%);
}

/* Anche l'overlay arancione in basso (animated-water) viene attenuato */
.animated-water {
  background:
    linear-gradient(175deg, transparent 0%, rgba(255, 210, 122, 0.04) 42%, transparent 62%),
    linear-gradient(180deg, transparent, rgba(217, 130, 43, 0.08));
  opacity: 0.7;
}

/* Rimuoviamo il cerchio arancione decorativo che fluttua a destra */
.hero::before,
.page-hero::before {
  display: none !important;
}

/* Scroll cue: nascosto su richiesta */
.scroll-cue {
  display: none;
}

/* ---------- Hero video ---------- */
.hero-video {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(1.05) contrast(1.04) brightness(0.92);
}

/* L'immagine fallback resta nascosta quando il video è disponibile */
.hero-media-fallback {
  display: none;
}

/* Se l'utente ha prefers-reduced-motion, blocchiamo il video e mostriamo l'immagine */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero-media-fallback {
    display: block;
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: center 35%;
  }
}

/* Su mobile il video gira normalmente grazie a muted + playsinline + autoplay.
   Il poster viene mostrato dal browser durante il caricamento. */

/* ---------- Three.js ambient layer ---------- */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s var(--ease-soft);
}

.hero-canvas.ready {
  opacity: 0.85;
}

/* ---------- Lenis smooth scroll ---------- */
html.lenis,
html.lenis body {
  height: auto;
}

html.lenis {
  scroll-behavior: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- Eyebrow line refinement ---------- */
.eyebrow::before {
  background: linear-gradient(90deg, var(--premium-orange), transparent);
  height: 1px;
  width: 38px;
}

/* ---------- Footer typography ---------- */
.site-footer h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  font-size: 1.1rem;
  text-transform: none;
}

.site-footer a,
.site-footer p {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s var(--ease-soft);
}

.site-footer a:hover {
  color: var(--premium-amber);
}

/* ---------- Riduci tutto se l'utente preferisce meno motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.gsap-ready .reveal,
  html.gsap-ready .hero-actions .btn,
  html.gsap-ready .hero-content .eyebrow,
  html.gsap-ready .hero-content h1,
  html.gsap-ready .hero-content .hero-subtitle {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-canvas {
    display: none;
  }
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 980px) {
  .site-header.scrolled {
    width: calc(100% - 20px);
    top: 6px;
  }
}

/* ---------- Menu List Layout Elegante ---------- */
.menu-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(60px, 6vw);
  align-items: center;
  margin-bottom: 120px;
}

.menu-showcase-paired {
  margin-bottom: 48px;
}

.menu-showcase:nth-child(even) .menu-showcase-media {
  order: -1;
}

.menu-showcase-media {
  position: relative;
  border-radius: var(--radius-lux);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.4);
}

.menu-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-luxe), filter 0.5s var(--ease-soft);
}

.menu-showcase-media:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1.05);
}

.menu-list-wrap {
  display: flex;
  flex-direction: column;
}

.menu-list-wrap .eyebrow {
  margin-bottom: 12px;
}

.menu-list-wrap h2 {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  margin-bottom: 40px;
  color: var(--white);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 234, 210, 0.12);
  transition: padding-left 0.3s var(--ease-luxe);
}

.menu-item:hover {
  padding-left: 12px;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 8px;
}

.menu-item-header h3 {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  color: var(--white);
  margin: 0;
  transition: color 0.3s ease;
}

.menu-item:hover .menu-item-header h3 {
  color: var(--premium-amber);
}

.menu-item-header .price {
  font-family: var(--title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--premium-orange);
  white-space: nowrap;
}

.menu-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 85%;
}

@media (max-width: 900px) {
  .menu-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .menu-showcase:nth-child(even) .menu-showcase-media {
    order: -1;
  }
  .menu-showcase-media {
    order: -1;
    aspect-ratio: 16/9;
  }
}

/* --- Menu Sticky Nav --- */
.menu-sticky-nav {
  position: sticky;
  top: 90px;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin-bottom: 40px;
}
.menu-sticky-nav ul {
  pointer-events: auto;
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  max-width: 90vw;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-sticky-nav ul::-webkit-scrollbar {
  display: none;
}
.menu-sticky-nav a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 40px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  white-space: nowrap;
  font-family: var(--display);
}
.menu-sticky-nav a:hover {
  color: var(--premium-amber);
  background: rgba(255, 255, 255, 0.05);
}

/* --- Dietary Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  font-size: 0.85rem;
  vertical-align: middle;
  cursor: help;
  filter: grayscale(0.2) saturate(0.8);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.badge:hover {
  filter: grayscale(0) saturate(1.2);
  transform: scale(1.2);
}

/* --- Menu List Spotlight Hover --- */
@media (hover: hover) and (pointer: fine) {
  .menu-list:hover .menu-item {
    opacity: 0.35;
    filter: blur(1.5px);
  }
  .menu-list .menu-item:hover {
    opacity: 1;
    filter: blur(0);
  }
}
.menu-item {
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

/* --- Parallax Media Enhancements --- */
.menu-showcase-media {
  overflow: hidden;
  position: relative;
}
.menu-showcase-media img.parallax-img {
  height: 130%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: -15%;
  left: 0;
}

/* --- Stack Immagini Menu (Aesthetic Fill) --- */
.menu-showcase-media-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  height: 100%;
}
.menu-showcase-media-stack img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  /* Per evitare che diventino enormi se la lista è corta */
  max-height: 600px; 
}
.menu-showcase:nth-child(even) .menu-showcase-media-stack {
  order: -1;
}
@media (max-width: 900px) {
  .menu-showcase-media-stack {
    order: -1;
  }
}

/* ---------- Contatti WhatsApp ---------- */
.contact-wa {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-wa-inner {
  max-width: 580px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.contact-wa-inner h2 {
  margin-bottom: 16px;
}

.contact-wa-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 420px;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: #25D366;
  color: #fff;
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  margin-bottom: 40px;
}

.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.45);
}

.contact-divider {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  position: relative;
  width: 100%;
  text-align: center;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.contact-divider::before { right: calc(50% + 70px); }
.contact-divider::after  { left:  calc(50% + 70px); }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-link-item:hover {
  border-color: var(--premium-amber);
  background: rgba(217,130,43,0.08);
  color: var(--premium-amber);
}

/* ---------- Card evento cliccabile ---------- */
.ev-card {
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ev-card:hover {
  border-color: var(--premium-amber, #d9822b);
  transform: translateY(-2px);
}
.ev-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
}
.ev-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ev-card:hover .ev-card-thumb img { transform: scale(1.04); }

/* ---------- Modal evento ---------- */
.ev-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 5, 2, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.ev-modal.open {
  opacity: 1;
  pointer-events: all;
}
.ev-modal-box {
  position: relative;
  background: #1e110b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90svh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
  scrollbar-width: none;
}
.ev-modal-box::-webkit-scrollbar { display: none; }
.ev-modal.open .ev-modal-box { transform: translateY(0) scale(1); }

.ev-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ev-modal-close:hover { background: rgba(255,255,255,0.1); }

.ev-modal-img-wrap img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block;
}
.ev-modal-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ev-modal-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d9822b;
}
.ev-modal-body h2 {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #f5ead8;
  margin: 0;
}
.ev-modal-body time {
  font-size: 0.9rem;
  color: rgba(245,234,216,0.5);
}
.ev-modal-body p {
  font-size: 1rem;
  color: rgba(245,234,216,0.75);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Eventi dinamici ---------- */
.eventi-loading {
  text-align: center;
  padding: 80px 0;
  color: rgba(255,255,255,0.45);
  font-size: 1rem;
  letter-spacing: 1px;
}

.eventi-vuoti {
  text-align: center;
  padding: 80px 0;
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem;
  font-family: var(--display);
  font-style: italic;
}

/* ---------- Menu Mobile Optimization ---------- */
@media (max-width: 620px) {
  /* dark-slice è full-width: non deve ereditare la width ridotta di .section */
  .section.dark-slice {
    width: 100%;
    padding-inline: 14px;
  }

  /* Nasconde la seconda immagine dello stack: troppo spazio su mobile */
  .menu-showcase-media-stack img.parallax-img-stack {
    display: none;
  }

  /* Prima immagine: formato portrait con altezza massima, ritaglio minimo */
  .menu-showcase-media-stack img:first-child {
    aspect-ratio: 3/4;
    max-height: 400px;
    object-fit: cover;
    border-radius: 14px;
  }

  /* Riduce gap e margini tra le sezioni */
  .menu-showcase {
    gap: 24px;
    margin-bottom: 56px;
  }

  .menu-showcase-paired {
    margin-bottom: 28px;
  }

  /* Titolo sezione più compatto */
  .menu-list-wrap h2 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 24px;
  }

  /* Header voce: nome e prezzo su righe separate se non ci stanno */
  .menu-item-header {
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .menu-item-header .price {
    font-size: 1rem;
    white-space: normal;
  }

  .menu-item-header h3 {
    font-size: 1.25rem;
  }

  .menu-item {
    padding: 18px 0;
  }

  /* Sticky nav: pill più piccolo */
  .menu-sticky-nav a {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

/* ============================================================
   Language Toggle Button — Bandiera IT ↔ EN
   ============================================================ */

#lang-toggle-btn {
  /* Posizione: accanto ai link nav, nell'header */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 234, 210, 0.28);
  background: rgba(20, 10, 5, 0.55);
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    border-color 0.3s ease,
    box-shadow   0.3s ease,
    transform    0.3s ease;
  flex-shrink: 0;
}

#lang-toggle-btn:hover {
  border-color: rgba(255, 180, 100, 0.65);
  box-shadow: 0 4px 18px rgba(217, 130, 43, 0.35);
  transform: translateY(-1px);
}

/* ── Bandiera italiana (default) ── */
#lang-toggle-btn .flag-it,
#lang-toggle-btn .flag-en {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* SVG bandiera italiana */
#lang-toggle-btn .flag-it {
  opacity: 1;
  transform: scale(1);
}

#lang-toggle-btn .flag-en {
  opacity: 0;
  transform: scale(0.85);
}

/* Quando la lingua è EN, mostra bandiera inglese */
#lang-toggle-btn.lang-en .flag-it {
  opacity: 0;
  transform: scale(0.85);
}
#lang-toggle-btn.lang-en .flag-en {
  opacity: 1;
  transform: scale(1);
}

/* Etichetta testo piccolo sopra (tooltip) */
#lang-toggle-btn::after {
  content: 'EN';
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 10, 5, 0.9);
  color: var(--premium-amber);
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, bottom 0.2s ease;
}

#lang-toggle-btn.lang-en::after {
  content: 'IT';
}

#lang-toggle-btn:hover::after {
  opacity: 1;
  bottom: -28px;
}

/* Animazione spin al click */
@keyframes lang-btn-flip {
  0%   { transform: rotateY(0deg); }
  50%  { transform: rotateY(90deg); }
  100% { transform: rotateY(0deg); }
}

#lang-toggle-btn.lang-btn-spin {
  animation: lang-btn-flip 0.4s ease;
}

/* Posizionamento nel main-nav */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-lang-wrap {
  display: flex;
  align-items: center;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 234, 210, 0.15);
}

/* Label "Lingua" — nascosta su desktop */
.lang-label {
  display: none;
}

@media (max-width: 980px) {
  .nav-lang-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 0;
    padding: 14px 18px;
    border-left: none;
    border-top: 1px solid rgba(217, 130, 43, 0.18);
    border-radius: 0 0 14px 14px;
    background: rgba(217, 130, 43, 0.06);
    gap: 0;
  }

  .lang-label {
    display: block;
    font-family: var(--body, sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 234, 210, 0.55);
  }

  #lang-toggle-btn {
    width: 56px;
    height: 38px;
    border-radius: 8px;
    border-color: rgba(255, 234, 210, 0.35);
  }

  #lang-toggle-btn::after {
    display: none;
  }
}
