/* ==========================================================================
   El Mexicano Auténtico — styles
   Paleta: cempasúchil (amarillo) + mole (oscuro cálido) + rojo chile,
   rosa mexicano, verde y turquesa como acentos.
   ========================================================================== */

:root {
  --yellow:      #FFC21A;
  --yellow-2:    #F5A600;
  --yellow-soft: #FFE38A;
  --yellow-pale: #FFF4CF;
  --ink:         #1F110A;
  --ink-2:       #2C1A10;
  --ink-3:       #6B4A33;
  --cream:       #FFF7E4;
  --red:         #D3241A;
  --pink:        #E2007A;
  --green:       #0E7A4B;
  --teal:        #1A9EA4;
  --line-ink:    rgba(31, 17, 10, .16);
  --line-cream:  rgba(255, 247, 228, .14);

  --f-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius:   22px;
  --gutter:   clamp(1rem, 4vw, 3.5rem);
  --nav-h:    76px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--yellow);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; }

::selection { background: var(--ink); color: var(--yellow); }

/* ---------- Reveal (only hidden when JS is present) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--yellow);
  transition: clip-path 1s var(--ease-out), opacity .6s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { display: grid; justify-items: center; gap: 1.2rem; }
.splash-inner img { width: 117px; animation: splashPop 1.2s var(--ease-out) both; }
.splash-bar { width: 140px; height: 3px; background: rgba(31,17,10,.15); border-radius: 3px; overflow: hidden; }
.splash-bar i { display: block; height: 100%; background: var(--red); animation: splashBar 1.4s var(--ease-out) forwards; transform-origin: left; transform: scaleX(0); }
@keyframes splashPop { from { opacity: 0; transform: scale(.8) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes splashBar { to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--yellow);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--bg); color: var(--fg);
  font: 700 .98rem/1 var(--f-body);
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .35s var(--ease-out), background .3s, color .3s, box-shadow .35s var(--ease-out);
  box-shadow: 0 0 0 0 var(--ink);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 0 var(--red); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 0 var(--red); }
.btn-ghost { --bg: transparent; --fg: var(--ink); }
.btn-ghost:hover { --bg: var(--cream); }
.btn-sm { padding: .7rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1.25rem 2.2rem; font-size: 1.1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: .15rem;
}
.link-arrow span { transition: transform .35s var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }

.kicker, .eyebrow {
  font: 800 .78rem/1.2 var(--f-body);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  transition: background .35s, box-shadow .35s, height .35s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(255, 194, 26, .92);
  box-shadow: 0 1px 0 var(--line-ink);
  height: 64px;
}
@supports (backdrop-filter: blur(10px)) {
  .nav.is-scrolled { background: rgba(255, 194, 26, .78); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); }
}
.nav-logo img { height: 52px; width: auto; border-radius: 8px; transition: transform .4s var(--ease-out); }
.nav-logo:hover img { transform: rotate(-3deg) scale(1.04); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  position: relative;
  font-weight: 700; font-size: .95rem; text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 1rem; }

.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.status.is-open .status-dot { background: var(--green); box-shadow: 0 0 0 0 rgba(14,122,75,.6); animation: pulse 2s infinite; }
.status.is-closed .status-dot { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(14,122,75,0); } 100% { box-shadow: 0 0 0 0 rgba(14,122,75,0); } }

.nav-burger { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .35s var(--ease-out); }
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 24px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
  padding: var(--nav-h) var(--gutter) 2rem;
  background: var(--ink); color: var(--yellow);
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path .7s var(--ease-out);
  pointer-events: none;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); pointer-events: auto; }
.mobile-menu a { font: 400 2.6rem/1.1 var(--f-display); text-decoration: none; }
.mobile-menu .mobile-menu-tel { margin-top: 1.5rem; font: 800 1.2rem/1 var(--f-body); color: var(--cream); }
body.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .nav-logo, body.menu-open .nav-right .status, body.menu-open .nav-right .btn { opacity: 0; pointer-events: none; }
body.menu-open .nav-burger { border-color: var(--yellow); }
body.menu-open .nav-burger span { background: var(--yellow); }

/* ---------- Papel picado ---------- */
.papel {
  position: absolute; top: 0; left: 0; right: 0;
  height: 110px;
  display: flex; justify-content: space-between;
  padding: 0 1vw;
  pointer-events: none;
  z-index: 1;
}
.papel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px;
  background: var(--ink); opacity: .55;
}
.papel .flag {
  width: clamp(40px, 6vw, 74px);
  transform-origin: 50% 6px;
  animation: sway var(--dur, 4s) ease-in-out var(--delay, 0s) infinite alternate;
  filter: drop-shadow(0 4px 4px rgba(31,17,10,.12));
}
.papel .flag svg { width: 100%; height: auto; display: block; }
@keyframes sway {
  from { transform: rotate(calc(var(--amp, 4deg) * -1)); }
  to   { transform: rotate(var(--amp, 4deg)); }
}
.papel-sm .flag { width: clamp(30px, 4.2vw, 56px); }
.hero .papel { top: calc(var(--nav-h) + 4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 120px) var(--gutter) 4rem;
  display: flex; align-items: center;
  background:
    radial-gradient(60% 55% at 85% 40%, rgba(255, 227, 138, .9), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(245, 166, 0, .55), transparent 70%),
    var(--yellow);
}
.hero-grid {
  width: 100%; max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1.6rem; }
