/* =========================================================
   A BOA VIDA · A Coruña, A Illa de Arousa y Outes
   Negro de noche y el verde agua del neón del logo.
   El naranja solo para pedir en Just Eat.
   ========================================================= */

/* Fuentes guardadas en la propia web (no se pide nada a Google: sin cookies ni envío de IP).
   Licencia SIL Open Font License: ver fonts/OFL-*.txt */
@font-face { font-family: "Allura"; src: url("../fonts/allura.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  /* los dos colores de la casa */
  --negro: #0b0b0a;
  --agua: #6fd8c8;          /* verde agua del neón del logo */
  --agua-claro: #a6ece1;
  --agua-rgb: 111 216 200;

  /* superficies y texto */
  --carbon: #131312;        /* fondos de sección un punto más claros */
  --carbon-2: #1c1c1a;      /* campos, tarjetas */
  --linea: rgb(243 239 231 / .12);
  --linea-fuerte: rgb(243 239 231 / .28);
  --hueso: #f3efe7;         /* texto principal */
  --hueso-2: #c4beb2;       /* texto secundario: 11:1 sobre negro */
  --hueso-3: #96918a;       /* notas pequeñas: 6,4:1 sobre negro */
  --error: #ff8b8b;

  /* Just Eat */
  --je: #ff8000;
  --je-claro: #ff9a33;

  --script: "Allura", "Brush Script MT", cursive;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1280px;
  --radius: 6px;
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* logo en neón */
  --logo-line: #bff6ec;
  --logo-text: #dcfcf5;
  --glow: drop-shadow(0 0 2px #6fd8c8) drop-shadow(0 0 10px #6fd8c8) drop-shadow(0 0 28px rgb(var(--agua-rgb) / .7)); /* taste-skill-ignore: brillo del neón del local */

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  accent-color: var(--agua);
  caret-color: var(--agua);
  scrollbar-color: #3a3a36 var(--negro);
}

body {
  margin: 0;
  background: var(--negro);
  color: var(--hueso);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
::selection { background: var(--agua); color: var(--negro); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; font-weight: 500; }
p, li { text-wrap: pretty; }
p { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--agua); outline-offset: 3px; border-radius: 4px; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px; /* taste-skill-ignore: texto solo para lectores de pantalla */
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: 0; z-index: 120;
  transform: translateY(-110%);
  background: var(--agua); color: var(--negro);
  padding: 10px 16px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip:focus { transform: translateY(12px); }

/* etiqueta pequeña en versalitas espaciadas (menú, datos) */
.caps, .nav a, .tabs button, .hero__town, .place__name, .field label, .hours__title, .status, .hero__coords {
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 .875rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn:active { transform: translateY(1px); }
.btn--agua { background: var(--agua); border-color: var(--agua); color: var(--negro); }
.btn--agua:hover { background: var(--agua-claro); border-color: var(--agua-claro); box-shadow: 0 8px 28px -10px rgb(var(--agua-rgb) / .8); }
.btn--ghost { background: transparent; border-color: var(--linea-fuerte); color: var(--hueso); }
.btn--ghost:hover { border-color: var(--agua); color: var(--agua-claro); }
.btn--je { background: var(--je); border-color: var(--je); color: var(--negro); }
.btn--je:hover { background: var(--je-claro); border-color: var(--je-claro); }
.btn--block { width: 100%; }
.btn[hidden], [hidden] { display: none !important; }

/* ---------- Neón ---------- */
.hero__neon, .foot__logo, .picker__logo { --logo-gastro: #ffe6f1; --logo-bar: #ffa3c8; overflow: visible; }

/* ---------- Cabecera ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: linear-gradient(180deg, rgb(11 11 10 / .86), rgb(11 11 10 / .6) 70%, rgb(11 11 10 / 0));
  transition: background-color .3s;
}
.top.is-solid { background: rgb(11 11 10 / .96); box-shadow: 0 1px 0 var(--linea); }
.top__inner {
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto; min-height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: opacity .3s; }
.brand__mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 0 4px rgb(var(--agua-rgb) / .8)); } /* taste-skill-ignore: neón del logo */
.brand__name { font-family: var(--script); font-size: 1.875rem; line-height: 1; color: #dcfcf5; white-space: nowrap; }

/* botón del local: siempre se sabe en qué A Boa Vida estás */
.place {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px 0 12px;
  border: 1px solid var(--linea-fuerte); border-radius: 999px;
  background: rgb(11 11 10 / .4); cursor: pointer;
  transition: border-color .2s, color .2s;
}
.place:hover { border-color: var(--agua); }
.place__pin { width: 18px; height: 18px; fill: none; stroke: var(--agua); stroke-width: 1.8; }
.place__name { font-size: .75rem; font-weight: 600; white-space: nowrap; }
.place__chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .7; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  font-size: .75rem; font-weight: 600; white-space: nowrap; text-decoration: none;
  color: var(--hueso-2); padding: 8px 0;
  text-decoration: underline 1px transparent; text-underline-offset: 8px;
  transition: color .2s, text-decoration-color .2s;
}
.nav a:hover, .nav a[aria-current] { color: var(--hueso); text-decoration-color: var(--agua); }
.nav .nav__cta {
  color: var(--agua); border: 1px solid rgb(var(--agua-rgb) / .6); border-radius: 999px; padding: 12px 18px;
}
.nav .nav__cta:hover { background: var(--agua); color: var(--negro); }
.nav__ig, .nav .nav__lang { display: none; }
.ig-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }

.top__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; }
.lang button {
  min-width: 40px; min-height: 44px; padding: 0 6px;
  border: 0; background: none; cursor: pointer;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--hueso-3);
  text-decoration: underline 1px transparent; text-underline-offset: 6px;
}
.lang button:hover { color: var(--hueso); }
.lang button[aria-pressed="true"] { color: var(--agua); text-decoration-color: var(--agua); }

.burger {
  display: none; position: relative;
  width: 44px; height: 44px; border: 1px solid var(--linea-fuerte); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px;
  background: var(--hueso); border-radius: 2px; transition: transform .25s, background-color .2s;
}
.burger__lines { top: 50%; margin-top: -1px; }
.burger__lines::before, .burger__lines::after { content: ""; }
.burger__lines::before { transform: translateY(-5px); }
.burger__lines::after { transform: translateY(5px); }
.nav-open .burger__lines { background: transparent; }
.nav-open .burger__lines::before { transform: rotate(45deg); }
.nav-open .burger__lines::after { transform: rotate(-45deg); }

/* ---------- Portada: fotos del local con el neón encima ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(600px, 100svh); max-height: 1100px;
  display: flex; align-items: flex-end;
}
.hero__slides { position: absolute; inset: 0; z-index: -3; background: var(--carbon); }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1);
  object-position: var(--pos-d, 50% 50%);
}
@media (max-width: 59.9375em) {
  .hero__slide { object-position: var(--pos, 50% 50%); }
  /* foto colocada para que su rótulo quede entre la cabecera y el título; se funde en negro por abajo */
  .hero__slide.is-fit { inset: auto; max-width: none; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
}
.hero__slide.is-on { opacity: 1; }
/* sombra para leer el texto encima de cualquier foto */
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(0deg, rgb(11 11 10 / .96) 0%, rgb(11 11 10 / .72) 30%, rgb(11 11 10 / .18) 62%, rgb(11 11 10 / .55) 100%),
    linear-gradient(90deg, rgb(11 11 10 / .55) 0%, rgb(11 11 10 / 0) 60%);
}
/* el rótulo de neón, como si estuviera colgado en la pared del local */
.hero__neon {
  position: absolute; z-index: -1;
  right: clamp(24px, 6vw, 96px); top: 50%;
  width: clamp(240px, 30vw, 440px); height: auto; aspect-ratio: 1;
  transform: translateY(-58%);
  filter: var(--glow);
}
.logo-wait .hero__neon { opacity: 0; }
/* en la foto ya sale el rótulo real: el dibujado se apaga (y vuelve a encenderse en la siguiente) */
.hero__neon, .hero__content { transition: opacity .45s ease; }
.hero.has-rotulo .hero__neon { animation: none; opacity: 0; }
.hero.is-swapping .hero__neon, .hero.is-swapping .hero__content { opacity: 0; }
@media (min-width: 60em) {
  /* logo dibujado más pequeño, en el hueco de la foto que se indica en js/locales.js */
  .hero.logo-colocado .hero__neon { left: var(--neon-x); top: var(--neon-y); right: auto; width: var(--neon-w); transform: translate(-50%, -50%); }
  /* texto a la derecha cuando el rótulo real está a la izquierda */
  /* el texto empieza pasado el 55 % de la pantalla y acaba donde acaba la cabecera, en cualquier anchura */
  .hero.texto-derecha .hero__content { max-width: none; padding-left: calc(55vw + 16px); padding-right: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
  .hero.texto-derecha .hero__shade {
    background:
      linear-gradient(0deg, rgb(11 11 10 / .9) 0%, rgb(11 11 10 / .45) 30%, rgb(11 11 10 / .1) 62%, rgb(11 11 10 / .5) 100%),
      linear-gradient(270deg, rgb(11 11 10 / .75) 0%, rgb(11 11 10 / .35) 45%, rgb(11 11 10 / 0) 65%);
  }
}
@media (max-width: 59.9375em) { .hero.movil-sin-logo .hero__neon { opacity: 0; animation: none; } }

.hero__content {
  width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--gutter) 112px;
}
.hero__title { display: grid; gap: 14px; }
.hero__place {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3.5rem, 9vw, 6rem); line-height: .92; letter-spacing: -.02em;
  max-width: 11ch;
}
.hero__town { font-family: var(--sans); font-size: .8125rem; font-weight: 600; color: var(--agua); order: -1; }
.hero__lede { margin-top: 18px; max-width: 44ch; color: var(--hueso-2); font-size: 1.125rem; }

