/* =====================================================================
   FARNIENTE ZARAGOZA — Restaurante Mediterráneo & Experiencia
   Design system & styles
   Aesthetic: warm Mediterranean — clay, cream, olive, muted gold.
   "Aquí no hay prisa, solo DISFRUTE."
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --clay:        #BC5A38;   /* terracotta primary */
  --clay-deep:   #9C4427;
  --clay-soft:   #D98A5E;
  --olive:       #5E6B4C;   /* mediterranean green */
  --olive-deep:  #424d35;
  --gold:        #C29B45;   /* muted gold accent */
  --gold-soft:   #DCC183;
  --cream:       #F7F0E4;   /* warm paper background */
  --cream-2:     #FBF6EC;
  --sand:        #EDE2CD;
  --ink:         #2A2521;   /* near-black warm */
  --ink-soft:    #4b443d;
  --muted:       #7d7468;
  --line:        #e3d8c4;
  --white:       #ffffff;

  /* Typography */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 2px 10px rgba(42,37,33,.06);
  --shadow-md: 0 14px 40px -18px rgba(42,37,33,.28);
  --shadow-lg: 0 30px 70px -30px rgba(42,37,33,.45);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gutter), 1380px); margin-inline: auto; }

/* ---------- Reusable bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--clay); opacity: .7;
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 1.5px; background: var(--clay); opacity: .7;
}
.eyebrow.center { justify-content: center; }

.h-display { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.9rem); }
.lede { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.7rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 12px 26px -12px rgba(188,90,56,.8); }
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(188,90,56,.85); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-3px); }

/* Divider ornament */
.ornament { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--gold); }
.ornament span { height: 1px; width: 56px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 20px; height: 20px; opacity: .9; }

