/* ==========================================================================
   80Sete — Enoteca e Cucina, Mirafiori Sud, Torino
   ========================================================================== */

/* ---------- Fonts (self-hosted, GDPR-safe) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/playfair-display-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/playfair-display-italic-variable.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --wine-900: #3a0f1c;
  --wine-800: #4a1420;
  --wine-700: #6e1f30;
  --wine-600: #7d2436;

  --copper-700: #8b4a2a;
  --copper-600: #a85c34;
  --copper-500: #bc6f3e;
  --copper-300: #d9a878;
  --copper-200: #ecd7bd;

  --gold-500: #c9a063;

  --cream-50: #fbf6ef;
  --cream-100: #f5ede1;
  --cream-200: #efe3d1;

  --ink-900: #221812;
  --ink-700: #3a2c22;
  --ink-600: #55483e;
  --ink-400: #7a6b5f;

  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(34, 24, 18, 0.08);
  --shadow-md: 0 12px 32px rgba(34, 24, 18, 0.14);
  --shadow-lg: 0 24px 60px rgba(34, 24, 18, 0.22);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

html, body { overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
p { color: var(--ink-600); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2.5px solid var(--copper-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--ink-900); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  z-index: 1000; transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--copper-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--copper-700); box-shadow: var(--shadow-md); }

.btn-outline-dark { background: transparent; color: var(--ink-900); border: 1.5px solid var(--ink-900); }
.btn-outline-dark:hover { background: var(--ink-900); color: var(--white); }

.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: var(--white); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ---------- Brand wordmark ---------- */
.brand { display: flex; flex-direction: column; gap: 0.1rem; }
.brand-mark { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; white-space: nowrap; }
.brand-80 { font-weight: 800; color: var(--ink-900); }
.brand-sete { font-weight: 600; font-style: italic; color: var(--copper-600); margin-left: 0.15rem; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-400); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), height var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 72px;
}
.site-header:not(.is-scrolled) .brand-80,
.site-header:not(.is-scrolled) .brand-sub { color: var(--white); }
.site-header:not(.is-scrolled) .header-phone { color: var(--white); }
.site-header:not(.is-scrolled) .main-nav a { color: rgba(255,255,255,0.92); }
.site-header:not(.is-scrolled) .nav-toggle span { background: var(--white); }

.header-inner {
  width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-700);
  position: relative; padding: 0.3rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: currentColor; transition: right var(--dur-med) var(--ease-out);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.header-phone { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.92rem; color: var(--ink-700); }
.header-phone:hover { color: var(--copper-600); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 50%;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); margin: 0 auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile off-canvas — sibling of header, not nested (avoids fixed/backdrop-filter containing-block bug) */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 300;
  width: min(340px, 84vw); background: var(--cream-50);
  padding: calc(var(--header-h) + 1rem) 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out);
  display: flex; flex-direction: column; gap: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-nav a { display: block; padding: 0.75rem 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; border-bottom: 1px solid var(--cream-200); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 0.9rem; margin-top: auto; }
.mobile-nav-actions .btn { width: 100%; }

.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(34,24,18,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}
.mobile-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24,14,10,0.55) 0%, rgba(24,14,10,0.35) 40%, rgba(24,14,10,0.75) 100%),
    linear-gradient(90deg, rgba(24,14,10,0.55) 0%, rgba(24,14,10,0.15) 55%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1400px; margin: 0 auto; width: 100%;
  padding: calc(var(--header-h) + 2rem) clamp(1rem, 4vw, 3rem) 6rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 1.7rem + 3.6vw, 4.6rem);
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--copper-600); margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--copper-300); }

.hero-rating { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars svg { width: 18px; height: 18px; }
.stars-lg svg { width: 24px; height: 24px; }
.hero-rating-text { font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.hero-rating-text strong { color: var(--white); font-size: 1.05em; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1; color: var(--white); opacity: 0.8;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.5); border-radius: 50%;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 18px; height: 18px; }
.scroll-cue:hover { opacity: 1; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink-900); color: var(--copper-200);
  overflow: hidden; white-space: nowrap;
  padding: 0.9rem 0;
  border-top: 1px solid var(--wine-800); border-bottom: 1px solid var(--wine-800);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 0.9rem;
  animation: marquee 32s linear infinite;
}
.marquee span:not(.dot) { font-family: var(--font-display); font-style: italic; font-size: 1rem; padding: 0 0.2rem; }
.marquee .dot { color: var(--copper-600); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 4vw + 2rem, 7rem) 0; }
.section-tinted { background: var(--cream-100); }
.section-dark { background: var(--wine-900); }
.section-dark::before { content: none; }
.section-inner { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }

.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-lead { font-size: 1.08rem; }

.light { color: var(--white); }
.light-body { color: rgba(255,255,255,0.82); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: auto; object-fit: cover; }
.split-media-accent {
  position: absolute !important; width: 44% !important; max-width: 220px;
  bottom: -8%; right: -8%;
  border: 6px solid var(--cream-50); box-shadow: var(--shadow-lg) !important;
}
.map-wrap .split-media-accent { display: none; }

.fact-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.75rem; }
.fact-chips li {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--cream-200);
  padding: 0.55rem 1rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.fact-chips .icon { color: var(--copper-600); }

