/* =============================================================
   DEJAVU 33 — hoja de estilos única
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía
   5. Componentes · 6. Secciones · 7. Carta · 8. Efectos
   9. Responsive · 10. Reduced motion
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Fondo cálido, nunca negro puro */
  --bg:        #100C09;
  --bg-2:      #17110C;
  --bg-3:      #1F1710;
  --bg-card:   #1B1510;

  --cream:     #F3EADB;
  --cream-2:   #D6C9B2;
  --cream-3:   #8E8067;

  --accent:    #D4552B;   /* rojo teja / pimentón */
  --accent-2:  #B23F1C;
  --gold:      #C9A15B;

  --line:      rgba(243, 234, 219, .12);
  --line-soft: rgba(243, 234, 219, .07);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --ease-soft:   cubic-bezier(.25, .46, .45, .94);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 3rem);
  --head-h: 68px;
}

@property --mesh-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 24px);
}
/* La carta lleva además la barra pegajosa de buscador + chips encima.
   El scroll-padding vive en el contenedor de scroll (html), no en body. */
html:has(.page-carta) { scroll-padding-top: 215px; }
@media (min-width: 720px) { html:has(.page-carta) { scroll-padding-top: 160px; } }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  padding-bottom: 0;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -.015em; font-weight: 400; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--accent); color: var(--cream); }

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

/* Iconos SVG: trazo por defecto */
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Excepción: el teléfono es una silueta rellena */
.btn svg path[d^="M6.6"], .mb-call svg path { fill: currentColor; stroke: none; }

/* =============================================================
   3. UTILIDADES
   ============================================================= */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1.1rem; border-radius: 10px;
  background: var(--cream); color: var(--bg); font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. TIPOGRAFÍA
   ============================================================= */
.kicker {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-3);
  font-weight: 500;
}

.sec-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.6vw, 3.9rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "opsz" 100;
  margin-top: .6rem;
  max-width: 16ch;
}
.sec-title em, .hero-title em, .proof-lead em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 100;
  color: var(--gold);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1.02rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: .35rem;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), gap .35s var(--ease-out);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: .9rem; }

/* =============================================================
   5. COMPONENTES
   ============================================================= */

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.35rem;
  border-radius: 100px;
  font-size: .95rem; font-weight: 500; letter-spacing: .005em;
  border: 1px solid transparent;
  transition: transform .4s var(--ease-out), background-color .35s var(--ease-out),
              border-color .35s var(--ease-out), color .35s var(--ease-out),
              box-shadow .4s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -14px rgba(212, 85, 43, .9);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(212, 85, 43, 1);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--cream);
  background: rgba(243, 234, 219, .03);
}
.btn-ghost:hover {
  border-color: var(--cream-2);
  background: rgba(243, 234, 219, .08);
  transform: translateY(-2px);
}

.btn-lg { padding: .98rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .86rem; }

/* --- Badge --- */
.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: .55rem;
  padding: .16rem .55rem .2rem;
  border-radius: 100px;
  background: rgba(212, 85, 43, .16);
  border: 1px solid rgba(212, 85, 43, .4);
  color: #E9825C;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* --- Logo --- */
.logo { display: inline-flex; align-items: baseline; gap: .34rem; }
.logo-word {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  font-variation-settings: "SOFT" 60, "opsz" 20;
  letter-spacing: -.01em;
}
.logo-num {
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
  padding: .1rem .34rem;
  border: 1px solid rgba(212, 85, 43, .45);
  border-radius: 5px;
  line-height: 1.2;
}

/* --- Cabecera --- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  height: var(--head-h);
  display: flex; align-items: center;
  transition: background-color .45s var(--ease-out), border-color .45s var(--ease-out),
              backdrop-filter .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-head.is-solid {
  background: rgba(16, 12, 9, .88);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.head-inner { display: flex; align-items: center; gap: 1.5rem; }
.head-nav { display: none; margin-left: auto; gap: 1.75rem; font-size: .92rem; }
.head-nav a {
  color: var(--cream-2);
  position: relative;
  padding-bottom: 3px;
  transition: color .3s var(--ease-out);
}
.head-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.head-nav a:hover { color: var(--cream); }
.head-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-tel { margin-left: auto; }
.head-nav + .head-tel { margin-left: 0; }
.head-tel span { display: none; }

/* --- Barra móvil fija --- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
  padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(16, 12, 9, .93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-soft);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem .5rem;
  border-radius: 12px;
  font-size: .92rem; font-weight: 500;
}
.mobile-bar svg { width: 17px; height: 17px; flex: none; }
.mb-call { background: var(--accent); color: #fff; }
.mb-map { border: 1px solid var(--line); color: var(--cream); }

/* --- Volver arriba --- */
.to-top {
  position: fixed; right: 1rem; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 110;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-3); border: 1px solid var(--line);
  color: var(--cream);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out),
              border-color .3s var(--ease-out);
  pointer-events: none;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================================
   6. SECCIONES — LANDING
   ============================================================= */
