@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --surface: #111111;
  --text: #ffffff;
  --muted: #a6a6a6;
  --accent: #ffffff;
  --accent-ink: #000000;
  --line: #262626;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
h2 { font-weight: 800; line-height: 1.15; text-transform: lowercase; letter-spacing: -.01em; }

.hero { padding: 72px 0 56px; text-align: center; }
.eyebrow { color: var(--muted); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.hero h1 { margin: 20px 0 24px; }
.hero h1 img { display: block; width: min(420px, 85%); height: auto; margin: 0 auto; }
.hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1.5px solid var(--accent);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--accent); }

section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 1.8rem; margin-bottom: 20px; }

.hours { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hours td { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours .closed { color: var(--muted); font-weight: 500; }

.contact p { margin-bottom: 8px; }
.contact a { color: var(--accent); }
.map { margin-top: 20px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { filter: grayscale(1) invert(.92) contrast(.9); display: block; width: 100%; height: 320px; border: 0; }

footer { padding: 32px 0 48px; text-align: center; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
footer p + p { margin-top: 6px; }
footer a { color: inherit; }
address { font-style: normal; }

/* Menu */
.topbar { padding: 20px 0; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar img { display: block; width: 180px; height: auto; }
.topbar a.back { color: var(--muted); text-decoration: none; font-size: .9rem; }
.menu-head { padding: 48px 0 24px; text-align: center; }
.menu-head h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); font-weight: 800; text-transform: lowercase; letter-spacing: -.02em; }
.menu-head p { color: var(--muted); margin-top: 8px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.cats a { color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.items { list-style: none; }
.items li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.items li:last-child { border-bottom: 0; }
.items .name { font-weight: 600; }
.items .desc { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.items .price { font-weight: 600; white-space: nowrap; text-align: right; }
.note { color: var(--muted); font-size: .85rem; margin-top: 8px; }

.items .unit { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; text-align: right; }
.sub { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 28px 0 4px; }
.sub:first-of-type { margin-top: 0; }
.intro { color: var(--muted); margin: -8px 0 16px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; margin: auto; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { display: block; max-width: 94vw; max-height: 94vh; border-radius: 10px; }
.lb-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

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

/* Hero: stato aperto/chiuso e parola che ruota */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.status[hidden] { display: none; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }
.status.open .dot { background: #30a46c; box-shadow: 0 0 0 0 rgba(48, 164, 108, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(48, 164, 108, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 164, 108, 0); } }
.tagline { font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 auto 12px; }
.rotator { display: grid; justify-items: center; padding-bottom: 6px; }
.rotator span { grid-area: 1 / 1; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; line-height: 1.45; animation: rotate 9s infinite; opacity: 0; }
.rotator span:nth-child(2) { animation-delay: 3s; }
.rotator span:nth-child(3) { animation-delay: 6s; }
@keyframes rotate {
  0% { opacity: 0; transform: translateY(.4em); }
  5%, 29% { opacity: 1; transform: translateY(0); }
  34%, 100% { opacity: 0; transform: translateY(-.4em); }
}

/* Tre momenti */
.moments { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.moment { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .3s, transform .3s; }
.moment img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.moment-body { padding: 18px 20px 22px; }
.moment .when { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.moment h3 { font-size: 1.4rem; font-weight: 800; text-transform: lowercase; letter-spacing: -.01em; margin: 4px 0 6px; }
.moment p:not(.when) { color: var(--muted); font-size: .95rem; }
.moment .more { display: inline-block; margin-top: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.moment .now { display: none; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 2px 8px; letter-spacing: .06em; }
.moment.is-now { border-color: var(--accent); }
.moment.is-now .now { display: inline-block; }
@media (max-width: 760px) { .moments { grid-template-columns: 1fr; } .moment img { aspect-ratio: 16 / 9; } }
.perks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.perks li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: var(--muted); }

/* Carosello */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head h2 { margin-bottom: 0; }
.carousel-nav { display: flex; gap: 8px; }
.nav-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); background: transparent; color: var(--text); font-size: 1.1rem; cursor: pointer; }
.nav-btn:disabled { opacity: .3; cursor: default; }
.carousel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(16px, calc((100% - 848px) / 2)); scroll-padding: 0 max(16px, calc((100% - 848px) / 2));
}
.carousel::-webkit-scrollbar { display: none; }
.carousel a { flex: 0 0 auto; width: 260px; scroll-snap-align: start; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.carousel img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s; }
.carousel a:hover img { transform: scale(1.03); }
@media (max-width: 560px) { .carousel a { width: 72%; } .carousel-nav { display: none; } }

/* Mappa su consenso */
.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; min-height: 220px; padding: 24px; background: var(--surface); }
.map-consent p { color: var(--muted); font-size: .9rem; max-width: 420px; margin: 0; }
.map-consent .btn { background: transparent; cursor: pointer; font: inherit; font-weight: 600; }
.map-consent a { font-size: .85rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .rotator { height: auto; }
  .rotator span { animation: none; opacity: 1; transform: none; }
  .rotator span:not(:first-child) { display: none; }
  .status.open .dot { animation: none; }
  .carousel img, .moment { transition: none; }
}

/* Selettore lingua */
.hero { position: relative; }
.lang { display: flex; gap: 6px; }
.lang a { display: block; padding: 3px; border-radius: 6px; opacity: .5; transition: opacity .2s; }
.lang a:hover, .lang a:focus-visible { opacity: 1; }
.lang a[aria-current="page"] { opacity: 1; box-shadow: 0 0 0 1.5px var(--accent); }
.lang img { display: block; width: 24px; height: 16px; border-radius: 2px; object-fit: cover; }
.hero .lang { position: absolute; top: 16px; right: 16px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