/* pestaña de la novedad de la semana */
.hero__week {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 24px; padding: 10px 16px 10px 12px;
  border: 1px solid rgb(var(--agua-rgb) / .45); border-radius: 999px;
  background: rgb(11 11 10 / .55);
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
.hero__week:hover { border-color: var(--agua); background: rgb(11 11 10 / .8); }
.hero__week-label {
  padding: 4px 10px; border-radius: 999px; background: var(--agua); color: var(--negro);
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero__week-name { font-family: var(--display); font-style: italic; font-size: 1.375rem; line-height: 1.1; }
.hero__week svg { width: 18px; height: 18px; fill: none; stroke: var(--agua); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.hero__week:hover svg { transform: translateX(4px); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* pedir a domicilio: a mano pero sin competir con reservar */
.hero__je { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--je-claro); font-weight: 600; font-size: .9375rem; text-decoration: none; min-height: 44px; }
.hero__je:hover { color: var(--je); text-decoration: underline; }
.hero__je svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* sello del Solete Guía Repsol */
.hero__stamp {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid rgb(var(--agua-rgb) / .55); background: rgb(11 11 10 / .55);
  font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--agua-claro);
}
.hero__stamp svg { width: 18px; height: 18px; fill: none; stroke: var(--agua); stroke-width: 1.8; stroke-linecap: round; }
/* local cerrado por temporada: el estado pasa a primer plano */
.is-off-season .status {
  display: inline-flex; margin-top: 18px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--linea-fuerte); background: rgb(11 11 10 / .7);
  font-size: .8125rem; color: var(--hueso); line-height: 1.45; letter-spacing: .08em;
}
.is-off-season .status__dot { align-self: flex-start; margin-top: 1px; }

.status { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .75rem; font-weight: 600; color: var(--hueso-2); }
/* el punto y su aro se dibujan dentro de su propio cuadro de 16 px: nada sale fuera ni se puede recortar */
.status__dot { --c: var(--hueso-3); --aro: transparent; width: 16px; height: 16px; flex: none; border-radius: 50%; background: radial-gradient(circle closest-side, var(--c) 0 50%, var(--aro) 55% 98%, transparent 100%); }
.status.is-open .status__dot { --c: var(--agua); --aro: rgb(var(--agua-rgb) / .22); }
.status.is-closed .status__dot { --c: #e0736a; --aro: rgb(224 115 106 / .2); }

/* barras de progreso de las fotos, pausa y coordenadas del local */
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 var(--gutter) 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero__progress { display: flex; gap: 6px; }
.hero__progress span { position: relative; width: 44px; height: 2px; background: rgb(243 239 231 / .25); overflow: hidden; border-radius: 2px; }
.hero__progress i { position: absolute; inset: 0; background: var(--agua); transform: scaleX(0); transform-origin: left; }
.hero__progress .is-done i { transform: none; }
.hero__progress .is-on i { animation: hero-bar var(--hero-ms, 6500ms) linear forwards; }
.hero__progress.is-paused .is-on i { animation-play-state: paused; }
@keyframes hero-bar { to { transform: none; } }
.hero__pause {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--linea-fuerte); border-radius: 50%; background: rgb(11 11 10 / .4); cursor: pointer;
}
.hero__pause:hover { border-color: var(--agua); }
.hero__pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hero__pause .i-play { display: none; fill: currentColor; stroke: none; }
.hero__pause.is-paused .i-play { display: block; }
.hero__pause.is-paused .i-pause { display: none; }
.hero__coords { margin-left: auto; font-size: .6875rem; font-weight: 600; color: var(--hueso-3); font-variant-numeric: tabular-nums; }

/* ---------- Novedad de la semana ---------- */
.novelty {
  background: var(--carbon);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
}
.novelty__photo { position: relative; height: 100%; min-height: 420px; }
.novelty__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.novelty__stamp {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--negro); color: var(--agua); border: 1px solid rgb(var(--agua-rgb) / .4);
  font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.novelty__stamp svg { width: 14px; height: 14px; fill: var(--agua); }
.novelty__text { padding: clamp(48px, 7vw, 104px) clamp(24px, 6vw, 96px); max-width: 40rem; }
.novelty__name { font-family: var(--display); font-weight: 500; font-size: clamp(2.75rem, 5.4vw, 4.75rem); line-height: .98; letter-spacing: -.015em; }
.novelty__desc { margin-top: 20px; color: var(--hueso-2); font-size: 1.125rem; max-width: 42ch; }
.novelty__price { margin-top: 18px; font-family: var(--display); font-size: 2rem; color: var(--agua); }
.novelty__note { margin: 18px 0 28px; font-size: .9375rem; color: var(--hueso-3); }
/* sin foto: una sola columna centrada en la sección */
.novelty--solo { grid-template-columns: minmax(0, 1fr); }
.novelty--solo .novelty__text { max-width: 46rem; margin: 0 auto; width: 100%; }
/* el resto del fuera de carta */
.novelty__more { margin-top: 32px; border-top: 1px solid var(--linea); }
.novelty__more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px;
  cursor: pointer; list-style: none; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--agua);
}
.novelty__more summary::-webkit-details-marker { display: none; }
.novelty__more summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.novelty__more[open] summary svg { transform: rotate(180deg); }
.novelty__list { list-style: none; margin: 0; padding: 0; }
.novelty__list li { padding: 14px 0; border-top: 1px solid var(--linea); display: grid; gap: 4px; }
.novelty__item-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.novelty__item-name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.novelty__item-price { font-weight: 600; color: var(--agua); white-space: nowrap; font-variant-numeric: tabular-nums; }
.novelty__item-desc { color: var(--hueso-2); font-size: .9375rem; max-width: 52ch; }

