:root {
  --bg: #0d0d0f;
  --bg-2: #161618;
  --panel: #1c1c1f;
  --ink: #f2efe9;
  --ink-soft: rgba(242, 239, 233, .68);
  --ink-faint: rgba(242, 239, 233, .42);
  --gold: #cda44d;
  --gold-soft: rgba(205, 164, 77, .12);
  --pink: #e6a3d0;
  --purple: #9b8ce0;
  --line: rgba(242, 239, 233, .12);
  --display: 'Playfair Display', serif;
  --body: 'Inter', sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; margin: 0; }

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

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 1.4rem;
  padding-bottom: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 700ms 200ms ease, left 700ms 200ms ease;
}
[data-reveal].is-visible .eyebrow::after,
.sec-head.is-visible .eyebrow::after { width: 2.4rem; left: calc(50% - 1.2rem); }

.section { position: relative; padding: 6rem var(--pad); }
.section--tight { padding-top: 4rem; padding-bottom: 4rem; }
.section-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 2; }
.sec-head { text-align: center; margin-bottom: 3.2rem; }
.sec-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.sec-head p { margin-top: 1rem; color: var(--ink-soft); font-size: .96rem; max-width: 34rem; margin-left: auto; margin-right: auto; }

@media (max-width: 720px) {
  .section { padding: 4rem var(--pad); }
}

/* ═══════ HEADER ═══════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: rgba(13, 13, 15, .82);
  border-bottom: 1px solid var(--line);
}
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; backdrop-filter: blur(10px); }

.site-header__brand img { height: 2.4rem; width: auto; transition: transform 220ms ease, filter 220ms ease; }
.site-header__brand:hover img { transform: scale(1.06); filter: drop-shadow(0 0 10px rgba(205,164,77,.5)); }

.site-header__nav a:not(.btn) { position: relative; }
.site-header__nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px;
  background: var(--gold); transition: right 220ms ease;
}
.site-header__nav a:not(.btn):hover::after { right: 0; }
.site-header__nav a[aria-current="page"] { color: var(--gold); }
.site-header__nav a[aria-current="page"]::after { right: 0; }

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-size: .84rem;
  letter-spacing: .02em;
}

.site-header__nav a:not(.btn) { color: var(--ink-soft); transition: color 160ms ease; }
.site-header__nav a:not(.btn):hover { color: var(--ink); }

.menu-toggle { display: none; }

@media (max-width: 880px) {
  .site-header__nav { position: fixed; inset: 4.2rem 0 0; flex-direction: column; justify-content: center; gap: 2.2rem; background: var(--bg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 220ms ease, transform 220ms ease, visibility 220ms; }
  body.nav-open .site-header__nav { opacity: 1; transform: translateY(0); visibility: visible; }
  .site-header__nav a:not(.btn) { font-size: 1.1rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
  .menu-toggle__icon { position: relative; width: 22px; height: 14px; }
  .menu-toggle__icon::before, .menu-toggle__icon::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform 200ms ease; }
  .menu-toggle__icon::before { top: 0; }
  .menu-toggle__icon::after { bottom: 0; }
  body.nav-open .menu-toggle__icon::before { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .menu-toggle__icon::after { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.7rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 99px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 550ms ease;
}
.btn:hover::before { transform: translateX(120%); }
.btn-gold { background: var(--gold); color: #181410; box-shadow: 0 8px 22px rgba(205, 164, 77, .28); }
.btn-gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 30px rgba(205, 164, 77, .42); }
.btn-outline { border-color: rgba(242, 239, 233, .3); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-sm { padding: .7rem 1.3rem; font-size: .74rem; }
.btn:active { transform: translateY(0) scale(.97); }

/* ═══════ REOPENING BANNER ═══════ */
.reopen-banner {
  text-align: center;
  padding: .8rem var(--pad);
  background: var(--gold-soft);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .02em;
}

