@font-face {
  font-family: 'Malbeck Alternate';
  src: url('fonts/MalbeckAlternate.otf') format('opentype');
  font-weight: normal; font-style: normal; font-display: swap;
}
/* ── TOKENS ── */
:root {
  --wine:          #6B2737;
  --wine-dark:     #4A1927;
  --gold:          #C9A84C;
  /* Semantic – light defaults */
  --bg:            #FAF6EE;
  --bg-surface:    #ffffff;
  --heading:       #4A1927;
  --text:          #2C2C2C;
  --text-soft:     #444444;
  --text-muted:    #6B6B6B;
  --border:        rgba(0,0,0,.08);
  --card-shadow:   0 4px 24px rgba(0,0,0,.06);
}
[data-theme="dark"] {
  --bg:            #1a0d12;
  --bg-surface:    #2a1820;
  --heading:       #e8c4b0;
  --text:          #e8ddd0;
  --text-soft:     #c8b8a8;
  --text-muted:    #a08070;
  --border:        rgba(255,255,255,.08);
  --card-shadow:   0 4px 24px rgba(0,0,0,.4);
}

/* ── LANGUAGE VISIBILITY ── */
[data-lang="en"] .t-it { display: none !important; }
[data-lang="it"] .t-en { display: none !important; }

/* ── MEAL PRICE VISIBILITY ── */
[data-meal="lunch"]  .price-dinner { display: none !important; }
[data-meal="dinner"] .price-lunch  { display: none !important; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background .5s ease, color .5s ease;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: transparent;
  transition: background .4s, padding .4s;
}
nav.scrolled {
  background: rgba(74, 25, 39, 0.97);
  padding: 12px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; display: block; transition: height .4s; filter: drop-shadow(0 0 6px rgba(0,0,0,.6)); }
nav.scrolled .nav-logo img { height: 40px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

/* Controls cluster (lang + theme + burger) */
.nav-controls {
  display: flex; align-items: center; gap: 10px;
}
.nav-ctrl-btn {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  font-size: .75rem; letter-spacing: .08em;
  padding: 6px 12px; border-radius: 40px; cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-ctrl-btn:hover { background: rgba(201,168,76,.3); border-color: var(--gold); color: var(--gold); }
.burger-btn {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger-btn span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0; z-index: 99;
  background: rgba(26, 10, 18, 0.97);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
  padding: 80px 24px 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.9); font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  text-decoration: none; letter-spacing: .06em;
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: #fff;
  font-size: 1.8rem; cursor: pointer; opacity: .7;
}
.mobile-nav-close:hover { opacity: 1; }

/* ── HERO ── */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #2a0f1a; /* fallback colore */
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  /* transizione opacity lunga per un crossfade molto dolce */
  transition: transform 8s ease, opacity 2s ease;
  will-change: opacity;
}
/* Foto di GIORNO */
.hero-bg-day {
  background-image:
    linear-gradient(to bottom, rgba(30,10,15,.58) 0%, rgba(30,10,15,.45) 60%, rgba(30,10,15,.75) 100%),
    url('hero-giorno.jpg');
  opacity: 1;
  z-index: 1;
}
/* Foto di NOTTE */
.hero-bg-night {
  background-image:
    linear-gradient(to bottom, rgba(10,5,8,.55) 0%, rgba(10,5,8,.35) 60%, rgba(10,5,8,.80) 100%),
    url('hero-notte.jpg');
  opacity: 0;
  z-index: 2;
}
/* Dark mode: la foto notturna sale in cima con crossfade dolce */
[data-theme="dark"] .hero-bg-night { opacity: 1; }
#hero:hover .hero-bg { transform: scale(1.0); }
.hero-content {
  position: relative; text-align: center; color: #fff;
  padding: 0 24px;
  z-index: 10;
}
.hero-eyebrow {
  font-family: 'Lato', sans-serif; font-weight: 400;
  font-size: .75rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: inline-block;
  background: rgba(0,0,0,.45); border: 1px solid rgba(201,168,76,.35);
  padding: 6px 18px; border-radius: 40px; backdrop-filter: blur(6px);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 700; line-height: 1.05;
  text-shadow: 0 2px 30px rgba(0,0,0,.4); margin-bottom: 24px;
}
.hero-logo { margin: 0 auto 40px; width: min(86vw, 560px); filter: drop-shadow(0 0 10px rgba(0,0,0,.55)) drop-shadow(0 2px 24px rgba(0,0,0,.5)); }
.hero-logo img { width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-title em { font-family: 'Malbeck Alternate', 'Playfair Display', serif; font-style: normal; font-weight: 400; font-size: 1.3em; letter-spacing: .06em; color: var(--gold); }
.hero-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.badge {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px); padding: 8px 18px; border-radius: 40px;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9);
}
.badge-gold { background: rgba(201,168,76,.2); border-color: var(--gold); color: var(--gold); }
.btn-primary {
  display: inline-block; padding: 16px 44px;
  background: var(--gold); color: #fff;
  font-size: .85rem; letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
}
.btn-primary:hover { background: #b8944a; transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTIONS ── */
section { padding: 100px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--heading); line-height: 1.2; }
.section-title em { font-family: 'Malbeck Alternate', 'Playfair Display', serif; font-style: normal; font-weight: 400; font-size: 1.3em; line-height: 1; letter-spacing: .06em; }
.divider { width: 60px; height: 2px; background: linear-gradient(to right, var(--gold), transparent); margin: 20px 0 32px; }

