﻿/* ═══════════════════════════════════════════
   YOGORINO SANTA TERESA DI RIVA
   ═══════════════════════════════════════════ */

/* ─── SELF-HOSTED FONTS (GDPR: niente richieste a Google) ─── */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/newsreader-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/newsreader-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/instrumentsans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/instrumentsans-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── FONT FALLBACK METRICS (anti-CLS) ─── */

@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial");
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: "Newsreader Fallback";
  src: local("Georgia");
  ascent-override: 96%;
  descent-override: 26%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

:root {
  /* Palette "Panna & Cacao": crema dominante, cacao strutturale, amarena come accento netto */
  --panna: #f6eddf;
  --panna-deep: #ecdfca;
  --paper: #fdf9f3;
  --cocoa-900: #17100a;
  --cocoa-800: #251710;
  --cocoa-700: #3b2617;
  --cocoa-600: #52351f;
  --cocoa-500: #6d4726;
  --cocoa-400: #8b5e3c;
  --caramel: #c08a4e;
  --caramel-light: #e0be93;
  --amarena: #a3243a;
  --amarena-deep: #7c1728;

  --bg: var(--panna);
  --surface: var(--paper);
  --ink: var(--cocoa-900);
  --ink-soft: var(--cocoa-700);
  --ink-muted: #7a6350;
  --brand: var(--cocoa-800);
  --accent: var(--cocoa-500);
  --accent-soft: var(--caramel-light);
  --accent-dark: var(--cocoa-700);
  --hot: var(--amarena);
  --hot-deep: var(--amarena-deep);
  --line: rgba(59, 38, 23, 0.15);
  --line-strong: rgba(59, 38, 23, 0.28);
  --shadow: 0 24px 60px rgba(37, 23, 16, 0.13);
  --shadow-soft: 0 10px 28px rgba(37, 23, 16, 0.08);
  --shadow-hard: 4px 4px 0 var(--cocoa-800);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1120px;
  --section-py: clamp(64px, 8vw, 120px);
  --transition: cubic-bezier(0.25, 1, 0.33, 1);
  --ease-out-back: cubic-bezier(0.34, 1.4, 0.64, 1);

  --font-display: 'Newsreader', 'Newsreader Fallback', Georgia, serif;
  --font-text: 'Instrument Sans', 'Instrument Fallback', 'Segoe UI', sans-serif;

  /* Newsreader ha solo l'asse ottico: al display lo tengo su misure grandi */
  --display-variation: "opsz" 40;
}

/* ─── RESET ─── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: var(--font-text);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink);
  background-color: var(--panna);
  overflow-x: hidden;
}

/* Atmosfera: aloni caldi + trama a puntini di cacao su carta panna */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 8% -8%, rgba(192, 138, 78, 0.20), transparent 62%),
    radial-gradient(48rem 36rem at 104% 12%, rgba(163, 36, 58, 0.10), transparent 60%),
    radial-gradient(52rem 40rem at 50% 108%, rgba(59, 38, 23, 0.14), transparent 64%),
    linear-gradient(178deg, var(--paper) 0%, var(--panna) 46%, var(--panna-deep) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(59, 38, 23, 0.16) 0.6px, transparent 0.6px);
  background-size: 13px 13px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}