/* ═══════ HERO ═══════ */
.hero { position: relative; padding: 4.5rem var(--pad) 5rem; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; top: -25%; left: 50%; transform: translateX(-50%);
  width: 140%; height: 65%;
  background: radial-gradient(ellipse at center, rgba(155,140,224,.18) 0%, rgba(230,163,208,.11) 35%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: glow-pulse 7s ease-in-out infinite;
}
.hero-inner { position: relative; z-index: 2; max-width: 46rem; margin: 0 auto; }
.hero .logo-mark { max-width: 320px; margin: 0 auto 2.2rem; }
.hero .tagline {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--ink);
}
.hero .format {
  margin-top: 1.1rem; font-size: .92rem; color: var(--ink-soft);
  letter-spacing: .04em;
}
.hero .venue { margin-top: .5rem; font-size: .82rem; color: var(--ink-faint); }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.4rem; }

.hero-entrance { opacity: 0; animation: hero-fade-in 800ms cubic-bezier(.16,1,.3,1) both; }

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: .8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* ═══════ HERO GALLERY ═══════ */
.hero-gallery {
  position: relative;
  max-width: 60rem;
  margin: 3.5rem auto 0;
  height: clamp(16rem, 32vw, 24rem);
}
.hero-frame {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
  border: 3px solid var(--bg-2);
  box-shadow: 0 1.5rem 3rem rgba(0,0,0,.5);
  opacity: 0;
  transition: transform 400ms ease, box-shadow 400ms ease;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.hero-frame:hover img { transform: scale(1.08); }
.hero-frame:hover { box-shadow: 0 2rem 4rem rgba(0,0,0,.65); z-index: 4 !important; }
.hero-frame--a { left: 2%; top: 8%; width: 34%; height: 78%; z-index: 1; animation: frame-a-in 900ms 300ms cubic-bezier(.16,1,.3,1) both; }
.hero-frame--b { left: 34%; top: 0; width: 32%; height: 62%; z-index: 3; animation: frame-b-in 900ms 420ms cubic-bezier(.16,1,.3,1) both; }
.hero-frame--c { right: 2%; top: 14%; width: 34%; height: 78%; z-index: 2; animation: frame-c-in 900ms 540ms cubic-bezier(.16,1,.3,1) both; }
.hero-frame--a:hover, .hero-frame--b:hover, .hero-frame--c:hover { transform: rotate(0deg) scale(1.04); }

@keyframes frame-a-in {
  from { opacity: 0; transform: translateY(40px) rotate(-4deg) scale(.92); }
  to { opacity: 1; transform: translateY(0) rotate(-4deg) scale(1); }
}
@keyframes frame-b-in {
  from { opacity: 0; transform: translateY(-40px) rotate(2deg) scale(.92); }
  to { opacity: 1; transform: translateY(0) rotate(2deg) scale(1); }
}
@keyframes frame-c-in {
  from { opacity: 0; transform: translateY(40px) rotate(4deg) scale(.92); }
  to { opacity: 1; transform: translateY(0) rotate(4deg) scale(1); }
}
@media (max-width: 720px) {
  .hero-gallery { height: 15rem; margin-top: 2.5rem; }
  .hero-frame--a { left: 0; width: 36%; }
  .hero-frame--b { left: 32%; width: 36%; }
  .hero-frame--c { right: 0; width: 36%; }
}

/* ═══════ ABOUT / FORMAT ═══════ */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.format-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.format-card:hover {
  transform: translateY(-8px);
  border-color: rgba(205,164,77,.5);
  box-shadow: 0 1.2rem 2.4rem rgba(0,0,0,.35);
}
.format-card .icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 1rem; transition: transform 320ms ease; }
.format-card:hover .icon { transform: scale(1.18) rotate(-6deg); }
.format-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.format-card p { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 780px) { .format-grid { grid-template-columns: 1fr; } }