/* ---------- Encabezado de sección ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2, .booking h2, .visit h2, .story h2, .dishes-show h2, .morning h2, .places h2, .reviews h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: .98; letter-spacing: -.015em;
}
/* el nombre del local, debajo del título de la sección */
.section-head__where { display: block; margin-top: 6px; font-style: italic; font-size: .48em; letter-spacing: 0; color: var(--agua); }
.section-head p { margin-top: 18px; color: var(--hueso-2); max-width: 58ch; }

/* ---------- Carta ---------- */
.menu { padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(64px, 9vw, 112px); }
.menu__inner { max-width: var(--maxw); margin: 0 auto; }

.tabs {
  display: flex; gap: 4px 28px; flex-wrap: wrap;
  margin: 0 0 36px; border-bottom: 1px solid var(--linea);
}
.tabs button {
  position: relative; min-height: 48px; padding: 0;
  border: 0; background: none; cursor: pointer;
  font-size: .75rem; font-weight: 600; color: var(--hueso-3);
  transition: color .2s;
}
.tabs button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--agua); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.tabs button:hover { color: var(--hueso); }
.tabs button[aria-selected="true"] { color: var(--agua); }
.tabs button[aria-selected="true"]::after { transform: none; }

.menu__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.menu__list:focus-visible { outline-offset: 8px; }

