
/* =========================================================
   STRUTTURA MODULARE DEL PROGETTO
   /components
   - header-home.html
   - header-gastronomia.html
   - footer.html

   /sections
   - blocchi singoli della home
   - blocchi singoli della pagina Gastronomia

   index.html e gastronomia.html sono ora shell leggere.
   Se devi modificare i contenuti, lavora prima nei file HTML
   dentro /sections oppure /components.
========================================================= */


/* =========================================================
   MANUALE RAPIDO CSS
   1. Colori brand:
      --primary = verde principale
      --accent = rosa polvere
   2. Radius e ombre:
      modifica qui per cambiare il look globale
   3. Blocchi modulari:
      - HEADER
      - HERO
      - SERVIZI
      - GASTRONOMIA HOME
      - PAGINA GASTRONOMIA
      - FOOTER
   4. Responsive:
      le media query sono in fondo ai blocchi
========================================================= */

:root {
  --bg: #fcf8f7;
  --surface: #ffffff;
  --surface-soft: #f8eff1;
  --primary: #4F5F52;
  --primary-deep: #405045;
  --accent: #F3C6CC;
  --accent-strong: #e8b0b9;
  --text: #1f2520;
  --muted: #637067;
  --border: rgba(79, 95, 82, 0.12);
  --shadow: 0 18px 60px rgba(52, 66, 56, 0.08);
  --shadow-soft: 0 12px 34px rgba(52, 66, 56, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243,198,204,0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(79,95,82,0.08), transparent 24%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.7; margin: 0 0 1rem; }
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0 0 1rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}
.section { padding: 88px 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.page-shell { overflow: clip; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(252, 248, 247, 0.78);
  border-bottom: 1px solid rgba(79, 95, 82, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}
.brand-logo { width: 42px; height: 42px; }
.brand-text { font-size: 1rem; letter-spacing: 0.04em; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
}
.site-nav a:hover { color: var(--primary); }
.nav-cta {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.65);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  margin: 4px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero { padding-top: 70px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  max-width: 9ch;
}
.hero-text {
  max-width: 60ch;
  font-size: 1.07rem;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-weight: 600;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(52, 66, 56, 0.12);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-secondary {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  color: var(--primary);
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 6px rgba(243,198,204,0.24);
}
.hero-card {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.96), rgba(248,239,241,0.92)),
    var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.65);
  overflow: hidden;
}
.card-soft::before,
.card-soft::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.card-soft::before {
  width: 340px;
  height: 340px;
  background: rgba(243,198,204,0.55);
  top: -90px;
  right: -70px;
}
.card-soft::after {
  width: 280px;
  height: 280px;
  background: rgba(79,95,82,0.08);
  bottom: -60px;
  left: -50px;
}
.plate {
  position: absolute;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.5);
}
.plate-one {
  width: 280px;
  height: 280px;
  top: 110px;
  left: 50px;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.98), rgba(243,198,204,0.55) 70%, rgba(232,176,185,0.92));
  box-shadow: inset 0 0 20px rgba(255,255,255,0.7);
}
.plate-two {
  width: 210px;
  height: 210px;
  right: 45px;
  bottom: 90px;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.98), rgba(79,95,82,0.12) 72%, rgba(79,95,82,0.25));
}
.hero-badge,
.hero-mini-card {
  position: absolute;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(79,95,82,0.1);
  box-shadow: 0 14px 34px rgba(52, 66, 56, 0.08);
  backdrop-filter: blur(10px);
}
.hero-badge {
  top: 42px;
  left: 42px;
  border-radius: var(--radius-pill);
  padding: 0.9rem 1rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-mini-card {
  right: 30px;
  bottom: 32px;
  border-radius: 22px;
  padding: 1rem 1.1rem;
  max-width: 220px;
}
.mini-title {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.mini-text { color: var(--muted); font-size: 0.93rem; }

.intro-band { padding-top: 24px; }
.intro-band-inner {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.66);
  border-radius: 24px;
  color: var(--muted);
}

.two-col,
.split-feature,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.section-copy h2,
.section-head h2,
.feature-box h2,
.final-cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}
.section-text,
.section-intro { color: var(--muted); }
.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}
.selection-head {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1.5rem;
  align-items: end;
}
.services-grid,
.menu-grid,
.reasons-grid,
.selection-grid {
  display: grid;
  gap: 1.35rem;
}
.menu-grid,
.reasons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.selection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card,
.menu-card,
.reason-card,
.feature-item,
.cta-box,
.feature-box,
.dish-card {
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.service-card,
.menu-card,
.reason-card,
.feature-item { padding: 1.5rem; }
.card-label {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(243,198,204,0.38);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.service-card p,
.menu-card ul,
.reason-card p,
.feature-item p,
.feature-box p,
.cta-box p,
.dish-card p { color: var(--muted); }
.menu-card ul {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.9;
}
.section-tinted {
  background: linear-gradient(180deg, rgba(243,198,204,0.16), rgba(243,198,204,0.06));
}
.feature-box,
.cta-box { padding: 2rem; }
.feature-list { display: grid; gap: 1rem; }
.final-cta { padding-bottom: 30px; }
.cta-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.selection-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}
.chip-active {
  background: rgba(79,95,82,0.92);
  color: #fff;
  border-color: rgba(79,95,82,0.92);
}
.dish-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(52, 66, 56, 0.12);
}
.dish-media {
  position: relative;
  aspect-ratio: 1.15 / 1;
  overflow: hidden;
  border-radius: 0 0 26px 26px;
  background-size: cover;
  background-position: center;
}
.dish-media::before,
.dish-media::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.dish-media::before {
  width: 180px;
  height: 180px;
  left: -30px;
  bottom: -50px;
  background: rgba(255,255,255,0.28);
}
.dish-media::after {
  width: 120px;
  height: 120px;
  right: 18px;
  top: 18px;
  background: rgba(255,255,255,0.18);
}
.media-01 {
  background:
    radial-gradient(circle at 65% 38%, rgba(247, 229, 186, 0.88), transparent 20%),
    radial-gradient(circle at 48% 56%, rgba(183, 67, 45, 0.78), transparent 24%),
    radial-gradient(circle at 36% 34%, rgba(248, 243, 232, 0.92), transparent 40%),
    linear-gradient(145deg, #efe5dc, #d7b8a8 46%, #9f6451 100%);
}
.media-02 {
  background:
    radial-gradient(circle at 55% 36%, rgba(253, 248, 245, 0.95), transparent 22%),
    radial-gradient(circle at 32% 58%, rgba(141, 182, 110, 0.82), transparent 20%),
    radial-gradient(circle at 70% 54%, rgba(240, 129, 110, 0.72), transparent 16%),
    linear-gradient(145deg, #edf2ea, #dbe7d5 50%, #9cad8f 100%);
}
.media-03 {
  background:
    radial-gradient(circle at 52% 48%, rgba(246, 201, 120, 0.95), transparent 26%),
    radial-gradient(circle at 30% 68%, rgba(166, 86, 57, 0.76), transparent 20%),
    radial-gradient(circle at 75% 28%, rgba(244, 236, 220, 0.82), transparent 18%),
    linear-gradient(145deg, #f4e7dc, #e8c7af 52%, #a76446 100%);
}
.media-04 {
  background:
    radial-gradient(circle at 50% 44%, rgba(249, 243, 229, 0.92), transparent 26%),
    radial-gradient(circle at 34% 58%, rgba(197, 126, 103, 0.78), transparent 18%),
    radial-gradient(circle at 70% 54%, rgba(99, 129, 101, 0.72), transparent 20%),
    linear-gradient(145deg, #efe9e4, #d8cbc1 48%, #8a7d72 100%);
}
.dish-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(12px);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.dish-body { padding: 1.2rem 1.2rem 1.25rem; }
.dish-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
.dish-topline h3 {
  font-size: 1.8rem;
  margin: 0;
}
.dish-price {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}
.dish-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.dish-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(243,198,204,0.2);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.site-footer {
  padding-top: 30px;
  background: rgba(255,255,255,0.45);
}
.site-footer h3 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.footer-copy,
.footer-links { color: var(--muted); }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-bottom {
  border-top: 1px solid rgba(79,95,82,0.08);
  padding: 1.3rem 0 2rem;
  color: var(--muted);
  margin-top: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

@media (max-width: 1120px) {
  .selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selection-head { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .split-feature,
  .footer-grid,
  .services-grid,
  .menu-grid,
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .hero-card { min-height: 460px; }
  .hero-copy h1 { max-width: 12ch; }

  .nav-toggle { display: inline-block; position: relative; z-index: 31; }
  .site-nav {
    position: fixed;
    inset: 84px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .site-nav a {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(252,248,247,0.82);
  }
  .site-nav.open { display: flex; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .container { width: min(calc(100% - 1.2rem), var(--container)); }
  .header-inner { min-height: 74px; }
  .brand-text { display: none; }

  .hero { padding-top: 34px; }
  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
    max-width: 8ch;
  }
  .hero-text { font-size: 1rem; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .btn { width: 100%; }
  .hero-card {
    min-height: 380px;
    border-radius: 30px;
  }
  .plate-one {
    width: 220px;
    height: 220px;
    left: 20px;
    top: 95px;
  }
  .plate-two {
    width: 160px;
    height: 160px;
    right: 25px;
    bottom: 80px;
  }
  .hero-badge { left: 20px; top: 20px; }
  .hero-mini-card { right: 20px; bottom: 20px; }

  .selection-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    margin-right: -0.3rem;
    scrollbar-width: none;
  }
  .selection-filter::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }

  .selection-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
  }
  .selection-grid::-webkit-scrollbar { display: none; }
  .dish-card { scroll-snap-align: start; }

  .dish-body { padding: 1rem; }
  .dish-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .dish-topline h3 { font-size: 1.7rem; }

  .site-footer {
    padding-bottom: 90px;
  }
}

@media (max-width: 460px) {
  .section-copy h2,
  .section-head h2,
  .feature-box h2,
  .final-cta h2 { font-size: 2.5rem; }

  .intro-band-inner,
  .feature-box,
  .cta-box,
  .service-card,
  .menu-card,
  .reason-card,
  .feature-item,
  .dish-card { border-radius: 24px; }

  .selection-grid { grid-auto-columns: 88%; }
  .dish-media { aspect-ratio: 1 / 0.88; }
}


/* PAGINA GASTRONOMIA | Layout pagina dedicata + preview home */
/* Dedicated Gastronomia page + preview */
.menu-preview {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.5rem;
  align-items: center;
}
.menu-preview-copy {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.menu-preview-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,239,241,0.88));
  border: 1px solid rgba(79,95,82,0.12);
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.preview-browser {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.preview-browser span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(79,95,82,0.18);
}
.preview-browser span:first-child { background: rgba(243,198,204,0.85); }
.preview-browser span:nth-child(2) { background: rgba(79,95,82,0.24); }
.preview-layout {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 1rem;
  min-height: 360px;
}
.preview-side,
.preview-main-card {
  border: 1px solid rgba(79,95,82,0.1);
  background: rgba(255,255,255,0.7);
  box-shadow: var(--shadow-soft);
}
.preview-side {
  border-radius: 24px;
  padding: 1rem;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  color: var(--muted);
}
.preview-side strong {
  color: var(--primary);
  font-size: 1.1rem;
}
.preview-side span {
  padding: 0.72rem 0.82rem;
  border-radius: 16px;
  background: rgba(243,198,204,0.18);
}
.preview-main {
  display: grid;
  gap: 1rem;
}
.preview-main-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.preview-main-card {
  border-radius: 28px;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}
.preview-main-card::before,
.preview-main-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
}
.preview-main-card-a {
  min-height: 185px;
  background: linear-gradient(140deg, #f7eee8, #f2ced4 55%, #d9e4da 100%);
}
.preview-main-card-b {
  background: linear-gradient(140deg, #f8f1ec, #efd7c7 50%, #cdb39b 100%);
}
.preview-main-card-c {
  background: linear-gradient(140deg, #edf4ee, #dbe6dd 52%, #b7c6b8 100%);
}
.preview-main-card-a::before {
  width: 190px; height: 190px; right: -20px; top: -40px; background: rgba(255,255,255,0.34);
}
.preview-main-card-a::after {
  width: 170px; height: 170px; left: -30px; bottom: -60px; background: rgba(79,95,82,0.1);
}
.preview-main-card-b::before,
.preview-main-card-c::before {
  width: 120px; height: 120px; right: -20px; top: -18px; background: rgba(255,255,255,0.34);
}
.preview-main-card-b::after,
.preview-main-card-c::after {
  width: 110px; height: 110px; left: -16px; bottom: -30px; background: rgba(243,198,204,0.22);
}

/* Gastronomia page */
.menu-page {
  padding-top: 34px;
}
.menu-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.6rem;
  align-items: stretch;
}
.menu-hero-copy,
.menu-hero-visual {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-xl) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.menu-hero-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,239,241,0.82));
  padding: 2.4rem;
}
.menu-hero-copy h1 {
  font-size: clamp(3.3rem, 7vw, 6rem);
  max-width: 8ch;
}
.menu-hero-copy p {
  color: var(--muted);
  max-width: 62ch;
}
.menu-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.menu-hero-visual {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at 78% 18%, rgba(243,198,204,0.55), transparent 24%),
    linear-gradient(150deg, #fffdfc 0%, #f8eff1 42%, #eff4ef 100%);
}
.menu-floating-card {
  position: absolute;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79,95,82,0.1);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}
.menu-floating-card.one {
  top: 28px; right: 28px; padding: 0.9rem 1rem;
  color: var(--primary); font-weight: 700;
}
.menu-floating-card.two {
  left: 28px; bottom: 28px; padding: 1rem 1.1rem; max-width: 220px;
}
.menu-plates {
  position: absolute;
  inset: 0;
}
.menu-plate {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow: inset 0 0 22px rgba(255,255,255,0.5), 0 16px 35px rgba(52, 66, 56, 0.08);
}
.menu-plate.a {
  width: 280px; height: 280px; left: 44px; top: 78px;
  background: radial-gradient(circle at 48% 40%, rgba(252,248,238,0.95), rgba(231,177,151,0.75) 58%, rgba(166,94,67,0.9));
  animation: floatSoft 7.2s ease-in-out infinite;
}
.menu-plate.b {
  width: 215px; height: 215px; right: 56px; bottom: 82px;
  background: radial-gradient(circle at 52% 38%, rgba(255,255,255,0.95), rgba(214,229,215,0.72) 58%, rgba(113,137,111,0.86));
  animation: floatSoft 6.4s ease-in-out infinite reverse;
}
.menu-plate.c {
  width: 128px; height: 128px; right: 145px; top: 120px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.96), rgba(243,198,204,0.6) 62%, rgba(229,164,176,0.82));
  animation: floatSoft 5.8s ease-in-out infinite;
}
.menu-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1.3rem;
  margin-top: 2rem;
}
.menu-sidebar {
  position: sticky;
  top: 108px;
  height: fit-content;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}