.section { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.sec-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* --- HERO --- */
/* En móvil la altura la manda el contenido: forzar 100svh dejaba medio
   viewport vacío arriba y abajo en pantallas altas. A partir de tablet sí
   vuelve a ocupar la pantalla entera. */
.hero {
  position: relative;
  display: flex; align-items: center;
  padding-block: calc(var(--head-h) + 2.2rem) 3.2rem;
  margin-top: calc(var(--head-h) * -1);
  overflow: hidden;
}

.hero-mesh {
  position: absolute; inset: -25% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 34% at 16% 22%, rgba(212, 85, 43, .30) 0%, transparent 72%),
    radial-gradient(34% 30% at 84% 14%, rgba(201, 161, 91, .16) 0%, transparent 74%),
    radial-gradient(46% 38% at 66% 92%, rgba(178, 63, 28, .20) 0%, transparent 74%),
    conic-gradient(from var(--mesh-angle) at 50% 55%, rgba(212, 85, 43, .10), rgba(201, 161, 91, .06), rgba(16, 12, 9, 0) 58%, rgba(212, 85, 43, .10));
  filter: blur(92px) saturate(115%);
  animation: meshTurn 26s linear infinite;
}
@keyframes meshTurn { to { --mesh-angle: 360deg; } }

.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Viñeta: apaga los bordes para que el mesh lea como brasa, no como fondo naranja */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(115% 85% at 42% 48%, transparent 22%, rgba(16, 12, 9, .5) 72%, rgba(16, 12, 9, .88) 100%),
    linear-gradient(180deg, rgba(16, 12, 9, .55) 0%, transparent 22%, transparent 60%, var(--bg) 100%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-mark {
  font-family: var(--serif);
  font-size: clamp(5.5rem, 20vw, 13rem);
  line-height: .78;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 85, 43, .55);
  margin: .7rem 0 .1rem;
  letter-spacing: -.03em;
  user-select: none;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 8vw, 5.6rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  line-height: 1;
  max-width: 15ch;
  margin-bottom: 1.5rem;
}

.hero-sub {
  max-width: 46ch;
  font-size: clamp(1rem, 2.1vw, 1.14rem);
  color: var(--cream-2);
  margin-bottom: 1.1rem;
}

/* El "sin reservas" va suelto, un escalón por debajo: es un dato práctico,
   no parte del reclamo. */
.hero-note {
  font-size: .92rem;
  color: var(--cream-3);
  padding-left: .85rem;
  border-left: 2px solid rgba(212, 85, 43, .55);
  margin-bottom: 1.9rem;
}

.hero-status {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .48rem .95rem .48rem .8rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(243, 234, 219, .04);
  font-size: .87rem;
  color: var(--cream-2);
  margin-bottom: 2rem;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cream-3);
  flex: none;
  box-shadow: 0 0 0 0 currentColor;
}
.status-dot.is-open { background: #5FBF7A; animation: statusPulse 2.6s var(--ease-soft) infinite; }
.status-dot.is-closed { background: #C4553F; }
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(95, 191, 122, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(95, 191, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 191, 122, 0); }
}
.status-text strong { font-weight: 600; color: var(--cream); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* En móvil los dos CTAs comparten ancho: no hay botón "de segunda" torcido */
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .visita-actions { flex-direction: column; align-items: stretch; }
  .visita-actions .btn { width: 100%; }
}

/* Sólo tiene sentido cuando el hero ocupa la pantalla entera */
.hero-scroll { display: none; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 2;
  translate: -50% 0;
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, var(--line));
  overflow: hidden;
}
.hero-scroll span {
  display: block; width: 100%; height: 16px;
  background: var(--accent);
  animation: scrollHint 2.4s var(--ease-soft) infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(-16px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

/* --- PRUEBA SOCIAL --- */
.proof { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.proof-head {
  display: grid; gap: 1.6rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.6rem);
}
.proof-score { display: flex; align-items: baseline; gap: .8rem; }
.proof-num {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 9vw, 5rem);
  font-weight: 500;
  line-height: 1;
  font-variation-settings: "opsz" 144;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.proof-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: .16em; }
.proof-lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  font-weight: 300;
  font-variation-settings: "SOFT" 40, "opsz" 80;
  line-height: 1.22;
  max-width: 24ch;
}
.proof-lead [data-count-to] { font-variant-numeric: tabular-nums; }