.eyebrow-line { width: 36px; height: 2px; background: var(--red); }
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.7rem, 6.4vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-wrap: balance;
  max-width: 13ch;
}
.hero-title em { color: var(--red); }
.hero-lead { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-2); --d: .1s; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; --d: .2s; }
.hero-facts {
  list-style: none; margin: 2.6rem 0 0; padding: 1.4rem 0 0;
  display: flex; flex-wrap: wrap; gap: 1rem 2.2rem;
  border-top: 1px solid var(--line-ink);
  font-size: .92rem; --d: .3s;
}
.hero-facts strong { font-weight: 800; }

.hero-figure { position: relative; margin: 0; --d: .15s; }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 0 var(--red);
  background: var(--pink);
}

/* ---------- Mariachi animado ---------- */
.mariachi { display: block; width: 100%; height: 100%; }
.mariachi .sun-rays { transform-origin: 200px 230px; animation: spin 60s linear infinite; }
.mariachi .body { transform-origin: 200px 450px; animation: groove 1.2s ease-in-out infinite alternate; }
.mariachi .head { transform-origin: 200px 222px; animation: bob .6s ease-in-out infinite alternate; }
.mariachi .strum { transform-origin: 238px 240px; animation: strum .28s ease-in-out infinite alternate; }
.mariachi .mouth { transform-box: fill-box; transform-origin: center; animation: sing .6s ease-in-out infinite alternate; }
.mariachi .note { transform-box: fill-box; transform-origin: center; opacity: 0; animation: noteUp 3.2s ease-out infinite; }
.mariachi .n2 { animation-delay: .8s; }
.mariachi .n3 { animation-delay: 1.6s; }
.mariachi .n4 { animation-delay: 2.4s; animation-name: noteUpLeft; }
@keyframes groove { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }
@keyframes bob    { from { transform: rotate(-4deg); }   to { transform: rotate(3deg); } }
@keyframes strum  { from { transform: rotate(-5deg); }   to { transform: rotate(7deg); } }
@keyframes sing   { from { transform: scaleY(.35); }     to { transform: scaleY(1.15); } }
@keyframes noteUp {
  0%   { opacity: 0; transform: translate(0, 10px) rotate(-10deg); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(28px, -95px) rotate(16deg); }
}
@keyframes noteUpLeft {
  0%   { opacity: 0; transform: translate(0, 10px) rotate(10deg); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-24px, -80px) rotate(-14deg); }
}
.sticker {
  position: absolute; left: -46px; bottom: 12%;
  width: 150px; height: 150px;
  display: grid; place-items: center;
  background: var(--pink); color: var(--cream);
  border-radius: 50%;
  border: 3px solid var(--ink);
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { font: 800 15px/1 var(--f-body); letter-spacing: .16em; fill: currentColor; }
.sticker-chili { font-size: 2.2rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-figure figcaption { margin-top: 1.4rem; text-align: right; font-size: .85rem; font-style: italic; color: var(--ink-2); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--yellow);
  overflow: hidden;
  border-block: 3px solid var(--ink);
  transform: rotate(-1.2deg) scale(1.02);
  margin: -1rem 0;
  position: relative; z-index: 3;
}
.marquee-track {
  display: flex; align-items: center; gap: 2rem;
  width: max-content;
  padding: 1.1rem 0;
  animation: marquee 38s linear infinite;
  font: 400 clamp(1.5rem, 3vw, 2.4rem)/1 var(--f-display);
  white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--pink); font-size: .8em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section commons ---------- */
section h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
}

