:root {
  --night: #141414;
  --surface: #1e1f1c;
  --wine: #6a1c29;
  --wine-dark: #561520;
  --ivory: #f1e9dd;
  --muted: #a89d90;
  --sand: #c9b097;
  --line: rgba(241, 233, 221, 0.16);
  --error: #f0a091;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --gutter: 24px;
  --max-width: 1080px;
  --header-height: 72px;
  --bar-height: 0px;
  --space-section: clamp(72px, 11vw, 136px);
  --duration-fast: 150ms;
  --duration-drawer: 300ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em { color: var(--sand); }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--sand); }

:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }

.container { width: min(100% - 2 * var(--gutter), var(--max-width)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ivory); color: var(--night); padding: 10px 16px;
}
.skip-link:focus { top: 10px; }

.eyebrow {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ivory); margin-bottom: 1.6em;
}

/* ---------- Pulsanti ---------- */
.button {
  display: inline-block; cursor: pointer; border: 1px solid var(--wine);
  background: var(--wine); color: var(--ivory);
  font: 500 0.98rem var(--font-body); text-decoration: none; letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: 0;
  transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast);
}
.button:hover { background: var(--wine-dark); border-color: var(--sand); }
.button-small { padding: 10px 22px; font-size: 0.92rem; }
.button-ghost { background: transparent; border-color: var(--line); }
.button-ghost:hover { background: transparent; border-color: var(--sand); color: var(--sand); }

/* ---------- Intestazione ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 20, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-height); gap: 16px;
}
.brand { color: var(--ivory); text-decoration: none; display: flex; align-items: center; gap: 14px; line-height: 1.15; }
.brand-logo { display: block; width: 56px; height: 56px; flex-shrink: 0; }
.brand-tag { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.button) {
  color: var(--ivory); text-decoration: none; font-size: 0.95rem;
  transition: color var(--duration-fast);
}
.site-nav a:not(.button):hover { color: var(--sand); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--line);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 1px; background: var(--ivory); margin-inline: auto; content: ''; position: relative;
}
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }

.nav-close, .nav-backdrop { display: none; }

/* ---------- Apertura ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center; background: var(--night);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
}
/* Velo scuro: la foto resta riconoscibile ma il testo sopra rimane leggibile */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.3) 0%, rgba(20, 20, 20, 0.55) 40%, rgba(20, 20, 20, 0.95) 100%),
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(106, 28, 41, 0.35), transparent 72%);
}
.hero h1, .hero .eyebrow, .hero .hero-text { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7); }
.hero-inner {
  min-height: calc(100svh - var(--header-height) - var(--bar-height));
  display: flex; flex-direction: column;
}
.hero-main {
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding-block: clamp(40px, 8vw, 96px);
}
/* Logo sopra il titolo, senza il quadrato nero: il nero del file sparisce (screen)
   e restano solo le linee bianche del toro e dello scudo, ben visibili sulla foto */
.hero-logo {
  display: block; width: clamp(190px, 24vw, 280px); height: auto; aspect-ratio: 1;
  margin-bottom: 24px; opacity: 0.4; /* filigrana: si intravede sulla foto (logo con sfondo trasparente) */
}
.hero .eyebrow { color: var(--sand); display: flex; align-items: center; gap: 14px; }
.hero .eyebrow::before, .hero .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.hero h1 { max-width: 16ch; margin-bottom: 0.45em; font-size: clamp(1.9rem, 4.2vw, 3.3rem); }
.hero .hero-text { font-size: 1.1rem; max-width: 34ch; margin: 0; color: var(--ivory); opacity: 0.8; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2em; }

.hero-facts {
  list-style: none; margin: 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line);
}
.hero-facts li { padding: 22px 12px; display: flex; flex-direction: column; gap: 4px; }
.hero-facts li + li { border-left: 1px solid var(--line); }
.fact-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); }

/* ---------- Barra rapida (solo telefono) ---------- */
.quick-bar { display: none; }

/* ---------- Specialità ---------- */
.specialita { border-block: 1px solid var(--line); }
.specialita-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.card { padding: 44px 32px 40px 0; }
.card + .card { padding-left: 32px; border-left: 1px solid var(--line); }
.card h2 { font-size: 1.7rem; margin-bottom: 0.4em; }
.card p { margin: 0; font-size: 0.98rem; }
/* Foto vera al posto delle icone: si vede subito cosa si mangia */
.card-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 22px;
  filter: saturate(1.05); transition: transform 600ms var(--ease-out), filter 600ms var(--ease-out);
}
.card { overflow: hidden; }
.card:hover .card-photo { transform: scale(1.03); filter: saturate(1.15); }