/* ---------- Header / nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.header.scrolled {
  background: rgba(247,240,228,.86);
  backdrop-filter: saturate(140%) blur(12px);
  padding: .65rem 0;
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; flex-direction: column; align-items: flex-start; line-height: .9; }
.brand-logo { height: 36px; width: auto; max-width: 100%; object-fit: contain; display: block; transition: height .4s var(--ease); }
.header.scrolled .brand-logo { height: 30px; }
.brand .place { font-size: .6rem; letter-spacing: .46em; text-transform: uppercase; color: var(--clay); margin-top: 5px; padding-left: 4px; }
.header:not(.scrolled) .brand .place { color: var(--gold-soft); }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: var(--cream); padding: .7rem 1.2rem; border-radius: 0 0 var(--radius) 0; font-weight: 700; }
.skip-link:focus { left: 0; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: .92rem; font-weight: 600; color: var(--ink); position: relative; padding: .25rem 0; transition: color .3s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--clay); transition: width .3s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.header:not(.scrolled) .nav-links a { color: rgba(255,255,255,.92); }
.header:not(.scrolled) .nav-links a::after { background: var(--gold-soft); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Language toggle */
.lang {
  display: inline-flex; align-items: center; border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; font-size: .76rem; font-weight: 700;
}
.header:not(.scrolled) .lang { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.lang button { padding: .35rem .62rem; letter-spacing: .08em; color: var(--muted); transition: background .3s, color .3s; }
.header:not(.scrolled) .lang button { color: rgba(255,255,255,.8); }
.lang button.active { background: var(--clay); color: #fff; }

.nav-cta { padding: .62rem 1.25rem; font-size: .88rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.header:not(.scrolled) .nav-toggle span { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(24,19,15,.82) 0%, rgba(24,19,15,.5) 42%, rgba(24,19,15,.22) 72%, rgba(24,19,15,.45) 100%),
    linear-gradient(180deg, rgba(24,19,15,.4) 0%, rgba(24,19,15,.1) 38%, rgba(24,19,15,.7) 100%);
}
.hero-inner { padding: 8rem 0 4.5rem; max-width: 56rem; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 {
  font-size: clamp(2.7rem, 1.6rem + 5.4vw, 6rem);
  font-weight: 500; margin: 1.1rem 0 1.3rem; line-height: .98;
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero h1 .accent { color: var(--clay-soft); font-style: normal; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); color: rgba(255,255,255,.9); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 3rem; align-items: center; }
.hero-badge { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: rgba(255,255,255,.92); }
.hero-badge strong { font-weight: 800; }
.hero-badge .stars { color: var(--gold-soft); letter-spacing: .1em; }
.hero-badge svg { width: 1.5rem; height: 1.5rem; color: var(--gold-soft); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.7rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.scroll-cue .mouse::before { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* Marquee strip */
.marquee { background: var(--ink); color: var(--cream); padding: .95rem 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 3rem; padding-right: 3rem; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold-soft); }
.marquee span::after { content: "✦"; color: var(--clay-soft); font-style: normal; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--cream); text-align: center; }
.philosophy .big {
  font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 3vw, 3.4rem);
  line-height: 1.18; max-width: 22ch; margin: 1.4rem auto 0; color: var(--ink);
}
.philosophy .big b { color: var(--clay); font-weight: 600; }
.philosophy .lede { margin: 1.6rem auto 0; text-align: center; }

/* ---------- Experiencia ---------- */
.experiencia { background: var(--cream-2); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split h2 { margin: 1rem 0 1.2rem; }
.split p + p { margin-top: 1rem; }
.feature-list { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--clay); }
.feature-list .ico svg { width: 22px; height: 22px; }
.feature-list h3 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; }
.feature-list p { font-size: .94rem; color: var(--muted); margin-top: 2px; }

.collage { columns: 2; column-gap: 1rem; }
.collage img { width: 100%; height: auto; display: block; break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.collage .badge-card {
  column-span: all; margin: .2rem 0 0;
  background: var(--ink); color: var(--cream); padding: .9rem 1.4rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .9rem; text-align: left;
}
.collage .badge-card svg { width: 30px; height: 30px; color: var(--gold-soft); flex: none; }
.collage .badge-card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.collage .badge-card span { font-size: .78rem; color: rgba(255,255,255,.7); }

/* Stat band */
.stats { background: var(--olive); color: var(--cream); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem); color: var(--gold-soft); line-height: 1; }
.stat .lab { margin-top: .5rem; font-size: .9rem; letter-spacing: .03em; color: rgba(255,255,255,.85); }
.stats .grid > * + * { position: relative; }
.stats .grid > * + *::before { content: ""; position: absolute; left: -.75rem; top: 50%; transform: translateY(-50%); height: 56px; width: 1px; background: rgba(255,255,255,.18); }

/* ---------- La carta ---------- */
.carta { background: var(--ink); color: var(--cream); position: relative; }
.carta .eyebrow { color: var(--gold-soft); }
.carta .eyebrow::before, .carta .eyebrow.center::after { background: var(--gold-soft); }
.carta h2 { color: var(--cream); }
.carta .section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.carta .section-head p { color: rgba(247,240,228,.72); margin-top: 1rem; }

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.menu-cat-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; }
.menu-cat-head h3 { font-size: 1.6rem; color: var(--gold-soft); white-space: nowrap; }
.menu-cat-head .rule { flex: 1; height: 1px; background: rgba(255,255,255,.14); }
.menu-cat .tagline { font-size: .82rem; color: rgba(247,240,228,.55); font-style: italic; margin: -.9rem 0 1.3rem; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .7rem 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.menu-item:last-child { border-bottom: none; }
.menu-item .mi-name { font-weight: 700; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.menu-item .mi-price { font-family: var(--font-display); color: var(--gold-soft); font-size: 1.05rem; white-space: nowrap; }
.menu-item .mi-desc { grid-column: 1 / -1; font-size: .88rem; color: rgba(247,240,228,.6); }
.tag {
  font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .12rem .4rem; border-radius: 5px; line-height: 1.4;
}
.tag.veg { background: rgba(94,107,76,.35); color: #cfe0b6; box-shadow: inset 0 0 0 1px rgba(207,224,182,.4); }
/* Bocados flip cards — hover/tap to flip dish -> chef & detail */
.bocados-flip { grid-column: 1 / -1; }
.flip-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.flip-card { perspective: 1100px; cursor: pointer; }
.flip-inner { position: relative; width: 100%; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform .7s var(--ease); }
/* Touch: only the .flipped class (tap toggles it) drives the flip — clean tap-to-flip, tap-to-return.
   Mouse devices additionally flip on hover (see @media (hover:hover) below). */
.flip-card:focus-visible .flip-inner, .flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius); overflow: hidden; }
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.flip-front .flip-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem .7rem .55rem;
  background: linear-gradient(transparent, rgba(20,16,12,.88)); color: #fff;
  font-weight: 800; font-size: .9rem; display: flex; justify-content: space-between; align-items: flex-end; gap: .4rem;
}
.flip-name b { color: var(--gold-soft); font-family: var(--font-display); font-weight: 500; white-space: nowrap; }
/* Portrait fronts are grayscale stills */
.flip-front img { filter: saturate(.05) contrast(1.04); transition: filter .5s var(--ease); }
/* Mouse-only: hover flips the card and warms the portrait. Touch uses tap-toggle instead. */
@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
  .flip-card:hover .flip-front img { filter: none; }
}
/* «Pura Vida» front: drifts on its own from black-and-white to full colour and back — a slow, looping reveal (no tap or hover needed). */
@keyframes fn-bw-to-color {
  0%, 12%   { filter: grayscale(1) saturate(.06) contrast(1.06); }
  46%, 60%  { filter: grayscale(0) saturate(1)  contrast(1); }
  92%, 100% { filter: grayscale(1) saturate(.06) contrast(1.06); }
}
.flip-front--anim img { filter: none; animation: fn-bw-to-color 9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .flip-front--anim img { animation: none; filter: none; }
}
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--clay) 0%, var(--clay-deep) 100%);
  color: #fff; padding: .9rem .8rem; display: flex; flex-direction: column; gap: .45rem;
  justify-content: center; text-align: center;
}
.flip-back h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin: 0; }
.flip-back p { font-size: .72rem; line-height: 1.45; color: rgba(255,255,255,.92); margin: 0; }
.flip-back .flip-price { font-family: var(--font-display); color: var(--gold-soft); font-size: 1.05rem; }
/* Backs that reveal the real dish photo */
.flip-back--dish { padding: 0; justify-content: flex-start; gap: 0; text-align: center; }
.flip-back--dish > img { width: 100%; height: 52%; object-fit: cover; display: block; }
.flip-back--dish .fb-info { flex: 1; display: flex; flex-direction: column; gap: .3rem; justify-content: center; padding: .45rem .6rem; min-height: 0; }
.flip-back--dish p { font-size: .62rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.flip-back--dish .flip-price { font-size: .98rem; }
.flip-hint { text-align: center; font-size: .8rem; color: rgba(247,240,228,.5); margin-top: 1.1rem; }
@media (max-width: 1024px) { .flip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } .flip-back p { font-size: .7rem; } }

