/**
 * ============================================================
 * L'OASI DEI SAPORI — Un Viaggio nei Sapori di Sicilia
 * ============================================================
 * 
 * CONCEPT: ESPERIENZA, NON RISTORANTE
 * Il design guida l'utente in un percorso sensoriale attraverso
 * i capitoli della storia: Soglia → Radici → Mercato → Cucina → Tavola → Ritorno
 *
 * MOOD: Caldo, Accogliente, Cinematografico, Autentico
 * 
 * PALETTE: Terracotta intenso, crema caldo, tocchi di mare
 * Ispirazione: tramonto siciliano, terra bruciata, mare al crepuscolo
 *
 * ============================================================
 */

:root {
  /* Typography System */
  --font-base: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  
  /* Modern Fluid Typography */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.85rem);
  --text-sm: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.65rem + 1.125vw, 2.625rem);
  --text-4xl: clamp(2.25rem, 1.95rem + 1.5vw, 3.25rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 5rem);
  --text-6xl: clamp(3.5rem, 3rem + 3vw, 6.5rem);
  
  /* Warm Sicilian Palette */
  --color-bg: #faf7f2;
  --color-bg-warm: #f5efe6;
  --color-bg-deep: #1a1410;
  --color-surface: #fffcf7;
  --color-surface-warm: rgba(245, 239, 230, 0.9);
  --color-text: #2a1f15;
  --color-text-soft: #4a3f35;
  --color-muted: #7a6b5d;
  --color-border: rgba(139, 90, 60, 0.15);
  --color-border-warm: rgba(168, 66, 42, 0.2);
  
  /* Brand Colors - Più caldi e profondi */
  --color-terracotta: #a8422a;
  --color-terracotta-soft: #c4624a;
  --color-terracotta-deep: #8b3520;
  --color-terracotta-light: rgba(168, 66, 42, 0.1);
  --color-arancio: #d4763a;
  --color-arancio-soft: #e89a5e;
  --color-mare: #2a6b7a;
  --color-mare-soft: #4a8b9a;
  --color-oliva: #6a7a4a;
  --color-crema: #f0e6d8;
  --color-oro: #c9a227;
  
  /* Gradients - Più cinematografici */
  --gradient-warm: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-arancio) 100%);
  --gradient-sunset: linear-gradient(180deg, #d4763a 0%, #a8422a 50%, #5a2a1a 100%);
  --gradient-earth: linear-gradient(135deg, #8b3520 0%, #a8422a 50%, #c4624a 100%);
  --gradient-mesh: radial-gradient(ellipse at 20% 0%, rgba(168, 66, 42, 0.12) 0px, transparent 50%),
                   radial-gradient(ellipse at 80% 100%, rgba(212, 118, 58, 0.08) 0px, transparent 50%),
                   radial-gradient(ellipse at 50% 50%, rgba(42, 107, 122, 0.05) 0px, transparent 60%);
  
  /* Shadows - Più morbide e calde */
  --shadow-xs: 0 1px 3px rgba(42, 31, 21, 0.06);
  --shadow-sm: 0 2px 8px rgba(42, 31, 21, 0.08);
  --shadow-md: 0 4px 20px rgba(42, 31, 21, 0.1);
  --shadow-lg: 0 12px 40px rgba(42, 31, 21, 0.12);
  --shadow-xl: 0 24px 60px rgba(42, 31, 21, 0.15);
  --shadow-2xl: 0 40px 80px rgba(42, 31, 21, 0.18);
  --shadow-warm: 0 8px 32px rgba(168, 66, 42, 0.2);
  --shadow-glow: 0 0 40px rgba(168, 66, 42, 0.15);
  
  /* Border Radius - Più organici */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-2xl: 56px;
  --radius-full: 9999px;
  
  /* Spacing Scale */
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.625rem);
  --space-sm: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  --space-md: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
  --space-xl: clamp(2rem, 1.7rem + 1.5vw, 3.5rem);
  --space-2xl: clamp(3rem, 2.5rem + 2.5vw, 5rem);
  --space-3xl: clamp(4rem, 3.5rem + 3vw, 7rem);
  
  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 80px;
  --header-compact-height: 64px;
  
  /* Safe Areas */
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  
  /* Motion - Più fluide e naturali */
  --t-instant: 0.1s;
  --t-fast: 0.2s;
  --t-med: 0.4s;
  --t-slow: 0.6s;
  --t-slower: 0.9s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Animation */
  --reveal-distance: 40px;
}

/* ===== Values Strip: force single-row layout on desktop ===== */
.values-strip{
  display:flex;
  gap:var(--space-lg);
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:nowrap; /* keep items on one row on large screens */
  margin-top: var(--space-lg);
}
.values-strip .value-item{
  flex:1 1 0;
  min-width:200px;
  display:flex;
  gap:var(--space-sm);
  align-items:flex-start;
}
.values-strip .value-icon{
  font-size:1.6rem;
  line-height:1;
  margin-top:4px;
}
.values-strip .value-text{
  font-size:var(--text-sm);
}
.values-strip .value-text strong{
  display:block;
  font-weight:600;
  margin-bottom:4px;
}
@media (max-width: 768px){
  .values-strip{flex-wrap:wrap}
  .values-strip .value-item{flex:1 1 100%}
  .values-strip .value-icon{font-size:1.4rem}
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--text-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Warm gradient mesh background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  padding-left: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(168, 66, 42, 0.08);
  z-index: 90;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Attiva shadow quando una sezione diventa visibile (scrollspy) */
.site-header.nav-activated {
  /* ULTRA VISIBLE SHADOW FOR DEBUG */
  box-shadow: 0 16px 60px rgba(168, 66, 42, 0.4) !important;
  border-bottom: 3px solid rgba(168, 66, 42, 0.6) !important;
  background: rgba(255, 250, 240, 0.98) !important;
}

/* Accent style for emphasized hero word (thicker, no background) */
.hero-accent {
  color: var(--color-terracotta) !important;
  -webkit-text-fill-color: var(--color-terracotta) !important; /* override background-clip text */
  font-family: var(--font-display);
  font-weight: 900 !important; /* thicker */
  font-size: 1.12em; /* slightly larger */
  text-transform: none;
  padding: 0; /* remove background padding */
  background: transparent !important; /* no highlight */
  border-radius: 0;
  display: inline-block;
  line-height: 1;
  text-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.95rem;
}

.logo-image {
  width: 56px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 800; /* stronger presence */
  letter-spacing: 0.02em;
  font-size: 1.25rem; /* larger for clearer brand presence */
}

@media (max-width: 640px) {
  .logo-image { width: 44px; }
  .logo-text { font-size: 0.95rem; }
}

@media (min-width: 1024px) {
  .logo-text { font-size: 1.4rem; }
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: all var(--t-med) var(--ease-out);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--color-text);
  background: var(--color-terracotta-light);
}

