/* =================================================================
   MENCHETTI POINT · GHERLINDA
   Palette dal locale reale: crema, inchiostro, rosso Menchetti,
   verde smeraldo delle piastrelle, ottone caldo.
   ================================================================= */

:root {
  /* colore */
  --ivory:      #FAF6EF;
  --ivory-2:    #F1E9DB;
  --ivory-3:    #E9DECB;
  --ink:        #1A1613;
  --ink-70:     #514a42;
  --ink-50:     #7a7167;
  --red:        #C4262B;
  --red-deep:   #9c1a1f;
  --green:      #0F5B47;
  --green-deep: #0a4537;
  --brass:      #C9A24B;
  --line:       rgba(26, 22, 19, 0.14);

  /* tipografia */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Schibsted Grotesk", system-ui, -apple-system, sans-serif;

  /* misure */
  --container: 1440px;
  --gutter: clamp(1.5rem, 4vw, 4rem);
  --section-y: clamp(4rem, 6.5vw, 7rem);
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
iframe { border: 0; }

::selection { background: var(--red); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ivory-2); }
::-webkit-scrollbar-thumb { background: #cdbfa6; border-radius: 20px; border: 3px solid var(--ivory-2); }
::-webkit-scrollbar-thumb:hover { background: var(--brass); }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--ivory);
  padding: 0.7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
em { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--brass); }
.eyebrow--green { color: #7fd6b0; }

.kicker {
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-70);
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.kicker--light { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,0.45); }
.kicker__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 38, 43, 0.16);
}

.period { color: var(--red); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--bg); color: var(--fg);
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.16);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(26,22,19,0.5); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(-1px); }

.btn--red   { --bg: var(--red);   --fg: #fff; }
.btn--green { --bg: var(--green); --fg: #fff; }
.btn--ink   { --bg: var(--ink);   --fg: var(--ivory); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--light { --bg: transparent; --fg: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(196,38,43,0.3); }

/* ---------- link arrow ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--red);
  width: fit-content;
  border-bottom: 1.5px solid transparent;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 0.8rem; border-color: currentColor; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow--light { color: var(--brass); }

/* ---------- taglist ---------- */
.taglist { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.taglist li {
  font-size: 0.85rem; font-weight: 600;
  padding: 0.45rem 0.95rem;
  border: 1.4px solid var(--line); border-radius: 100px;
  color: var(--ink-70);
}

/* ---------- reveal animation ----------
   Senza JS il contenuto è SEMPRE visibile. Lo stato nascosto iniziale
   si attiva solo se <html> ha la classe .js (vedi script inline nel head). */
.reveal { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav__inner {
  position: relative;
  padding: 0.55rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo {
  height: 40px; width: auto; display: block;
  /* sopra la foto: logo in bianco, leggibile senza riquadro */
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.45));
  transition: height 0.4s var(--ease), filter 0.4s var(--ease);
}
/* menu centrato nella barra */
.nav__links {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: 1.9rem;
  font-weight: 500; font-size: 0.96rem;
}
.nav__links a { position: relative; padding: 0.3rem 0; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,0.45); transition: color 0.4s var(--ease); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red); transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
/* stato aperto/chiuso in alto a destra */
.nav__status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,0.45);
  transition: color 0.4s var(--ease);
}

/* scrolled state */
.nav.is-scrolled {
  background: rgba(250, 246, 239, 0.85);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(26,22,19,0.5);
}
/* dopo lo scroll (barra crema): logo ai colori originali */
.nav.is-scrolled .nav__logo { height: 33px; filter: brightness(1) invert(0) drop-shadow(0 0 0 rgba(0,0,0,0)); }
.nav.is-scrolled .nav__links a { color: var(--ink); text-shadow: none; }
.nav.is-scrolled .nav__status { color: var(--ink); text-shadow: none; }
.nav.is-scrolled .nav__toggle span { background: var(--ink); }

/* hamburger */
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__toggle span { width: 26px; height: 2.4px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s, background 0.4s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.drawer {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 0.5rem var(--gutter) 1.6rem;
  background: rgba(250, 246, 239, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.drawer a { padding: 0.85rem 0.2rem; font-size: 1.25rem; font-family: var(--serif); border-bottom: 1px solid var(--line); }
.drawer__cta { margin-top: 1rem; border: none !important; justify-content: center; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(18,14,11,0.58) 0%,
      rgba(18,14,11,0.12) 20%,
      rgba(18,14,11,0.10) 46%,
      rgba(18,14,11,0.72) 84%,
      rgba(18,14,11,0.90) 100%);
}

.hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: clamp(7rem, 14vh, 9rem) var(--gutter) clamp(2.5rem, 7vh, 5rem);
  color: var(--ivory);
}
.hero__title {
  font-size: clamp(3rem, 9vw, 7.8rem);
  line-height: 0.9; letter-spacing: -0.035em; font-weight: 600;
  color: #fff; margin-bottom: 1.8rem;
  text-shadow: 0 2px 36px rgba(0,0,0,0.3);
}
.hero__lead-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.28);
}
.hero__lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
  color: rgba(255,255,255,0.9); max-width: 46ch; margin: 0;
}
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; flex: none; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 1.8rem;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,0.88);
}
.hero__meta li { display: flex; align-items: center; gap: 0.7rem; }
.hero__meta li:not(:last-child)::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); margin-left: 0.7rem; }