.carta-note { text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); color: rgba(247,240,228,.55); font-size: .85rem; }
.carta-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }

/* ---------- Eventos ---------- */
.eventos { background: var(--cream); }
.eventos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; align-items: start; }
.event-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; color: var(--cream);
  background: var(--ink); box-shadow: var(--shadow-md);
}
.event-card img { width: 100%; height: auto; display: block; }
.event-card h3 { font-size: 1.4rem; color: var(--gold-soft); margin: 0; padding: 1.3rem 1.5rem 0; }
.event-card p { font-size: .92rem; color: rgba(247,240,228,.8); margin: 0; padding: .5rem 1.5rem 1.6rem; }
.event-card .pill { position: absolute; top: 1rem; left: 1rem; background: rgba(20,15,12,.62); backdrop-filter: blur(6px); padding: .35rem .8rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
/* Weekly programme */
.week { margin-top: clamp(3rem, 6vw, 4.5rem); }
.week-head { text-align: center; max-width: 42rem; margin: 0 auto 2rem; }
.week-head p { color: var(--ink-soft); margin-top: .6rem; }
.week-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.week-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.1rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.week-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.week-item .day { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); background: rgba(188,90,56,.1); padding: .2rem .55rem; border-radius: var(--radius-pill); margin-bottom: .6rem; }
.week-item h4 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin: 0 0 .3rem; color: var(--ink); }
.week-item p { font-size: .84rem; color: var(--muted); margin: 0; }
.week-note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1.4rem; }
.week-note a { color: var(--clay); font-weight: 700; }
.week-note a:hover { text-decoration: underline; }
@media (max-width: 1024px) { .week-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .week-grid { grid-template-columns: 1fr 1fr; } }

.eventos-cta { margin-top: 2.8rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; background: var(--ink); color: var(--cream); padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--radius-lg); }
.eventos-cta .txt h3 { color: var(--gold-soft); font-size: 1.6rem; }
.eventos-cta .txt p { color: rgba(247,240,228,.75); margin-top: .4rem; max-width: 48ch; }