/* ── ABOUT ── */
#about { background: var(--bg); transition: background .5s; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap::before {
  content: ''; position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 2px solid var(--gold); opacity: .35; border-radius: 2px;
}
.about-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; border-radius: 2px; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.about-text p { font-size: 1.05rem; line-height: 1.85; color: var(--text-soft); margin-bottom: 20px; }
.about-text p strong { color: var(--wine); }
.stat-row { display: flex; gap: 40px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--wine); font-weight: 700; }
.stat-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

/* ── GALLERY ── */
#gallery { background: var(--wine-dark); padding: 100px 24px; }
#gallery .section-label { color: var(--gold); }
#gallery .section-title { color: #fff; }
#gallery .divider { background: linear-gradient(to right, var(--gold), transparent); }
.gallery-intro { color: rgba(255,255,255,.65); max-width: 540px; font-size: .95rem; line-height: 1.7; margin-bottom: 48px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { overflow: hidden; cursor: pointer; border-radius: 2px; }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; transition: transform .5s ease, filter .5s ease; filter: brightness(.92); }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1); }

/* ── MENU ── */
#menu { background: var(--bg-surface); transition: background .5s; }
.meal-toggle {
  display: inline-flex; gap: 0; margin: 20px 0 8px;
  border: 1px solid var(--gold); border-radius: 40px; overflow: hidden;
}
.meal-btn {
  padding: 8px 20px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-muted); transition: background .2s, color .2s;
}
.meal-btn.active { background: var(--gold); color: #fff; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 28px; }
.menu-card {
  background: var(--bg); padding: 40px 32px;
  border-left: 3px solid transparent;
  transition: border-color .3s, transform .3s, background .5s;
}
.menu-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.menu-icon { font-size: 2rem; margin-bottom: 16px; }
.menu-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--heading); margin-bottom: 12px; }
.menu-card p { font-size: .9rem; line-height: 1.7; color: var(--text-muted); }
.menu-items { margin-top: 16px; }
.menu-item {
  display: flex; justify-content: space-between;
  font-size: .85rem; padding: 6px 0;
  border-bottom: 1px dotted var(--border);
  color: var(--text);
}
.menu-item:last-child { border-bottom: none; }
.menu-price { color: var(--wine); font-weight: 700; white-space: nowrap; margin-left: 16px; }
[data-theme="dark"] .menu-price { color: var(--gold); }
.piatto-nome { color: var(--text); }
.piatto-descr { font-size: .78rem; color: var(--text-muted); margin-top: 2px; line-height: 1.5; }
.menu-vuoto { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 40px 0; }
.menu-stagionale { margin-top: 36px; text-align: center; font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.05rem; line-height: 1.7; color: var(--heading); max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── REVIEWS ── */
#reviews { background: var(--bg); transition: background .5s; }
.reviews-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.score-box { display: flex; align-items: center; gap: 24px; background: var(--wine); padding: 24px 36px; border-radius: 4px; }
.score-big { font-family: 'Playfair Display', serif; font-size: 4rem; color: var(--gold); font-weight: 700; line-height: 1; }
.score-meta { color: #fff; }
.score-meta .score-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.score-meta .score-count { font-size: .85rem; opacity: .85; margin-top: 4px; }
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; margin-top: 4px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--bg-surface); padding: 32px; border-radius: 2px;
  box-shadow: var(--card-shadow); position: relative;
  transition: background .5s;
}
.review-card::before {
  content: '\201C'; font-family: 'Playfair Display', serif;
  font-size: 5rem; color: var(--gold); opacity: .15;
  position: absolute; top: 8px; left: 16px; line-height: 1;
}
.review-score { display: inline-block; background: var(--wine); color: #fff; font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 20px; margin-bottom: 14px; }
.review-text { font-size: .9rem; line-height: 1.7; color: var(--text-soft); margin-bottom: 16px; font-style: italic; }
.review-author { font-size: .8rem; font-weight: 700; color: var(--heading); letter-spacing: .05em; }
.review-date { font-size: .75rem; color: var(--text-muted); }
.platform-tag { display: inline-block; margin-top: 10px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border); padding: 2px 8px; border-radius: 12px; }