/* instant nav flash when clicked */
.site-header.nav-flash {
  box-shadow: 0 10px 40px rgba(26,20,16,0.04);
}

.site-header .nav-link.active {
  animation: navPulse 520ms cubic-bezier(.2,.9,.3,1) both;
}

@keyframes navPulse {
  0% { transform: translateY(-4px); opacity: 0.95; }
  60% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.cta-pill {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--gradient-earth);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-warm);
  transition: all var(--t-fast) var(--ease-out);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.cta-pill:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(168, 66, 42, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: transparent;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--t-med) var(--ease-out);
}

/* ═══════════════════════════════════════════════════════════
   HERO - LA SOGLIA (L'invito ad entrare)
   ═══════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--space-lg) var(--space-3xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero--journey {
  background: var(--color-bg-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
  animation: heroZoom 1.2s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(26, 20, 16, 0.4) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(26, 20, 16, 0.3) 0%,
    rgba(26, 20, 16, 0.5) 50%,
    rgba(26, 20, 16, 0.85) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 650px;
  color: #fff;
  padding: var(--space-xl) var(--space-2xl);
  position: relative;
  z-index: 2;
  animation: heroContentReveal 1s var(--ease-spring) 0.4s both;
}

@keyframes heroContentReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow--journey {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-arancio-soft);
  margin: 0 0 1rem;
  font-weight: 500;
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
}

.hero-title-line {
  display: block;
  font-size: var(--text-5xl);
  color: var(--color-crema);
}

.hero-title-accent {
  font-size: var(--text-6xl);
  font-style: italic;
  color: var(--color-arancio-soft);
  margin-top: 0.1em;
}

.lead--poetic {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta--journey {
  padding: 1.1rem 2.2rem;
  font-size: var(--text-base);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(8px); }
}

.scroll-arrow {
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════
   CHAPTER SYSTEM - Il Percorso Narrativo
   ═══════════════════════════════════════════════════════════ */

.chapter {
  position: relative;
  padding: var(--space-3xl) var(--space-lg);
  overflow: hidden;
}

.chapter-marker {
  position: absolute;
  top: var(--space-xl);
  left: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0.3;
}

.chapter-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-terracotta);
  line-height: 1;
}

.chapter-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.chapter-intro {
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.chapter-quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-text-soft);
  line-height: 1.5;
  position: relative;
  padding: 0 2rem;
}

.chapter-quote::before {
  content: '"';
  position: absolute;
  left: -0.5rem;
  top: -1rem;
  font-size: 4rem;
  color: var(--color-terracotta-light);
  font-family: var(--font-display);
  opacity: 0.5;
}

.chapter-subtitle {
  font-size: var(--text-lg);
  color: var(--color-muted);
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   CAPITOLO 1: LE RADICI
   ═══════════════════════════════════════════════════════════ */

.chapter--radici {
  background: linear-gradient(180deg, 
    var(--color-bg) 0%,
    var(--color-bg-warm) 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.story-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.story-lead {
  font-size: var(--text-lg);
  color: var(--color-text-soft);
  margin-bottom: 1rem;
  font-weight: 500;
}

.story-content p {
  color: var(--color-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.story-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.signature-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-terracotta);
}

.signature-detail {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.story-image {
  border-radius: var(--radius-xl);
  background-size: cover;
  background-position: center;
  min-height: 450px;
  position: relative;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 20, 16, 0.6) 100%);
}

.image-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #fff;
  font-size: 0.85rem;
  font-style: italic;
  z-index: 1;
}

.values-strip {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.value-icon {
  font-size: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   CAPITOLO 2: IL MERCATO
   ═══════════════════════════════════════════════════════════ */

.chapter--mercato {
  background: var(--color-surface);
  overflow: visible; /* Permette l'espansione delle card */
}

/* Visuale menu: immagine unica + pannello info (niente effetto "doppia faccia") */
.market-hero {
  display: grid;
  gap: 1.25rem;
  margin: var(--space-xl) auto var(--space-lg);
  max-width: var(--container-max);
  align-items: stretch;
}

.market-visual {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-lg);
}

.market-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.18) 0%, rgba(26, 20, 16, 0.55) 70%);
  mix-blend-mode: multiply;
}

.market-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}

.market-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.market-claim {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text-soft);
  margin: 0;
}

.market-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  background: var(--color-terracotta-light);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.market-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(42, 107, 122, 0.08);
  color: var(--color-text-soft);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(42, 107, 122, 0.15);
}

@media (max-width: 768px) {
  .market-hero {
    margin: var(--space-lg) auto var(--space-md);
  }

  .market-visual {
    min-height: 200px;
    border-radius: var(--radius-xl);
  }

  .market-info {
    border-radius: var(--radius-xl);
  }
}

@media (min-width: 900px) {
  .market-hero {
    grid-template-columns: 1.15fr 0.85fr;
    background: var(--color-surface-warm);
    padding: 1.25rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
  }

  .market-visual {
    min-height: 280px;
    border-radius: var(--radius-xl);
  }

  .market-info {
    height: 100%;
    justify-content: center;
  }
}

.chapter--mercato .chapter-intro h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.ingredients-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: var(--container-max);
  margin: var(--space-2xl) auto 0;
  overflow: visible;
  padding: 2rem 1rem;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive: 2 cards per row on narrow viewports, 1 card on very small */
