/* ==========================================================================
   Livello — Ristorante e Pizzeria
   Palette derivata dal logo: sabbia (#CDBB9C) e cacao (#5C3A2E)
   ========================================================================== */

/* Font ospitati in locale (licenza SIL OFL): nessuna richiesta a server di terzi */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/cormorant-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: "Cormorant Garamond"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/cormorant-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url("../fonts/cormorant-italic-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: "Cormorant Garamond"; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url("../fonts/cormorant-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/figtree-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: "Figtree"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #FBF8F2;
  --cream: #F4EDE1;
  --sand: #CDBB9C;
  --sand-deep: #A88E66;
  --cocoa: #5C3A2E;
  --espresso: #2A1F1A;
  --espresso-2: #36281F;
  --ink: #2A1F1A;
  --muted: #6B5A4E;
  --ember: #B4532A;
  --line: rgba(92, 58, 46, 0.16);
  --line-light: rgba(244, 237, 225, 0.18);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 14px;
  --shadow: 0 18px 40px -24px rgba(42, 31, 26, 0.45);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--cocoa); text-underline-offset: 3px; }
a:hover { color: var(--ember); }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--espresso);
  color: var(--paper);
  border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.center { text-align: center; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--espresso);
}
.display em, .h2 em { font-style: italic; color: var(--cocoa); }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.08;
  color: var(--espresso);
  margin-bottom: 0.5em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.85rem;
  line-height: 1.15;
  color: var(--espresso);
  margin-bottom: 0.5em;
}
.h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--espresso);
  margin-bottom: 0.35em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin-bottom: 1.1em;
}
.eyebrow-light { color: var(--sand); }

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 34em;
}

.divider {
  display: block;
  width: 56px; height: 1px;
  margin: 1.4rem auto 0;
  background: var(--sand-deep);
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  background: var(--paper);
  border: 1px solid var(--sand-deep);
  transform: translate(-50%, -50%) rotate(45deg);
}

.note { font-size: 0.92rem; color: var(--muted); margin-top: 1.2rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  background: var(--espresso);
  color: var(--paper);
  font: 600 0.82rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--cocoa); border-color: var(--cocoa); color: var(--paper); transform: translateY(-1px); }
.btn-small { min-height: 40px; padding: 0 20px; font-size: .74rem; }
.btn-ghost { background: transparent; color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--paper); }
.btn-light { background: var(--sand); border-color: var(--sand); color: var(--espresso); }
.btn-light:hover { background: var(--paper); border-color: var(--paper); color: var(--espresso); }
.btn-ghost-light { background: transparent; border-color: var(--line-light); color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); border-color: var(--cream); color: var(--espresso); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cocoa);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-light { color: var(--sand); }
.link-light:hover { color: var(--paper); }