/* chip vetro nella hero — ora ospita il telefono */
.hero__chip {
  display: inline-flex; align-items: center; gap: 0.55rem; align-self: center;
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 0.72rem 1.2rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.32);
  font-size: 0.92rem; font-weight: 600; white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero__chip--phone:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.hero__phone-ico { opacity: 0.92; }

/* pallino di stato aperto/chiuso — usato nella navbar */
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-50); flex: none; }
.is-open .status-dot { background: #1faa6a; box-shadow: 0 0 0 4px rgba(31,170,106,0.2); animation: pulse 2.4s var(--ease) infinite; }
.is-closed .status-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(196,38,43,0.18); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(31,170,106,0.2);} 50% { box-shadow: 0 0 0 7px rgba(31,170,106,0.05);} }

/* scroll cue */
.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.55); border-radius: 14px;
  display: grid; justify-items: center; align-items: start; padding-top: 7px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: #fff; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px);} 40% { opacity: 1;} 80% { opacity: 0; transform: translateY(11px);} 100% { opacity: 0;} }

/* =================================================================
   MARQUEE
   ================================================================= */
.marquee {
  border-block: 1.5px solid var(--ink);
  background: var(--ink); color: var(--ivory);
  overflow: hidden; padding: 0.85rem 0;
  margin-top: clamp(1rem, 3vw, 2.5rem);
}
.marquee__track {
  display: flex; gap: 1.5rem; align-items: center;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem);
}
.marquee__track .sep { color: var(--red); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =================================================================
   SPLIT — sezioni con foto a metà, fino ai bordi
   (Il marchio · 01/02/03 · Too Good To Go)
   ================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(440px, 62vh, 740px);
}
.split__media { position: relative; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }
.split__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.75rem, 5.5vw, 6.5rem) clamp(1.75rem, 5vw, 6rem);
}
.split__body h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.6rem); line-height: 1.05;
  margin-bottom: 1.3rem; max-width: 18ch;
}
.split__body h2 em { color: var(--red); }
.split__body > p:not(.eyebrow) { color: var(--ink-70); margin-bottom: 1.1rem; max-width: 48ch; }
.split__body > p:not(.eyebrow) strong { color: var(--ink); font-weight: 600; }

/* variante verde — Too Good To Go */
.split--green .split__body {
  background: radial-gradient(130% 130% at 80% 12%, var(--green) 0%, var(--green-deep) 65%);
  color: var(--ivory);
}
.split--green .split__body > p:not(.eyebrow) { color: rgba(250,246,239,0.85); }
.split--green .split__body > p:not(.eyebrow) strong { color: #fff; }
.split--green .split__body h2 em { color: #fff; }

.stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.2rem; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--ink); line-height: 1; }
.stat span { font-size: 0.85rem; color: var(--ink-50); display: block; max-width: 14ch; }

/* =================================================================
   LA GIORNATA — etichette 01/02/03 (usano .split)
   ================================================================= */
.day { background: var(--ivory-2); }
.chapter__index {
  display: inline-block; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-50); margin-bottom: 1.2rem;
}
.chapter__index--red { color: var(--red); }
.split__body .link-arrow { margin-top: 1.7rem; }