@media (max-width: 900px) {
  .ingredients-showcase {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* Make cards stretch to fill row height so rows align */
  .ingredients-showcase > .ingredient-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .ingredients-showcase {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .ingredients-showcase > .ingredient-card {
    height: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   INGREDIENT CARDS - Hover Expansion con Immagine
   L'animazione mostra l'immagine internamente alla card
   ═══════════════════════════════════════════════════════════ */

.ingredient-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem; /* spazio interno aumentato */
  min-height: 260px; /* altezza aumentata ulteriormente */
  text-align: left;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.3s ease-out, border-color 0.3s ease-out, background 0.3s ease-out, transform 0.2s var(--ease-out);
}

.ingredient-card:hover {
  z-index: 10;
  box-shadow: var(--shadow-xl);
  border-color: var(--color-terracotta);
  background: #fff;
}

/* Responsive adjustments: mantenere proporzioni su tablet e mobile */
@media (max-width: 900px) {
  .ingredient-card {
    min-height: 240px;
    padding: 1.75rem;
  }
}

@media (max-width: 480px) {
  .ingredient-card {
    min-height: 220px;
    padding: 1.5rem;
  }
}

/* Contenuto base - nascosto in hover */
.ingredient-card > .ingredient-icon,
.ingredient-card > h3,
.ingredient-card > p {
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.ingredient-card:hover > .ingredient-icon,
.ingredient-card:hover > h3,
.ingredient-card:hover > p,
.ingredient-card:focus-within > .ingredient-icon,
.ingredient-card:focus-within > h3,
.ingredient-card:focus-within > p,
.ingredient-card.is-tapped > .ingredient-icon,
.ingredient-card.is-tapped > h3,
.ingredient-card.is-tapped > p {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* L'expand prende tutto lo spazio della card */
.ingredient-card .ingredient-expand {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: opacity 0.25s ease-out,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              visibility 0.25s ease-out;
  overflow: hidden;
}

.ingredient-card:hover .ingredient-expand,
.ingredient-card:focus-within .ingredient-expand,
.ingredient-card.is-tapped .ingredient-expand {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.ingredient-expand-image {
  width: 100%;
  height: 50%; /* mantiene proporzione rispetto alla card */
  min-height: 100px; /* limite inferiore aggiornato */
  max-height: 220px; /* limite superiore aumentato per immagini più grandi */
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  transition: height 0.28s var(--ease-out);
  border-radius: calc(var(--radius-lg) / 1.2);
  overflow: hidden;
}

.ingredient-expand-content {
  padding: 0.75rem 1rem 1rem; /* padding interno maggiore per il contenuto espanso */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.ingredient-expand-content .exp-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.ingredient-expand-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-terracotta);
  margin: 0;
  line-height: 1.2;
}

.ingredient-expand-content p {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.45;
}

/* Rimuovo pseudo-element non più necessario */
.ingredient-card::after {
  display: none;
}

.ingredient-card .ingredient-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.ingredient-card h3,
.ingredient-card p {
  margin: 0;
}

.ingredient-card--hero {
  text-align: left;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.ingredient-card--hero .ingredient-visual {
  display: none;
}

.ingredient-visual {
  display: none;
}

.ingredient-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
}

.ingredient-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  background: var(--color-terracotta-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.ingredient-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.ingredient-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.ingredient-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
}

.market-philosophy {
  max-width: var(--container-narrow);
  margin: var(--space-2xl) auto 0;
  text-align: center;
}

.market-philosophy blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text-soft);
  border-left: 3px solid var(--color-terracotta);
  padding-left: 1.5rem;
  margin: 0;
}

/* Menu CTA Block */
.menu-cta-block {
  text-align: center;
  margin-top: var(--space-xl);
  padding: var(--space-lg);
}

.menu-cta-block .cta.large {
  font-size: var(--text-lg);
  padding: 1rem 2.5rem;
}

.menu-cta-note {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   CAPITOLO 3: LA CUCINA
   ═══════════════════════════════════════════════════════════ */

.chapter--cucina {
  background: var(--color-bg-warm);
}

.kitchen-hero {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  max-width: var(--container-max);
  margin: 0 auto var(--space-2xl);
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.kitchen-visual {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom 25%;
}

.kitchen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(26, 20, 16, 0.15) 0%,
    rgba(26, 20, 16, 0.45) 40%,
    rgba(26, 20, 16, 0.88) 100%);
}

.kitchen-statement {
  position: relative;
  z-index: 1;
  padding: var(--space-xl);
  color: #fff;
}

.kitchen-statement h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.kitchen-lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
}

.dishes-journey {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.dish-chapter {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--color-terracotta);
  transition: all var(--t-med) var(--ease-spring);
}

.dish-chapter:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.dish-moment {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 0.75rem;
}

.dish-chapter h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.dish-chapter p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.7;
}

.kitchen-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.cta-context {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   CAPITOLO 4: LA TAVOLA
   ═══════════════════════════════════════════════════════════ */

.chapter--tavola {
  background: linear-gradient(180deg, 
    var(--color-bg) 0%,
    var(--color-surface) 100%);
}

.experience-intro {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-2xl);
}

.experience-intro h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.experience-lead {
  font-size: var(--text-lg);
  color: var(--color-muted);
}

.experience-moments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.moment-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  transition: all var(--t-med) var(--ease-spring);
}

.moment-card:hover {
  transform: scaleX(1.04) translateY(-4px);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--color-terracotta-light);
}

.moment-visual {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.moment-content {
  padding: 1.5rem;
}

.moment-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.moment-content p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.7;
}

.experience-features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--space-2xl);
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* ═══════════════════════════════════════════════════════════
   GALLERY CHAPTER
   ═══════════════════════════════════════════════════════════ */

.chapter--gallery {
  background: var(--color-bg-warm);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.section.gallery .gallery-grid {
  max-width: var(--container-max);
  margin: var(--space-xl) auto 0;
  opacity: 1;
  min-height: 520px;
}

.section.gallery .gallery-item img {
  transform: scale(1);
  filter: brightness(0.98) saturate(1.05);
}

.section.gallery .gallery-item::before {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   CAPITOLO FINALE: IL RITORNO (Prenota)
   ═══════════════════════════════════════════════════════════ */

.chapter--ritorno {
  background: linear-gradient(180deg, 
    var(--color-bg-deep) 0%,
    #2a1f15 100%);
  color: var(--color-crema);
}

.chapter--ritorno .chapter-marker {
  opacity: 0.2;
}

.chapter--ritorno .chapter-number {
  color: var(--color-arancio-soft);
}

.chapter--ritorno .chapter-label {
  color: rgba(255, 255, 255, 0.4);
}

.booking-hero {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-2xl);
}

.booking-hero h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-crema);
  margin-bottom: 1rem;
}

.booking-lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.booking-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--t-med) var(--ease-spring);
}

.booking-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-terracotta);
  transform: scaleX(1.03) translateY(-3px);
}

.booking-card--primary {
  background: linear-gradient(135deg, 
    rgba(168, 66, 42, 0.3) 0%,
    rgba(212, 118, 58, 0.2) 100%);
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow-glow);
}

.booking-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.booking-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--color-crema);
}

.booking-card .cta {
  margin-bottom: 1rem;
}

.booking-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.booking-hours {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

.booking-hours p {
  margin: 0.3rem 0;
}

/* Full-width centered block for opening hours placed under the contact cards */
.booking-hours-block {
  max-width: 900px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}
.booking-hours-block .booking-hours-inner {
  background: rgba(0,0,0,0.06);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.03);
}
.booking-hours-block p {
  margin: 0.25rem 0;
  color: rgba(255,255,255,0.75);
}
.booking-hours-block p strong {
  color: var(--color-crema);
  font-weight: 600;
}

.location-text {
  font-size: 1rem !important;
  color: var(--color-crema) !important;
  margin-bottom: 0.5rem !important;
}

.location-note {
  font-size: 0.85rem !important;
  font-style: italic;
}

.booking-promise {
  text-align: center;
  max-width: var(--container-narrow);
  margin: var(--space-2xl) auto 0;
}

.booking-promise p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════════════
   CONTATTI MINIMAL
   ═══════════════════════════════════════════════════════════ */