/* ═══════ TEASER CARDS (home) ═══════ */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.teaser-card {
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  transition: transform 320ms ease, box-shadow 320ms ease;
}
.teaser-card:hover { transform: translateY(-8px); box-shadow: 0 1.5rem 3rem rgba(0,0,0,.5); }
.teaser-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.teaser-card:hover img { transform: scale(1.08); }
.teaser-card__body {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem 1.4rem 1.4rem;
  background: linear-gradient(0deg, rgba(13,13,15,.95) 10%, rgba(13,13,15,.5) 60%, transparent 100%);
}
.teaser-card__body .eyebrow { margin-bottom: .5rem; padding-bottom: 0; }
.teaser-card__body .eyebrow::after { display: none; }
.teaser-card__body h3 { font-size: 1.25rem; color: var(--ink); }
.teaser-card__body h3 span { display: inline-block; transition: transform 260ms ease; color: var(--gold); }
.teaser-card:hover h3 span { transform: translateX(6px); }
.teaser-card__body p { margin: .4rem 0 0; font-size: .84rem; color: var(--ink-soft); }
@media (max-width: 780px) { .teaser-grid { grid-template-columns: 1fr; } .teaser-card { aspect-ratio: 16/10; } }

/* ═══════ PAGE HEADER (sottopagine) ═══════ */
.page-header {
  text-align: center;
  padding: 7rem var(--pad) 3.5rem;
  background: radial-gradient(ellipse at top, rgba(205,164,77,.12), transparent 60%);
}
.page-header .eyebrow { animation: hero-fade-in 700ms cubic-bezier(.16,1,.3,1) both; }
.page-header h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); animation: hero-fade-in 800ms 120ms cubic-bezier(.16,1,.3,1) both; }
.page-header p { margin-top: 1rem; color: var(--ink-soft); max-width: 34rem; margin-inline: auto; animation: hero-fade-in 800ms 220ms cubic-bezier(.16,1,.3,1) both; }

/* ═══════ CUCINA ═══════ */
.kitchen { background: var(--bg-2); }
.kitchen-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.kitchen-copy p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 1.2rem; }
.kitchen-copy p:last-of-type { margin-bottom: 1.8rem; }
.kitchen-note {
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  font-size: .86rem;
  color: var(--ink-faint);
  font-style: italic;
}
.kitchen-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.6rem 2rem;
  overflow: hidden;
}
.kitchen-panel { transition: transform 280ms ease, border-color 280ms ease; }
.kitchen-panel:hover { transform: translateY(-6px); border-color: rgba(205,164,77,.4); }
.kitchen-photo { margin: -1.6rem -1.6rem 1.6rem; overflow: hidden; }
.kitchen-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 500ms ease; }
.kitchen-panel:hover .kitchen-photo img { transform: scale(1.06); }
.kitchen-panel h3 { font-size: 1.2rem; margin-bottom: 1.4rem; }
.kitchen-panel ul { display: flex; flex-direction: column; gap: 1rem; }
.kitchen-panel li { display: flex; gap: .8rem; font-size: .9rem; color: var(--ink-soft); align-items: flex-start; }
.kitchen-panel li::before { content: ''; width: 5px; height: 5px; margin-top: .55rem; border-radius: 50%; background: var(--gold); flex: none; }
@media (max-width: 880px) { .kitchen-grid { grid-template-columns: 1fr; } }

/* ═══════ FOOD MENU ═══════ */
.menu-placeholder-note {
  display: flex; align-items: center; gap: .8rem;
  max-width: 40rem; margin: 0 auto 3.5rem;
  padding: 1rem 1.4rem;
  background: var(--gold-soft);
  border: 1px solid rgba(205,164,77,.35);
  border-radius: 12px;
  font-size: .84rem;
  color: var(--gold);
}
.menu-placeholder-note i { font-size: 1.1rem; flex: none; }

/* Le pagine menu (food/drinks/vini) usano uno sfondo chiaro per massimo contrasto in lettura,
   anche su tablet ai tavoli — a differenza del resto del sito che resta scuro. */