/* ---------- Menu ---------- */
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.menu-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 2rem 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.menu-card-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--cream-100); color: var(--copper-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.menu-card-icon svg { width: 26px; height: 26px; }
.menu-card p { font-size: 0.94rem; }

.menu-footer {
  margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--cream-200);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem;
}
.menu-footer p { flex: 1 1 320px; font-size: 0.95rem; margin: 0; }
.price-chip {
  background: var(--wine-900); color: var(--copper-200);
  padding: 0.5rem 1.1rem; border-radius: 100px; font-weight: 700; font-size: 0.9rem;
  white-space: nowrap;
}
.price-chip em { font-style: normal; opacity: 0.7; font-weight: 500; font-size: 0.85em; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  cursor: pointer; aspect-ratio: 4 / 5; padding: 0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease-out); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(24,14,10,0.55) 100%);
  opacity: 0; transition: opacity var(--dur-fast) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* ---------- Eventi ---------- */
.event-list { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.5rem 0 2rem; }
.event-list li {
  color: rgba(255,255,255,0.9); font-weight: 500; padding-left: 1.8rem; position: relative;
}
.event-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--copper-500);
}

/* ---------- Recensioni ---------- */
.rating-summary { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.25rem; font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.review-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 2.25rem 1.9rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.quote-mark { width: 34px; height: 26px; color: var(--copper-300); }
.review-card blockquote { font-size: 0.98rem; color: var(--ink-700); line-height: 1.65; }
.review-card figcaption { font-weight: 700; font-size: 0.9rem; color: var(--ink-900); margin-top: auto; }
.review-card figcaption span { font-weight: 500; color: var(--ink-400); }
.reviews-footer { text-align: center; margin-top: 3rem; }

/* ---------- Dove siamo ---------- */
.info-block { display: flex; gap: 1rem; margin-bottom: 1.6rem; align-items: flex-start; }
.info-block .icon { width: 24px; height: 24px; color: var(--copper-600); margin-top: 0.15rem; }
.info-block strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.15rem; }
.info-block span { font-size: 0.92rem; color: var(--ink-600); }

.hours-table dl { margin-top: 0.4rem; }
.hours-table dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px dashed var(--cream-200); font-size: 0.92rem; max-width: 320px; }
.hours-table dt { color: var(--ink-600); }
.hours-table dd { font-weight: 600; }

.dove-siamo-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.map-wrap { min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed { height: 100%; min-height: 380px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.75); }
.footer-inner {
  max-width: 1400px; margin: 0 auto; padding: 4.5rem clamp(1rem, 4vw, 3rem) 3rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand .brand-80 { color: var(--white); }
.footer-brand .brand-sub { color: var(--copper-300); }
.footer-brand p { margin: 1rem 0 1.1rem; font-size: 0.9rem; color: rgba(255,255,255,0.65); max-width: 30ch; }
.footer-social-row { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-social { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--white); font-size: 0.9rem; }
.footer-social .icon { color: var(--copper-300); }
.footer-social:hover { color: var(--copper-300); }

.site-footer h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper-300); font-weight: 700; margin-bottom: 1.1rem; }
.footer-nav ul, .footer-legal ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav a, .footer-legal a, .footer-legal button { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-nav a:hover, .footer-legal a:hover, .footer-legal button:hover { color: var(--white); }
.footer-legal button { text-align: left; padding: 0; }

.footer-hours dl > div { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.88rem; padding: 0.28rem 0; }
.footer-hours dt { color: rgba(255,255,255,0.55); }
.footer-hours dd { font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15, 9, 6, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  animation: fade-in var(--dur-med) var(--ease-out);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { max-width: min(90vw, 1100px); max-height: 88vh; display: flex; flex-direction: column; gap: 0.9rem; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255,255,255,0.75); text-align: center; font-size: 0.9rem; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); color: var(--white);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 600;
  max-width: 640px; margin: 0 auto;
  background: var(--white); color: var(--ink-700);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
  animation: slide-up var(--dur-med) var(--ease-out);
}
@keyframes slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-600); }
.cookie-banner a { text-decoration: underline; color: var(--ink-900); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }

  .split { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
  .split-media-accent { max-width: 180px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .hero-content { padding-bottom: 4.5rem; }
  .hero h1 { max-width: 100%; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .gallery-item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }

  .menu-footer { flex-direction: column; align-items: flex-start; }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 1; }

  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .dove-siamo-cta { flex-direction: column; }
  .dove-siamo-cta .btn { width: 100%; }
}

/* ==========================================================================
   Legal pages (privacy / cookie-policy / note-legali)
   ========================================================================== */
.legal-header {
  background: var(--wine-900); color: var(--white);
  padding: calc(var(--header-h) + 3rem) clamp(1rem, 4vw, 3rem) 3.5rem;
}
.legal-header .eyebrow { color: var(--copper-300); }
.legal-header h1 { color: var(--white); font-size: clamp(2rem, 1.7rem + 1.5vw, 3rem); }
.legal-header p { color: rgba(255,255,255,0.75); margin-top: 0.75rem; }

.legal-page main {
  max-width: 760px; margin: 0 auto; padding: 3.5rem clamp(1rem, 4vw, 3rem) 5rem;
}
.legal-page h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.legal-page h2:first-child { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--ink-600); font-size: 0.98rem; margin-bottom: 0.9rem; }
.legal-page ul { list-style: disc; padding-left: 1.4rem; }
.legal-page a { color: var(--copper-700); text-decoration: underline; }
.legal-page strong { color: var(--ink-900); }
.legal-page .back-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; font-weight: 600; color: var(--copper-300); }
.legal-page .back-link:hover { color: var(--white); }