.contatti-minimal {
  background: var(--color-bg);
  padding: var(--space-xl) var(--space-lg);
}

.contatti-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.contatti-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin: 0 0 0.25rem;
}

.contatti-info p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 0.75rem;
}

.contact-list-minimal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.contact-list-minimal a {
  color: var(--color-terracotta);
  font-weight: 500;
  transition: color var(--t-fast);
}

.contact-list-minimal a:hover {
  color: var(--color-arancio);
}

.contatti-social {
  display: flex;
  gap: 1.5rem;
}

.contatti-social a {
  color: var(--color-muted);
  font-weight: 500;
  transition: color var(--t-fast);
}

.contatti-social a:hover {
  color: var(--color-terracotta);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--color-bg-deep);
  color: var(--color-crema);
  border-top: 1px solid rgba(168, 66, 42, 0.3);
  margin-top: var(--space-2xl);
  position: relative; /* for absolute centering of .footer-info */
  min-height: 140px; /* ensures vertical space for centered content */
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 2; /* sit above the centered block */
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem; /* increased for stronger footer presence */
  font-weight: 700;
  margin: 0;
}

.footer-info {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: min(720px, 90%);
  z-index: 1;
}

.footer-info p {
  margin: 0;
  font-size: 0.9rem;
}

/* Mobile fallback: stack and keep content readable */
@media (max-width: 720px) {
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding: var(--space-lg);
    gap: 0.75rem;
  }

  .footer-brand { z-index: 1; }
  .footer-info { position: static; transform: none; width: 100%; }
  .footer-actions { margin-top: 0.5rem; }
}

.site-footer .microcopy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.site-footer .cta {
  border-color: rgba(168, 66, 42, 0.5);
  color: var(--color-crema);
}

.site-footer .cta:hover {
  background: rgba(168, 66, 42, 0.2);
  border-color: var(--color-terracotta);
}

/* ═══════════════════════════════════════════════════════════
   CREDIT BAR (NetElevate Shoutout)
   ═══════════════════════════════════════════════════════════ */
.credit-bar {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  background: var(--color-bg-deep);
  border-top: 1px solid rgba(168, 66, 42, 0.2);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.credit-bar p {
  margin: 0.25rem 0;
}

.credit-heart {
  color: var(--color-terracotta);
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.1); }
  20% { transform: scale(0.95); }
}

.credit-link {
  color: var(--color-crema);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.credit-link:hover {
  color: var(--color-terracotta);
}

.credit-tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   CTA BUTTONS
   ═══════════════════════════════════════════════════════════ */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--t-med) var(--ease-spring);
  text-decoration: none;
}

.cta.primary {
  background: var(--gradient-earth);
  color: #fff;
  box-shadow: var(--shadow-warm);
  border: 2px solid transparent;
}

.cta.primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(168, 66, 42, 0.4);
}

.cta.secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.cta.secondary:hover {
  border-color: var(--color-terracotta);
  background: var(--color-terracotta-light);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cta.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

.cta.small {
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

.cta.large {
  padding: 1.2rem 2.5rem;
  font-size: var(--text-lg);
}

/* ═══════════════════════════════════════════════════════════
   EYEBROW / SECTION HEAD
   ═══════════════════════════════════════════════════════════ */

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--color-terracotta);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.section {
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
}

.section-head {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.section-head p {
  font-size: var(--text-base);
  color: var(--color-muted);
  margin: 0;
}
  align-items: center;
}

.cta-pill:hover,
.cta-pill:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(193, 89, 60, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: none;
  padding: 0.35rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out), 
              opacity var(--t-fast) var(--ease-out);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 0 var(--space-lg) var(--space-2xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  overflow: hidden;
  will-change: transform;
  transform: scale(1.05);
  animation: heroZoom 0.8s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 18, 0.65), rgba(4, 10, 18, 0.85));
  transform: translateX(0);
  transition: transform var(--t-med) var(--ease-inout);
  z-index: 1;
}

.hero-media.is-revealed::before {
  transform: translateX(-100%);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: inherit;
  transform: scale(1.05);
  transition: transform var(--t-med) var(--ease-out);
  z-index: 0;
}

.hero-media.is-revealed::after {
  transform: scale(1);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 18, 0.55), rgba(4, 10, 18, 0.8));
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  color: #fff;
  padding: var(--space-xl) var(--space-2xl);
  background: rgba(45, 36, 25, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-2xl), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: heroContentReveal 0.8s var(--ease-spring) 0.3s both;
}

@keyframes heroContentReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: var(--text-5xl);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-terracotta);
  margin: 0;
  font-weight: 600;
  position: relative;
  padding-left: 1rem;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 2px;
  background: var(--color-arancio);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero .eyebrow::before {
  background: var(--color-arancio);
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
}

.hero-cta .cta.primary {
  padding: 1rem 2rem;
}

.hero-cta .cta.ghost {
  padding: 1rem 1.5rem;
}

.inner-hero {
  min-height: 70vh;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--t-med) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.cta:hover::before {
  opacity: 1;
}

.cta.primary {
  background: var(--gradient-warm);
  color: #fff;
  box-shadow: var(--shadow-lg), 
              0 0 0 0 rgba(193, 89, 60, 0);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: var(--shadow-lg), 0 0 0 0 rgba(193, 89, 60, 0);
  }
  50% {
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(193, 89, 60, 0.1);
  }
}

.cta.primary:hover,
.cta.primary:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(193, 89, 60, 0.4);
}

.cta.primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.cta.secondary,
.cta.tertiary,
.cta.ghost {
  color: var(--color-text);
}

.cta.secondary:focus-visible,
.cta.tertiary:focus-visible,
.cta.ghost:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 4px;
}

.cta.secondary,
.cta.tertiary {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-text);
}

.cta.secondary:hover,
.cta.tertiary:hover {
  border-color: var(--color-terracotta);
  background: rgba(193, 89, 60, 0.05);
}

.cta.ghost {
  background: transparent;
  border: 2px solid rgba(193, 89, 60, 0.5);
  color: #fff;
}

.cta.ghost:hover {
  background: rgba(193, 89, 60, 0.2);
  border-color: rgba(193, 89, 60, 0.7);
}

.cta.small {
  padding: 0.65rem 1.2rem;
}

.hero-location {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.pin {
  font-size: 1.4rem;
  color: var(--color-arancio);
}

.section {
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  container-type: inline-size;
}

/* Smooth section transitions */
@supports (scroll-snap-type: y mandatory) {
  main {
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--header-height);
  }
  
  .section {
    scroll-snap-align: start;
  }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-arancio));
  border-radius: 2px;
}

.section-head p {
  margin: 0.5rem 0;
  color: var(--color-muted);
}