.dishes { list-style: none; margin: 0; padding: 0; }
.dish { border-top: 1px solid var(--linea); }
.dish:last-child { border-bottom: 1px solid var(--linea); }
.dish__btn {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px;
  padding: 18px 14px; margin: 0;
  background: none; border: 0; border-radius: var(--radius);
  text-align: left; cursor: pointer;
  transition: background-color .25s;
}
/* el plato que sale en la foto grande: solo en ordenador (en el móvil no hay foto grande) */
@media (min-width: 60em) {
  .dish.is-active .dish__btn { background: var(--carbon); }
  .dish.is-active .dish__name { color: var(--agua-claro); }
  .dish.is-pinned .dish__btn { background: rgb(var(--agua-rgb) / .08); }
}
@media (hover: hover) { .dish__btn:hover { background: var(--carbon); } }
.dish__thumb { display: none; }
.dish__row { display: flex; align-items: baseline; gap: 12px; }
.dish__name { font-family: var(--display); font-size: 1.625rem; font-weight: 600; line-height: 1.15; transition: color .2s; }
.dish__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted rgb(var(--agua-rgb) / .5); transform: translateY(-5px); }
.dish__price { font-size: 1rem; font-weight: 600; color: var(--agua); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.dish__desc { display: block; color: var(--hueso-2); max-width: 54ch; font-size: 1rem; }
.dish__alg { display: block; font-size: .8125rem; color: var(--hueso-3); }
.dish__more { display: none; }
.dish__note { margin-top: 18px; font-size: .9375rem; color: var(--hueso-2); font-style: italic; }

.menu__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.menu__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--carbon);
  transition: opacity .28s cubic-bezier(.4, 0, .2, 1), transform .6s var(--ease);
}
.menu__photo img.is-swapping { opacity: 0; transform: scale(1.02); }
.menu__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 16px; }
.menu__cap-name { font-family: var(--display); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.menu__cap-price { font-weight: 600; color: var(--agua); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu__photo .btn--je { margin-top: 16px; width: 100%; }
.menu__note { margin-top: 32px; font-size: .9375rem; color: var(--hueso-3); }

/* ---------- Carrusel de platos ---------- */
.dishes-show {
  padding: clamp(24px, 4vw, 48px) max(var(--gutter), calc((100vw - var(--maxw)) / 2)) clamp(72px, 9vw, 120px);
}
.dishes-show__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.dishes-show__lede { margin-top: 10px; color: var(--hueso-2); }
.dishes-show__ig { display: inline-block; margin-top: 28px; color: var(--agua); font-weight: 600; font-size: .9375rem; }
.dishes-show__ig:hover { color: var(--agua-claro); }
.carousel__nav { display: flex; gap: 10px; flex: none; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--linea-fuerte); background: transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.carousel__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn:hover { background: var(--hueso); color: var(--negro); border-color: var(--hueso); }
.carousel__play .i-play { display: none; fill: currentColor; stroke: none; }
.carousel__play.is-paused .i-play { display: block; }
.carousel__play.is-paused .i-pause { display: none; }
.carousel__track {
  list-style: none; margin: 0; padding: 0 0 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 3.3); column-gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; }
.slide__link { display: block; width: 100%; padding: 0; margin: 0; background: none; border: 0; text-align: left; cursor: pointer; border-radius: var(--radius); }
.slide__frame { display: block; overflow: hidden; border-radius: var(--radius); background: var(--carbon); }
.slide img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.slide__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.slide__name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.slide__price { font-weight: 600; color: var(--agua); white-space: nowrap; font-variant-numeric: tabular-nums; }
.slide__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--hueso-3); font-size: .875rem; font-weight: 600; }
.slide__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.slide__link:hover .slide__go, .slide__link:focus-visible .slide__go { color: var(--agua); }
.slide__link:hover .slide__go svg { transform: translateX(4px); }

/* ---------- Desayunos ---------- */
.morning { background: var(--carbon); padding: clamp(80px, 10vw, 128px) var(--gutter); }
.morning__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.morning__text p { margin-top: 20px; color: var(--hueso-2); max-width: 52ch; }
.morning__list { list-style: none; margin: 26px 0 0; padding: 0; }
.morning__list li { padding: 12px 0; border-top: 1px solid var(--linea); color: var(--hueso); }
.morning__list li:last-child { border-bottom: 1px solid var(--linea); }
.morning__track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius);
}
.morning__track::-webkit-scrollbar { display: none; }
.morning__slide { scroll-snap-align: start; }
.morning__slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.morning__dots { display: flex; gap: 4px; margin-top: 12px; }
.morning__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.morning__dots button::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--linea-fuerte); transition: background-color .2s, width .3s var(--ease); }
.morning__dots button[aria-current]::before { background: var(--agua); width: 26px; }