h1, h2, h3, h4, .logo {
  font-family: var(--font-display);
  font-variation-settings: var(--display-variation);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

/* ─── FOCUS VISIBILE (accessibilità tastiera) ─── */

:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.nav-cta:focus-visible,
.social-card:focus-visible,
.category-card:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

/* Niente outline per chi usa il mouse, mantenuto per la tastiera */
:focus:not(:focus-visible) {
  outline: none;
}

/* ─── CONTAINER ─── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
}

/* ─── PAGINE LEGALI ─── */

.legal-content {
  margin-top: 8px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 8px;
  color: var(--brand);
}

.legal-content p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

/* ─── HEADER ─── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.45s var(--transition), box-shadow 0.45s var(--transition);
}

.site-header.is-scrolled {
  background-color: rgba(247, 242, 236, 0.96);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  transition: padding 0.35s var(--transition);
}

.site-header.is-scrolled .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  color: var(--brand);
  letter-spacing: -0.035em;
  transition: color 0.3s;
}

.logo span {
  font-family: var(--font-text);
  font-variation-settings: normal;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hot);
  margin-left: 8px;
  vertical-align: 0.42em;
}

/* Solo nelle pagine con hero a tutto schermo l'header parte trasparente sopra la foto:
   finché non si scrolla, il testo va in chiaro per restare leggibile. */
body:has(.hero) .site-header:not(.is-scrolled) .logo {
  color: var(--paper);
}

body:has(.hero) .site-header:not(.is-scrolled) .logo span {
  color: var(--caramel-light);
}

body:has(.hero) .site-header:not(.is-scrolled) .nav-link {
  color: rgba(246, 237, 223, 0.92);
}

body:has(.hero) .site-header:not(.is-scrolled) .nav-link:hover,
body:has(.hero) .site-header:not(.is-scrolled) .nav-link.is-active {
  color: var(--caramel-light);
}

body:has(.hero) .site-header:not(.is-scrolled) .nav-link::after {
  background: var(--caramel-light);
}

body:has(.hero) .site-header:not(.is-scrolled) .lang-switch {
  border-color: rgba(246, 237, 223, 0.45);
}

body:has(.hero) .site-header:not(.is-scrolled) .lang-opt {
  color: rgba(246, 237, 223, 0.75);
}

body:has(.hero) .site-header:not(.is-scrolled) .lang-opt.is-active {
  background: rgba(246, 237, 223, 0.94);
  color: var(--cocoa-900);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--hot);
  border-radius: 1px;
  transition: width 0.35s var(--transition);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--hot);
}

.nav-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--panna);
  background: var(--hot);
  border: 0;
  box-shadow: 0 6px 18px rgba(163, 36, 58, 0.30);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover,
.nav-cta.is-active {
  background: var(--hot-deep);
  transform: translateY(-1px);
  color: var(--panna);
}

.nav-cta-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ─── LANGUAGE SWITCH ─── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50px;
  padding: 3px;
}

.lang-opt {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  padding: 5px 10px;
  border-radius: 50px;
  line-height: 1;
  transition: background 0.3s, color 0.3s;
}

.lang-opt.is-active {
  background: var(--accent-dark);
  color: #fff;
}

.lang-opt:hover:not(.is-active) {
  color: var(--accent-dark);
}

/* ─── HERO (full-width, Salient-style) ─── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.1, 0.2, 0.7, 1);
}

.hero:hover .hero-bg img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 50% 42%, rgba(23, 16, 10, 0.18) 0%, rgba(23, 16, 10, 0.62) 100%),
    linear-gradient(178deg, rgba(37, 23, 16, 0.52) 0%, rgba(23, 16, 10, 0.72) 100%);
}

/* Bordo inferiore a festone, come la carta di una coppetta */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 26px;
  z-index: 3;
  background: var(--cocoa-800);
  mask-image: radial-gradient(22px 26px at 22px 26px, transparent 0 21px, #000 22px);
  mask-size: 44px 26px;
  mask-repeat: repeat-x;
  mask-position: bottom;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 24px 80px;
  color: #fff;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--caramel-light);
  margin: 0 0 22px;
}

.hero-title {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-variation-settings: "opsz" 72;
  font-weight: 600;
  line-height: 1.02;
  margin: 0 0 24px;
  letter-spacing: -0.028em;
  color: var(--paper);
  text-wrap: balance;
}

.hero-title em {
  font-style: normal;
  color: var(--caramel-light);
}