/* ---------- Regala ---------- */
.regala { background: linear-gradient(160deg, var(--clay) 0%, var(--clay-deep) 100%); color: #fff; overflow: hidden; }
.regala .split { align-items: center; }
.regala .eyebrow { color: var(--gold-soft); }
.regala .eyebrow::before { background: var(--gold-soft); }
.regala h2 { color: #fff; }
.regala p { color: rgba(255,255,255,.9); }
.regala ul { margin: 1.6rem 0; display: grid; gap: .8rem; }
.regala ul li { display: flex; gap: .7rem; align-items: center; }
.regala ul li svg { width: 1.2rem; height: 1.2rem; color: var(--gold-soft); flex: none; }
.giftcard {
  background: linear-gradient(135deg, #2A2521, #3a332b); border-radius: var(--radius-lg);
  padding: 2rem; color: var(--cream); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: space-between;
  max-width: 460px; margin-inline: auto; width: 100%;
}
.giftcard::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(194,155,69,.4), transparent 70%); top: -90px; right: -70px; }
.giftcard .gc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.giftcard .gc-brand { font-family: var(--font-display); font-size: 1.5rem; }
.giftcard .gc-brand small { display: block; font-size: .55rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-soft); }
.giftcard .gc-chip { width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); opacity: .9; }
.giftcard .gc-label { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(247,240,228,.6); }
.giftcard .gc-value { font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 2.2vw, 2rem); line-height: 1.15; color: var(--gold-soft); }

/* ---------- Galería ---------- */
.galeria { background: var(--cream-2); }
/* Masonry — every photo shown whole (no cropping) */
.gallery-grid { columns: 3; column-gap: 1rem; margin-top: 2.5rem; }
.gallery-grid figure { break-inside: avoid; margin: 0 0 1rem; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }

/* ---------- Opiniones ---------- */
.opiniones { background: var(--cream); }
.reviews-top { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; margin-bottom: 3rem; }
.rating-box { display: flex; align-items: center; gap: 1.2rem; }
.rating-box .score { font-family: var(--font-display); font-size: 3.4rem; color: var(--clay); line-height: 1; }
.rating-box .stars { color: var(--gold); font-size: 1.2rem; letter-spacing: .12em; }
.rating-box .meta { font-size: .9rem; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.review-card .stars { color: var(--gold); letter-spacing: .1em; }
.review-card blockquote { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; color: var(--ink); }
.review-card .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sand); color: var(--clay); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.review-card .who b { display: block; font-size: .95rem; }
.review-card .who span { font-size: .8rem; color: var(--muted); }
.review-card .gsource { margin-left: auto; }
.review-card .gsource svg { width: 20px; height: 20px; }

/* ---------- Visítanos ---------- */
.visita { background: var(--cream-2); }
.visita-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-block + .info-block { margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.info-block h3 { display: flex; align-items: center; gap: .6rem; font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin-bottom: .8rem; }
.info-block h3 svg { width: 1.2rem; height: 1.2rem; color: var(--clay); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .5rem 0; font-size: .94rem; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-table tr.today td { color: var(--clay); font-weight: 800; }
.hours-table tr.today td:first-child::after { content: " ●"; color: var(--clay); }
.open-now { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 700; margin-bottom: 1rem; }
.open-now.is-open { background: rgba(94,107,76,.15); color: var(--olive-deep); }
.open-now.is-closed { background: rgba(188,90,56,.12); color: var(--clay-deep); }
.open-now .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; }
.open-now.is-open .dot { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94,107,76,.5); } 70% { box-shadow: 0 0 0 8px rgba(94,107,76,0); } 100% { box-shadow: 0 0 0 0 rgba(94,107,76,0); } }
.contact-lines a { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; font-weight: 600; transition: color .25s; min-width: 0; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--clay); }
.contact-lines svg { width: 1.15rem; height: 1.15rem; color: var(--clay); flex: none; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.92); }