/* ---------- Sezioni ---------- */
.section { padding-block: var(--space-section); }
.section-paper { background: var(--surface); }
.section-dark {
  background: var(--wine); position: relative; overflow: hidden;
}
.section-dark::after {
  content: 'A'; position: absolute; right: -0.08em; bottom: -0.32em; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(16rem, 42vw, 34rem); line-height: 1;
  color: rgba(241, 233, 221, 0.06);
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark p { color: rgba(241, 233, 221, 0.78); }
.section-dark h2 em { color: #e3c3b4; }
.section-dark a { color: var(--ivory); }

.story { max-width: 760px; }
.story-text { margin-top: 8px; }
.story-text p { font-size: 1.05rem; line-height: 1.8; }
.story-text .story-lead { font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.5rem); line-height: 1.5; color: var(--ivory); }

.two-columns { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 7vw, 88px); align-items: center; }

.placeholder-note, .placeholder-inline {
  color: var(--sand); border: 1px dashed var(--sand); font-size: 0.85rem; font-style: normal;
}
.placeholder-note { display: inline-block; padding: 6px 14px; }
.placeholder-inline { padding: 1px 8px; }

/* ---------- Riquadri foto ---------- */
.photo-slot {
  margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  display: flex; align-items: flex-end;
  background:
    repeating-linear-gradient(135deg, rgba(241, 233, 221, 0.035) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #3a1a1f, #1b1513);
  border: 1px solid var(--line);
}
.photo-slot:nth-child(even) {
  background:
    repeating-linear-gradient(135deg, rgba(241, 233, 221, 0.035) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #2c2a25, #171715);
}
.photo-slot { position: relative; }
.photo-slot-tall { aspect-ratio: 1; }
.photo-slot figcaption {
  position: relative; z-index: 1;
  width: 100%; padding: 28px 18px 14px; color: var(--ivory);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}
.photo-slot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.photo-slot:hover img { transform: scale(1.04); }
.gallery-note { margin: 16px 0 0; font-size: 0.82rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }

/* ---------- Menu ---------- */
.menu-nav {
  display: flex; flex-wrap: wrap; gap: 4px; margin-top: 40px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.menu-nav a {
  text-decoration: none; font-size: 0.95rem; color: var(--muted); padding: 12px 22px;
  transition: background-color var(--duration-fast), color var(--duration-fast);
}
.menu-nav a:hover { color: var(--ivory); }
.menu-nav a.is-active { background: var(--wine); color: var(--ivory); }

.menu-group[hidden] { display: none; }
.menu-group { margin-top: 64px; scroll-margin-top: calc(var(--header-height) + 16px); }
.menu-group h3 {
  font-style: italic; color: var(--sand); font-size: 2rem;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 0;
}
/* Copertina della categoria: foto con il titolo sopra */
.menu-cover { position: relative; aspect-ratio: 21 / 8; overflow: hidden; background: var(--surface); }
.menu-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.menu-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 35%, rgba(20, 20, 20, 0.92));
}
.menu-cover h3 {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0;
  padding: 0 24px 16px; border: 0; color: var(--ivory); font-size: clamp(2rem, 6vw, 2.8rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}
.menu-cover + * { margin-top: 8px; }
/* Cambio categoria: il contenuto entra con una piccola dissolvenza */
.menu-group:not([hidden]) { animation: menu-in 450ms var(--ease-out); }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-group:not([hidden]) { animation: none; }
}
.price-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.menu-list.menu-list-beer { columns: 1; }
.menu-list-beer li { align-items: center; }
.beer { display: flex; align-items: center; gap: 16px; min-width: 0; }
/* Riquadro fisso: loghi verticali (HB) e orizzontali (Flötzinger) occupano lo stesso spazio */
.beer-logo { flex-shrink: 0; width: 64px; height: 52px; object-fit: contain; }

.menu-sub { margin-top: 40px; }
.menu-sub + .menu-sub { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--wine); }
.menu-sub-title {
  font-family: var(--font-display); font-weight: 400; line-height: 1.2;
  font-size: clamp(1.5rem, 3.4vw, 1.9rem); margin: 0; color: var(--ivory);
}
.menu-sub-title em { color: var(--sand); }
.menu-sub-note {
  margin: 6px 0 0; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.menu-sub-group {
  margin: 32px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand);
}