.proof-grid { display: grid; gap: 1rem; }
.quote {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.35rem;
  position: relative;
  transition: border-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.quote::before {
  content: "”";
  position: absolute; top: .1rem; right: 1.1rem;
  font-family: var(--serif);
  font-size: 3.6rem; line-height: 1;
  color: rgba(212, 85, 43, .3);
}
.quote:hover { border-color: rgba(212, 85, 43, .38); transform: translateY(-3px); }
.quote p { font-size: 1.02rem; color: var(--cream); margin-bottom: .85rem; }
.quote-by { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }

/* --- PLATOS ---
   Rejilla de 12 columnas: las dos tarjetas con foto real ocupan media fila
   cada una; las cuatro tipográficas van debajo a cuatro por fila. */
.platos-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.plato { grid-column: span 12; }

.plato {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}
.plato:hover {
  border-color: rgba(212, 85, 43, .35);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(212, 85, 43, .1);
}

/* 4:3 y no 16:9: las fotos actuales son verticales (capturas de móvil) y con
   un recorte más apaisado se perdía medio plato. Si algún día llegan fotos
   horizontales, se puede subir a 16/10 sin tocar nada más. */
.plato-wide .plato-media { aspect-ratio: 4 / 3; }

.plato-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  /* Marca de posición: si aún no hay foto en assets/img/, se ve un panel
     cálido en vez del icono de imagen rota. */
  background:
    repeating-linear-gradient(135deg, rgba(212, 85, 43, .07) 0 12px, transparent 12px 24px),
    var(--bg-3);
}
/* Velo cálido muy suave: integra la foto en la página sin apagar la comida.
   Son fotos reales del bar, así que se ven casi a pelo. */
.plato-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 9, 0) 45%, rgba(16, 12, 9, .55) 100%);
  opacity: 1;
  transition: opacity .7s var(--ease-out);
  pointer-events: none;
}
.plato-media img {
  width: 100%; height: 100%; object-fit: cover;
  /* Si la foto todavía no está en la carpeta, que no se lea el texto alt
     encima del panel. El alt sigue en el HTML para los lectores de pantalla. */
  font-size: 0; color: transparent;
  filter: brightness(.95) contrast(1.03);
  transition: transform 1.1s var(--ease-out), filter .7s var(--ease-out);
}
.plato:hover .plato-media::after { opacity: .6; }
.plato:hover .plato-media img { transform: scale(1.05); filter: brightness(1.02) contrast(1.03) saturate(1.06); }

.plato-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.plato-body .badge { margin-left: 0; margin-bottom: .7rem; align-self: flex-start; }
.plato-body h3 {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "opsz" 40;
  margin-bottom: .5rem;
}
.plato-body p { font-size: .94rem; color: var(--cream-3); flex: 1; }
.plato-price {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 1.05rem; font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.plato-price small {
  font-size: .66rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-3);
  margin-left: .12rem;
}

.plato-type {
  background:
    linear-gradient(150deg, rgba(212, 85, 43, .12) 0%, rgba(27, 21, 16, 0) 62%),
    var(--bg-card);
  border-color: rgba(212, 85, 43, .22);
}
.plato-type .plato-body { padding-block: 2.2rem 1.7rem; justify-content: center; }
.plato-type .plato-body p { flex: 0 0 auto; }
.plato-type h3 { font-size: clamp(1.4rem, 3.4vw, 1.7rem); }
.plato-tag {
  margin-top: 1.1rem;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.plato-type .plato-price { margin-top: .5rem; }

.platos-foot { margin-top: 2.6rem; }

/* --- SERVICIOS --- */
.servicios { padding-block: clamp(3rem, 7vw, 4.5rem); background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.serv-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1rem;
}
.serv-row li {
  display: flex; align-items: center; gap: .7rem;
  font-size: .9rem; color: var(--cream-2);
}
.serv-row svg { width: 21px; height: 21px; flex: none; color: var(--accent); }

/* --- VISÍTANOS --- */
.visita-grid { display: grid; gap: 3rem; margin-bottom: 2.8rem; }
.visita-addr { font-size: 1.08rem; color: var(--cream-2); margin: 1.6rem 0 .9rem; }

.tel-big {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2rem, 6.5vw, 3.1rem);
  font-weight: 500;
  font-variation-settings: "opsz" 100;
  letter-spacing: -.02em;
  color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-bottom: .18rem;
  margin-bottom: 1.8rem;
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out);
  font-variant-numeric: tabular-nums;
}
.tel-big:hover { color: var(--accent); border-color: var(--accent); }