.hero-copy {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 32px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-hint span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ─── MENU HERO BANNER ─── */

.menu-hero-banner {
  padding: 150px 0 64px;
  background:
    radial-gradient(38rem 26rem at 88% -10%, rgba(163, 36, 58, 0.14), transparent 62%),
    linear-gradient(168deg, var(--paper) 0%, var(--panna) 62%, transparent 100%);
}

.menu-hero-banner .hero-title {
  color: var(--ink);
}

.menu-hero-banner .hero-title em {
  color: var(--hot);
}

.menu-hero-banner .hero-copy {
  color: var(--ink-soft);
}

.menu-hero-banner .btn-ghost {
  background: rgba(59, 38, 23, 0.06);
  border: 2px solid var(--cocoa-700);
  color: var(--cocoa-700);
}

.menu-hero-banner .btn-ghost:hover {
  background: rgba(59, 38, 23, 0.12);
  color: var(--cocoa-900);
}

.menu-hero-content {
  max-width: 640px;
}

/* ─── BUTTONS ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition), background 0.35s, color 0.35s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--cocoa-700);
  color: var(--panna);
  border: 1.5px solid var(--cocoa-900);
  box-shadow: 4px 4px 0 var(--cocoa-900);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -150%;
  width: 50%;
  height: 160%;
  background: linear-gradient(100deg, transparent 0%, rgba(246, 237, 223, 0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s var(--transition);
}

.btn-primary:hover {
  background: var(--hot);
  border-color: var(--hot-deep);
  box-shadow: 6px 6px 0 var(--hot-deep);
  color: var(--panna);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--hot-deep);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: rgba(59, 38, 23, 0.08);
  box-shadow: 0 6px 18px rgba(59, 38, 23, 0.16);
  color: var(--accent);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-whatsapp {
  background: linear-gradient(140deg, #2ba968, #1f9157);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 20px rgba(43, 169, 104, 0.28);
}

.btn-whatsapp:hover {
  background: linear-gradient(140deg, #238e5c, #1a7a4b);
  color: #fff;
}

/* ─── SECTIONS ─── */

.section {
  padding: var(--section-py) 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(236, 223, 202, 0.75), rgba(236, 223, 202, 0.35));
}

/* Blocco scuro: il momento di massimo contrasto della pagina */
.section--teal {
  position: relative;
  background: var(--cocoa-800);
  color: var(--panna);
  overflow: hidden;
}

.section--teal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40rem 26rem at 12% 0%, rgba(192, 138, 78, 0.22), transparent 62%),
    radial-gradient(34rem 24rem at 92% 100%, rgba(163, 36, 58, 0.24), transparent 62%);
}

.section--teal > .container {
  position: relative;
  z-index: 1;
}

.section--teal .section-header h2,
.section--teal .split-text h2 {
  color: var(--paper);
}

.section--teal .section-eyebrow {
  color: var(--caramel);
}

.section--teal .section-header p,
.section--teal .feature-list li {
  color: rgba(246, 237, 223, 0.82);
}

.section--teal .btn-primary {
  background: var(--panna);
  color: var(--cocoa-900);
  border-color: var(--panna);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.section--teal .btn-primary:hover {
  background: var(--hot);
  border-color: var(--hot);
  color: var(--panna);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--hot);
  margin: 0 0 14px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
}

.split-text .section-eyebrow::before,
.split-text .section-eyebrow::after,
.menu-hero-content .section-eyebrow::before,
.menu-hero-content .section-eyebrow::after {
  display: none;
}

.section-header h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  font-variation-settings: "opsz" 60;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ─── HOURS BAR ─── */

.hours-bar {
  padding: 26px 0;
  background: var(--cocoa-800);
  border-bottom: 0;
  position: relative;
}

.hours-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: repeating-linear-gradient(135deg, rgba(224, 190, 147, 0.10) 0 1px, transparent 1px 9px);
}

.hours-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 0;
  text-align: center;
}

.hour-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 clamp(16px, 3vw, 34px);
  border-right: 1px solid rgba(224, 190, 147, 0.22);
}

.hour-item:last-child {
  border-right: 0;
}

.hour-item strong {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--caramel);
}

.hour-item span {
  font-family: var(--font-display);
  font-variation-settings: var(--display-variation);
  font-size: 1.15rem;
  color: var(--panna);
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

/* ─── CATEGORY GRID ─── */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1.5px solid var(--cocoa-800);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-back), box-shadow 0.4s var(--transition);
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hot), var(--caramel));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--transition);
}

.category-card:hover {
  transform: translate(-3px, -5px);
  box-shadow: 7px 9px 0 var(--cocoa-800);
}

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

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px 18px 18px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.7rem;
  line-height: 1;
  background: var(--accent-soft);
  box-shadow: inset 0 -3px 0 rgba(59, 38, 23, 0.16);
  transition: transform 0.45s var(--ease-out-back);
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(-6deg);
}

.category-title {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: var(--ink);
}

.category-text {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.92rem;
}

.category-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s, color 0.3s;
}

.category-card:hover .category-link {
  gap: 10px;
  color: var(--accent-dark);
}

/* ─── SPLIT LAYOUT ─── */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-layout--reverse {
  direction: rtl;
}