.menu-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 64px; }
.menu-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line); break-inside: avoid;
}
.dish { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; }
.dish-note { display: block; margin-top: 6px; font-size: 0.93rem; line-height: 1.6; color: var(--muted); }
.price {
  white-space: nowrap; font-size: 0.95rem; color: var(--ivory);
  padding: 4px 12px; border: 1px solid rgba(201, 176, 151, 0.35); background: rgba(106, 28, 41, 0.35);
}
.menu-list li { transition: background-color var(--duration-fast); }
.menu-list li:hover .dish { color: var(--sand); }
.dish { transition: color var(--duration-fast); }
.menu-footnote { margin: 48px 0 0; font-size: 0.92rem; }

/* ---------- Prenotazioni ---------- */
.section-dark .two-columns { align-items: start; }
.phone-line { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1.1; margin: 0.5em 0 0.6em; }
.phone-line a {
  text-decoration: none; display: inline-block; padding-bottom: 14px;
  border-bottom: 1px solid rgba(241, 233, 221, 0.6);
  transition: border-color var(--duration-fast);
}
.phone-line a:hover { border-color: var(--ivory); }
.small-print { font-size: 0.9rem; }

.booking-form { background: var(--night); padding: clamp(22px, 4vw, 36px); }
.booking-form[hidden] { display: none; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 14px; }
label { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.optional { color: var(--muted); text-transform: none; letter-spacing: 0; }
input, textarea {
  width: 100%; font: inherit; color: var(--ivory); color-scheme: dark;
  background: transparent; border: 1px solid var(--line); border-radius: 0; padding: 12px 14px;
}
input:focus, textarea:focus { border-color: var(--sand); outline: none; }
input[aria-invalid='true'] { border-color: var(--error); }
textarea { resize: vertical; }
.field-error { margin: 4px 0 0; font-size: 0.88rem; color: var(--error); }
.field-error:empty, .form-status:empty { display: none; }
.form-status { margin: 14px 0 0; color: var(--ivory); }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 40px; }
.contact-block h3 {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.4em;
}
address { font-style: normal; font-size: 1.15rem; margin-bottom: 1em; }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; white-space: nowrap; padding-left: 16px; }
.hours .is-closed th, .hours .is-closed td { color: var(--sand); }
.contact-block .button { color: var(--ivory); margin-top: 6px; }

.map-frame {
  margin-top: 48px; aspect-ratio: 16 / 7; border: 1px solid var(--line); background: var(--night);
}
.map-frame iframe {
  display: block; width: 100%; height: 100%; border: 0;
  /* a colori: così il segnaposto rosso del ristorante si vede bene */
  filter: saturate(0.9) brightness(0.95);
}
@media (max-width: 860px) {
  .map-frame { aspect-ratio: 4 / 3; margin-top: 32px; }
}

/* ---------- Piè di pagina ---------- */
.site-footer { padding-block: 34px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: var(--ivory); font-weight: 500; }