/* ── EXPERIENCE ── */
#experience { background: var(--wine); color: #fff; text-align: center; position: relative; overflow: hidden; }
#experience::before { content: ''; position: absolute; inset: 0; background: url('assets/img/locale/sfondo-esperienza.jpg') center/cover; opacity: .12; }
#experience .container { position: relative; }
#experience .section-label { color: var(--gold); }
#experience .section-title { color: #fff; margin: 0 auto 20px; max-width: 700px; }
#experience .divider { margin: 20px auto 32px; }
.exp-text { font-size: 1.05rem; line-height: 1.85; max-width: 680px; margin: 0 auto 48px; opacity: .85; }
.exp-features { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.exp-feat { text-align: center; }
.exp-feat-icon { font-size: 2.2rem; margin-bottom: 8px; }
.exp-feat-title { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 4px; }
.exp-feat-desc { font-size: .8rem; opacity: .65; max-width: 140px; margin: 0 auto; }
.btn-outline { display: inline-block; padding: 16px 44px; border: 1px solid var(--gold); color: var(--gold); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: background .2s, color .2s; }
.btn-outline:hover { background: var(--gold); color: #fff; }

/* ── CONTACT ── */
#contact { background: var(--wine-dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
#contact .section-label { color: var(--gold); }
#contact .section-title { color: #fff; }
#contact .divider { background: linear-gradient(to right, var(--gold), transparent); }
.contact-info p { opacity: .75; line-height: 1.8; font-size: .95rem; margin-bottom: 32px; }
.info-items { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.info-value { font-size: .95rem; opacity: .85; }
.info-value a { color: inherit; text-decoration: none; }
.info-value a:hover { color: var(--gold); }
.info-icon-pin { cursor: pointer; transition: transform .2s; display: inline-block; }
.info-icon-pin:hover { transform: scale(1.25); }
.pin-hint { font-size: .7rem; color: var(--gold); letter-spacing: .05em; margin-top: 4px; cursor: pointer; }
.map-wrap { border-radius: 2px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.3); }

.hours-list { display: flex; flex-direction: column; gap: 4px; }
.hours-row { display: flex; gap: 16px; font-size: .9rem; }
.hours-day { min-width: 92px; opacity: .75; }
.hours-time { white-space: nowrap; }
@media (max-width: 400px) { .hours-time { white-space: normal; } }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; background: #25D366; color: #fff; padding: 9px 20px; border-radius: 40px; text-decoration: none; font-size: .85rem; font-weight: 700; transition: background .2s, transform .2s; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }
.social-links { display: flex; gap: 16px; margin-top: 36px; }
.social-link { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 10px 20px; border-radius: 40px; text-decoration: none; color: rgba(255,255,255,.8); font-size: .82rem; transition: background .2s, color .2s; }
.social-link:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ── NAV MODAL ── */
.nav-modal-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.nav-modal-overlay.open { display: flex; }
.nav-modal { background: var(--bg-surface); border-radius: 12px; padding: 32px 28px; max-width: 340px; width: 90%; box-shadow: 0 24px 64px rgba(0,0,0,.35); animation: modalIn .25s ease; transition: background .5s; }
@keyframes modalIn { from { opacity:0; transform: scale(.92) translateY(16px); } to { opacity:1; transform: scale(1) translateY(0); } }
.nav-modal h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--heading); margin-bottom: 6px; }
.nav-modal p { font-size: .82rem; color: var(--text-muted); margin-bottom: 24px; }
.nav-app-btns { display: flex; flex-direction: column; gap: 12px; }
.nav-app-btn { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 700; transition: transform .15s, box-shadow .15s; border: none; cursor: pointer; width: 100%; }
.nav-app-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.nav-app-btn .nav-app-icon { font-size: 1.5rem; flex-shrink: 0; }
.nav-apple { background: #000; color: #fff; }
.nav-google { background: #4285F4; color: #fff; }
.nav-waze { background: #05C8F7; color: #000; }
.nav-modal-cancel { display: block; text-align: center; margin-top: 16px; font-size: .8rem; color: var(--text-muted); cursor: pointer; background: none; border: none; width: 100%; }
.nav-modal-cancel:hover { color: var(--wine); }

/* ── FOOTER ── */
footer { background: #1a0d12; color: rgba(255,255,255,.4); text-align: center; padding: 32px 24px; font-size: .78rem; letter-spacing: .05em; }
footer span { color: var(--gold); opacity: .7; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .footer-ragione { color: rgba(255,255,255,.7); font-weight: 700; letter-spacing: .08em; }

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.92); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 2px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 2rem; cursor: pointer; opacity: .7; background: none; border: none; font-family: sans-serif; z-index: 2; }
.lightbox-close:hover { opacity: 1; }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 2.4rem; cursor: pointer; opacity: .6;
  background: none; border: none; font-family: sans-serif; padding: 8px 16px; z-index: 2;
  transition: opacity .2s;
}
.lightbox-arrow:hover { opacity: 1; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
@media (max-width: 600px) {
  .lightbox-arrow { font-size: 1.8rem; padding: 6px 10px; }
}

/* ── FOOTER ADMIN LINK ── */
.footer-admin-link {
  display: inline-block;
  margin-top: 14px;
  color: rgba(255,255,255,.25);
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s, opacity .2s;
  opacity: .6;
}
.footer-admin-link:hover { color: var(--gold); opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 10px 24px; }
  .nav-links { display: none; }
  .nav-logo img { height: 40px; }
  nav.scrolled .nav-logo img { height: 34px; }
  .burger-btn { display: flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .menu-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; }
  .stat-row { gap: 24px; }
}
@media (max-width: 600px) {
  section { padding: 72px 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .exp-features { gap: 32px; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
  .nav-ctrl-btn { font-size: .68rem; padding: 5px 9px; }
}

/* ── CANTINA: richiamo in home ── */
#cantina { background: var(--wine); color: #fff; text-align: center; }
#cantina .section-label { color: var(--gold); }
#cantina .section-title { color: #fff; }
#cantina .divider { margin: 20px auto 28px; }
.cantina-intro { max-width: 620px; margin: 0 auto 32px; line-height: 1.8; opacity: .85; }
.cantina-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.cantina-chip { display: inline-block; padding: 8px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 40px; color: rgba(255,255,255,.9); text-decoration: none; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.cantina-chip:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ── PAGINA CANTINA ── */
body.pagina-cantina nav { background: rgba(74, 25, 39, 0.97); padding: 12px 48px; box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav-links a.attivo { color: var(--gold); }
.cantina-testata { padding: 150px 24px 40px; background: var(--bg); text-align: center; }
.cantina-testata .container { max-width: 760px; }
.cantina-testata .divider { margin: 20px auto 24px; }
.cantina-testata p { color: var(--text-muted); line-height: 1.8; }
.cantina-barra { position: sticky; top: 64px; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); padding: 14px 24px; }
.cantina-barra .container { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cantina-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cantina-tab { padding: 7px 16px; border: 1px solid var(--gold); border-radius: 40px; background: transparent; color: var(--text); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.cantina-tab:hover { background: rgba(201,168,76,.18); }
.cantina-tab.active { background: var(--gold); color: #fff; }
.cantina-cerca { padding: 9px 16px; border: 1px solid var(--border); border-radius: 40px; background: var(--bg-surface); color: var(--text); font-family: inherit; font-size: .9rem; min-width: 220px; flex: 1; max-width: 360px; }
.cantina-cerca:focus { outline: 2px solid var(--gold); }
#cantinaElenco { background: var(--bg); min-height: 25vh; }
#cantinaContenuto { padding: 40px 24px 20px; }
.cantina-cat { margin-bottom: 56px; scroll-margin-top: 150px; }
.cantina-cat h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--heading); margin-bottom: 6px; }
.cantina-cat .conteggio { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.cantina-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 40px; }
.vino { padding: 14px 0; border-bottom: 1px dotted var(--border); }
.vino-nome { font-weight: 700; color: var(--heading); line-height: 1.4; }
.vino-dettagli { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }
.vino-nota { font-size: .82rem; color: var(--text-soft); font-style: italic; margin-top: 4px; }
.cantina-vuota { text-align: center; color: var(--text-muted); padding: 40px 0; }
.cantina-cta { background: var(--wine-dark); color: #fff; text-align: center; padding: 70px 24px; }
.cantina-cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 24px; }
.cantina-cta .azioni { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-chiama { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 1px solid rgba(255,255,255,.4); border-radius: 40px; color: #fff; text-decoration: none; font-size: .85rem; font-weight: 700; }
.btn-chiama:hover { background: var(--gold); border-color: var(--gold); }
@media (max-width: 900px) {
  body.pagina-cantina nav { padding: 10px 24px; }
  .cantina-barra { top: 56px; }
  .cantina-lista { grid-template-columns: 1fr; }
  .cantina-testata { padding-top: 120px; }
}

/* ── MAPPA STATICA ── */
.mappa-statica { position: relative; height: 360px; cursor: pointer; background: #1a0d12; }
.mappa-statica .mappa-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; filter: none !important; }
.mappa-statica .mappa-img.attiva { opacity: 1; }
.mappa-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); pointer-events: none; }
.mappa-switch { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 8px 16px; border: 1px solid rgba(255,255,255,.6); border-radius: 40px; background: rgba(26,13,18,.82); color: #fff; font-family: inherit; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s, color .2s; }
.mappa-switch:hover { background: var(--gold); border-color: var(--gold); }
.mappa-credit { position: absolute; right: 0; bottom: 0; padding: 2px 8px; font-size: .62rem; color: #222; background: rgba(255,255,255,.75); }
.mappa-credit a { color: #222; }
.mappa-statica:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 900px) { .mappa-statica { height: 300px; } }

/* ── PAGINA PRIVACY ── */
.testo-legale { background: var(--bg); padding: 150px 24px 70px; }
.testo-legale .container { max-width: 760px; }
.testo-legale h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--heading); margin: 34px 0 10px; }
.testo-legale p, .testo-legale li { line-height: 1.8; color: var(--text-soft); font-size: .98rem; }
.testo-legale ul { padding-left: 22px; }
.testo-legale li { margin-bottom: 10px; }
.testo-legale a { color: var(--wine); }
[data-theme="dark"] .testo-legale a { color: var(--gold); }
.testo-legale .agg { font-size: .8rem; color: var(--text-muted); font-style: italic; }
@media (max-width: 900px) { .testo-legale { padding-top: 120px; } }

.piatto-allergeni { font-size: .72rem; color: var(--text-muted); margin-top: 3px; letter-spacing: .02em; }
.menu-allergeni { margin: 14px auto 0; max-width: 640px; text-align: center; font-size: .85rem; line-height: 1.7; color: var(--text-muted); }