/* =================================================================
   MENU PRANZO
   ================================================================= */
.menu {
  background: var(--ink); color: var(--ivory);
  padding: var(--section-y) var(--gutter);
  position: relative;
}
.menu__head { max-width: var(--container); margin: 0 auto 3rem; text-align: center; }
.menu__head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.menu__intro { color: rgba(250,246,239,0.7); max-width: 46ch; margin: 1.1rem auto 0; }

.menu__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.menu__col { display: flex; flex-direction: column; }
.menu__cat {
  font-size: 1.6rem; color: var(--ivory);
  padding-bottom: 0.7rem; margin-bottom: 1rem;
  border-bottom: 1.5px solid rgba(250,246,239,0.2);
  display: flex; align-items: baseline; gap: 0.6rem;
}
.menu__cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.menu__cat--mt { margin-top: 2.4rem; }
.menu__note { font-style: italic; font-family: var(--serif); color: var(--brass); font-size: 0.95rem; margin: -0.6rem 0 1rem 1.4rem; }

.menu__list { display: flex; flex-direction: column; gap: 0.85rem; }
.menu__list li { display: flex; align-items: baseline; gap: 0.5rem; }
.menu__item { font-weight: 500; color: var(--ivory); }
.menu__item em { display: block; font-size: 0.84rem; color: rgba(250,246,239,0.55); font-style: italic; font-weight: 400; }
.menu__dots { flex: 1; border-bottom: 1.5px dotted rgba(250,246,239,0.28); transform: translateY(-4px); min-width: 18px; }
.menu__price { font-family: var(--serif); font-size: 1.05rem; color: var(--brass); white-space: nowrap; }

/* formula highlight */
.formula {
  margin-top: 2.4rem; padding: 1.8rem;
  background: var(--red); color: #fff;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.formula::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.formula__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.formula__title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; margin: 0.6rem 0; }
.formula__price { font-family: var(--serif); font-size: 3.2rem; line-height: 1; font-weight: 600; }
.formula__price span { font-size: 1.4rem; vertical-align: super; margin-right: 2px; }
.formula__sub { font-size: 0.88rem; opacity: 0.9; margin-top: 0.5rem; }

/* prezzi (al pezzo / pala = 8 pezzi) */
.pricing {
  max-width: 720px; margin: 0 auto 3.5rem;
  background: rgba(250,246,239,0.04);
  border: 1px solid rgba(250,246,239,0.16); border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.6rem);
}
.pricing__head, .pricing__list li {
  display: grid; grid-template-columns: 1fr 72px 100px;
  gap: 0.8rem; align-items: baseline;
}
.pricing__head {
  padding-bottom: 0.7rem; margin-bottom: 0.3rem;
  border-bottom: 1.5px solid rgba(250,246,239,0.2);
}
.pricing__head span {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass); text-align: right;
}
.pricing__list { list-style: none; }
.pricing__list li { padding: 0.65rem 0; border-bottom: 1px solid rgba(250,246,239,0.08); }
.pricing__list li:last-child { border-bottom: 0; }
.pricing__name { font-weight: 500; color: var(--ivory); }
.pricing__name em { display: block; font-style: italic; font-size: 0.8rem; color: rgba(250,246,239,0.5); font-weight: 400; }
.pricing__pp, .pricing__pala { font-family: var(--serif); font-size: 1.05rem; text-align: right; white-space: nowrap; }
.pricing__pp { color: rgba(250,246,239,0.85); }
.pricing__pala { color: var(--brass); }
.pricing__note { margin-top: 1.1rem; text-align: center; font-size: 0.9rem; font-style: italic; color: rgba(250,246,239,0.62); }
.pricing__note strong { color: var(--ivory); font-style: normal; }

/* bevande */
.menu__cat--center { justify-content: center; text-align: center; }
.menu__cat--center::before { display: none; }
.menu__drinks { max-width: var(--container); margin: 3.5rem auto 0; }
.menu__drinks-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.8rem, 3.5vw, 3.2rem); margin-top: 1.6rem;
}
.drink-cat {
  font-family: var(--serif); font-size: 1.15rem; color: var(--ivory);
  margin-bottom: 0.9rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(250,246,239,0.15);
}
.drink-cat em { font-style: italic; font-size: 0.85rem; color: var(--brass); }