/* ---------- Brand wordmark ---------- */
.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--sand-deep);
  line-height: 1;
}
.brand-word {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--sand-deep);
  border-bottom: 1px solid var(--sand-deep);
  padding-bottom: 2px;
}
.brand-o {
  position: relative;
  display: inline-block;
  width: 0.62em;
  height: 0.72em;
  margin-left: 0.04em;
  border: 0.085em solid var(--sand-deep);
  border-radius: 50%;
}
.brand-o svg {
  position: absolute;
  left: 50%; top: -6%;
  width: 0.24em; height: 0.82em;
  transform: translateX(-50%);
  fill: var(--cocoa);
}
.brand-sub {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--cocoa);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(42,31,26,.5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a:not(.btn) {
  position: relative;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
}
.nav-list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--cocoa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:not(.btn):hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.5px;
  background: var(--espresso);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; transform: translateX(-50%); }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translate(-50%, 6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translate(-50%, -6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(42,31,26,.5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-list.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a:not(.btn) { display: block; padding: 16px 0; font-size: .9rem; }
  .nav-list a:not(.btn)::after { display: none; }
  .nav-cta { border-bottom: 0 !important; padding-top: 20px; }
  .nav-cta .btn { width: 100%; min-height: 50px; }
}

@media (max-width: 420px) {
  .brand-word { font-size: 1.7rem; }
  .brand-sub { font-size: .74rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(205,187,156,.28), transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero-text .lead { margin: 1.6rem 0 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 3rem 0 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.hero-facts li { padding-right: 16px; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--espresso);
}
.hero-facts span { font-size: .88rem; color: var(--muted); }

.hero-media { position: relative; margin: 0; isolation: isolate; }
.arch {
  position: relative;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5.2;
  box-shadow: var(--shadow);
}
.arch::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(251,248,242,.55);
  border-radius: 999px 999px 8px 8px;
  pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--sand);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}

.today-badge {
  position: absolute;
  left: -24px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-size: .88rem;
  line-height: 1.4;
  color: var(--ink);
}
.today-dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #5E7A4A;
  box-shadow: 0 0 0 4px rgba(94,122,74,.18);
}
.today-badge.is-closed .today-dot { background: var(--ember); box-shadow: 0 0 0 4px rgba(180,83,42,.18); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-media::before { inset: -12px 12px 12px -12px; }
  .today-badge { left: 50%; transform: translateX(-50%); bottom: -22px; width: max-content; max-width: calc(100% - 24px); }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .hero-facts li + li { padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid var(--line); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
section[id] { scroll-margin-top: 84px; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--espresso); color: var(--cream); }
.section-dark .h2, .section-dark .h3 { color: var(--paper); }
.section-dark .h2 em { color: var(--sand); }
.section-dark a:not(.btn):not(.link-arrow) { color: var(--sand); }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-intro { color: var(--muted); font-size: 1.08rem; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 40px clamp(20px, 3vw, 40px) 8px;
}
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sand-deep);
  margin-bottom: 1.2rem;
}
.pillar p { color: var(--muted); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 32px 0; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}
.split-media { margin: 0; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.split-text p { color: rgba(244,237,225,.82); max-width: 34em; }
.section:not(.section-dark) .split-text p { color: var(--muted); }

.family {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2rem 0 .6rem;
  padding: 1.4rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}
.family li { display: flex; flex-direction: column; }
.family-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--paper); line-height: 1.2; }
.family-role { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.section:not(.section-dark) .family { border-top-color: var(--line); }
.section:not(.section-dark) .family-name { color: var(--espresso); }
.section:not(.section-dark) .family-role { color: var(--cocoa); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 420px) {
  .family { grid-template-columns: 1fr; gap: 12px; }
}

/* Price cards */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto 2.4rem;
}
.price-card {
  position: relative;
  padding: 40px 28px 34px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card-featured { background: var(--cream); border-color: var(--sand); }
.price-tag {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 14px;
  background: var(--cocoa);
  color: var(--paper);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-name { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cocoa); }
.price {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 4.2rem;
  line-height: 1;
  margin: .9rem 0 1rem;
  color: var(--espresso);
}
.price .currency { font-size: .45em; vertical-align: top; margin-right: 4px; position: relative; top: .5em; }
.price-desc { font-size: .95rem; color: var(--muted); }
@media (max-width: 760px) {
  .price-cards { grid-template-columns: 1fr; max-width: 420px; gap: 28px; }
  .price-card-featured { order: -1; }
}

/* Quote band */
.quote-band {
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    linear-gradient(rgba(42,31,26,.78), rgba(42,31,26,.82)),
    url("../img/sala.jpg") center 40% / cover no-repeat;
  color: var(--paper);
}
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.3;
}
.quote footer {
  margin-top: 1.4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-icon {
  width: 40px; height: 40px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--cocoa);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Events */
.events {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.events-text p { color: var(--muted); max-width: 36em; margin-bottom: 2rem; }
.events-stats { margin: 0; display: grid; gap: 0; }
.events-stats div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.events-stats div:first-child { border-top: 1px solid var(--line); }
.events-stats dt {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  color: var(--espresso);
}
.events-stats dd { margin: 6px 0 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cocoa); }
@media (max-width: 860px) { .events { grid-template-columns: 1fr; } }

/* Info / hours */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
}
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: 13px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.hours thead th {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cocoa);
}
.hours tbody th { font-weight: 500; }
.hours .closed { color: var(--muted); }
.hours tr.is-today { background: var(--paper); }
.hours tr.is-today th::after {
  content: "oggi";
  margin-left: 8px;
  padding: 2px 8px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--cocoa);
  border-radius: 999px;
  vertical-align: 2px;
}

.contact-list { font-style: normal; display: grid; gap: 14px; margin-bottom: 1.6rem; }
.contact-list p { margin: 0; }
.contact-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cocoa);
}

.map {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(92,58,46,.05) 0 2px, transparent 2px 14px),
    var(--paper);
  border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--espresso);
}
.map-consent span {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--espresso);
  color: var(--paper);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.map-consent small { font-size: .78rem; color: var(--muted); }