.visita-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.5rem; }

.no-reservas {
  font-size: .89rem;
  color: var(--cream-3);
  padding-left: .9rem;
  border-left: 2px solid rgba(212, 85, 43, .5);
}

.visita-hours {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 1.7rem 1.6rem;
  align-self: start;
}
.hours-title {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-3); margin-bottom: 1.1rem; font-weight: 500;
}
.hours th, .hours td {
  padding: .62rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
  font-weight: 400;
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { text-align: left; color: var(--cream-2); }
.hours td { text-align: right; color: var(--cream); font-variant-numeric: tabular-nums; }
.hours td.is-closed { color: var(--cream-3); }
.hours tr.is-today th { color: var(--accent); font-weight: 600; }
.hours tr.is-today td { color: var(--accent); font-weight: 600; }

.map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
}
/* El embed gratuito de Google Maps no tiene modo oscuro. Se puede invertir con
   filtros, pero el mapa queda raro y cuesta leerlo — y aquí el mapa está para
   que la gente encuentre el bar. Sólo lo bajamos un punto para que no deslumbre. */
.map-frame iframe {
  width: 100%; height: 100%; border: 0;
  filter: saturate(.78) brightness(.94) contrast(1.02);
}

/* --- FOOTER --- */
.site-foot {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding-top: clamp(2.8rem, 7vw, 4.2rem);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
.foot-inner { display: grid; gap: 2.2rem; padding-bottom: 2.4rem; }
.foot-brand p { font-size: .88rem; color: var(--cream-3); margin-top: .7rem; }
.foot-col { display: flex; flex-direction: column; gap: .5rem; font-size: .92rem; color: var(--cream-2); }
.foot-col a { transition: color .3s var(--ease-out); width: fit-content; }
.foot-col a:hover { color: var(--accent); }
.foot-legal {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.4rem;
  display: grid; gap: .5rem;
  font-size: .76rem; color: var(--cream-3);
}

/* =============================================================
   7. CARTA
   ============================================================= */
.carta-hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem);
  overflow: hidden;
  background:
    radial-gradient(70% 100% at 15% 0%, rgba(212, 85, 43, .16) 0%, transparent 70%),
    var(--bg);
}
.carta-hero .wrap { position: relative; z-index: 2; }
.carta-title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 10vw, 5.5rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  margin: .5rem 0 1.2rem;
}
.carta-note {
  max-width: 52ch;
  font-size: .96rem;
  color: var(--cream-3);
  padding-left: 1rem;
  border-left: 2px solid rgba(212, 85, 43, .45);
}
.carta-note strong { color: var(--cream-2); font-weight: 500; }

/* --- Herramientas: buscador + chips --- */
.carta-tools {
  position: sticky; top: var(--head-h); z-index: 90;
  background: rgba(16, 12, 9, .93);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  padding-block: .8rem;
}
.tools-inner { display: grid; gap: .75rem; }

.search {
  position: relative;
  display: flex; align-items: center;
}
.search svg {
  position: absolute; left: .95rem;
  width: 16px; height: 16px; color: var(--cream-3);
  pointer-events: none;
}
.search input {
  width: 100%;
  padding: .68rem 1rem .68rem 2.6rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(243, 234, 219, .045);
  color: var(--cream);
  font: inherit;
  font-size: .93rem;
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out);
}
.search input::placeholder { color: var(--cream-3); }
.search input:focus { outline: none; border-color: rgba(212, 85, 43, .6); background: rgba(243, 234, 219, .07); }
.search input::-webkit-search-cancel-button { filter: invert(.7); }

.chips {
  display: flex; gap: .45rem;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(var(--gut) * -1);
  padding-inline: var(--gut);
  padding-block: .15rem;
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none;
  padding: .42rem .9rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: .82rem;
  color: var(--cream-3);
  white-space: nowrap;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.chips a:hover { color: var(--cream); border-color: var(--cream-3); }
.chips a.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.no-results {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--cream-3);
  font-size: 1rem;
}

.carta-body { padding-block: clamp(2.5rem, 6vw, 4rem) 0; }

.menu-sec { padding-block: clamp(2rem, 5vw, 3.2rem); }
.menu-sec[hidden] { display: none; }