.menu-sidebar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}
.menu-nav {
  display: grid;
  gap: 0.65rem;
}
.menu-tab {
  width: 100%;
  border: 0;
  text-align: left;
  padding: 1rem 1rem 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(252,248,247,0.78);
  color: var(--muted);
  border: 1px solid rgba(79,95,82,0.08);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.menu-tab:hover {
  transform: translateX(3px);
  color: var(--primary);
}
.menu-tab.active {
  background: linear-gradient(135deg, rgba(79,95,82,0.96), rgba(79,95,82,0.88));
  color: #fff;
  border-color: rgba(79,95,82,0.88);
}
.menu-tab small {
  display: block;
  margin-top: 0.25rem;
  opacity: 0.82;
}
.menu-side-note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(243,198,204,0.18);
  color: var(--muted);
  line-height: 1.6;
}
.menu-content {
  display: grid;
  gap: 1.3rem;
}
.menu-panel {
  display: none;
}
.menu-panel.active {
  display: block;
  animation: panelIn .45s ease;
}
.menu-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.menu-panel-head h2 {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
}
.menu-panel-head p {
  color: var(--muted);
  max-width: 44ch;
}
.menu-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.menu-item-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
  display: flex;
  align-items: end;
}
.menu-item-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.22) 42%, rgba(255,255,255,0.95) 100%);
  pointer-events: none;
}
.menu-item-card > * { position: relative; z-index: 1; }
.menu-item-top {
  position: absolute;
  inset: 1rem 1rem auto 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.menu-item-tag {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(255,255,255,0.48);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.menu-item-price {
  font-weight: 700;
  color: var(--primary);
  padding: 0.5rem 0.8rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
}
.menu-item-content h3 {
  font-size: 2rem;
  margin-bottom: 0.55rem;
}
.menu-item-content p {
  color: var(--muted);
  margin-bottom: 0.9rem;
  max-width: 44ch;
}
.menu-item-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.menu-item-notes span {
  font-size: 0.82rem;
  color: var(--primary);
  background: rgba(243,198,204,0.18);
  padding: 0.35rem 0.68rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.menu-item-card.theme-primi {
  background:
    radial-gradient(circle at 72% 18%, rgba(243,198,204,0.38), transparent 18%),
    linear-gradient(145deg, #fffaf8, #f4e2d8 48%, #efede9 100%);
}
.menu-item-card.theme-secondi {
  background:
    radial-gradient(circle at 80% 20%, rgba(214,229,215,0.42), transparent 20%),
    linear-gradient(145deg, #fdfbf9, #e7ddd1 45%, #d4e1d6 100%);
}
.menu-item-card.theme-contorni {
  background:
    radial-gradient(circle at 72% 18%, rgba(208,228,204,0.4), transparent 20%),
    linear-gradient(145deg, #fcfdf8, #edf4ea 55%, #f7ebe4 100%);
}
.menu-item-card.theme-dolci {
  background:
    radial-gradient(circle at 72% 18%, rgba(243,198,204,0.42), transparent 20%),
    linear-gradient(145deg, #fffafd, #f8e4ea 52%, #f0efe9 100%);
}
.menu-mobile-tabs {
  display: none;
}
.menu-mobile-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin: 0 0 1rem;
  scrollbar-width: none;
}
.menu-mobile-scroll::-webkit-scrollbar { display: none; }
.menu-mobile-pill {
  white-space: nowrap;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.78);
  color: var(--muted);
  font-weight: 600;
}
.menu-mobile-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.menu-cta-box {
  margin-top: 1.2rem;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.9rem;
}
.menu-cta-box p { color: var(--muted); }

@keyframes floatSoft {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .menu-preview,
  .menu-hero,
  .menu-layout { grid-template-columns: 1fr; }
  .menu-sidebar { position: static; }
}
@media (max-width: 980px) {
  .menu-mobile-tabs { display: block; }
  .menu-sidebar { display: none; }
  .menu-cards { grid-template-columns: 1fr; }
  .menu-hero-visual { min-height: 430px; }
}
@media (max-width: 760px) {
  .menu-preview-copy,
  .menu-hero-copy { padding: 1.4rem; }
  .preview-layout { grid-template-columns: 1fr; min-height: auto; }
  .preview-side { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .preview-side strong { grid-column: 1 / -1; }
  .menu-page { padding-top: 16px; }
  .menu-hero-copy h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .menu-hero-actions { display: grid; grid-template-columns: 1fr; }
  .menu-hero-visual { min-height: 350px; }
  .menu-plate.a { width: 210px; height: 210px; left: 20px; top: 90px; }
  .menu-plate.b { width: 155px; height: 155px; right: 24px; bottom: 56px; }
  .menu-plate.c { width: 98px; height: 98px; right: 90px; top: 88px; }
  .menu-floating-card.one { top: 18px; right: 18px; }
  .menu-floating-card.two { left: 18px; bottom: 18px; max-width: 190px; }
  .menu-panel-head { flex-direction: column; align-items: flex-start; }
  .menu-item-card { min-height: 235px; padding: 1rem; }
  .menu-item-top { inset: 0.9rem 0.9rem auto 0.9rem; }
  .menu-item-content h3 { font-size: 1.7rem; }
}
@media (max-width: 460px) {
  .preview-side { grid-template-columns: 1fr; }
  .menu-mobile-pill { padding: 0.8rem 0.95rem; }
}


/* HOME GASTRONOMIA | Sezione premium con piatti in evidenza */
/* Ultra premium home gastronomy */
.gastronomy-home .section-head { margin-bottom: 1.5rem; }
.gastro-feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.95fr;
  gap: 1rem;
}
.gastro-feature-card {
  position: relative;
  min-height: 340px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(79,95,82,0.12);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 75% 18%, rgba(243,198,204,0.5), transparent 18%),
    linear-gradient(145deg, #fffaf8, #f2dfd5 52%, #efece7 100%);
  padding: 1.4rem;
  display: flex;
  align-items: end;
}
.gastro-feature-card.alt {
  background:
    radial-gradient(circle at 78% 18%, rgba(214,229,215,0.52), transparent 18%),
    linear-gradient(145deg, #fefcf9, #e6ddd1 52%, #dae5db 100%);
}
.gastro-feature-card.sweet {
  background:
    radial-gradient(circle at 78% 18%, rgba(243,198,204,0.5), transparent 18%),
    linear-gradient(145deg, #fffafe, #f6e3ea 52%, #efeee9 100%);
}
.gastro-feature-card::after {
  content:"";
  position:absolute;
  inset: 18px 18px auto auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  filter: blur(4px);
}
.gastro-feature-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.42);
}
.eyebrow.soft { color: rgba(79,95,82,0.75); }
.gastro-feature-copy h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.45rem;
}
.gastro-feature-copy p:last-of-type { color: var(--muted); }
.gastro-badge {
  position:absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(79,95,82,0.92);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.gastro-meta {
  display:flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.gastro-meta span,
.gastro-mini-card strong {
  color: var(--primary);
}
.gastro-meta span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(243,198,204,0.18);
  font-size: 0.82rem;
  font-weight: 700;
}
.gastro-mini-rail {
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.gastro-mini-card {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.gastro-mini-card span {
  display:block;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.6;
}
.gastro-home-cta {
  display:flex;
  gap: 0.9rem;
  flex-wrap:wrap;
  justify-content:center;
  margin-top: 1.4rem;
}

/* SLIDER GASTRONOMIA | Slider card 2-per-view desktop */
/* Ultra premium menu slider */
.menu-panel-head h2 { max-width: 12ch; }
.menu-slider-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
}
.menu-slider-window {
  overflow: hidden;
  border-radius: 32px;
}
.menu-slider-track {
  display: flex;
  gap: 1rem;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.menu-slide-card {
  min-width: calc(50% - 0.5rem);
  min-height: 350px;
  border-radius: 32px;
  border: 1px solid rgba(79,95,82,0.12);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
}
.menu-slide-card::before {
  content:"";
  position:absolute;
  top:-22px;
  right:-18px;
  width:160px;
  height:160px;
  border-radius:50%;
  background: rgba(255,255,255,0.24);
}
.menu-slide-card.theme-gastro {
  background:
    radial-gradient(circle at 75% 18%, rgba(243,198,204,0.5), transparent 18%),
    linear-gradient(145deg, #fffaf8, #f2dfd5 52%, #efece7 100%);
}
.menu-slide-card.theme-primi {
  background:
    radial-gradient(circle at 75% 18%, rgba(243,198,204,0.44), transparent 18%),
    linear-gradient(145deg, #fffaf8, #f4e2d8 52%, #efede9 100%);
}
.menu-slide-card.theme-secondi {
  background:
    radial-gradient(circle at 78% 18%, rgba(214,229,215,0.52), transparent 18%),
    linear-gradient(145deg, #fefcf9, #e6ddd1 52%, #dae5db 100%);
}
.menu-slide-card.theme-contorni {
  background:
    radial-gradient(circle at 78% 18%, rgba(208,228,204,0.5), transparent 18%),
    linear-gradient(145deg, #fcfdf8, #edf4ea 55%, #f7ebe4 100%);
}
.menu-slide-card.theme-dolci {
  background:
    radial-gradient(circle at 78% 18%, rgba(243,198,204,0.52), transparent 18%),
    linear-gradient(145deg, #fffafe, #f6e3ea 52%, #efeee9 100%);
}
.menu-slide-top {
  position:absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display:flex;
  justify-content:space-between;
  gap:0.75rem;
  z-index:1;
}
.menu-slide-body {
  position: relative;
  z-index:1;
  width:100%;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.64);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.42);
}
.menu-slide-body h3 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin-bottom: 0.55rem;
}
.menu-slide-body p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 34ch;
}
.menu-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-soft);
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.menu-arrow:hover {
  transform: translateY(-2px);
  background: #fff;
}
.menu-arrow[disabled] {
  opacity: .45;
  cursor: default;
  transform: none;
}
.menu-dots {
  display:flex;
  justify-content:center;
  gap:0.55rem;
  margin-top: 1rem;
}
.menu-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(79,95,82,0.2);
  border: 0;
  padding: 0;
}
.menu-dot.active { background: var(--primary); }

@media (max-width: 1120px) {
  .gastro-feature-grid { grid-template-columns: 1fr; }
  .gastro-mini-rail { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .menu-slider-shell { grid-template-columns: 1fr; }
  .menu-arrow { display:none; }
  .menu-slider-window { overflow-x: auto; scrollbar-width: none; }
  .menu-slider-window::-webkit-scrollbar { display:none; }
  .menu-slider-track { transition: none; }
  .menu-slide-card { min-width: 84%; scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .gastro-mini-rail { grid-template-columns: 1fr; }
  .menu-slide-card { min-width: 88%; min-height: 310px; }
  .menu-slide-body h3 { font-size: 1.85rem; }
}


/* =========================================================
   FOOTER ORDINATO
   - .footer-grid-ordered = griglia principale
   - .footer-column = singola colonna footer
   - .footer-bottom-ordered = riga finale copyright
   Per modificare:
   - cambia testi in HTML
   - cambia spaziature / colori qui
========================================================= */
.footer-grid-ordered {
  grid-template-columns: 1.25fr 0.8fr 0.9fr 0.75fr;
  align-items: start;
  gap: 2rem;
}
.footer-column h3 {
  margin-bottom: 0.9rem;
}
.footer-brand-col {
  max-width: 420px;
}
.footer-bottom-ordered {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(79,95,82,0.12);
  padding-top: 1rem;
}
@media (max-width: 980px) {
  .footer-grid-ordered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .footer-grid-ordered {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .footer-bottom-ordered {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================================
   UPDATE PAGINE DEDICATE | Catering + Preventivo
========================================================= */
.subpage-shell {
  padding-top: 12px;
}
.catering-hero,
.preventivo-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.4rem;
  align-items: stretch;
}
.catering-hero-copy,
.catering-hero-visual,
.preventivo-copy,
.preventivo-form-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-xl) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.catering-hero-copy,
.preventivo-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,239,241,0.82));
  padding: 2.4rem;
}
.catering-hero-copy h1,
.preventivo-copy h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  max-width: 10ch;
}
.catering-hero-copy p,
.preventivo-copy p {
  color: var(--muted);
  max-width: 60ch;
}
.catering-hero-visual {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at 78% 18%, rgba(243,198,204,0.55), transparent 24%),
    linear-gradient(150deg, #fffdfc 0%, #f8eff1 42%, #eff4ef 100%);
}
.catering-orb {
  position: absolute;
  border-radius: 50%;
  box-shadow: inset 0 0 22px rgba(255,255,255,0.45), 0 16px 35px rgba(52,66,56,0.08);
}
.orb-a {
  width: 290px; height: 290px; left: 42px; top: 80px;
  background: radial-gradient(circle at 48% 40%, rgba(252,248,238,0.95), rgba(231,177,151,0.75) 58%, rgba(166,94,67,0.9));
  animation: floatSoft 7.2s ease-in-out infinite;
}
.orb-b {
  width: 185px; height: 185px; right: 60px; bottom: 75px;
  background: radial-gradient(circle at 52% 38%, rgba(255,255,255,0.95), rgba(214,229,215,0.72) 58%, rgba(113,137,111,0.86));
  animation: floatSoft 6.4s ease-in-out infinite reverse;
}
.catering-note {
  position: absolute;
  left: 28px;
  bottom: 28px;
  padding: 1rem 1.1rem;
  max-width: 220px;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79,95,82,0.1);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}
.catering-note strong {
  display:block;
  color: var(--primary);
  margin-bottom: .35rem;
}
.catering-note span {
  color: var(--muted);
  font-size: .94rem;
}
.catering-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.catering-option-card {
  padding: 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(79,95,82,0.12);
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(circle at 78% 18%, rgba(243,198,204,0.35), transparent 18%),
    linear-gradient(145deg, #fffaf8, #f2dfd5 52%, #efece7 100%);
}
.catering-option-card.alt {
  background:
    radial-gradient(circle at 78% 18%, rgba(214,229,215,0.42), transparent 18%),
    linear-gradient(145deg, #fefcf9, #e6ddd1 52%, #dae5db 100%);
}
.catering-option-card h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  margin: .8rem 0;
}
.catering-option-card p {
  color: var(--muted);
}
.catering-list {
  margin-top: 1rem;
  display: grid;
  gap: .6rem;
  padding-left: 1rem;
  color: var(--primary);
}
.catering-editorial {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 1.2rem;
  align-items: start;
}
.catering-editorial-copy {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}
.catering-editorial-cards {
  display: grid;
  gap: 1rem;
}
.editorial-mini-card {
  padding: 1.15rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.editorial-mini-card strong {
  display: block;
  color: var(--primary);
  margin-bottom: .35rem;
}
.editorial-mini-card span {
  color: var(--muted);
}
.quote-banner {
  text-align: center;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

/* Preventivo */
.preventivo-copy {
  display: grid;
  align-content: start;
  gap: 1rem;
}
.preventivo-points {
  display: grid;
  gap: .8rem;
}
.preventivo-points div {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(79,95,82,0.08);
}
.preventivo-points strong {
  display: block;
  color: var(--primary);
  margin-bottom: .25rem;
}
.preventivo-points span {
  color: var(--muted);
}
.preventivo-form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,239,241,0.88));
  padding: 1.4rem;
}
.preventivo-form {
  display: grid;
  gap: 1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-field {
  display: grid;
  gap: .45rem;
}
.form-field-full {
  grid-column: 1 / -1;
}
.form-field span {
  color: var(--primary);
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(79,95,82,0.12);
  background: rgba(255,255,255,0.82);
  border-radius: 18px;
  padding: 1rem 1rem;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(79,95,82,0.35);
  box-shadow: 0 0 0 4px rgba(79,95,82,0.06);
}
.btn-submit {
  width: 100%;
  justify-content: center;
}

/* Perché sceglierci su 3 colonne */
.reasons-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 1120px) {
  .catering-hero,
  .preventivo-layout,
  .catering-editorial {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .catering-options-grid,
  .form-grid,
  .reasons-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .catering-hero-copy,
  .preventivo-copy,
  .preventivo-form-card {
    padding: 1.4rem;
  }
  .catering-hero-visual {
    min-height: 360px;
  }
  .orb-a {
    width: 210px; height: 210px; left: 20px; top: 80px;
  }
  .orb-b {
    width: 145px; height: 145px; right: 24px; bottom: 44px;
  }
}


/* BUGFIX | motivi in 3 colonne e pagine dedicate */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.reason-card {
  padding: 1.4rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.reason-card h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  margin: 0.7rem 0 0.55rem;
}
.reason-card p {
  color: var(--muted);
}
@media (max-width: 980px) {
  .reasons-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   STRUTTURA MODULARE PHP
   - index.php, gastronomia.php, catering.php, preventivo.php, grazie.php
   - /components/header.php
   - /components/footer.php
   - /sections/*.html
   - send.php per i preventivi
========================================================= */

.site-nav a.is-current {
  color: var(--primary);
}
.site-nav .nav-cta.is-current {
  color: #fff;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Feedback elegante form */
.form-feedback {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(79,95,82,0.12);
  background: rgba(255,255,255,0.72);
}
.form-feedback.error {
  border-color: rgba(179, 96, 96, 0.22);
  background: rgba(255, 248, 248, 0.88);
}
.form-feedback strong {
  color: var(--primary);
}
.form-feedback span {
  color: var(--muted);
}

/* Stato invio form */
.form-submit-row {
  display: grid;
  gap: 0.8rem;
}
.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}
.btn-submit {
  position: relative;
  min-height: 58px;
}
.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: rgba(255,255,255,1);
  border-radius: 50%;
  display: none;
  animation: spinLoader .75s linear infinite;
}
.preventivo-form.is-submitting .btn-loader {
  display: inline-block;
}
.preventivo-form.is-submitting .btn-label::after {
  content: " in corso...";
}
.preventivo-form.is-submitting .btn-submit {
  opacity: 0.95;
}
@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

/* Rafforzamento griglia motivi */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.reason-card {
  padding: 1.4rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.reason-card h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  margin: 0.7rem 0 0.55rem;
}
.reason-card p {
  color: var(--muted);
}

/* Correzione slider gastronomia */
.menu-panel {
  display: none;
}
.menu-panel.active {
  display: block;
  animation: panelIn .45s ease;
}
.menu-slider-window {
  overflow: hidden;
}
.menu-slider-track {
  align-items: stretch;
}
.menu-slide-card {
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .reasons-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   QA BUGFIX PASS
   - stabilizza tabs Gastronomia
   - migliora slider mobile
   - protegge overflow inattesi
========================================================= */

html, body {
  overflow-x: hidden;
}

.menu-content {
  min-width: 0;
}

.menu-slider-shell,
.menu-slider-window,
.menu-slider-track {
  min-width: 0;
}

.menu-slider-window {
  scroll-snap-type: x proximity;
}

.menu-slide-card {
  scroll-snap-align: start;
}

.menu-panel {
  width: 100%;
}

.site-nav a,
.footer-links a,
.btn {
  word-break: break-word;
}

@media (max-width: 980px) {
  .menu-mobile-tabs {
    position: relative;
    z-index: 3;
  }

  .menu-slider-window {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-slider-track {
    width: max-content;
  }
}


/* =========================================================
   MOBILE / APP-LIKE REDESIGN PASS
   - header CTA visibility fix
   - premium mobile navigation
   - preventivi page app-like layout
   - stronger mobile cards and spacing
========================================================= */

:root {
  --app-blur: 16px;
}

/* Header refinements */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-nav a {
  position: relative;
}
.nav-cta {
  background: linear-gradient(135deg, rgba(79,95,82,0.98), rgba(79,95,82,0.9));
  color: #fff !important;
  border: 1px solid rgba(79,95,82,0.95);
  box-shadow: 0 10px 24px rgba(52,66,56,0.14);
}
.nav-cta span {
  color: inherit;
}
.nav-cta:hover,
.nav-cta.is-current {
  background: linear-gradient(135deg, #4F5F52, #5f7262);
  color: #fff !important;
}
.site-nav .nav-cta.is-current,
.site-nav .nav-cta.is-current span {
  color: #fff !important;
}

/* Better mobile nav */
@media (max-width: 980px) {
  .site-header {
    background: rgba(255,250,249,0.82);
    border-bottom: 1px solid rgba(79,95,82,0.08);
  }

  .header-inner {
    gap: 0.85rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(79,95,82,0.1);
    box-shadow: 0 8px 18px rgba(52,66,56,0.08);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 1rem;
    left: 1rem;
    display: grid !important;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(255,250,249,0.94);
    border: 1px solid rgba(79,95,82,0.08);
    box-shadow: 0 20px 44px rgba(52,66,56,0.14);
    backdrop-filter: blur(var(--app-blur));
    -webkit-backdrop-filter: blur(var(--app-blur));
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: opacity .28s ease, transform .28s ease;
  }

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

  .site-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(79,95,82,0.07);
    box-shadow: 0 6px 16px rgba(52,66,56,0.05);
  }

  .site-nav a::after {
    content: "›";
    opacity: 0.5;
    font-size: 1.05rem;
  }

  .site-nav .nav-cta {
    justify-content: center;
    text-align: center;
    min-height: 56px;
  }

  .site-nav .nav-cta::after {
    display: none;
  }
}

/* App-like page shell */
.subpage-shell-app {
  position: relative;
}
.subpage-shell-app::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 300px;
  background:
    radial-gradient(circle at 20% 20%, rgba(243,198,204,0.32), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(214,229,215,0.42), transparent 26%);
  pointer-events: none;
}

.preventivo-layout-app {
  position: relative;
  z-index: 1;
}

.preventivo-copy,
.preventivo-form-card,
.catering-hero-copy,
.catering-hero-visual,
.catering-option-card,
.quote-banner,
.editorial-mini-card,
.reason-card,
.gastro-mini-card,
.menu-cta-box,
.menu-sidebar,
.menu-preview-copy,
.menu-preview-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Form page refinement */
.preventivo-copy h1 {
  max-width: 9ch;
}
.preventivo-form-card {
  border-radius: 34px;
}
.preventivo-form {
  gap: 1.2rem;
}
.form-grid {
  gap: 1.1rem;
}
.form-field input,
.form-field textarea {
  min-height: 56px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.64);
}
.form-field textarea {
  min-height: 152px;
  resize: vertical;
}
.form-field span {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.form-submit-row {
  margin-top: 0.2rem;
}
.btn-submit {
  min-height: 60px;
  border-radius: 22px;
  gap: 0.7rem;
}

/* Gastronomia category app rail */
.menu-mobile-tabs {
  position: relative;
}
.menu-mobile-tabs::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: calc(100% - 0.4rem);
  background: linear-gradient(90deg, rgba(250,245,244,0), rgba(250,245,244,0.98));
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.menu-mobile-tabs.is-scrollable::after {
  opacity: 1;
}
.menu-mobile-tabs.is-scrolled::before {
  opacity: 1;
}
.menu-mobile-tabs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: calc(100% - 0.4rem);
  background: linear-gradient(90deg, rgba(250,245,244,0.98), rgba(250,245,244,0));
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 1;
}
.menu-mobile-pill {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding-inline: 1rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 16px rgba(52,66,56,0.05);
}

/* Stronger mobile-first visual rhythm */
@media (max-width: 980px) {
  .section {
    padding-block: 72px;
  }

  .hero,
  .menu-hero,
  .catering-hero,
  .preventivo-layout {
    gap: 1rem;
  }

  .menu-hero-copy,
  .catering-hero-copy,
  .preventivo-copy {
    padding: 1.35rem;
    border-radius: 30px;
  }

  .menu-hero-visual,
  .catering-hero-visual {
    min-height: 380px;
    border-radius: 30px;
  }

  .gastro-feature-grid {
    gap: 0.85rem;
  }

  .gastro-feature-card {
    min-height: 280px;
    border-radius: 28px;
    padding: 1rem;
  }

  .gastro-feature-copy {
    padding: 0.9rem;
    border-radius: 20px;
  }

  .gastro-feature-copy h3 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .gastro-mini-card,
  .reason-card,
  .editorial-mini-card,
  .catering-option-card {
    border-radius: 24px;
  }

  .reasons-grid,
  .catering-options-grid {
    gap: 0.85rem;
  }

  .menu-layout {
    gap: 0.9rem;
  }

  .menu-content {
    gap: 1rem;
  }

  .menu-panel-head h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    max-width: none;
  }

  .menu-panel-head p {
    font-size: 0.98rem;
  }

  .menu-slider-window {
    border-radius: 24px;
    padding-bottom: 0.25rem;
  }

  .menu-slide-card {
    min-width: 86%;
    min-height: 290px;
    border-radius: 26px;
    padding: 1rem;
  }

  .menu-slide-body {
    padding: 0.9rem;
    border-radius: 20px;
  }

  .menu-slide-body h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .quote-banner {
    padding: 1.45rem;
    border-radius: 28px;
  }

  .hero-actions,
  .menu-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-actions .btn,
  .menu-hero-actions .btn,
  .gastro-home-cta .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }
}

/* Small phones: true app feel */
@media (max-width: 640px) {
  .page-shell {
    background:
      radial-gradient(circle at 20% 0%, rgba(243,198,204,0.16), transparent 26%),
      linear-gradient(180deg, #fffdfc 0%, #fbf5f4 48%, #f7f3ef 100%);
  }

  .section {
    padding-block: 64px;
  }

  .header-inner {
    padding-block: 0.7rem;
  }

  .brand-logo {
    max-height: 34px;
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .preventivo-copy h1,
  .catering-hero-copy h1,
  .menu-hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    line-height: 0.95;
  }

  .preventivo-points div {
    border-radius: 18px;
    padding: 0.9rem;
  }

  .preventivo-form-card {
    padding: 1rem;
    border-radius: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .form-field-full {
    grid-column: auto;
  }

  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }

  .menu-mobile-scroll {
    padding-inline: 0.15rem;
  }

  .menu-slide-card {
    min-width: 92%;
    min-height: 270px;
  }

  .gastro-feature-card {
    min-height: 250px;
  }

  .gastro-badge,
  .service-badge,
  .menu-item-tag {
    font-size: 0.74rem;
  }

  .footer-grid-ordered {
    gap: 1rem;
  }

  .footer-column {
    padding: 0.2rem 0;
  }
}

/* Better tablet spacing */
@media (min-width: 981px) and (max-width: 1240px) {
  .preventivo-layout,
  .catering-hero,
  .menu-hero {
    gap: 1.1rem;
  }

  .menu-slide-card {
    min-height: 320px;
  }
}


/* =========================================================
   LEVEL 10 PASS
   - bottom navigation mobile
   - floating CTA
   - step form preventivo
   - better mobile app feeling
   - form select styling
   - desktop polish
========================================================= */

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.35rem;
}
.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(79,95,82,0.08);
  box-shadow: var(--shadow-soft);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.bottom-nav,
.floating-cta {
  display: none;
}

.step-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.step-choice {
  text-align: left;
  padding: 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(79,95,82,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,239,241,0.82));
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.step-choice:hover,
.step-choice.is-selected {
  transform: translateY(-2px);
  border-color: rgba(79,95,82,0.22);
  box-shadow: 0 16px 30px rgba(52,66,56,0.09);
}
.step-choice strong {
  display: block;
  color: var(--primary);
  margin-bottom: .35rem;
  font-size: 1rem;
}
.step-choice span {
  color: var(--muted);
  line-height: 1.6;
}

.form-progress {
  display: grid;
  gap: 0.6rem;
}
.form-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(79,95,82,0.08);
  overflow: hidden;
}
.form-progress-bar span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(79,95,82,1), rgba(95,114,98,0.95));
  transition: width .28s ease;
}
.form-progress-label {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.form-step {
  display: none;
}
.form-step.is-active {
  display: block;
  animation: panelIn .35s ease;
}
.form-navigation {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.step-submit-btn {
  display: none;
  grid-column: 1 / -1;
}
.summary-card {
  padding: 1.15rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(79,95,82,0.08);
  box-shadow: var(--shadow-soft);
}
.summary-card h3 {
  margin: 0.35rem 0 0.5rem;
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.form-field select {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(79,95,82,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  border-radius: 20px;
  padding: 1rem 1rem;
  font: inherit;
  color: var(--text);
  outline: none;
  appearance: none;
}

@media (max-width: 980px) {
  body {
    padding-bottom: 92px;
  }

  .bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    padding: 0.5rem;
    border-radius: 24px;
    background: rgba(255,250,249,0.94);
    border: 1px solid rgba(79,95,82,0.08);
    box-shadow: 0 18px 40px rgba(52,66,56,0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .bottom-nav-link {
    min-height: 60px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 0.1rem;
    border-radius: 18px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255,255,255,0.72);
  }

  .bottom-nav-link.is-active {
    color: var(--primary);
    background: rgba(243,198,204,0.18);
  }

  .bottom-nav-icon {
    font-size: 1.05rem;
    line-height: 1;
  }

  .bottom-nav-cta {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(79,95,82,1), rgba(95,114,98,0.94));
    box-shadow: 0 10px 22px rgba(52,66,56,0.18);
  }

  .bottom-nav-cta.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(79,95,82,1), rgba(95,114,98,0.94));
  }

  .floating-cta {
    position: fixed;
    right: 16px;
    bottom: 88px;
    z-index: 59;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(79,95,82,1), rgba(95,114,98,0.94));
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(52,66,56,0.18);
  }

  .step-card-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .form-navigation {
    grid-template-columns: 1fr;
  }

  .step-nav-btn,
  .step-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-proof-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .hero-proof-row {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 0.42rem;
    border-radius: 22px;
  }

  .bottom-nav-link {
    min-height: 56px;
    font-size: 0.72rem;
  }

  .floating-cta {
    right: 12px;
    bottom: 84px;
    min-height: 46px;
    padding: 0.72rem 0.92rem;
    font-size: 0.9rem;
  }
}