@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Booking ---------- */
.booking {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.booking-intro p { color: rgba(244,237,225,.82); }
.booking-alt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.booking-form {
  padding: clamp(24px, 4vw, 44px);
  background: var(--espresso-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-row-3 { grid-template-columns: 1.3fr 1fr 0.8fr; }
.field label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
}
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(244,237,225,.6); }

.booking-form input:not([type="checkbox"]),
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: rgba(251,248,242,.05);
  border: 1px solid rgba(244,237,225,.22);
  border-radius: var(--radius);
  transition: border-color .2s, background .2s;
  color-scheme: dark;
}
.booking-form textarea { resize: vertical; min-height: 96px; }
.booking-form select option { color: var(--ink); background: var(--paper); }
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--sand);
  background: rgba(251,248,242,.09);
}
.booking-form [aria-invalid="true"] { border-color: #E08A64 !important; }
.field-error { font-size: .84rem; color: #F0A584; }

.field-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field-check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sand); }
.field-check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .9rem; color: rgba(244,237,225,.82); }
.field-check a { color: var(--sand); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.4em; margin: 0 0 14px; font-size: .95rem; }
.form-status.is-error { color: #F0A584; }
.form-status.is-success { color: #B9D3A0; }
.form-foot { margin-top: 14px; font-size: .82rem; text-align: center; color: rgba(244,237,225,.6); }

@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .booking-alt .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1F1713;
  color: rgba(244,237,225,.75);
  padding: clamp(56px, 7vw, 88px) 0 28px;
  font-size: .95rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--sand); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 36px;
}
.brand-word-footer { color: var(--sand); border-bottom-color: var(--sand); font-size: 2.2rem; letter-spacing: .12em; margin: 0; }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; margin-top: 10px; }
.footer-title {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 14px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: .84rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (pagine interne) ---------- */
.page-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(205,187,156,.32), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { margin: 1.4rem auto 0; }

/* ---------- Menu page ---------- */
.menu-tabs {
  position: sticky;
  top: 84px;
  z-index: 20;
  background: rgba(251,248,242,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.menu-tabs ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-tabs ul::-webkit-scrollbar { display: none; }
.menu-tabs a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  border: 1px solid transparent;
}
.menu-tabs a:hover, .menu-tabs a.is-active { border-color: var(--sand); background: var(--cream); color: var(--espresso); }
@media (max-width: 760px) { .menu-tabs ul { justify-content: flex-start; } }

.menu-section { padding: clamp(64px, 8vw, 104px) 0; }
section.menu-section[id] { scroll-margin-top: 140px; }
.menu-section + .menu-section { border-top: 1px solid var(--line); }
.menu-wrap { max-width: 880px; margin-inline: auto; }

.menu-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 1.4rem; }
.menu-badge {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--cocoa);
  background: var(--paper);
}