.menu__disclaimer { text-align: center; color: rgba(250,246,239,0.5); font-size: 0.85rem; margin-top: 3rem; font-style: italic; }

/* =================================================================
   TOO GOOD TO GO (usa .split.split--green)
   ================================================================= */
.leaf { color: #7fd6b0; }

.steps { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.6rem 0 1.9rem; }
.step { display: flex; align-items: center; gap: 1rem; }
.step__n {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-content: center;
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.3);
  font-family: var(--serif); font-size: 1.05rem;
}
.step p { color: rgba(250,246,239,0.9); }
.step strong { color: #fff; }

.tgtg__stats { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3vw, 2.4rem); margin-bottom: 1.9rem; }
.tgtg__stats strong { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: #fff; }
.tgtg__stats span { font-size: 0.82rem; color: rgba(250,246,239,0.75); }

/* =================================================================
   GALLERY
   ================================================================= */
.gallery {
  max-width: var(--container); margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.gallery__head { margin-bottom: 2.6rem; }
.gallery__head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  grid-auto-flow: dense;
}
.g { overflow: hidden; border-radius: var(--radius); margin: 0; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.g:hover img { transform: scale(1.06); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }

/* =================================================================
   VISIT
   ================================================================= */
.visit {
  background: var(--ink); color: var(--ivory);
  padding: var(--section-y) var(--gutter);
}
.visit__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch;
}
.visit__info h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-bottom: 2.4rem; }
.visit__block { padding: 1.4rem 0; border-top: 1px solid rgba(250,246,239,0.16); }
.visit__block:first-of-type { border-top: none; padding-top: 0; }
.visit__block h3 { font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.7rem; }
.visit__block p { color: rgba(250,246,239,0.85); }
.visit__block .link-arrow { margin-top: 0.8rem; }

.hours { display: flex; flex-direction: column; gap: 0.6rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; color: rgba(250,246,239,0.9); border-bottom: 1px dotted rgba(250,246,239,0.18); padding-bottom: 0.55rem; }
.hours li span:first-child { color: rgba(250,246,239,0.65); }
.hours__note span:last-child { font-family: var(--serif); font-style: italic; color: var(--brass); }

.visit__phone { font-family: var(--serif); font-size: 1.9rem; color: #fff; transition: color 0.25s; }
.visit__phone:hover { color: var(--brass); }

.visit__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: 0 30px 60px -36px rgba(0,0,0,0.7); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; filter: grayscale(0.2) contrast(1.05); }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--ivory); padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 2rem; }
.footer__top {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line);
}
.footer__logo { width: 210px; height: auto; }
.footer__claim { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-70); margin-top: 1rem; max-width: 22ch; }
.footer__note { margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-50); max-width: 34ch; line-height: 1.55; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__nav h4 { font-family: var(--sans); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 1rem; }
.footer__nav a { display: block; padding: 0.35rem 0; color: var(--ink-70); width: fit-content; transition: color 0.2s; }
.footer__nav a:hover { color: var(--red); }
.footer__bottom {
  max-width: var(--container); margin: 2rem auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.85rem; color: var(--ink-50);
}
.footer__credit { font-family: var(--serif); font-style: italic; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 980px) {
  .nav__links, .nav__status { display: none; }
  .nav__toggle { display: flex; }

  .hero__lead-row { align-items: flex-start; }
  .menu__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .visit__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}

/* split: impila foto sopra, testo sotto */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { height: clamp(240px, 56vw, 400px); order: 0 !important; }
  .split__body { padding: clamp(2.25rem, 7vw, 3.25rem) clamp(1.5rem, 6vw, 2.5rem); }
}

@media (max-width: 620px) {
  .menu__grid { grid-template-columns: 1fr; }
  .pricing__head, .pricing__list li { grid-template-columns: 1fr 62px 84px; gap: 0.6rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g--wide { grid-column: span 2; }
  .g--tall { grid-row: span 1; }
  .stats { gap: 1.4rem; }
  .stat strong { font-size: 2.1rem; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero__chip { font-size: 0.78rem; padding: 0.5rem 0.85rem; }
  .hero__lead-row { gap: 1.4rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .hero__scroll { display: none; }
}

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