.menu-h {
  display: flex; align-items: baseline; gap: .9rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "opsz" 90;
  padding-bottom: 1rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.menu-h-num {
  font-family: var(--sans);
  font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  color: var(--accent);
  flex: none;
}

.dishes { display: grid; gap: 1.55rem; }

.dish[hidden] { display: none; }
.dish-row {
  display: flex; align-items: baseline; gap: .5rem;
  flex-wrap: wrap;
}
.dish-name {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--cream);
  line-height: 1.35;
}
.leader {
  flex: 1 1 2rem;
  min-width: 1.5rem;
  align-self: flex-end;
  height: 3px;
  margin-bottom: .3rem;
  background-image: radial-gradient(circle at center, var(--cream-3) 1.1px, transparent 1.2px);
  background-size: 6px 3px;
  background-position: center;
  background-repeat: repeat-x;
  opacity: .6;
}
.prices {
  display: flex; align-items: flex-end; gap: 1rem;
  flex: none;
}
.price {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: 1rem; font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.25;
}
.price small {
  font-size: .6rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: .1rem;
}
.dish-desc {
  margin-top: .3rem;
  font-size: .89rem;
  color: var(--cream-3);
  max-width: 62ch;
}

.carta-cta {
  text-align: center;
  padding-block: clamp(3.5rem, 9vw, 6rem);
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.carta-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-variation-settings: "SOFT" 60, "opsz" 100;
  margin-bottom: .8rem;
}
.carta-cta > p { color: var(--cream-3); max-width: 44ch; margin: 0 auto 2rem; }
.carta-cta .hero-actions { justify-content: center; }
.carta-cta-addr { margin-top: 1.8rem; font-size: .84rem; color: var(--cream-3); }

/* =============================================================
   8. EFECTOS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Defensa: si algún elemento lleva reveal + data-split, nunca invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* Escalonado dentro de rejillas */
.hero-note { transition-delay: .06s; }
.proof-grid .reveal:nth-child(2),
.platos-grid .reveal:nth-child(2) { transition-delay: .09s; }
.proof-grid .reveal:nth-child(3),
.platos-grid .reveal:nth-child(3) { transition-delay: .18s; }
.proof-grid .reveal:nth-child(4) { transition-delay: .05s; }
.proof-grid .reveal:nth-child(5) { transition-delay: .14s; }
.proof-grid .reveal:nth-child(6) { transition-delay: .23s; }
.platos-grid .reveal:nth-child(4) { transition-delay: .27s; }
.platos-grid .reveal:nth-child(5) { transition-delay: .1s; }
.platos-grid .reveal:nth-child(6) { transition-delay: .19s; }
.serv-row .reveal:nth-child(2) { transition-delay: .05s; }
.serv-row .reveal:nth-child(3) { transition-delay: .1s; }
.serv-row .reveal:nth-child(4) { transition-delay: .15s; }
.serv-row .reveal:nth-child(5) { transition-delay: .2s; }
.serv-row .reveal:nth-child(6) { transition-delay: .25s; }

/* Transición entre páginas */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .5s;
  animation-timing-function: cubic-bezier(.16, 1, .3, 1);
}

/* =============================================================
   9. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .plato-type { grid-column: span 6; }
  .serv-row { grid-template-columns: repeat(3, 1fr); }
  .foot-legal { grid-template-columns: auto 1fr; align-items: center; }
}

@media (min-width: 720px) {
  :root { --head-h: 76px; }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-block: calc(var(--head-h) + 2rem) 5rem;
  }
  .hero-scroll { display: block; }

  .head-tel span { display: inline; }
  .tools-inner { grid-template-columns: 260px 1fr; align-items: center; gap: 1.1rem; }
  .chips { margin-inline: 0; padding-inline: 0; }
  .dishes { gap: 1.7rem; }
  .dish-name { font-size: 1.08rem; }
  .visita-grid { grid-template-columns: 1.25fr .85fr; gap: 3.5rem; }
  .foot-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .to-top { bottom: 1.4rem; }
  .site-foot { padding-bottom: clamp(2rem, 4vw, 3rem); }

  .head-nav { display: flex; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .plato-wide { grid-column: span 6; }
  .plato-type { grid-column: span 3; }
  .serv-row { grid-template-columns: repeat(5, 1fr); }
  .proof-head { grid-template-columns: auto 1fr; align-items: center; gap: 3rem; }
  .proof-score { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .map-frame { aspect-ratio: 21 / 8; }
}

@media (min-width: 1280px) {
  .platos-grid { gap: 1.15rem; }
}

/* Puntero grueso: sin efectos de hover que dependan del ratón */
@media (hover: none) {
  .plato-media::after { opacity: 0; }
  .plato-media img { filter: none; }
}

/* =============================================================
   10. REDUCED MOTION — sólo lo intrusivo
   Windows lo trae activado por defecto en muchas máquinas:
   NO desactivar hovers, fades ni micro-interacciones.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh { animation: none; }
  .hero-scroll span { animation: none; opacity: .6; }
  .status-dot.is-open { animation: none; }
}