.section-head h2 {
  margin: 0.3rem 0 0.5rem;
  font-size: var(--text-3xl);
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cards-grid,
.menu-grid,
.gallery-grid,
.prenota-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
  border-left: 4px solid var(--color-mare);
  display: flex;
  flex-direction: column;
  transition: all var(--t-med) var(--ease-out);
  position: relative;
}

.card:hover {
  border-left-color: var(--color-arancio);
  border-color: var(--color-terracotta-soft);
  box-shadow: 0 16px 48px rgba(168, 66, 42, 0.18);
  transform: scaleX(1.03) translateY(-3px);
}

.card img {
  border-radius: 0;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Feature Rail System */
.feature-rail-section .section-head {
  margin-bottom: 3rem;
}

.feature-rail {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.feature-rail-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.feature-rail-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity var(--t-fast) var(--ease-out), filter var(--t-fast) var(--ease-out);
  filter: blur(4px);
  pointer-events: none;
}

.feature-rail-image.active {
  opacity: 1;
  position: relative;
  filter: blur(0);
}

.feature-rail-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  font-size: 0.95rem;
  color: #fff;
  font-style: italic;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(45, 36, 25, 0.6), rgba(45, 36, 25, 0.9));
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.caption-line {
  opacity: 0;
  position: absolute;
  transition: opacity var(--t-med) var(--ease-out);
}

.caption-line.active {
  opacity: 1;
  position: relative;
}

.feature-rail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-rail-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--t-med) var(--ease-out);
  cursor: pointer;
}

.feature-rail-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  transition: color var(--t-med) var(--ease-out);
}

.feature-rail-item p {
  margin: 0;
  color: var(--color-muted);
  transition: color var(--t-med) var(--ease-out);
}

.feature-rail-item.active {
  background: var(--color-surface);
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow-md);
}

.feature-rail-item.active h3 {
  color: var(--color-terracotta);
}

.feature-rail-item.active p {
  color: var(--color-text);
}

@media (min-width: 900px) {
  .feature-rail {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .feature-rail-media {
    position: sticky;
    top: calc(var(--header-compact-height) + 2rem);
    height: 520px;
  }

  .feature-rail-image {
    height: 100%;
  }
}

.card-media {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin: 0 0 0.6rem;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ========== HIGHLIGHT SECTION: Specialità Premium ========== */

.highlight {
  background: linear-gradient(135deg, rgba(193, 89, 60, 0.05) 0%, rgba(230, 126, 58, 0.05) 100%);
  border-top: 2px solid rgba(193, 89, 60, 0.15);
  border-bottom: 2px solid rgba(193, 89, 60, 0.15);
}

.highlight-content {
  max-width: 900px;
  margin: 0 auto;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.highlight-card {
  background: var(--color-surface-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  transition: transform var(--t-med) var(--ease-spring),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-elastic);
}

.highlight-card:hover,
.highlight-card.is-in {
  border-color: var(--color-arancio);
  box-shadow: var(--shadow-xl), 
    0 0 60px rgba(193, 89, 60, 0.2);
  transform: translateY(calc(var(--hover-lift) * -1.2));
}

.highlight-card:hover::before,
.highlight-card.is-in::before {
  transform: scaleX(1);
}

.highlight-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform var(--t-med) var(--ease-elastic);
}

.highlight-card:hover .highlight-icon,
.highlight-card.is-in .highlight-icon {
  transform: scale(1.15) rotate(5deg);
}

.highlight-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
  color: var(--color-text);
}

.highlight-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}



/* ========== FRAMMENTI: Sezioni con alternanza left/right ========== */

.frammento {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.frammento--layout-left {
  grid-template-columns: 1fr 1fr;
}

.frammento--layout-right {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.frammento--layout-right > * {
  direction: ltr;
}

.frammento-content {
  max-width: 500px;
}

.frammento-content p {
  margin: 1rem 0 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.frammento-content h2 {
  margin: 0.5rem 0 1rem;
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.frammento-image {
  border-radius: var(--radius-2xl);
  background-size: cover;
  background-position: center;
  min-height: 420px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}

.frammento:hover .frammento-image {
  transform: scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.frammento-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(45, 36, 25, 0) 0%, 
    rgba(45, 36, 25, 0.3) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.frammento-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.frammento:hover .frammento-image::after {
  opacity: 1;
}

.eyebrow-alt {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--color-terracotta);
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow-alt::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-terracotta), transparent);
}

.insight {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 3px solid var(--color-terracotta);
  background: rgba(193, 89, 60, 0.06);
  font-style: italic;
  color: var(--color-text);
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  color: var(--color-muted);
}

.feature-list li {
  margin-bottom: 1rem;
  line-height: 1.7;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-terracotta);
  font-weight: bold;
}

@media (max-width: 900px) {
  .frammento {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .frammento--layout-right {
    direction: ltr;
  }

  .frammento-image {
    min-height: 280px;
    order: -1;
  }
}

.menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.menu-card {
  background: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: all var(--t-med) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-cool);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-elastic);
}

.menu-card:hover {
  border-color: var(--color-mare-soft);
  box-shadow: var(--shadow-xl);
  transform: translateY(var(--hover-lift));
  background: var(--color-surface);
}

.menu-card:hover::before {
  transform: scaleX(1);
}

.menu-card h3 {
  margin: 0 0 0.3rem;
}

.menu-card ul {
  padding-left: 1.1rem;
  margin: 0.8rem 0 0;
  color: var(--color-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  grid-auto-rows: 280px;
  max-width: var(--container-max);
  margin: var(--space-xl) auto 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  box-shadow: none; /* remove sharp shadow artifacts around cropped images */
}

.gallery-item.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit; /* inherit container rounding to avoid sharp corner artifacts */
  display: block; /* remove inline gap artifacts */
  transform: scale(1.1);
  transition: transform var(--t-slower) var(--ease-spring),
              filter var(--t-med) var(--ease-out);
  filter: brightness(0.92) saturate(1.1);
  will-change: transform, filter;
}

.gallery-item:hover img {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1) saturate(1.2);
}

.gallery-item.is-in img {
  transform: scale(1);
  filter: brightness(0.98) saturate(1.15);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(45, 36, 25, 0), rgba(45, 36, 25, 0.8));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
  text-transform: uppercase;
  border-bottom-left-radius: calc(var(--radius-lg) - 2px);
  border-bottom-right-radius: calc(var(--radius-lg) - 2px); /* match inner image rounding to hide sharp corners */
  overflow: hidden; /* ensure gradient is clipped */
}

.gallery-item:hover figcaption,
.gallery-item.is-in figcaption {
  opacity: 1;
}

.gallery-item::before {
  display: none;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    grid-auto-rows: 220px;
    margin: var(--space-lg) auto 0;
  }

  .gallery-item.gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item.gallery-item--tall {
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    margin: var(--space-md) auto 0;
  }
}