.menu-section {
  --bg: #ffffff;
  --panel: #faf8f4;
  --ink: #1c1712;
  --ink-soft: rgba(28, 23, 18, .66);
  --ink-faint: rgba(28, 23, 18, .44);
  --gold: #9c6f1f;
  --line: rgba(28, 23, 18, .14);
  background: var(--bg);
  color: var(--ink);
}

.menu-categories { display: flex; flex-direction: column; gap: 3.5rem; }
.menu-category__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.menu-category__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.menu-category__head .icon { color: var(--gold); font-size: 1.3rem; }
.menu-category__line { flex: 1; height: 1px; background: var(--line); }
.menu-category__note { margin: 0 0 1.6rem; font-size: .84rem; color: var(--ink-faint); font-style: italic; }
.menu-dish__allergens { margin-top: .3rem !important; font-size: .72rem !important; color: var(--ink-faint) !important; text-transform: uppercase; letter-spacing: .04em; }
.menu-extra-info { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); }
.menu-extra-info strong { color: var(--gold); }
.menu-review-links { text-align: center; margin-top: 2.5rem; font-size: .84rem; color: var(--ink-faint); }
.menu-review-links a { color: var(--gold); margin: 0 .5rem; }

.menu-dish-list { display: flex; flex-direction: column; gap: 1.4rem; }
.menu-dish {
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed var(--line);
  transition: transform 220ms ease;
}
.menu-dish:hover { transform: translateX(6px); }
.menu-dish:last-child { border-bottom: none; }
.menu-dish__photo {
  width: 64px; height: 64px; flex: none; border-radius: 10px;
  object-fit: cover; border: 1px solid var(--line);
}
.menu-dish.has-photo .menu-dish__info { align-self: center; }
.menu-dish__info { flex: 1; }
.menu-dish__info h4 { font-family: var(--display); font-size: 1.05rem; font-weight: 600; margin-bottom: .3rem; }
.menu-dish__info p { margin: 0; font-size: .84rem; color: var(--ink-soft); max-width: 30rem; }
.menu-dish__price { font-family: var(--display); color: var(--gold); font-size: 1.05rem; flex: none; }