/* ---------- Reserva ---------- */
.booking { padding: clamp(80px, 10vw, 128px) var(--gutter); }
.booking__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.booking__text p { margin-top: 18px; color: var(--hueso-2); max-width: 46ch; }
.booking__call .phone { color: var(--agua); font-weight: 600; text-decoration: none; white-space: nowrap; }
.booking__call .phone:hover { text-decoration: underline; }
.booking__today { font-weight: 600; color: var(--hueso) !important; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
.field { grid-column: 1 / -1; display: grid; gap: 8px; min-width: 0; }
.field--half { grid-column: span 1; }
.field label { font-size: .6875rem; font-weight: 600; color: var(--hueso-2); }
.field label small { font-size: .75rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--hueso-3); }
.field ::placeholder { color: var(--hueso-3); opacity: 1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1px solid var(--linea-fuerte); border-radius: var(--radius);
  background: var(--carbon-2); color: var(--hueso);
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input, .field select { -webkit-appearance: none; appearance: none; display: block; min-width: 0; line-height: 1.5; }
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fd8c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input[type="date"], .field input[type="time"] { text-align: left; }
.field input::-webkit-date-and-time-value { text-align: left; min-height: 1.5em; }
.field input::-webkit-calendar-picker-indicator { filter: invert(.85) sepia(1) hue-rotate(120deg); cursor: pointer; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--agua); box-shadow: 0 0 0 3px rgb(var(--agua-rgb) / .2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .9375rem; }
.field__help { color: var(--hueso-2); font-size: .9375rem; }
.form .btn--block { grid-column: 1 / -1; margin-top: 6px; }
.form__legal { grid-column: 1 / -1; font-size: .875rem; color: var(--hueso-3); }
.form__legal a { color: var(--hueso-2); }
.form__sent { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--radius); border: 1px solid rgb(var(--agua-rgb) / .5); background: rgb(var(--agua-rgb) / .08); }
.form__sent a { display: inline-block; margin-top: 8px; color: var(--agua); font-weight: 600; }

/* ---------- Historia ---------- */
.story { background: var(--carbon); padding: clamp(80px, 10vw, 128px) var(--gutter); }
.story__inner { max-width: var(--maxw); margin: 0 auto; }
.story__head { max-width: 46rem; }
.story__head p { margin-top: 20px; color: var(--hueso-2); max-width: 60ch; }
.timeline { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 32px; }
.timeline li { position: relative; padding-top: 28px; border-top: 1px solid rgb(var(--agua-rgb) / .45); }
.timeline li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--carbon); border: 1px solid var(--agua); }
.timeline li.is-here::before { background: var(--agua); }
.timeline h3 { font-family: var(--display); font-size: 1.875rem; font-weight: 500; line-height: 1.05; }
.timeline p { margin-top: 10px; color: var(--hueso-2); font-size: .9375rem; }
.quote { margin: clamp(48px, 7vw, 88px) 0 0; max-width: 44rem; }
.quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.75rem, 3.4vw, 2.625rem); line-height: 1.2; }
.quote footer { margin-top: 16px; color: var(--hueso-3); font-size: .9375rem; }

/* ---------- Cómo llegar ---------- */
.visit {
  max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto;
  padding: clamp(80px, 10vw, 128px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: stretch;
}
.visit__address { margin-top: 22px; font-style: normal; font-size: 1.25rem; line-height: 1.5; }
.visit__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hours__title { margin-top: 40px; font-size: .6875rem; font-weight: 600; color: var(--hueso-3); font-family: var(--sans); }
.hours { width: 100%; max-width: 26rem; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--linea); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--hueso-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--agua); font-weight: 600; }
.hours__note { margin-top: 12px; color: var(--hueso-2); font-size: .9375rem; }
.visit__map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--carbon); border: 1px solid var(--linea); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map-facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 28px; text-align: center; }
.map-facade__pin { width: 40px; height: 40px; fill: none; stroke: var(--agua); stroke-width: 1.5; }
.map-facade__addr { font-family: var(--display); font-size: 1.5rem; line-height: 1.25; }
.map-facade__note { max-width: 34ch; font-size: .8125rem; color: var(--hueso-3); }