/* ---------- La casa (dark) ---------- */
.casa {
  background: var(--ink); color: var(--cream);
  padding: clamp(6rem, 12vw, 10rem) var(--gutter) clamp(5rem, 9vw, 8rem);
}
.casa .kicker { color: var(--yellow); }
.casa h2 em { color: var(--yellow); }
.casa-head { max-width: 1240px; margin: 0 auto; display: grid; gap: 1.4rem; }
.casa-head h2 { max-width: 18ch; }
.casa-grid {
  max-width: 1240px; margin: clamp(3rem, 6vw, 5rem) auto 0;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.casa-figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3;
  outline: 2px solid var(--yellow); outline-offset: 10px;
}
.casa-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.casa-figure:hover img { transform: scale(1.05); }
.casa-text { display: grid; gap: 1.3rem; font-size: 1.08rem; color: rgba(255,247,228,.82); }
.casa-text p:first-child::first-letter {
  float: left; font: 400 4.6rem/.8 var(--f-display); color: var(--yellow);
  margin: .35rem .6rem 0 0;
}
.casa-text .link-arrow { color: var(--yellow); justify-self: start; margin-top: .6rem; }

.pillars {
  list-style: none; padding: 0;
  max-width: 1240px; margin: clamp(4rem, 8vw, 6rem) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-cream);
}
.pillar { padding: 2.2rem 2rem 0 0; }
.pillar + .pillar { padding-left: 2rem; border-left: 1px solid var(--line-cream); }
.pillar:nth-child(2) { --d: .1s; }
.pillar:nth-child(3) { --d: .2s; }
.pillar-n { font: italic 400 1.6rem/1 var(--f-display); color: var(--pink); }
.pillar h3 { margin: .9rem 0 .6rem; font: 400 1.75rem/1.1 var(--f-display); color: var(--yellow); }
.pillar p { color: rgba(255,247,228,.72); font-size: .98rem; }

/* ---------- La carta ---------- */
.carta {
  position: relative;
  padding: clamp(8rem, 13vw, 11rem) var(--gutter) clamp(5rem, 9vw, 8rem);
  background: var(--yellow-pale);
  background-image: radial-gradient(rgba(31,17,10,.07) 1px, transparent 1px);
  background-size: 18px 18px;
}
.carta-head { max-width: 1240px; margin: 0 auto 3.5rem; display: grid; gap: 1.2rem; }
.carta-head .kicker { color: var(--red); }
.carta-lead { max-width: 52ch; color: var(--ink-2); }