/* ═══════ COCKTAIL LIST ═══════ */
.cocktail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.cocktail-item {
  background: var(--panel);
  padding: 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  z-index: 1;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.cocktail-item:hover {
  background: #212124;
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.4);
  z-index: 2;
}
.cocktail-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.cocktail-item__head h4 { font-family: var(--display); font-size: 1.08rem; font-weight: 600; }
.cocktail-item__head .price { font-family: var(--display); color: var(--gold); font-size: 1rem; flex: none; transition: transform 220ms ease; }
.cocktail-item:hover .price { transform: scale(1.15); }
.cocktail-item .flag { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.cocktail-item p { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.cocktail-note { text-align: center; margin-top: 2rem; font-size: .78rem; color: var(--ink-faint); }

/* ═══════ EVENTI / SHOW ═══════ */
.events { background: var(--bg-2); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.event-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  background: linear-gradient(160deg, rgba(205,164,77,.06), transparent 60%);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.event-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230,163,208,.45);
  box-shadow: 0 1.2rem 2.4rem rgba(0,0,0,.35);
}
.event-card__day { display: inline-block; margin-bottom: 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.event-card .icon { font-size: 1.5rem; color: var(--pink); margin-bottom: 1rem; transition: transform 320ms ease; }
.event-card:hover .icon { transform: scale(1.18) rotate(6deg); }
.event-card h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.event-card__sub { font-size: .82rem; font-style: italic; color: var(--ink-faint); margin-bottom: .8rem !important; }
.event-card p { font-size: .86rem; color: var(--ink-soft); }
.event-card .btn { margin-top: 1.4rem; }
@media (max-width: 780px) { .events-grid { grid-template-columns: 1fr; } }

.events-photo {
  margin: 2.4rem 0 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.events-photo img { width: 100%; max-height: 26rem; object-fit: cover; display: block; transition: transform 600ms ease; }
.events-photo:hover img { transform: scale(1.05); }
.events-photo figcaption {
  position: absolute; left: 1.4rem; bottom: 1.2rem;
  font-family: var(--display); font-style: italic; font-size: 1.1rem;
  color: var(--ink); text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

/* ═══════ PHOTO RAIL ═══════ */
.photo-rail-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.photo-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 var(--pad) .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.photo-rail::-webkit-scrollbar { height: 6px; }
.photo-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.photo-rail figure {
  flex: 0 0 auto;
  width: min(70vw, 20rem);
  aspect-ratio: 3/4;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
}
.photo-rail img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease, filter 500ms ease; filter: saturate(.9); }
.photo-rail figure:hover img, .photo-rail figure:focus-visible img { transform: scale(1.09); filter: saturate(1.1); }


/* ═══════ BOOKING CTA BAND ═══════ */
.book-band {
  text-align: center;
  padding: 5rem var(--pad);
  background: radial-gradient(ellipse at top, rgba(205,164,77,.1), transparent 60%), var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.book-band h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 30rem; margin: 0 auto 1.2rem; }
.book-band p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 2rem; }
.book-band .hero-btns { margin-top: 0; }

/* ═══════ INFO / DOVE SIAMO ═══════ */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 2rem 1.6rem; text-align: center; transition: transform 280ms ease, border-color 280ms ease; }
.info-card:hover { transform: translateY(-6px); border-color: rgba(205,164,77,.4); }
.info-card .icon { font-size: 1.4rem; color: var(--gold); margin-bottom: .9rem; transition: transform 320ms ease; }
.info-card:hover .icon { transform: scale(1.15); }
.info-card h5 { font-family: var(--display); font-size: 1.02rem; margin-bottom: .5rem; }
.info-card p, .info-card a { font-size: .86rem; color: var(--ink-soft); }
.info-card a:hover { color: var(--ink); }
@media (max-width: 780px) { .info-grid { grid-template-columns: 1fr; } }

.map-frame {
  margin-top: 2.4rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(1) invert(.92) contrast(.9);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ═══════ FOOTER ═══════ */
.site-footer { padding: 3.5rem var(--pad) 2rem; text-align: center; border-top: 1px solid var(--line); }
.site-footer img { height: 34px; margin: 0 auto 1.2rem; opacity: .85; }
.site-footer__social { display: flex; justify-content: center; gap: 1.4rem; margin-bottom: 1.2rem; font-size: .84rem; }
.site-footer__social a { color: var(--ink-soft); }
.site-footer__social a:hover { color: var(--gold); }
.site-footer .addr { font-size: .82rem; color: var(--ink-faint); }
.site-footer .credit { margin-top: 1.6rem; font-size: .72rem; color: var(--ink-faint); }
.site-footer .credit a { color: var(--gold); }

/* ═══════ MOBILE BOOK BAR ═══════ */
.mobile-book { display: none; }
@media (max-width: 780px) {
  .mobile-book {
    position: fixed;
    z-index: 190;
    right: .8rem; left: .8rem;
    bottom: max(.8rem, env(safe-area-inset-bottom));
    display: flex; justify-content: center;
    padding: .95rem 1rem;
    color: #181410;
    background: var(--gold);
    font-size: .82rem; font-weight: 800;
    border-radius: 99px;
    box-shadow: 0 .5rem 2rem rgba(0,0,0,.4);
    animation: book-pulse 2.6s ease-in-out infinite;
  }
  .site-footer { padding-bottom: 6.5rem; }
}

@keyframes book-pulse {
  0%, 100% { box-shadow: 0 .5rem 2rem rgba(0,0,0,.4), 0 0 0 0 rgba(205,164,77,.5); }
  50% { box-shadow: 0 .5rem 2rem rgba(0,0,0,.4), 0 0 0 8px rgba(205,164,77,0); }
}

/* ═══════ REVEAL ═══════ */
[data-reveal] { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity 750ms cubic-bezier(.16,1,.3,1), transform 750ms cubic-bezier(.16,1,.3,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* ═══════ SCROLL PROGRESS BAR ═══════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--gold); z-index: 300;
  transition: width 80ms linear;
}

/* ═══════ PAGE TRANSITION (fade in all'arrivo, fade out prima di cambiare pagina) ═══════ */
body { animation: page-fade-in 420ms ease both; }
body.page-leaving { opacity: 0; transition: opacity 200ms ease; }

/* ═══════ CURSOR SPOTLIGHT (hover glow che segue il mouse) ═══════ */
.format-card, .teaser-card, .event-card, .info-card, .kitchen-panel {
  --mx: 50%; --my: 50%;
}
.format-card, .event-card, .info-card, .kitchen-panel { position: relative; isolation: isolate; }
.format-card::before, .event-card::before, .info-card::before, .kitchen-panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(205,164,77,.14), transparent 65%);
  opacity: 0; transition: opacity 320ms ease;
  pointer-events: none;
}
.format-card:hover::before, .event-card:hover::before, .info-card:hover::before, .kitchen-panel:hover::before { opacity: 1; }
.teaser-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255,255,255,.16), transparent 65%);
  opacity: 0; transition: opacity 320ms ease;
}
.teaser-card:hover::after { opacity: 1; }