.slider {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-track {
  display: flex;
  scroll-behavior: smooth;
  overflow: hidden;
  width: 100%;
  scroll-snap-type: x mandatory;
}

.review-card {
  min-width: 80%;
  background: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1.3rem + 1vw, 2.2rem);
  margin-right: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 4px solid var(--color-terracotta);
  scroll-snap-align: center;
  transition: transform var(--t-med) var(--ease-spring),
              box-shadow var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cool);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-elastic);
}

.review-card:hover {
  transform: translateY(calc(var(--hover-lift) * -0.5));
  box-shadow: var(--shadow-lg);
}

.review-card:hover::before {
  transform: scaleX(1);
}

.quote {
  font-size: 1.1rem;
  margin: 0 0 0.8rem;
}

.author {
  margin: 0;
  color: var(--color-muted);
  font-weight: 600;
}

.slider-control {
  background: rgba(43, 122, 154, 0.1);
  border: 2px solid var(--color-mare);
  color: var(--color-mare);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: all var(--t-med) var(--ease-spring);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.slider-control:hover,
.slider-control:focus-visible {
  background: var(--color-mare);
  color: #fff;
  transform: scale(1.08);
}

/* Testimonials slide-in animations */
.review-card.animate-left {
  animation: slideInLeft 480ms var(--ease-out) both;
}

.review-card.animate-right {
  animation: slideInRight 480ms var(--ease-out) both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section highlight when navigated via header */
.section.nav-activated {
  animation: sectionPulse 700ms ease both;
}

@keyframes sectionPulse {
  from {
    transform: translateY(6px);
    opacity: 0.96;
    box-shadow: 0 10px 30px rgba(26,20,16,0.04);
  }
  to {
    transform: translateY(0);
    opacity: 1;
    box-shadow: none;
  }
}

.prenota-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.prenota-card {
  background: var(--color-surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-spring),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
  position: relative;
}

.prenota-card.primary-contact {
  background: linear-gradient(135deg, 
    rgba(193, 89, 60, 0.12), 
    rgba(230, 126, 58, 0.12)), 
    var(--color-surface-glass);
  border: 1px solid rgba(193, 89, 60, 0.4);
  box-shadow: var(--shadow-md), 
    0 0 40px rgba(193, 89, 60, 0.15);
  animation: pulse 3s ease-in-out infinite;
}

.prenota-card:hover {
  border-color: var(--color-arancio);
  box-shadow: var(--shadow-lg), 
    0 0 30px rgba(230, 126, 58, 0.2);
  transform: translateY(calc(var(--hover-lift) * -0.6));
}

.prenota-card.primary-contact:hover {
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow-xl), 
    0 0 50px rgba(193, 89, 60, 0.3);
  animation-play-state: paused;
}

.schedule,
.schedule-mini {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.schedule li {
  margin-bottom: 0.4rem;
}

.contatti {
  display: grid;
  gap: 2rem;
}

.contatti-content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.location-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(193, 89, 60, 0.12), rgba(230, 126, 58, 0.12));
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
  border: 1px solid rgba(193, 89, 60, 0.2);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--color-muted);
}

.contact-list li {
  margin-bottom: 0.6rem;
}

.contatti-map iframe {
  width: 100%;
  height: 320px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  filter: grayscale(0.2) sepia(0.15);
  box-shadow: var(--shadow-md);
}

.site-footer {
  margin-top: -48px; /* pull footer upward to cover residual light band */
  padding: clamp(2rem, 1.5rem + 2.5vw, 3rem) 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, 
    rgba(45, 36, 25, 0.95) 0%, 
    rgba(69, 56, 40, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #faf6f1;
  border-top: 4px solid var(--color-terracotta);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(230, 126, 58, 0.5), 
    transparent);
  opacity: 0.6;
}

/* Cover potential light strip above the footer by extending a dark band upward */
.site-footer {
  position: relative;
  z-index: 2;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: -48px; /* height of the covering band */
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(180deg, rgba(45, 36, 25, 0.98) 0%, rgba(69, 56, 40, 0.98) 100%);
  pointer-events: none;
  z-index: 1;
}
  color: var(--color-muted);
}

/* Reveal animation system */
[data-reveal] {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), clip-path var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}

/* Reveal types */
[data-reveal="fade-up"] {
  transform: translateY(var(--reveal-distance));
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="fade-left"] {
  transform: translateX(var(--reveal-distance));
}

[data-reveal="fade-right"] {
  transform: translateX(calc(-1 * var(--reveal-distance)));
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal="clip"] {
  clip-path: inset(0 100% 0 0);
}

/* Active state - all types */
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  clip-path: inset(0 0 0 0);
}

/* Stagger support for children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}

[data-stagger].is-in > * {
  opacity: 1;
  transform: translateY(0);
}

[data-parallax] {
  will-change: transform;
  transform: translateY(var(--parallax-y, 0px)) scale(var(--parallax-scale, 1));
  transition: transform 0.4s ease;
}

.tooltip {
  position: fixed;
  pointer-events: none;
  background: rgba(45, 36, 25, 0.95);
  color: #faf6f1;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-terracotta);
  font-size: 0.8rem;
  transform: translate(-50%, -110%);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-out);
  z-index: 120;
  box-shadow: var(--shadow-lg);
}

.tooltip.visible {
  opacity: 1;
}

@media (max-width: 900px) {
  .feature-rail-section .feature-rail {
    display: block;
  }

  .feature-rail-media {
    display: none;
  }

  .feature-rail-list {
    gap: 1rem;
  }

  .feature-rail-item {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-left: 4px solid var(--color-mare);
  }

  .feature-rail-item.active {
    border-left-color: var(--color-arancio);
  }

  .menu-toggle {
    display: flex;
  }

  .top-nav {
    position: absolute;
    top: var(--header-height);
    right: 1rem;
    flex-direction: column;
    background: var(--color-surface);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    min-width: 220px;
  }

  .top-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 1.5rem;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .review-card {
    min-width: 100%;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 4rem 4rem 5rem;
  }

  .section {
    padding: 5rem 4rem;
  }

  .pergamena,
  .esperienza,
  .contatti {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    margin-left: 6vw;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    max-width: 600px;
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Bottom Booking Bar Mobile */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: none;
  background: rgba(250, 246, 241, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(193, 89, 60, 0.2);
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + var(--safe-area-bottom));
  padding-left: calc(1rem + var(--safe-area-left));
  padding-right: calc(1rem + var(--safe-area-right));
  gap: 0.6rem;
  box-shadow: var(--shadow-xl), 
    0 -8px 32px rgba(45, 36, 25, 0.12);
  transition: transform var(--t-med) var(--ease-spring);
}

.bottom-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--color-terracotta), 
    var(--color-arancio), 
    transparent);
  opacity: 0.5;
}

.bottom-bar.is-visible {
  display: flex;
}

.bottom-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--t-fast) var(--ease-out);
  border: 1px solid transparent;
}