.course { margin-top: 3rem; }
.course-title {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--cocoa);
  margin-bottom: 1.2rem;
}
.course-title::before, .course-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.dish-list { margin: 0; padding: 0; list-style: none; }
.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.dish:last-child { border-bottom: 0; }
.dish-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.25; color: var(--espresso); }
.dish-desc { grid-column: 1 / -1; font-size: .95rem; color: var(--muted); margin: 0; }
.dish-allergens { grid-column: 1 / -1; font-size: .82rem; font-style: italic; color: var(--muted); margin: 0; }
.dish-tag {
  align-self: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-autore { background: var(--cocoa); color: var(--paper); }
.tag-veg { background: #E3E8D8; color: #3F5230; }
.tag-fire { background: #F3DCCD; color: #7A3417; }

.sides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.side { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.side .dish-name { font-size: 1.25rem; }
.side p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .sides { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .sides { grid-template-columns: 1fr; } }

.menu-callout {
  margin-top: 3rem;
  padding: 28px clamp(20px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--sand);
  text-align: center;
}
.menu-callout p { color: var(--muted); max-width: 40em; margin-inline: auto; }
.menu-callout .btn { margin-top: 1rem; }

.pizza-intro { color: rgba(244,237,225,.82); font-size: 1.08rem; max-width: 40em; margin: 0 auto; }
.pizza-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 600px;
  margin: 2.6rem auto 2.6rem;
  border-block: 1px solid var(--line-light);
}
.pizza-stats div { padding: 22px 8px; }
.pizza-stats div + div { border-left: 1px solid var(--line-light); }
.pizza-stats dt { font-family: var(--font-display); font-size: 2rem; font-weight: 300; line-height: 1.1; color: var(--paper); }
.pizza-stats dd { margin: 4px 0 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
@media (max-width: 480px) { .pizza-stats dt { font-size: 1.5rem; } }

.allergen-note {
  margin-top: 2.4rem;
  font-size: .88rem;
  font-style: italic;
  text-align: center;
  color: var(--muted);
}

/* ---------- Chi siamo ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value { padding: clamp(28px, 4vw, 44px); background: var(--paper); }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }

.timeline { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--sand); }
.timeline li { position: relative; padding: 0 0 2.2rem 32px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--cocoa);
}
.timeline-when {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cocoa);
}
.timeline-what { font-family: var(--font-display); font-size: 1.6rem; color: var(--espresso); line-height: 1.25; display: block; margin: 2px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto 2rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Simple page (privacy, grazie) ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--espresso); margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); }

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .menu-tabs, .booking, .map, .site-footer { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Consenso cookie (banner + preferenze)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  max-width: 980px;
  margin-inline: auto;
  padding: 22px 56px 22px 24px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -24px rgba(42, 31, 26, .55);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 28px;
  align-items: center;
  font-size: .95rem;
  line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--espresso); margin-bottom: .25em; }
.cookie-banner p { color: var(--muted); margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { min-height: 44px; padding: 0 20px; font-size: .74rem; }
.cookie-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--espresso);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.cookie-close:hover { background: var(--cream); }
@media (max-width: 760px) {
  .cookie-banner { grid-template-columns: 1fr; padding: 20px 18px; padding-right: 48px; bottom: 10px; left: 10px; right: 10px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

.cookie-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(42, 31, 26, .6);
}
.cookie-dialog::backdrop { background: rgba(42, 31, 26, .55); }
.cookie-dialog-inner { padding: clamp(22px, 4vw, 36px); }
.cookie-dialog h2 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--espresso); margin-bottom: .4em; }
.cookie-dialog > .cookie-dialog-inner > p { color: var(--muted); font-size: .95rem; }
.cookie-cat { padding: 18px 0; border-top: 1px solid var(--line); }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-cat h3 { font-size: 1rem; font-weight: 600; color: var(--espresso); }
.cookie-cat p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.cookie-always { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cocoa); white-space: nowrap; }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding-top: 18px; border-top: 1px solid var(--line); }
.cookie-dialog-actions .btn { min-height: 44px; font-size: .74rem; }

.switch { position: relative; display: inline-flex; flex: none; width: 50px; height: 28px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch-track { position: absolute; inset: 0; border-radius: 999px; background: #CFC4B4; transition: background .2s; }
.switch-track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform .2s var(--ease);
}
.switch input:checked + .switch-track { background: var(--cocoa); }
.switch input:checked + .switch-track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--ember); outline-offset: 2px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch-track { opacity: .55; }

.link-button {
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.site-footer .link-button { color: var(--cream); text-decoration: none; }
.site-footer .link-button:hover { color: var(--sand); text-decoration: underline; }

.map-consent-text { max-width: 30em; padding: 0 16px; text-align: center; }

/* ---------- Footer: dati aziendali ---------- */
.footer-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(244,237,225,.62);
}
.footer-legal strong { color: rgba(244,237,225,.85); font-weight: 600; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.footer-bottom { margin-top: 24px; }

/* ---------- Pagine legali ---------- */
.prose h3 { font-size: 1.05rem; font-weight: 600; color: var(--espresso); margin: 1.4rem 0 .4rem; }
.prose ul { padding-left: 1.2em; }
.prose .updated { font-size: .88rem; font-style: italic; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal-table thead th { background: var(--cream); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cocoa); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { font-weight: 600; color: var(--espresso); }
.callout-ai {
  margin: 1.4rem 0;
  padding: 20px 22px;
  border-left: 3px solid var(--sand-deep);
  background: var(--cream);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.callout-ai p { margin: 0; }
.placeholder { background: #FCE9C8; color: #7A4A06; padding: 0 4px; border-radius: 3px; }
.field-hint { font-size: .82rem; line-height: 1.5; color: rgba(244,237,225,.6); }
.field-check[hidden] { display: none; }