.dishes {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.dish {
  position: relative;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.dish:hover { box-shadow: 8px 8px 0 0 var(--ink); }
.dish::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,194,26,.32), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.dish:hover::after { opacity: 1; }
.dish-img { aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--ink); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.dish:hover .dish-img img { transform: scale(1.07); filter: saturate(1.15); }
.dish-body { padding: 1.2rem 1.3rem 1.5rem; display: grid; gap: .45rem; align-content: start; }
.dish-body h3 { font: 400 1.6rem/1.1 var(--f-display); }
.dish-body p { font-size: .93rem; color: var(--ink-2); }
.tag {
  justify-self: start;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font: 800 .68rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
}
.tag-red   { background: var(--red);   color: var(--cream); }
.tag-green { background: var(--green); color: var(--cream); }
.tag-pink  { background: var(--pink);  color: var(--cream); }

.dish-xl { grid-column: span 2; grid-row: span 2; }
.dish-xl .dish-img { aspect-ratio: auto; flex: 1; min-height: 300px; }
.dish-xl .dish-body h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.dish-xl .dish-body p { font-size: 1rem; max-width: 42ch; }

.dishes .dish:nth-child(4n+2) { --d: .08s; }
.dishes .dish:nth-child(4n+3) { --d: .16s; }
.dishes .dish:nth-child(4n)   { --d: .24s; }

/* posición de recorte en fotos verticales */
.dish img[src*="tostadas"] { object-position: 50% 30%; }
.dish img[src*="postre"]   { object-position: 50% 40%; }
.dish img[src*="tacos"]    { object-position: 50% 55%; }

.dish-price {
  margin-top: .35rem;
  font: 800 1rem/1 var(--f-body);
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.dish img[src*="sope"]       { object-position: 50% 45%; }
.dish img[src*="crepas"]     { object-position: 50% 50%; }

/* ---------- Carta completa ---------- */
.menu {
  position: relative;
  background: var(--yellow);
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  border-top: 3px solid var(--ink);
}
.menu-head { max-width: 1240px; margin: 0 auto 2.4rem; display: grid; gap: 1.1rem; }
.menu-head .kicker { color: var(--red); }
.menu-head h2 em { color: var(--red); }
.menu-lead { max-width: 60ch; color: var(--ink-2); font-weight: 500; }
.hot { font-size: .85em; }

.menu-tabs {
  max-width: 1240px; margin: 0 auto 2rem;
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.menu-tabs button {
  padding: .7rem 1.1rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font: 700 .92rem/1 var(--f-body);
  cursor: pointer;
  transition: background .25s, color .25s, transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.menu-tabs button:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.menu-tabs button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.menu-tabs button:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.menu-panels { max-width: 1240px; margin: 0 auto; }
.menu-panel {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--red);
  padding: clamp(1.6rem, 4vw, 3rem);
}
.menu-panel + .menu-panel { margin-top: 1.6rem; }
.js .menu-panel { display: none; margin-top: 0; }
.js .menu-panel.is-active { display: block; animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.menu-panel h3 { font: 400 clamp(2rem, 3.6vw, 2.8rem)/1 var(--f-display); }
.menu-note { margin-top: .7rem; max-width: 70ch; color: var(--ink-2); font-size: .96rem; }

.menu-list {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3.5rem;
}
.menu-list li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line-ink);
}
.menu-list .mi { flex: 1; display: grid; gap: .2rem; }
.menu-list .mi b { font-weight: 700; font-size: 1.02rem; }
.menu-list .mi small { font-size: .88rem; color: var(--ink-3); line-height: 1.45; }
.menu-list .mp { font: 800 1rem/1 var(--f-body); color: var(--red); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-list-extra { margin-top: .6rem; }

.carta-foot {
  max-width: 1240px; margin: 3.5rem auto 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding-top: 2rem; border-top: 1px solid var(--line-ink);
  font-weight: 600;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--red); color: var(--cream);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 3px solid var(--ink);
}
.stat { padding: clamp(2.2rem, 5vw, 3.6rem) var(--gutter); display: grid; gap: .4rem; }
.stat + .stat { border-left: 1px solid rgba(255,247,228,.25); }
.stat:nth-child(2) { --d: .08s; }
.stat:nth-child(3) { --d: .16s; }
.stat:nth-child(4) { --d: .24s; }
.stat-n { font: 400 clamp(2.4rem, 4.6vw, 4rem)/1 var(--f-display); color: var(--yellow); font-variant-numeric: tabular-nums; }
.stat-l { font-size: .9rem; font-weight: 600; opacity: .9; }

/* ---------- Galería ---------- */
.galeria {
  background: var(--ink-2); color: var(--cream);
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
}
.galeria-head {
  max-width: 1240px; margin: 0 auto 3rem;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.2rem 2rem;
}
.galeria-head .kicker { grid-column: 1 / -1; color: var(--yellow); }
.galeria-head h2 em { color: var(--yellow); }
.galeria-head .link-arrow { color: var(--yellow); }
.mosaic {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 230px);
  grid-auto-flow: dense;
  gap: .9rem;
}
.m { margin: 0; overflow: hidden; border-radius: 16px; background: var(--ink); }
.m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.92); }
.m:hover img { transform: scale(1.08); filter: saturate(1.15); }
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }
.mosaic .m:nth-child(even) { --d: .1s; }