.split-layout--reverse > * {
  direction: ltr;
}

.split-text .section-eyebrow {
  text-align: left;
}

.split-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 18px;
}

.split-text p {
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.7;
}

.feature-list {
  padding-left: 0;
  list-style: none;
  margin: 0 0 28px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot);
}

.section--teal .feature-list li::before {
  background: var(--caramel);
}

.section--teal .feature-list {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: left;
}

/* ─── SOCIAL ─── */

.contact-actions {
  text-align: center;
  margin-bottom: 32px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.social-card {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition), border-color 0.4s;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.social-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.social-card strong {
  font-size: 1rem;
  font-weight: 700;
}

.social-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  background: var(--accent);
  transition: background 0.4s var(--transition);
}

.social-card:hover .social-icon {
  background: var(--accent-dark);
}

.social-icon-instagram {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.social-icon-facebook {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-inline {
  color: var(--ink-soft);
}

.contact-inline a {
  color: var(--accent);
  font-weight: 800;
}

/* ─── PRICE TABLE ─── */

.menu-helper {
  margin-bottom: 14px !important;
  font-weight: 700;
}

.allergen-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

/* ─── AIC / SENZA GLUTINE BADGE ─── */

.aic-badge {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  margin: 32px auto 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 1.5px solid var(--cocoa-800);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
}

.section--teal .aic-badge {
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.aic-badge > a {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}

.aic-badge__logo {
  display: block;
  width: 132px;
  height: auto;
}

.aic-badge__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.aic-badge__text strong {
  color: var(--ink);
}

@media (max-width: 540px) {
  .aic-badge {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

/* Variante footer */
.footer-aic {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-aic img {
  width: 64px;
  height: auto;
}

.footer-aic span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #ddcab4;
}

/* ─── TASTE ICONS ─── */

.taste-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
}

.taste-icon-cioccolato { background: #5a3a2a; }
.taste-icon-frutta { background: #d96b3f; }
.taste-icon-croccante { background: #a0785a; }
.taste-icon-fresco { background: #7fae90; }

/* ─── FARCITURE / TOPPING PILLS ─── */

.topping-groups {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.topping-group h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-variation-settings: var(--display-variation);
  font-size: 1.7rem;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 14px;
}

.topping-group h3 .topping-group-desc {
  font-family: var(--font-text);
  font-variation-settings: normal;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.topping-group h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.topping-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topping-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(59, 38, 23, 0.05);
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  cursor: default;
  transition: background 0.3s, transform 0.3s;
}

.topping-pills li:hover {
  background: rgba(163, 36, 58, 0.10);
  border-color: rgba(163, 36, 58, 0.35);
  transform: translateY(-2px);
}

.topping-pills li small {
  font-weight: 600;
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.topping-pills li small::before {
  content: "·";
  margin-right: 6px;
  color: var(--line-strong);
}

/* ─── MAP ─── */

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Placeholder mappa "click-to-load" (no cookie finché non si clicca) */
.map-consent {
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 24px;
  text-align: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(59, 38, 23, 0.08), rgba(59, 38, 23, 0.16));
  color: var(--ink-soft);
  font-family: inherit;
  transition: background 0.3s var(--transition);
}

.map-consent:hover {
  background: linear-gradient(135deg, rgba(59, 38, 23, 0.14), rgba(163, 36, 58, 0.18));
}

.map-consent-icon {
  font-size: 2rem;
}

.map-consent-title {
  font-family: var(--font-display);
  font-variation-settings: var(--display-variation);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
}

.map-consent-text {
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 320px;
  color: var(--ink-muted);
}

/* ─── MENU NOTE ─── */

.menu-note {
  border: 1px dashed var(--line-strong);
  background: rgba(59, 38, 23, 0.04);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.menu-note p {
  margin: 0;
  color: var(--ink-soft);
}

.menu-note p + p {
  margin-top: 14px;
}

/* ─── FOOTER ─── */

.site-footer {
  position: relative;
  background: var(--cocoa-900);
  color: #ede0d0;
  padding: 56px 0 28px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(32rem 20rem at 6% 0%, rgba(192, 138, 78, 0.22), transparent 64%),
    radial-gradient(28rem 18rem at 96% 100%, rgba(163, 36, 58, 0.20), transparent 64%);
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: var(--display-variation);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-soft);
}

.footer-brand span {
  font-weight: 600;
  color: #c3a180;
  margin-left: 4px;
}

.footer-subtitle {
  margin: 6px 0 0;
  color: #a98a6c;
  font-size: 0.88rem;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c3a180;
}

.footer-col p {
  margin: 0;
  color: #ddcab4;
  line-height: 1.6;
  font-size: 0.92rem;
}

.footer-col p + p {
  margin-top: 4px;
}

.footer-col a,
.footer-link {
  color: var(--accent-soft);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover,
.footer-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-copy {
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #b59a7f;
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
}

.footer-copy a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy a:hover {
  color: #fff;
}

/* ─── WHATSAPP FAB ─── */

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 0;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition);
}

.whatsapp-fab::before {
  content: "";
  width: 30px;
  height: 30px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 018.413 3.488 11.824 11.824 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.978-1.043zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 018.413 3.488 11.824 11.824 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.978-1.043zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  color: #fff;
}

/* ─── REVEAL ANIMATION ─── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── INGRESSO IN PAGINA (orchestrato, CSS puro) ─── */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes settle-in {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slow-pan {
  from { transform: scale(1.14); }
  to   { transform: scale(1.02); }
}

@keyframes sheen {
  from { transform: translateX(-120%) skewX(-18deg); }
  to   { transform: translateX(320%) skewX(-18deg); }
}

/* La hero non passa dall'IntersectionObserver: entra da sola, a cascata. */
.hero .hero-content.reveal,
.menu-hero-banner .menu-hero-content.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero .hero-content > *,
.menu-hero-banner .menu-hero-content > * {
  opacity: 0;
  animation: rise-in 0.9s var(--transition) forwards;
}

.hero .hero-content > *:nth-child(1),
.menu-hero-banner .menu-hero-content > *:nth-child(1) { animation-delay: 0.15s; }
.hero .hero-content > *:nth-child(2),
.menu-hero-banner .menu-hero-content > *:nth-child(2) { animation-delay: 0.30s; }
.hero .hero-content > *:nth-child(3),
.menu-hero-banner .menu-hero-content > *:nth-child(3) { animation-delay: 0.45s; }
.hero .hero-content > *:nth-child(4),
.menu-hero-banner .menu-hero-content > *:nth-child(4) { animation-delay: 0.60s; }

.hero-bg img {
  animation: slow-pan 14s var(--transition) forwards;
}

.site-header {
  animation: settle-in 0.7s var(--transition) 0.05s both;
}

.hero-scroll-hint {
  opacity: 0;
  animation: rise-in 0.8s var(--transition) 1.1s forwards;
}

/* Le card della griglia entrano sfalsate una dopo l'altra */
.category-grid.is-visible .category-card {
  opacity: 0;
  animation: rise-in 0.7s var(--ease-out-back) forwards;
}

.category-grid.is-visible .category-card:nth-child(1) { animation-delay: 0.05s; }
.category-grid.is-visible .category-card:nth-child(2) { animation-delay: 0.15s; }
.category-grid.is-visible .category-card:nth-child(3) { animation-delay: 0.25s; }
.category-grid.is-visible .category-card:nth-child(4) { animation-delay: 0.35s; }

.hours-bar.is-visible .hour-item {
  opacity: 0;
  animation: rise-in 0.6s var(--transition) forwards;
}

.hours-bar.is-visible .hour-item:nth-child(1) { animation-delay: 0.05s; }
.hours-bar.is-visible .hour-item:nth-child(2) { animation-delay: 0.12s; }
.hours-bar.is-visible .hour-item:nth-child(3) { animation-delay: 0.19s; }
.hours-bar.is-visible .hour-item:nth-child(4) { animation-delay: 0.26s; }
.hours-bar.is-visible .hour-item:nth-child(5) { animation-delay: 0.33s; }

/* Le voci di menu scorrono in sequenza quando la lista entra in vista */
.menu-list.is-visible .menu-list-item {
  opacity: 0;
  animation: rise-in 0.5s var(--transition) forwards;
}

.menu-list.is-visible .menu-list-item:nth-child(1) { animation-delay: 0.02s; }
.menu-list.is-visible .menu-list-item:nth-child(2) { animation-delay: 0.07s; }
.menu-list.is-visible .menu-list-item:nth-child(3) { animation-delay: 0.12s; }
.menu-list.is-visible .menu-list-item:nth-child(4) { animation-delay: 0.17s; }
.menu-list.is-visible .menu-list-item:nth-child(5) { animation-delay: 0.22s; }
.menu-list.is-visible .menu-list-item:nth-child(6) { animation-delay: 0.27s; }
.menu-list.is-visible .menu-list-item:nth-child(n + 7) { animation-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-content > *,
  .menu-hero-banner .menu-hero-content > *,
  .hero-bg img,
  .site-header,
  .hero-scroll-hint,
  .category-grid.is-visible .category-card,
  .hours-bar.is-visible .hour-item,
  .menu-list.is-visible .menu-list-item {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal {
    transition: none;
  }
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1023px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-layout--reverse {
    direction: ltr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --section-py: 48px;
  }

  .header-inner {
    position: relative;
    gap: 12px;
  }

  .logo {
    font-size: 1.55rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta-group {
    display: flex;
    gap: 8px;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 0.78rem;
  }

  .lang-opt {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-hero-banner {
    padding: 110px 0 40px;
  }
}

/* ─── MENU TABS ─── */

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.menu-tab {
  padding: 12px 32px;
  border: 2px solid var(--line-strong);
  border-radius: 50px;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.menu-tab:hover {
  border-color: var(--accent-soft);
  color: var(--accent);
}

.menu-tab.is-active {
  background: var(--cocoa-800);
  border-color: var(--cocoa-900);
  color: var(--panna);
  box-shadow: 3px 3px 0 var(--cocoa-900);
}

.menu-subtabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.menu-subtab {
  padding: 8px 20px;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.menu-subtab:hover {
  border-color: var(--accent-soft);
  color: var(--accent);
}

.menu-subtab.is-active {
  background: rgba(163, 36, 58, 0.10);
  border-color: var(--hot);
  color: var(--hot);
}

.menu-tab-panel {
  display: none;
}

.menu-tab-panel.is-active {
  display: block;
}

.menu-subtab-panel {
  display: none;
  animation: fadeInTab 0.35s ease;
}

.menu-subtab-panel.is-active {
  display: block;
}

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

/* ─── MENU PRICE LIST (stile listino) ─── */

.menu-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-list-group {
  max-width: 760px;
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-list-group:first-of-type {
  margin-top: 0;
}

.menu-list-group::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.menu-list-group h3 {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: var(--display-variation);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.menu-list-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 4px 16px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.3s var(--transition);
}

.menu-list-item:hover {
  background: rgba(163, 36, 58, 0.055);
}

.menu-list-item:hover .menu-list-num {
  transform: rotate(-8deg) scale(1.08);
}

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

.menu-list-num {
  grid-column: 1;
  grid-row: 1;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hot);
  color: var(--panna);
  font-weight: 600;
  font-size: 0.88rem;
  font-variant-numeric: lining-nums tabular-nums;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.35s var(--ease-out-back);
}

.menu-list-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.menu-list-name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 20;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
}

.menu-list-ingredients {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(92vw, 720px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__img {
    transition: none;
  }
}

.menu-list-prices {
  grid-column: 3;
  grid-row: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}

.menu-list-price {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-soft);
  font-variant-numeric: lining-nums tabular-nums;
}

.menu-list-price small {
  display: block;
  font-family: var(--font-text);
  font-variation-settings: normal;
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

@media (max-width: 540px) {
  .menu-list-item {
    grid-template-columns: auto 1fr;
    gap: 10px 12px;
    padding: 16px 4px;
  }

  .menu-list-num {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  .menu-list-name {
    font-size: 1.1rem;
  }

  .menu-list-prices {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 18px;
    padding-left: 42px;
    text-align: left;
    white-space: normal;
  }

  .menu-list-price small {
    display: inline;
  }
}

.menu-tab-nav {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: rgba(246, 237, 223, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 0 8px;
}

@media (max-width: 640px) {
  .menu-tabs {
    gap: 6px;
  }

  .menu-tab {
    padding: 10px 24px;
    font-size: 0.82rem;
  }

  .menu-subtab {
    padding: 7px 14px;
    font-size: 0.75rem;
  }

  .menu-tab-nav {
    top: 56px;
    padding: 16px 0 6px;
  }
}