/* ---------- Opiniones en Google ---------- */
.reviews { padding: 0 var(--gutter) clamp(80px, 10vw, 128px); }
.reviews__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px;
  padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--linea);
}
.reviews__inner h2 { grid-column: 1 / -1; }
.reviews__score { display: flex; align-items: center; gap: 24px; }
.reviews__note { font-family: var(--display); font-weight: 500; font-size: clamp(4rem, 9vw, 6rem); line-height: .9; color: var(--hueso); font-variant-numeric: lining-nums; }
.reviews__of { font-size: .4em; color: var(--hueso-3); margin-left: 4px; }
/* cinco estrellas: la capa verde agua se corta según la nota */
.reviews__stars, .reviews__fill { display: block; height: 24px; background-size: 26px 24px; background-repeat: repeat-x; }
.reviews__stars { position: relative; width: 130px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.8 6 6.5.7-4.9 4.4 1.4 6.4L12 16.8 6.2 20.1l1.4-6.4-4.9-4.4 6.5-.7z' fill='none' stroke='%2396918a' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.reviews__fill { position: absolute; left: 0; top: 0; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.8 6 6.5.7-4.9 4.4 1.4 6.4L12 16.8 6.2 20.1l1.4-6.4-4.9-4.4 6.5-.7z' fill='%236fd8c8' stroke='%236fd8c8' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.reviews__count { margin-top: 10px; font-weight: 600; }
.reviews__date { margin-top: 2px; font-size: .8125rem; color: var(--hueso-3); }
.reviews .btn { justify-self: end; }
@media (max-width: 59.9375em) {
  .reviews__inner { grid-template-columns: minmax(0, 1fr); }
  .reviews .btn { justify-self: stretch; white-space: normal; text-align: center; padding: 12px 20px; }
}

/* ---------- Los tres locales ---------- */
.places { max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 128px); }
.places__list { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.place-card { position: relative; display: flex; flex-direction: column; }
.place-card picture { display: block; }
@media (min-width: 60em) { .pick img, .place-card img { object-position: var(--sel-pos, 50% 50%); } }
.place-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); filter: saturate(.85); transition: filter .4s; }
.place-card:hover img { filter: none; }
.place-card.is-here img { box-shadow: 0 0 0 1px var(--agua); }
.place-card__text { padding-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; }
.place-card h3 { font-family: var(--display); font-size: 1.875rem; font-weight: 600; }
.place-card__town { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--agua); }
.place-card__addr { color: var(--hueso-2); font-size: .9375rem; }
.place-card__here { margin-top: auto; padding-top: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hueso-3); }
.place-card .btn { margin-top: auto; }
.place-card__text > .btn { margin-top: 14px; }

/* ---------- Pie ---------- */
.foot {
  position: relative;
  border-top: 1px solid var(--linea);
  padding: clamp(56px, 8vw, 88px) var(--gutter) calc(clamp(32px, 5vw, 56px) + env(safe-area-inset-bottom));
  text-align: center; color: var(--hueso-2);
}
.foot::before { content: ""; position: absolute; top: -1px; left: 50%; width: min(240px, 50vw); height: 1px; transform: translateX(-50%); background: var(--agua); box-shadow: 0 0 12px 1px rgb(var(--agua-rgb) / .7); } /* taste-skill-ignore: tubo de neón */
.foot__logo { width: clamp(110px, 12vw, 140px); height: auto; aspect-ratio: 1; margin: 0 auto; display: block; filter: var(--glow); }
.foot__places { list-style: none; margin: 36px auto 0; padding: 0; max-width: 60rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: .9375rem; }
.foot__places li { display: grid; gap: 4px; }
.foot__places strong { font-family: var(--display); font-size: 1.375rem; font-weight: 600; color: var(--hueso); }
.foot__places a { color: var(--agua); font-weight: 600; text-decoration: none; }
.foot__ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--hueso); font-weight: 600; text-decoration: none; }
.foot__ig:hover { color: var(--agua); }
.foot__legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.foot__legal a { color: var(--hueso-3); padding: 6px 0; font-size: .875rem; }
.foot__legal a:hover { color: var(--hueso); }
.foot__small { margin-top: 12px; font-size: .8125rem; color: var(--hueso-3); }

/* ---------- Barra móvil ---------- */
.dock { display: none; }