/* ═══════ IDLE FLOAT (hero-frame, a riposo dopo l'entrata) ═══════ */
@keyframes page-fade-in { from { opacity: 0; } to { opacity: 1; } }

.hero-frame--a { animation: frame-a-in 900ms 300ms cubic-bezier(.16,1,.3,1) both, float-a 6.5s 1.2s ease-in-out infinite; }
.hero-frame--b { animation: frame-b-in 900ms 420ms cubic-bezier(.16,1,.3,1) both, float-b 7.5s 1.3s ease-in-out infinite; }
.hero-frame--c { animation: frame-c-in 900ms 540ms cubic-bezier(.16,1,.3,1) both, float-c 7s 1.4s ease-in-out infinite; }
@keyframes float-a { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(-4deg); } }
@keyframes float-b { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes float-c { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-9px) rotate(4deg); } }

/* ═══════ MOBILE — RIFINITURE ═══════ */
@media (max-width: 560px) {
  :root { --pad: 1.1rem; }
  .section { padding: 3rem var(--pad); }
  .hero { padding: 3.2rem var(--pad) 3.6rem; }
  .hero .logo-mark { max-width: 220px; }
  .page-header { padding: 5.5rem var(--pad) 2.6rem; }
  .format-card, .event-card { padding: 1.6rem 1.4rem; }
  .info-card { padding: 1.6rem 1.2rem; }
  .kitchen-panel { padding: 1.3rem 1.3rem 1.6rem; }
  .book-band { padding: 3.4rem var(--pad); }
  .site-footer { padding-top: 2.6rem; }

  .menu-category__head h2 { font-size: 1.35rem; }
  .menu-dish { align-items: flex-start; gap: .9rem; }
  .menu-dish__photo { width: 52px; height: 52px; }
  .menu-dish__info h4 { font-size: .98rem; }
  .menu-dish__info p { font-size: .8rem; }
  .menu-dish__price { font-size: .95rem; }
  .menu-extra-info { gap: 1rem; font-size: .8rem; }

  .hero-btns .btn { flex: 1 1 auto; justify-content: center; }
  .mobile-book { font-size: .8rem; padding: .85rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-entrance, .hero-frame, .hero-glow, .mobile-book {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-frame--b { transform: none !important; }
  body { animation: none !important; opacity: 1 !important; transition: none !important; }
}