/* ---------- Reserva ---------- */
.reserva { background: var(--olive-deep); color: var(--cream); }
.reserva .eyebrow { color: var(--gold-soft); }
.reserva .eyebrow::before, .reserva .eyebrow.center::after { background: var(--gold-soft); }
.reserva h2 { color: var(--cream); }
.reserva-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.reserva-intro p { color: rgba(247,240,228,.8); margin-top: 1rem; }
.reserva-quick { margin-top: 2rem; display: grid; gap: 1rem; }
.reserva-quick a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .3s, transform .3s; }
.reserva-quick a:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.reserva-quick .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.reserva-quick .ico svg { width: 22px; height: 22px; }
.reserva-quick .wa { background: #25D366; color: #fff; }
.reserva-quick .ph { background: var(--gold); color: var(--ink); }
.reserva-quick .fk { background: var(--clay); color: #fff; }
.reserva-quick b { display: block; }
.reserva-quick span { font-size: .82rem; color: rgba(247,240,228,.65); }

.form-card { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.form-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(188,90,56,.15); }
.field textarea { resize: vertical; min-height: 80px; }
.form-card .btn { width: 100%; margin-top: .5rem; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 1rem; text-align: center; }
/* Always rendered (collapsed when empty) so the aria-live region announces reliably */
.form-status { margin-top: 0; padding: 0; border-radius: 10px; font-size: .9rem; font-weight: 600; overflow: hidden; }
.form-status.show { margin-top: 1rem; padding: .85rem 1rem; }
.form-status.ok { background: rgba(94,107,76,.15); color: var(--olive-deep); }
.form-status.err { background: rgba(188,90,56,.14); color: var(--clay-deep); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(247,240,228,.72); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer .brand-logo { height: 42px; margin-bottom: .25rem; }
.footer .brand .place { color: var(--gold-soft); }
.footer-about p { margin-top: 1.2rem; max-width: 32ch; font-size: .92rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .3s, transform .3s, color .3s; }
.footer-social a:hover { background: var(--clay); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h3 { font-family: var(--font-body); font-weight: 800; color: var(--cream); font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { display: block; padding: .32rem 0; font-size: .92rem; transition: color .25s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .82rem; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom .legal a:hover { color: var(--gold-soft); }
.footer-bottom .made { color: rgba(247,240,228,.58); }
.footer-bottom .made b { color: var(--clay-soft); }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 80; display: flex; flex-direction: column; gap: .8rem; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .3s, opacity .3s; }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab .wa { background: #25D366; color: #fff; }
.fab .wa svg { width: 28px; height: 28px; }
.fab .top { background: var(--ink); color: var(--cream); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .3s, opacity .3s, visibility 0s .3s; }
.fab .top.show { opacity: 1; pointer-events: auto; visibility: visible; transition: transform .3s, opacity .3s; }
.fab .top svg { width: 22px; height: 22px; }

/* ---------- Copy toast (phone/email fallback) ---------- */
.fn-toast {
  position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--cream); padding: .8rem 1.3rem; border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 700; box-shadow: var(--shadow-lg); z-index: 200;
  display: flex; align-items: center; gap: .5rem; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease); max-width: calc(100% - 2rem);
}
.fn-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.fn-toast svg { width: 1.1rem; height: 1.1rem; color: var(--gold-soft); flex: none; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 90; max-width: 380px;
  background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform: translateY(150%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.cookie.show { transform: translateY(0); visibility: visible; transition: transform .5s var(--ease); }
.cookie p { font-size: .86rem; color: var(--ink-soft); }
.cookie a { color: var(--clay); font-weight: 700; text-decoration: underline; }
.cookie .row { display: flex; gap: .7rem; margin-top: .9rem; }
.cookie .btn { padding: .55rem 1.1rem; font-size: .85rem; }

/* ---------- Mobile menu (a clean top-aligned nav list) ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(4.75rem, 15vw, 6.25rem) var(--gutter) calc(var(--gutter) + 1rem);
  transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.15;
  padding: 1.05rem .15rem; border-bottom: 1px solid rgba(255,255,255,.12);
  color: var(--cream); transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.mobile-menu nav a::after {
  content: ""; flex: none; width: 8px; height: 8px;
  border-right: 2px solid var(--gold-soft); border-top: 2px solid var(--gold-soft);
  transform: rotate(45deg); opacity: .5; transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.mobile-menu nav a:hover { color: var(--gold-soft); padding-left: .55rem; }
.mobile-menu nav a:hover::after { opacity: 1; transform: rotate(45deg) translate(2px, -2px); }
.mobile-menu nav a[aria-current="page"] { color: var(--gold-soft); }
.mobile-menu nav a[aria-current="page"]::after { opacity: 1; }
.mobile-menu .mm-actions { margin-top: 1.8rem; display: flex; gap: 1rem; }
.mobile-menu .mm-actions .btn { flex: 1; padding-top: .95rem; padding-bottom: .95rem; }
.mobile-menu .mm-close { position: absolute; top: 1.4rem; right: var(--gutter); width: 44px; height: 44px; display: grid; place-items: center; }
.mobile-menu .mm-close svg { width: 26px; height: 26px; }
.mobile-menu .mm-lang { position: absolute; top: 1.6rem; left: var(--gutter); }
body.menu-open { overflow: hidden; }
body.menu-open .header { opacity: 0; pointer-events: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Effects & polish ---------- */
html { scroll-padding-top: 92px; }
::selection { background: var(--clay); color: var(--cream); }

/* Hero: staggered welcome + slow Ken Burns drift */
@keyframes fn-kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-media img { animation: fn-kenburns 26s var(--ease) forwards; transform-origin: 60% 40%; }
@keyframes fn-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero-sub, .hero-actions, .hero-badges { animation: fn-rise .9s var(--ease) both; }
.hero h1 { animation-delay: .12s; }
.hero-sub { animation-delay: .24s; }
.hero-actions { animation-delay: .36s; }
.hero-badges { animation-delay: .5s; }

/* Photos fade in softly as they load (class added by JS) */
img.to-fade { opacity: 0; transform: scale(1.02); }
img.to-fade.faded { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .9s var(--ease); }

/* CTA buttons: gold sheen sweep + gentle press */
.btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .55s var(--ease); pointer-events: none;
}
.btn-primary:hover::after, .btn-gold:hover::after { left: 130%; }
.btn:active { transform: translateY(-1px) scale(.97); }

/* Menu rows glow softly on hover (dark carta section) */
.menu-item { border-radius: 8px; padding-left: .45rem; padding-right: .45rem; margin-left: -.45rem; margin-right: -.45rem;
  transition: background .3s var(--ease), border-color .3s var(--ease); }
.menu-item:hover { background: rgba(255,255,255,.045); border-bottom-color: rgba(220,193,131,.35); }

/* Cards lift on hover */
.review-card, .event-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.review-card:hover, .event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.giftcard { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.giftcard:hover { transform: perspective(900px) rotateX(3deg) rotateY(-5deg) translateY(-4px); }

/* Gallery & collage: zoom affordance + lift */
.gallery-grid figure { cursor: zoom-in; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.gallery-grid figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-grid figure::after {
  content: "+"; position: absolute; right: .7rem; bottom: .7rem; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(28,22,18,.55); color: var(--gold-soft);
  font-size: 1.35rem; line-height: 1; opacity: 0; transition: opacity .35s var(--ease); backdrop-filter: blur(4px);
  pointer-events: none;
}
.gallery-grid figure:hover::after, .gallery-grid figure:focus-visible::after { opacity: 1; }
.collage img { cursor: zoom-in; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.collage img:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Lightbox */
.fn-lb {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(20,16,12,.92); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
  padding: clamp(1rem, 5vw, 3.5rem);
}
.fn-lb.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.fn-lb img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .35s var(--ease); }
.fn-lb.open img { transform: none; }
.fn-lb figcaption {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.3rem;
  color: var(--cream); font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  text-align: center; max-width: 82%; text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.fn-lb button {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: var(--cream); transition: background .3s var(--ease), transform .3s var(--ease);
}
.fn-lb button:hover { background: var(--clay); transform: scale(1.08); }
.fn-lb button svg { width: 22px; height: 22px; }
.fn-lb .lb-close { top: 1.2rem; right: 1.2rem; }
.fn-lb .lb-prev { left: .9rem; top: 50%; margin-top: -23px; }
.fn-lb .lb-next { right: .9rem; top: 50%; margin-top: -23px; }
body.lb-open { overflow: hidden; }
@media (max-width: 620px) {
  .fn-lb .lb-prev { left: .4rem; }
  .fn-lb .lb-next { right: .4rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links, .nav .lang, .nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .menu-grid { grid-template-columns: 1fr; }
  .eventos-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 820px) {
  .split, .visita-grid, .reserva-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .collage { max-width: 520px; margin: 1rem auto 2rem; }
  .stats .grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .stats .grid > *:nth-child(odd)::before { display: none; }
  .stats .grid > *:nth-child(3)::before, .stats .grid > *:nth-child(4)::before { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .map-card iframe { min-height: 340px; }
  .reserva-grid { gap: 2.5rem; }
}
@media (max-width: 620px) {
  .eventos-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .eventos-cta { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .rating-box .score { font-size: 2.8rem; }
  .fab { right: 1rem; bottom: 1rem; }
  .cookie { left: 1rem; right: 1rem; max-width: none; }
}

/* =====================================================================
   CARTA PAGE (carta.html) — full illustrated menu
   Dark, editorial, sticky category subnav. Reuses .menu-item / flip cards.
   ===================================================================== */
.menu-page { background: var(--ink); color: var(--cream); }
/* Active nav tab indicator (used on both pages) */
.nav-links a[aria-current="page"] { color: var(--clay); }
.nav-links a[aria-current="page"]::after { width: 100%; }
.header:not(.scrolled) .nav-links a[aria-current="page"] { color: var(--gold-soft); }
.mobile-menu nav a[aria-current="page"] { color: var(--gold-soft); }

/* ---- Hero band ---- */
.menu-hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(7.5rem, 12vw, 10.5rem) 0 clamp(2.6rem, 5vw, 3.6rem);
}
.menu-hero-media { position: absolute; inset: 0; z-index: -2; }
.menu-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: fn-kenburns 30s var(--ease) forwards; transform-origin: 55% 45%; }
.menu-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,15,12,.66) 0%, rgba(20,15,12,.78) 55%, rgba(42,37,33,.94) 100%);
}
.menu-hero .eyebrow { color: var(--gold-soft); justify-content: center; }
.menu-hero .eyebrow::before, .menu-hero .eyebrow::after { background: var(--gold-soft); }
.menu-hero .eyebrow::after { content: ""; width: 26px; height: 1.5px; opacity: .7; }
.menu-hero h1 { color: #fff; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.2rem); margin: .9rem 0 .9rem; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.menu-hero h1 em { font-style: italic; color: var(--gold-soft); }
.menu-hero p { color: rgba(247,240,228,.85); max-width: 44rem; margin: 0 auto; font-size: clamp(1rem, .96rem + .3vw, 1.15rem); }
.menu-hero .menu-hero-note { margin-top: 1.1rem; font-size: .8rem; letter-spacing: .02em; color: rgba(247,240,228,.6); }

/* ---- Sticky category subnav ---- */
.menu-nav { position: sticky; top: 64px; z-index: 60; background: rgba(28,22,18,.92); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.menu-nav .wrap-wide { display: flex; gap: .4rem; overflow-x: auto; padding: .55rem 0; scrollbar-width: none; -ms-overflow-style: none; }
.menu-nav .wrap-wide::-webkit-scrollbar { display: none; }
.menu-nav a { flex: none; padding: .5rem 1rem; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: rgba(247,240,228,.66); white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease); }
.menu-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.menu-nav a.active { color: var(--ink); background: var(--gold-soft); }

/* ---- Sections ---- */
.menu-main { padding-bottom: clamp(2rem, 5vw, 4rem); }
.menu-section { padding: clamp(3rem, 6vw, 5rem) 0; scroll-margin-top: 128px; border-top: 1px solid rgba(255,255,255,.08); }
.menu-section:first-of-type { border-top: none; }
.sec-head { display: flex; align-items: baseline; gap: 1.2rem; }
.sec-head h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); color: var(--gold-soft); white-space: nowrap; }
.sec-head .rule { flex: 1; height: 1px; background: rgba(255,255,255,.14); }
.sec-tag { font-style: italic; color: rgba(247,240,228,.62); margin: .5rem 0 1.9rem; }

/* image + items layout, alternating sides */
.menu-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
.menu-layout.rev { grid-template-columns: 1.18fr .82fr; }
.menu-layout.rev .menu-figure { order: 2; }
.menu-figure {
  position: sticky; top: 128px; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); cursor: zoom-in; background: #1c1613;
}
.menu-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform .7s var(--ease); }
.menu-figure:hover img { transform: scale(1.045); }
.menu-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .95rem .75rem;
  background: linear-gradient(transparent, rgba(20,15,12,.9)); color: var(--gold-soft);
  font-family: var(--font-display); font-style: italic; font-size: .95rem;
}
.menu-figure::after {
  content: "+"; position: absolute; right: .7rem; top: .7rem; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(28,22,18,.55);
  color: var(--gold-soft); font-size: 1.35rem; line-height: 1; opacity: 0; transition: opacity .35s var(--ease); backdrop-filter: blur(4px); pointer-events: none;
}
.menu-figure:hover::after, .menu-figure:focus-visible::after { opacity: 1; }

.menu-items .menu-item:first-child { padding-top: 0; }
/* Allergen codes ("red numbers") + veg tag on menu rows */
.mi-allerg { margin-left: .35rem; font-size: .62rem; font-weight: 800; color: var(--clay-soft); letter-spacing: .06em; white-space: nowrap; vertical-align: .35em; }
.mi-price small { color: rgba(247,240,228,.5); font-family: var(--font-body); font-weight: 600; font-size: .72rem; }

/* Farnicombos highlight block */
.combo { margin-top: 1.8rem; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.combo-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }
.combo-head h4 { font-family: var(--font-display); font-weight: 500; color: var(--gold-soft); font-size: 1.15rem; }
.combo-head .ico { color: var(--clay-soft); }
.combo-head .ico svg { width: 1.15rem; height: 1.15rem; display: block; }
.combo > p.sec-tag { margin: .1rem 0 1rem; }

/* Bocados grid on the menu page */
.menu-bocados .flip-hint { color: rgba(247,240,228,.55); }
.flip-price .mi-allerg { vertical-align: baseline; color: rgba(247,240,228,.72); margin-left: .45rem; font-size: .62rem; }

/* ---- Allergen legend ---- */
.allergens { background: #211b17; }
.allergens-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem 1.6rem; margin-top: 1.8rem; }
.allergen { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: rgba(247,240,228,.85); }
.allergen .num { flex: none; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: rgba(188,90,56,.16); color: var(--clay-soft); font-weight: 800; font-size: .78rem; box-shadow: inset 0 0 0 1px rgba(217,138,94,.3); }
.allergen-note { margin-top: 1.8rem; font-size: .82rem; color: rgba(247,240,228,.55); max-width: 60ch; }

/* ---- Dish photo-tile grid (a card per dish, like the original menu) ---- */
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.15rem; margin-top: 1.9rem; }
.dish { background: #211b17; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(220,193,131,.32); }
.dish-photo { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; background: #1c1613; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover .dish-photo img { transform: scale(1.05); }
.dish-photo::after { content: "+"; position: absolute; right: .6rem; bottom: .6rem; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(28,22,18,.55); color: var(--gold-soft); font-size: 1.3rem; line-height: 1; opacity: 0; transition: opacity .35s var(--ease); backdrop-filter: blur(4px); pointer-events: none; }
.dish-photo:hover::after, .dish-photo:focus-visible::after { opacity: 1; }
.dish-photo--mono { display: grid; place-items: center; cursor: default; background: linear-gradient(150deg, var(--clay-deep) 0%, #2f2a24 100%); }
.dish-photo--mono::after { content: none; }
.dish-photo--mono svg { width: 40px; height: 40px; color: rgba(220,193,131,.55); }
.dish-body { padding: .95rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; }
.dish-name { font-family: var(--font-body); font-weight: 800; font-size: .98rem; color: var(--cream); line-height: 1.22; display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.dish-price { font-family: var(--font-display); color: var(--gold-soft); font-size: 1.08rem; white-space: nowrap; }
.dish-price small { font-family: var(--font-body); font-weight: 600; font-size: .7rem; color: rgba(247,240,228,.5); }
.dish-desc { font-size: .82rem; color: rgba(247,240,228,.68); line-height: 1.5; }
.dish .tag.veg { align-self: center; }

/* Farnicombos block: champagne accent image + pairings list */
.combo.combo--photo { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center; }
.combo .combo-img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.combo .combo-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .combo.combo--photo { grid-template-columns: 1fr; } .combo .combo-img { max-height: 220px; } }

/* CTA row on menu page reuses .carta-actions */
.menu-cta { text-align: center; padding-top: clamp(1rem, 3vw, 2rem); }
.menu-cta .carta-note { margin-top: 0; }

@media (max-width: 820px) {
  .menu-layout, .menu-layout.rev { grid-template-columns: 1fr; }
  .menu-layout.rev .menu-figure { order: 0; }
  .menu-figure { position: static; top: auto; }
  .menu-figure img { aspect-ratio: 16 / 10; }
}