/* ---------- Visítanos ---------- */
.visita {
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.visita .kicker { color: var(--red); }
.visita h2 { margin: 1rem 0 2.6rem; }
.visita h2 em { color: var(--red); }
.info-block { padding: 1.5rem 0; border-top: 1px solid var(--line-ink); display: grid; gap: .55rem; justify-items: start; }
.info-block h3 { font: 800 .75rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.info-block p { font-size: 1.1rem; font-weight: 600; }
.big-tel { font: 400 clamp(2.2rem, 4vw, 3.2rem)/1 var(--f-display); text-decoration: none; }
.big-tel:hover { color: var(--red); }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: .5rem 0; text-align: left; border-bottom: 1px dashed var(--line-ink); }
.hours th { font-weight: 700; width: 38%; }
.hours td { font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--red); font-weight: 700; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); background: linear-gradient(90deg, rgba(255,247,228,.85), transparent); }
.hours tr.is-today th::after { content: " · hoy"; color: var(--red); font-weight: 800; }
.hours-note { font-size: .85rem !important; font-weight: 500 !important; color: var(--ink-2); margin-top: .4rem; }
.visita-map {
  min-height: 460px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 12px 12px 0 0 var(--teal);
  background: var(--yellow-soft);
}
.visita-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.85) contrast(1.02); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--yellow-2);
  padding: clamp(9rem, 14vw, 12rem) var(--gutter) clamp(5rem, 9vw, 7rem);
  text-align: center;
  display: grid; justify-items: center; gap: 1.6rem;
  border-top: 3px solid var(--ink);
}
.cta-title { max-width: 17ch; font-size: clamp(2.4rem, 5.6vw, 5rem) !important; }
.cta-title em { color: var(--cream); -webkit-text-stroke: 1.5px var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 4rem var(--gutter) 6rem; }
.footer-top { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 1.6rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-cream); }
.footer-top img { width: 117px; border-radius: 10px; }
.footer-top p { font: 400 1.5rem/1.2 var(--f-display); color: var(--yellow); }
.footer-cols { max-width: 1240px; margin: 2.4rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-cols h4 { font: 800 .72rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,247,228,.55); margin-bottom: .8rem; }
.footer-cols a { text-decoration: none; border-bottom: 1px solid var(--line-cream); }
.footer-cols a:hover { color: var(--yellow); border-color: var(--yellow); }
.footer-legal { max-width: 1240px; margin: 3rem auto 0; font-size: .82rem; color: rgba(255,247,228,.5); }

/* ---------- Floating call (mobile) ---------- */
.fab-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 45;
  display: none; align-items: center; gap: .5rem;
  padding: .95rem 1.3rem;
  background: var(--red); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 800; text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transform: translateY(120%); transition: transform .5s var(--ease-out);
}
.fab-call svg { width: 18px; height: 18px; fill: currentColor; }
.fab-call.is-visible { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .dish-xl { grid-column: span 2; grid-row: auto; display: grid; grid-template-columns: 1.2fr 1fr; }
  .dish-xl .dish-img { border-bottom: 0; border-right: 2px solid var(--ink); min-height: 340px; }
  .dish-xl .dish-body { align-content: center; padding: 2rem; }
  .status { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-right .btn { display: none; }
  .nav-logo img { height: 44px; }

  .hero { padding-top: calc(var(--nav-h) + 64px); align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 14ch; }
  .hero-figure { max-width: 480px; width: 88%; margin: 1rem auto 0; }
  .sticker { width: 118px; height: 118px; left: -30px; }
  .sticker text { font-size: 18px; }

  .casa-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 1.8rem 0; border-left: 0; border-bottom: 1px solid var(--line-cream); }

  .dishes { grid-template-columns: repeat(2, 1fr); }
  .dish-xl { grid-column: span 2; grid-template-columns: 1fr; }
  .dish-xl .dish-img { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 260px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,247,228,.25); }

  .galeria-head { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: visible; margin-inline: calc(var(--gutter) * -1); padding: .3rem var(--gutter) .8rem; scrollbar-width: none; }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tabs button { flex: none; }
  .menu-panel { box-shadow: 6px 6px 0 var(--red); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }

  .visita { grid-template-columns: 1fr; }
  .visita-map, .visita-map iframe { min-height: 340px; }

  .footer-cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .fab-call { display: inline-flex; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-facts { gap: .6rem 1.4rem; font-size: .86rem; }
  .arch { box-shadow: 8px 8px 0 0 var(--red); }
  .dishes { grid-template-columns: 1fr; }
  .dish-xl { grid-column: auto; }
  .dish { flex-direction: row; }
  .dish:not(.dish-xl) .dish-img { width: 38%; flex: none; aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--ink); }
  .dish:not(.dish-xl) .dish-body { padding: 1rem; }
  .dish:not(.dish-xl) .dish-body h3 { font-size: 1.35rem; }
  .dish-xl { flex-direction: column; }
  .marquee-track { animation-duration: 28s; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .papel .flag:nth-child(n+9) { display: none; }
}

/* Sólo efectos realmente intrusivos */
@media (prefers-reduced-motion: reduce) {
  .papel .flag { animation-duration: 8s; --amp: 2deg; }
}