.bottom-bar-btn:hover {
  background: rgba(193, 89, 60, 0.1);
}

.bottom-bar-btn.primary {
  background: var(--color-terracotta);
  color: #fff;
  flex: 1.5;
}

.bottom-bar-btn.primary:hover {
  background: var(--color-arancio);
}

.bottom-bar-icon {
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .bottom-bar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 80px;
  }
}

/* ========== RESPONSIVE: Complete Device Coverage ========== */

/* Extra Small Devices (320px - 374px) - iPhone SE, older phones */
@media (max-width: 374px) {
  :root {
    --header-height: 64px;
    --header-compact-height: 56px;
  }
  
  .hero-content {
    padding: 1.2rem;
    margin: 0 0.5rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.15;
  }
  
  .hero .lead {
    font-size: 0.9rem;
  }
  
  .hero .eyebrow {
    font-size: 0.65rem;
  }
  
  .hero-cta .cta {
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 2.5rem 1rem;
  }
  
  .section-head h2 {
    font-size: 1.5rem;
  }
  
  .frammento {
    padding: 2.5rem 1rem;
    gap: 1.5rem;
  }
  
  .frammento-content h2 {
    font-size: 1.4rem;
  }
  
  .frammento-image {
    min-height: 220px;
  }
  
  .highlight-card {
    padding: 1.4rem;
  }
  
  .highlight-icon {
    font-size: 2.2rem;
  }
  
  .highlight-card h3 {
    font-size: 1rem;
  }
  
  .menu-card {
    padding: 1.2rem;
  }
  
  .menu-card h3 {
    font-size: 1.1rem;
  }
  
  .menu-card ul {
    font-size: 0.85rem;
  }
  
  .gallery-grid {
    grid-auto-rows: 200px;
    gap: 0.75rem;
  }
  
  .prenota-card {
    padding: 1.2rem;
  }
  
  .prenota-card .cta {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
  
  .review-card {
    padding: 1.2rem;
  }
  
  .quote {
    font-size: 0.95rem;
  }
  
  .slider-control {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .bottom-bar {
    padding: 0.6rem 0.75rem;
  }
  
  .bottom-bar-btn {
    padding: 0.5rem 0.4rem;
    font-size: 0.7rem;
  }
  
  .bottom-bar-icon {
    font-size: 1rem;
  }
  
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .contatti-content {
    padding: 1.5rem;
  }
  
  .contact-list {
    font-size: 0.9rem;
  }
}

/* Small Mobile (375px - 479px) - iPhone standard */
@media (min-width: 375px) and (max-width: 479px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-content {
    padding: 1.4rem;
  }
  
  .section {
    padding: 3rem 1.25rem;
  }
  
  .frammento {
    padding: 3rem 1.25rem;
  }
  
  .frammento-image {
    min-height: 250px;
  }
}

/* Medium Mobile (480px - 599px) - Large phones, small tablets */
@media (min-width: 480px) and (max-width: 599px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .hero-content {
    padding: 1.8rem;
    max-width: 90%;
  }
  
  .hero-cta {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .section {
    padding: 3.5rem 1.5rem;
  }
  
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  
  .prenota-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Tablets (600px - 767px) - iPad Mini portrait, large phones landscape */
@media (min-width: 600px) and (max-width: 767px) {
  .hero {
    padding: 3rem 2rem 4rem;
  }
  
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .hero-content {
    padding: 2rem;
    max-width: 85%;
  }
  
  .hero-cta {
    flex-direction: row;
  }
  
  .section {
    padding: 4rem 2rem;
  }
  
  .frammento {
    padding: 4rem 2rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .frammento-image {
    min-height: 320px;
  }
  
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .highlight-card {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  
  .gallery-item.gallery-item--wide {
    grid-column: span 2;
  }
  
  .gallery-item.gallery-item--tall {
    grid-row: span 2;
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .prenota-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .prenota-card.primary-contact {
    grid-column: span 2;
  }
  
  .contatti {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Tablets Portrait (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
  .hero {
    padding: 4rem 3rem 5rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-content {
    max-width: 480px;
    margin-left: 4vw;
  }
  
  .section {
    padding: 4.5rem 3rem;
  }
  
  .frammento {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 4.5rem 3rem;
  }
  
  .frammento-content {
    max-width: 100%;
  }
  
  .frammento-image {
    min-height: 380px;
  }
  
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }
  
  .gallery-item.gallery-item--wide {
    grid-column: span 2;
  }
  
  .gallery-item.gallery-item--tall {
    grid-row: span 2;
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .prenota-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contatti {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .feature-rail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-rail-media {
    display: block;
    position: relative;
    height: 350px;
  }
  
  .feature-rail-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Tablets Landscape / Small Desktops (900px - 1023px) */
@media (min-width: 900px) and (max-width: 1023px) {
  .hero {
    padding: 4rem 4rem 6rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-content {
    max-width: 520px;
    margin-left: 5vw;
  }
  
  .section {
    padding: 5rem 3.5rem;
  }
  
  .frammento {
    gap: 3rem;
    padding: 5rem 3.5rem;
  }
  
  .frammento-image {
    min-height: 420px;
  }
  
  .gallery-grid {
    grid-auto-rows: 260px;
  }
  
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .feature-rail-media {
    height: 450px;
  }
}

/* Standard Desktops (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero {
    padding: 5rem 5rem 7rem;
  }
  
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .hero-content {
    max-width: 560px;
    margin-left: 6vw;
  }
  
  .section {
    padding: 5.5rem 4rem;
  }
  
  .frammento {
    gap: 3.5rem;
    padding: 5.5rem 4rem;
  }
  
  .gallery-grid {
    grid-auto-rows: 280px;
  }
  
  .feature-rail-media {
    height: 500px;
  }
}

/* Large Desktops (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero {
    padding: 5rem 6rem 8rem;
  }
  
  .hero-content {
    max-width: 600px;
    margin-left: 8vw;
  }
  
  .section {
    padding: 6rem 5rem;
  }
  
  .frammento {
    gap: 4rem;
    padding: 6rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .highlight-content {
    max-width: 1100px;
  }
  
  .gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Extra Large Desktops (1440px+) */
@media (min-width: 1440px) {
  :root {
    --container-max: 1400px;
  }
  
  .hero {
    padding: 6rem 8rem 10rem;
  }
  
  .hero h1 {
    font-size: var(--text-5xl);
  }
  
  .hero-content {
    max-width: 680px;
    margin-left: 10vw;
    padding: 3rem 3.5rem;
  }
  
  .section {
    padding: 7rem 6rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .frammento {
    gap: 5rem;
    padding: 7rem 6rem;
    max-width: 1500px;
    margin: 0 auto;
  }
  
  .frammento-content {
    max-width: 540px;
  }
  
  .frammento-image {
    min-height: 520px;
  }
  
  .highlight-content {
    max-width: 1200px;
  }
  
  .highlights-grid {
    gap: 2.5rem;
  }
  
  .gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    grid-auto-rows: 320px;
    gap: 2rem;
  }
  
  .menu-grid {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .prenota-grid {
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .contatti {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-head {
    max-width: 720px;
  }
  
  .feature-rail {
    max-width: 1300px;
    margin: 0 auto;
  }
  
  .feature-rail-media {
    height: 580px;
  }
}

/* Ultra-Wide Screens (1920px+) */
@media (min-width: 1920px) {
  .hero {
    padding: 8rem 12rem 12rem;
  }
  
  .hero-content {
    max-width: 720px;
    margin-left: 12vw;
  }
  
  .section {
    max-width: 1800px;
  }
  
  .frammento {
    max-width: 1700px;
  }
  
  .gallery-grid {
    max-width: 1600px;
    grid-auto-rows: 360px;
  }
  
  .feature-rail {
    max-width: 1500px;
  }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 2rem 2rem 3rem;
  }
  
  .hero-content {
    padding: 1.2rem 1.5rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .hero .lead {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .hero-cta {
    flex-direction: row;
    gap: 0.75rem;
  }
  
  .hero-cta .cta {
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .bottom-bar {
    display: none !important;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-grain {
    opacity: 0.05;
  }
}

/* Hover capability detection */
@media (hover: none) {
  .cta:hover::before {
    opacity: 0;
  }
  
  .highlight-card:hover {
    transform: none;
  }
  
  .highlight-card:hover .highlight-icon {
    transform: none;
  }
  
  .frammento:hover .frammento-image {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: scale(1);
  }
  
  .menu-card:hover {
    transform: none;
  }
  
  .prenota-card:hover {
    transform: none;
  }
  
  .review-card:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .bottom-bar,
  .hero-grain,
  .tooltip,
  .slider-control {
    display: none !important;
  }
  
  body {
    padding: 0;
    background: #fff;
  }
  
  body::before {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem;
  }
  
  .hero-media {
    position: relative;
    height: 200px;
  }
  
  .hero::after {
    display: none;
  }
  
  .hero-content {
    background: transparent;
    backdrop-filter: none;
    color: #000;
    padding: 1rem 0;
  }
  
  .hero h1 {
    color: #000;
    -webkit-text-fill-color: #000;
    background: none;
  }
  
  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }
  
  .frammento {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .frammento-image {
    min-height: 150px;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
  
  .cta {
    border: 1px solid #000;
    background: transparent !important;
    color: #000 !important;
  }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  [data-parallax] {
    transform: none !important;
  }

  .hero-media::before,
  .hero-media::after {
    transform: none;
  }

  .gallery-item img {
    transform: scale(1);
  }

  .feature-rail-image {
    filter: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE - NUOVI CAPITOLI
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .chapter {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .chapter-marker {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 1.5rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  
  .chapter-number {
    font-size: var(--text-2xl);
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .story-image {
    min-height: 300px;
    order: -1;
  }
  
  .values-strip {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .ingredients-showcase {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }
  .ingredients-showcase > .ingredient-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .ingredient-card--hero {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* Force 2 columns on tablet / small desktop to avoid 3 per row */
  @media (max-width: 1024px) {
    .ingredients-showcase {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 1fr;
    }
    .ingredients-showcase > .ingredient-card {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    /* At tablet widths, don't let hero card span full width */
    .ingredient-card--hero {
      grid-column: span 1;
    }
  }

  @media (max-width: 900px) {
    .ingredients-showcase {
      grid-template-columns: 1fr 1fr;
      grid-auto-rows: 1fr;
    }
    .ingredients-showcase > .ingredient-card {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .ingredient-card--hero {
      grid-column: span 1;
    }
  }

  @media (max-width: 768px) {
    .ingredients-showcase {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 1fr;
    }
    .ingredients-showcase > .ingredient-card {
      height: 100%;
    }
    .ingredient-card--hero {
      grid-column: span 1;
    }
  }
  
  .kitchen-hero {
    min-height: 350px;
  }
  
  .kitchen-statement h2 {
    font-size: var(--text-3xl);
  }
  
  .dishes-journey {
    grid-template-columns: 1fr;
  }
  
  .experience-moments {
    grid-template-columns: 1fr;
  }
  
  .booking-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-toggle {
    display: flex;
  }

  .top-nav {
    position: absolute;
    top: var(--header-height);
    right: 1rem;
    flex-direction: column;
    background: var(--color-surface);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    min-width: 200px;
    transition: all var(--t-med) var(--ease-spring);
  }

  .top-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .hero-content {
    padding: var(--space-lg);
    max-width: 100%;
  }
  
  .hero-title-line {
    font-size: var(--text-4xl);
  }
  
  .hero-title-accent {
    font-size: var(--text-4xl);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-scroll-hint {
    display: none;
  }
  
  .contatti-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-list-minimal {
    justify-content: center;
  }
  
  .contatti-social {
    justify-content: center;
  }
  
  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .chapter {
    padding: var(--space-xl) var(--space-sm);
  }
  
  .chapter-intro {
    margin-bottom: var(--space-lg);
  }
  
  .chapter-quote {
    font-size: var(--text-lg);
    padding: 0 1rem;
  }
  
  .story-content h2 {
    font-size: var(--text-2xl);
  }
  
  .story-image {
    min-height: 250px;
  }
  
  .ingredients-showcase {
    grid-template-columns: 1fr;
  }
  
  .ingredient-card--hero {
    grid-column: span 1;
  }
  
  .kitchen-hero {
    min-height: 300px;
  }
  
  .kitchen-statement {
    padding: var(--space-md);
  }
  
  .kitchen-statement h2 {
    font-size: var(--text-2xl);
  }
  
  .dish-chapter {
    padding: 1.5rem;
  }
  
  .experience-intro h2 {
    font-size: var(--text-3xl);
  }
  
  .moment-visual {
    height: 180px;
  }
  
  .experience-features {
    gap: 0.75rem;
  }
  
  .feature-pill {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .booking-hero h2 {
    font-size: var(--text-3xl);
  }
  
  .booking-card {
    padding: 1.5rem;
  }
  
  .hero-title-line {
    font-size: var(--text-3xl);
  }
  
  .hero-title-accent {
    font-size: var(--text-3xl);
  }
  
  .lead--poetic {
    font-size: var(--text-base);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  
  .gallery-item.gallery-item--wide,
  .gallery-item.gallery-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Bottom bar mobile */
@media (max-width: 767px) {
  body {
    padding-bottom: 80px;
  }
  
  .bottom-bar {
    display: flex;
  }
  
  .bottom-bar.is-visible {
    display: flex;
  }
}

@media (min-width: 768px) {
  .bottom-bar {
    display: none !important;
  }
}