/* ---------- Elegir local ---------- */
.picker {
  position: fixed; inset: 0; z-index: 100;
  background: var(--negro);
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  opacity: 0; transition: opacity .35s var(--ease);
}
.picker.is-in { opacity: 1; }
.picker-open { overflow: hidden; }
.picker__head {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 28px;
  padding: 20px var(--gutter);
}
.picker__logo { width: 96px; height: 96px; filter: var(--glow); grid-row: span 2; }
.picker__title { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; }
.picker__tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; grid-column: 2; }
.picker__near {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgb(var(--agua-rgb) / .6); border-radius: 999px; background: none; cursor: pointer;
  color: var(--agua); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.picker__near:hover { background: var(--agua); color: var(--negro); }
.picker__near svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.picker__near .dot { fill: currentColor; }
.picker__msg { font-size: .9375rem; color: var(--hueso-2); }
.picker__close {
  grid-row: 1; grid-column: 3; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--linea-fuerte); border-radius: 50%; background: none; cursor: pointer;
}
.picker__close:hover { border-color: var(--agua); }
.picker__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.picker__list { list-style: none; margin: 0; padding: 0 var(--gutter) var(--gutter); display: flex; gap: 12px; min-height: 0; }
.picker__list li { flex: 1; min-width: 0; display: flex; transition: flex-grow .6s var(--ease); }
.pick {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; padding: 0; border: 0; border-radius: var(--radius); background: var(--carbon);
  cursor: pointer; text-align: left; display: flex; align-items: flex-end;
}
.pick__photo, .pick picture { display: contents; }
.pick img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; filter: saturate(.8) brightness(.8); }
.pick::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(11 11 10 / .92) 0%, rgb(11 11 10 / .2) 55%, rgb(11 11 10 / .1) 100%); }
.pick__text { display: grid; gap: 6px; padding: clamp(20px, 3vw, 36px); width: 100%; }
.pick__place { font-family: var(--display); font-size: clamp(2.25rem, 3.6vw, 3.5rem); font-weight: 500; line-height: .95; }
.pick__town { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--agua); order: -1; }
.pick__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hueso-2); }
.pick__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.pick:hover img, .pick:focus-visible img { transform: scale(1.04); filter: none; }
.pick:hover .pick__go, .pick:focus-visible .pick__go { color: var(--agua); }
.pick:hover .pick__go svg { transform: translateX(4px); }
.pick[aria-current] { box-shadow: inset 0 0 0 1px var(--agua); }
.pick:focus-visible { outline-offset: -4px; }
@media (hover: hover) and (min-width: 60em) {
  .picker__list:hover li:hover, .picker__list li:focus-within { flex-grow: 1.5; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 81.25em) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    display: none; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    margin: 0; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--negro);
  }
  .nav-open .nav { display: flex; }
  .nav-open .top { background: var(--negro); }
  .nav a { font-family: var(--display); font-size: 2.25rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--hueso); padding: 6px 0; }
  .nav .nav__cta { margin-top: 18px; font-family: var(--sans); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; padding: 14px 22px; }
  .nav .nav__ig { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 1rem; color: var(--hueso-2); }
  .top__tools { margin-left: auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 59.9375em) {
  :root { --header-h: 64px; }
  .hero { min-height: max(620px, 100svh); flex-direction: column; align-items: stretch; justify-content: flex-end; }
  /* en el móvil el neón va arriba, en su sitio, y el texto debajo sin pisarlo */
  .hero__neon { position: relative; top: auto; right: auto; transform: none; display: block; width: min(38vw, 170px); margin: calc(var(--header-h) + 8px) auto auto; }
  .hero__content { padding-top: 32px; padding-bottom: 92px; }
  /* en el móvil la frase del local se quita: con la foto detrás se leía mal y cargaba la portada */
  .hero__lede { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); gap: 24px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; white-space: nowrap; }
  .hero__shade { background: linear-gradient(0deg, rgb(11 11 10 / .97) 0%, rgb(11 11 10 / .8) 38%, rgb(11 11 10 / .25) 66%, rgb(11 11 10 / .6) 100%); }

  .novelty { grid-template-columns: 1fr; }
  .novelty__photo { min-height: 0; aspect-ratio: 4 / 3; }
  /* en el móvil, las secciones con fondo gris son bloques con las esquinas redondeadas */
  .novelty, .morning, .story { margin: 0 8px; border-radius: 22px; overflow: hidden; }
  .morning, .story { padding-left: calc(var(--gutter) + 4px); padding-right: calc(var(--gutter) + 4px); }  .morning__track { border-radius: 14px; }

  .menu__body { grid-template-columns: 1fr; }
  .menu__photo { display: none; }
  /* móvil: carta compacta. Nombre a la izquierda, precio a la derecha, sin puntos;
     descripción en dos líneas (entera al tocar) y alérgenos solo con el plato abierto */
  .dish__btn { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; padding: 12px 6px 12px 2px; align-items: start; }
  .dish__thumb { display: block; grid-row: 1 / span 3; width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; background: var(--carbon); }
  .dish__row { justify-content: space-between; gap: 12px; }
  .dish__dots { display: none; }
  .dish__name { flex: 1; min-width: 0; font-size: 1.3125rem; line-height: 1.15; }
  .dish__price { font-size: .9375rem; padding-top: 2px; }
  .dish__desc {
    font-size: .9375rem; line-height: 1.45;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
  .dish.is-open .dish__desc { display: block; -webkit-line-clamp: unset; line-clamp: none; }
  .dish__alg { display: none; margin-top: 2px; }
  .dish.is-open .dish__alg { display: block; }
  .dish.is-open .dish__btn { background: var(--carbon); }
  .dish__more:not([hidden]) { display: grid; gap: 12px; padding: 4px 2px 20px; }
  .dish__big { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--carbon); }

  .carousel__track { grid-auto-columns: calc((100% - 2 * 20px) / 2.3); }
  .morning__inner, .booking__inner, .visit { grid-template-columns: minmax(0, 1fr); }
  .morning__show { order: -1; }
  .visit__map { min-height: 320px; }
  .places__list { grid-template-columns: 1fr; gap: 12px; }
  .place-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: var(--carbon); }
  .place-card img { aspect-ratio: 1; border-radius: 10px; }
  .place-card.is-here { box-shadow: inset 0 0 0 1px rgb(var(--agua-rgb) / .6); }
  .place-card.is-here img { box-shadow: none; }
  .place-card__text { padding-top: 0; gap: 2px; }
  .place-card h3 { font-size: 1.375rem; }
  .place-card__addr { display: none; }
  .place-card__here { padding-top: 4px; }
  .place-card__text > .btn { margin-top: 8px; min-height: 40px; padding: 0 14px; font-size: .75rem; }
  .foot__places { grid-template-columns: 1fr; gap: 22px; }

  .picker { overflow-y: auto; grid-template-rows: auto auto; }
  .picker__head { grid-template-columns: minmax(0, 1fr) auto; padding-top: 16px; }
  .picker__logo { width: 72px; height: 72px; grid-row: auto; grid-column: 1; }
  .picker__title { grid-column: 1 / -1; }
  .picker__tools { grid-column: 1 / -1; }
  .picker__close { grid-row: 1; grid-column: 2; }
  .picker__list { flex-direction: column; }
  /* móvil: cada local es una tarjeta lisa con la foto en su propio recuadro y los datos debajo */
  .picker__list { gap: 14px; }
  .pick { min-height: 0; flex-direction: column; align-items: stretch; padding: 8px; background: var(--carbon); border-radius: 18px; }
  .pick::after { display: none; }
  .pick__photo { display: block; position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; }
  .pick__photo picture { display: block; height: 100%; }
  .pick img { position: static; z-index: auto; display: block; height: 100%; filter: none; }
  .pick__text { padding: 14px 8px 8px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 12px; }
  .pick__place { font-size: 2rem; grid-column: 1; }
  .pick__town { grid-column: 1; }
  .pick__go { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; align-self: center; }
  .pick[aria-current] { box-shadow: inset 0 0 0 1px var(--agua); }

  /* barra inferior con llamar / reservar / cómo llegar */
  .dock {
    display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(11 11 10 / .96); border-top: 1px solid var(--linea);
    transition: transform .3s var(--ease);
  }
  .dock a {
    min-height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 999px; border: 1px solid var(--linea-fuerte);
    font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    text-decoration: none; white-space: nowrap; padding: 0 6px;
  }
  .dock .dock__main { background: var(--agua); border-color: var(--agua); color: var(--negro); }
  .dock.is-hidden { transform: translateY(110%); }
  .dock:focus-within { transform: none; }
  .nav-open .dock, .picker-open .dock { display: none; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  .top__inner { gap: 12px; }
  .place { padding: 0 10px; }
  .place__chev { display: none; }
  .brand__name { display: none; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; letter-spacing: .08em; font-size: .8125rem; }
  .hero__actions .btn--agua { flex-basis: 100%; }
  .hero__week-name { font-size: 1.1875rem; }
  .hero__coords { display: none; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .field--half { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; }
  .carousel__track { grid-auto-columns: 78%; column-gap: 14px; }
  .carousel__btn { width: 44px; height: 44px; }
  .visit__links .btn { flex: 1 1 auto; }
}
@media (max-width: 30em) {
  .top__tools .lang { display: none; }
  .nav .nav__lang { display: inline-flex; margin-top: 18px; }
  .nav .nav__lang button { font-size: .875rem; min-width: 48px; }
}
/* tablet en vertical: el rótulo más grande, hay sitio */
@media (min-width: 37.5em) and (max-width: 59.9375em) {
  .hero__neon { width: min(34vw, 260px); }
}
@media (max-width: 380px) {
  .hero__actions .btn { flex-basis: 100%; }
  .lang button { min-width: 34px; padding: 0 3px; }
  .place__name { letter-spacing: .08em; }
}

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* el momento de la página: la foto del local avanza despacio, como un plano de cine */
  .hero__slide.is-on { animation: hero-drift 9s linear both; }
  @keyframes hero-drift { from { transform: scale(1.08) translate3d(1.2%, .6%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
  .logo-ready .hero__neon { animation: neon-on 1.6s ease-out .2s both; }
  .hero__content > * { animation: rise .9s var(--ease) both; }
  .hero__content > *:nth-child(2) { animation-delay: .08s; }
  .hero__content > *:nth-child(3) { animation-delay: .16s; }
  .hero__content > *:nth-child(4) { animation-delay: .22s; }
  .hero__content > *:nth-child(5) { animation-delay: .28s; }
  @keyframes rise { from { transform: translateY(14px); filter: blur(3px); } }

  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in, .js [data-reveal]:focus-within { opacity: 1; transform: none; }
  .slide img { transition: opacity .45s var(--ease), transform .8s var(--ease); }
  .slide:not(.is-current) img { opacity: .45; transform: scale(.95); }
  .slide__link:hover img { transform: scale(1.04); }
}
@keyframes neon-on { 0% { opacity: 0; } 14% { opacity: .8; } 24% { opacity: .4; } 40% { opacity: 1; } 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

@media print {
  .top, .dock, .visit__map, .form, .burger, .skip, .carousel__nav, .picker, .hero__foot { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* =========================================================
   PÁGINAS LEGALES (aviso legal, privacidad, cookies)
   ========================================================= */
.legal-top { border-bottom: 1px solid var(--linea); }
.legal-top__inner {
  max-width: 52rem; margin: 0 auto; min-height: var(--header-h);
  padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-top a { text-decoration: none; }
.legal-top .back { color: var(--agua); font-weight: 600; }
.legal-top .brand__name { display: inline; }
.legal { max-width: 52rem; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(56px, 8vw, 104px); }
.legal h1 { font-family: var(--display); font-weight: 500; font-size: 3.5rem; line-height: 1; margin-bottom: 12px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 2rem; margin: 40px 0 10px; }
.legal p, .legal li { max-width: 68ch; margin: 0 0 12px; color: var(--hueso-2); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--agua); }
.legal .updated { color: var(--hueso-3); }
.legal table { border-collapse: collapse; width: 100%; margin: 8px 0 16px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linea); vertical-align: top; }
/* datos que tiene que rellenar el local */
.hueco { background: #fff1b8; color: var(--negro); padding: 0 .3em; border-radius: 4px; font-weight: 600; }
@media (max-width: 600px) {
  .legal h1 { font-size: 2.5rem; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal tr, .legal td { display: block; }
  .legal tr { border-bottom: 1px solid var(--linea); padding: 8px 0; }
  .legal td { border: 0; padding: 4px 0; }
  .legal td::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 600; color: var(--hueso-3); }
}