/* ---------- Schermi piccoli ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  /* backdrop-filter renderebbe il pannello "fixed" relativo all'intestazione invece che allo schermo */
  .site-header { backdrop-filter: none; background: var(--night); }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { z-index: 90; }

  /* Pannello laterale che entra da destra */
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 340px);
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 28px calc(28px + env(safe-area-inset-bottom));
    background: var(--surface); border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--duration-drawer) var(--ease-out), visibility 0s linear var(--duration-drawer);
  }
  .site-nav.is-open {
    transform: none; visibility: visible;
    transition: transform var(--duration-drawer) var(--ease-out);
  }
  .site-nav a:not(.button) {
    padding: 16px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.45rem;
  }
  .site-nav .button { margin-top: 28px; text-align: center; padding: 15px; font-size: 1rem; }

  .nav-close {
    display: flex; align-items: center; justify-content: center; align-self: flex-end;
    width: 44px; height: 44px; margin: 0 -10px 12px 0; padding: 0; cursor: pointer;
    background: transparent; border: 0; color: var(--ivory);
  }
  .nav-close span, .nav-close span::before {
    display: block; width: 22px; height: 1px; background: currentColor; transform: rotate(45deg);
  }
  .nav-close span::before { content: ''; transform: rotate(90deg); }

  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 85;
    background: rgba(0, 0, 0, 0.62); opacity: 0; pointer-events: none;
    transition: opacity var(--duration-drawer) var(--ease-out);
  }
  .nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

  .specialita-grid, .two-columns, .contact-grid { grid-template-columns: 1fr; }
  .card, .card + .card { padding: 32px 0; border-left: 0; }
  .card + .card { border-top: 1px solid var(--line); }
  .menu-list { columns: 1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .photo-slot-tall { aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row .field:first-child { grid-column: 1 / -1; }
  .hero-actions .button { flex: 1 1 100%; text-align: center; }
  .menu-nav a { padding: 10px 14px; }
}

/* ---------- Ottimizzazione telefono ---------- */
@media (max-width: 860px) {
  :root { --header-height: 60px; --bar-height: 60px; --gutter: 20px; --space-section: 60px; }

  body {
    font-size: 1rem; line-height: 1.6;
    padding-bottom: calc(var(--bar-height) + env(safe-area-inset-bottom));
  }
  h1 { font-size: clamp(2rem, 9.4vw, 3.2rem); }
  h2 { font-size: clamp(1.65rem, 7.4vw, 2.6rem); }
  .eyebrow { letter-spacing: 0.2em; margin-bottom: 1.1em; }
  .brand { gap: 10px; }
  .brand-logo { width: 48px; height: 48px; }
  /* leggibile sul telefono: su due righe invece che minuscola su una */
  .brand-tag { font-size: 0.66rem; letter-spacing: 0.14em; line-height: 1.45; max-width: 16ch; }
  .hero-logo { width: clamp(170px, 52vw, 230px); margin-bottom: 18px; }
  .hero h1 { font-size: clamp(1.75rem, 7.6vw, 2.6rem); }
  .hero .eyebrow { line-height: 1.8; }
  .hero .eyebrow::before, .hero .eyebrow::after { display: none; }
  .nav-toggle { width: 44px; height: 44px; }

  .hero-main { padding-block: 36px; }
  .hero .hero-text { font-size: 1rem; }
  .hero-actions { width: 100%; margin-top: 1.6em; }
  .hero-actions .button { flex: 1 1 100%; text-align: center; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li {
    flex-direction: row; justify-content: space-between; align-items: baseline;
    padding: 11px 0; font-size: 0.95rem;
  }
  .hero-facts li + li { border-left: 0; border-top: 1px solid var(--line); }

  .quick-bar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--night); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .quick-bar a {
    display: flex; align-items: center; justify-content: center; min-height: var(--bar-height);
    color: var(--ivory); text-decoration: none;
    font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .quick-bar a + a { border-left: 1px solid var(--line); }
  .quick-bar .quick-bar-primary { background: var(--wine); }

  .card, .card + .card { padding: 26px 0; }
  .specialita .card:first-child { padding-top: 12px; } /* niente vuoto sotto il video della brace */
  .card h2 { font-size: 1.45rem; }
  .card-photo { margin-bottom: 16px; aspect-ratio: 16 / 9; }

  .menu-nav {
    position: sticky; top: var(--header-height); z-index: 10;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0;
    margin: 24px calc(-1 * var(--gutter)) 0; padding: 6px var(--gutter);
    background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .menu-nav::-webkit-scrollbar { display: none; }
  .menu-nav a { white-space: nowrap; padding: 12px 14px; font-size: 0.9rem; }
  .menu-group { margin-top: 40px; scroll-margin-top: calc(var(--header-height) + 64px); }
  .menu-group h3 { font-size: 1.6rem; padding-bottom: 10px; }
  .menu-list li { padding: 15px 0; gap: 14px; }
  .dish { font-size: 1.12rem; }
  .dish-note { font-size: 0.9rem; margin-top: 3px; }
  .price { font-size: 0.92rem; }
  .menu-footnote { margin-top: 32px; }

  .gallery { gap: 8px; margin-top: 24px; }
  .photo-slot figcaption { padding: 10px 12px; font-size: 0.62rem; letter-spacing: 0.14em; }

  .phone-line { font-size: clamp(2.1rem, 11vw, 3.4rem); white-space: nowrap; }
  .section-dark::after { font-size: 15rem; }

  /* Testi minimi leggibili al telefono (almeno 12 px) */
  .eyebrow, .contact-block h3 { font-size: 0.78rem; }
  .fact-label { font-size: 0.75rem; letter-spacing: 0.16em; }
  .photo-slot figcaption { font-size: 0.75rem; letter-spacing: 0.12em; padding: 24px 12px 10px; }
  .quick-bar a { font-size: 0.8rem; }
  .menu-group { margin-top: 28px; }

  /* Link di testo: area di tocco più alta senza cambiare l'aspetto */
  .contact-block a:not(.button), .site-footer a { display: inline-block; padding-block: 12px; margin-block: -12px; }

  .contact-grid { gap: 36px; margin-top: 28px; }
  .contact-block h3 { margin-bottom: 0.9em; }
  .hours th, .hours td { padding: 11px 0; font-size: 0.95rem; }
  .contact-block .button { display: block; text-align: center; padding: 14px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand-tag { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Cookie e mappa ---------- */
/* Riquadro al posto della mappa finché il visitatore non acconsente */
.map-consent {
  height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 18px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(106, 28, 41, 0.35), transparent 70%), var(--surface);
}
.map-consent p { margin: 0; max-width: 42ch; font-size: 0.95rem; }
.map-consent-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; }
.map-consent-actions a { color: var(--sand); }

.cookie-banner {
  position: fixed; z-index: 250; left: 16px; right: 16px; bottom: calc(var(--bar-height) + 16px);
  max-width: 640px; margin-inline: auto; padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  background: rgba(20, 20, 20, 0.97); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.cookie-banner[hidden] { display: none; }
.cookie-text { margin: 0; flex: 1 1 280px; font-size: 0.9rem; line-height: 1.55; }
.cookie-text a { color: var(--sand); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .button { white-space: nowrap; }

.footer-legal { margin-top: 6px; }
.link-button {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.link-button:hover, .footer-legal a:hover { color: var(--sand); }

/* Profili social (sezione contatti) */
.social-links { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.contact-block .social-links a {
  display: flex; align-items: center; gap: 14px; margin: 0; padding: 10px 14px;
  border: 1px solid var(--line); color: var(--ivory); text-decoration: none;
  transition: border-color var(--duration-fast), color var(--duration-fast);
}
.contact-block .social-links a:hover { border-color: var(--sand); color: var(--sand); }
.social-links svg { width: 22px; height: 22px; flex: none; color: var(--sand); }
.social-links span { display: flex; flex-direction: column; font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.social-links strong { font-weight: 500; font-size: 0.95rem; color: var(--ivory); }

/* Recensioni */
.review-stars { color: var(--sand); letter-spacing: 0.12em; font-size: 0.95rem; }
.star-off { opacity: 0.25; }
.star-half { background: linear-gradient(90deg, var(--sand) 30%, rgba(201, 176, 151, 0.25) 30%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-banner {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 8px 0 40px;
}
.rating-badge {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px;
  border: 1px solid var(--line); background: var(--night); color: var(--muted); text-decoration: none;
  transition: border-color var(--duration-fast);
}
.rating-badge:hover { border-color: var(--sand); }
.rating-score { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--ivory); }
.rating-detail { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.rating-detail strong { color: var(--ivory); font-weight: 500; }
.rating-badge-link .rating-detail span { color: var(--sand); }
.rating-cta { align-self: center; margin-left: auto; }
.review-carousel { position: relative; }
.review-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 82%); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: 0; padding-bottom: 14px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}
.review-grid::-webkit-scrollbar { height: 4px; }
.review-grid::-webkit-scrollbar-thumb { background: var(--line); }
.review-grid:focus-visible { outline-offset: 6px; }
.review-grid > .review-card { scroll-snap-align: start; }
.review-nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.review-hint { margin-right: auto; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.review-arrow {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ivory); font-size: 1.1rem;
  transition: border-color var(--duration-fast), color var(--duration-fast), opacity var(--duration-fast);
}
.review-arrow:hover:not(:disabled) { border-color: var(--sand); color: var(--sand); }
.review-arrow:disabled { opacity: 0.3; cursor: default; }
.review-card {
  margin: 0; padding: 26px 26px 22px; background: var(--night); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p {
  margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; color: var(--ivory);
}
.review-card figcaption { font-size: 0.85rem; color: var(--muted); }
.review-card figcaption a { color: var(--sand); }
@media (max-width: 860px) {
  .rating-badge { flex: 1 1 100%; }
  .rating-cta { margin-left: 0; flex: 1 1 100%; text-align: center; }
}

/* Orari dentro la sezione Prenota (fondo bordeaux) */
.booking-hours h3 {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(241, 233, 221, 0.78); margin: 0 0 0.6em;
}
.section-dark .hours th, .section-dark .hours td { border-bottom-color: rgba(241, 233, 221, 0.22); color: var(--ivory); }
.section-dark .hours .is-closed th, .section-dark .hours .is-closed td { color: #e3c3b4; }
