/* ==========================================================================
   PICÓN RESTAURANTE · Granada
   Hoja principal. Sistema editorial cálido: carbón, crema y oro viejo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
/* <picture> no debe crear una caja propia: el <img> sigue participando en el
   grid/flex del contenedor como antes. */
picture { display: contents; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

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

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

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #17130f;
  --ink-soft: #241e18;
  --charcoal: #484943;
  --cream: #f7f1e5;
  --cream-2: #efe5d3;
  --olive-light: #dcdcb8;
  --paper: #fcf8f0;
  --gold: #d9a96d;
  --gold-soft: #e8c79b;
  --gold-text: #7a4a16;
  --muted: #685e52;
  --line: rgba(72, 73, 67, 0.18);
  --line-strong: rgba(72, 73, 67, 0.34);
  --line-light: rgba(247, 241, 229, 0.18);
  --white: #fffdf8;
  --focus: #8a5a22;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Proza Libre", "Segoe UI", system-ui, -apple-system, sans-serif;

  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 24px 50px rgba(23, 19, 15, 0.08);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

body.nav-open,
body.lightbox-open { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.15; }

p { text-wrap: pretty; }
em { font-style: italic; }
strong { font-weight: 600; }

main:focus { outline: none; }

/* --------------------------------------------------------------------------
   4. Utilidades
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - (2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section--paper { background: var(--paper); }
.section--tint { background: var(--cream-2); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120%;
  z-index: 999;
  padding: 0.8rem 1.2rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; }

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

.on-dark {
  --focus: #f0c98f;
  --muted: rgba(247, 241, 229, 0.72);
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   5. Botones y enlaces
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.85rem 1.45rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.015em;
  text-align: center;
  transition:
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.btn:hover {
  background: var(--gold-text);
  border-color: var(--gold-text);
  color: var(--white);
}

.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  background: rgba(217, 169, 109, 0.16);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--light {
  background: transparent;
  border-color: rgba(247, 241, 229, 0.45);
  color: var(--cream);
}
.btn--light:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn--sm {
  min-height: 42px;
  padding: 0.68rem 1.05rem;
  font-size: 0.82rem;
}

.btn--block { width: 100%; }

.btn__arrow { transition: transform 0.28s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover::after { transform: translateX(4px); }

.on-dark .link-arrow,
.bodega .link-arrow,
.site-footer .link-arrow {
  border-color: var(--line-light);
  color: var(--cream);
}
.on-dark .link-arrow:hover,
.bodega .link-arrow:hover,
.site-footer .link-arrow:hover { border-color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   6. Cabecera
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--olive-light);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(23, 19, 15, 0.06);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; }

.brand img {
  width: clamp(104px, 12vw, 132px);
  height: auto;
  mix-blend-mode: multiply;
}

.nav { justify-self: center; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0;
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__aside { display: none; }

.header__end {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 101;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

body.nav-open .nav-toggle__bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}
body.nav-open .nav-toggle__bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero de portada
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--cream); }

.hero__media {
  position: relative;
  height: clamp(300px, 52vh, 560px);
  overflow: hidden;
  background: var(--ink-soft);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.34), transparent 48%),
    linear-gradient(0deg, rgba(23, 19, 15, 0.3), transparent 42%);
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.02);
  animation: hero-in 1.5s var(--ease) both;
}

@keyframes hero-in {
  from { transform: scale(1.07); }
  to { transform: scale(1.02); }
}

.hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: 1.2rem;
  z-index: 2;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__panel {
  position: relative;
  z-index: 3;
  width: min(690px, calc(100% - (2 * var(--gutter))));
  margin: clamp(-100px, -7vw, -50px) 0 0 max(var(--gutter), calc((100vw - var(--shell)) / 2));
  padding:
    clamp(1.75rem, 3.6vw, 3.2rem)
    clamp(1.5rem, 3.6vw, 3.4rem)
    clamp(2rem, 4vw, 3.4rem);
  background: var(--cream);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.hero__place {
  margin-bottom: 0.9rem;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.4rem, 8.5vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-text);
}

.hero__lead {
  max-width: 48ch;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

/* --------------------------------------------------------------------------
   8. Franja de información
   -------------------------------------------------------------------------- */
.info-strip {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.info-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.info-strip__item {
  padding: 1.35rem clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line);
}

.info-strip__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.info-strip__label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.info-strip__value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.2;
}

.info-strip__small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.info-strip__value a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.info-strip__value a:hover { text-decoration-color: var(--ink); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4f7a52;
  box-shadow: 0 0 0 3px rgba(79, 122, 82, 0.14);
}

.status[data-state="closed"]::before {
  background: #a34a34;
  box-shadow: 0 0 0 3px rgba(163, 74, 52, 0.14);
}

.status[data-state="unknown"]::before {
  background: var(--gold-text);
  box-shadow: 0 0 0 3px rgba(122, 74, 22, 0.14);
}

/* --------------------------------------------------------------------------
   9. Cabeceras de sección
   -------------------------------------------------------------------------- */
.section-head {
  display: block;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head h2 { max-width: 18ch; }

.section-head__lead {
  max-width: 54ch;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. Intro y reputación
   -------------------------------------------------------------------------- */
.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.intro__title {
  max-width: 14ch;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 1.02;
}

.intro__title em { color: var(--gold-text); }

.intro__body p { color: var(--muted); }

.intro__body p:first-child {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.65;
}

.intro__body p + p { margin-top: 1rem; }
.intro__body .link-arrow { margin-top: 1.5rem; }

.ratings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.rating {
  display: block;
  padding: 1.4rem clamp(1rem, 2.5vw, 2rem) 0 0;
  border-right: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}

.rating:last-child { border-right: 0; }
.rating:hover { color: var(--gold-text); }

.rating__platform {
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rating__score {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
}

.rating__score span {
  margin-left: 0.2rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.rating__meta {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.rating__meta::after {
  content: " ↗";
  color: var(--gold-text);
}

.ratings__note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   11. Platos firma
   -------------------------------------------------------------------------- */
.dishes {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
}

.dish:nth-child(2) { margin-top: clamp(2rem, 6vw, 6rem); }
.dish:nth-child(3) { margin-top: clamp(1rem, 3vw, 3rem); }

.dish__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}

.dish__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.dish:hover .dish__media img { transform: scale(1.04); }

.dish__tag {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.3rem 0.55rem;
  background: rgba(23, 19, 15, 0.78);
  color: var(--cream);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.dish__name {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.dish__desc {
  max-width: 36ch;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.signatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.signature__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}

.signature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.signature:hover .signature__media img { transform: scale(1.04); }

.signature h3 {
  margin-top: 0.9rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.signature p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   12. Carta en portada
   -------------------------------------------------------------------------- */
.menu-teaser { background: var(--cream-2); }

.menu-teaser__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.menu-teaser h2 { max-width: 12ch; }

.menu-teaser__intro p {
  max-width: 38ch;
  margin-top: 1.2rem;
  color: var(--muted);
}

.menu-teaser__intro .link-arrow { margin-top: 1.5rem; }

.menu-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
}

.menu-cat {
  padding: 1.35rem 1.6rem 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.menu-cat:nth-child(even) {
  padding-left: 1.6rem;
  border-left: 1px solid var(--line);
}

.menu-cat h3 {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
}

.menu-cat p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   13. Menús de grupo
   -------------------------------------------------------------------------- */
.menus-list { border-top: 1px solid var(--line-strong); }

.menu-row { border-bottom: 1px solid var(--line); }

.menu-row summary {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) minmax(0, 1.5fr) auto 38px;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: 1.45rem 0;
  cursor: pointer;
  list-style: none;
}

.menu-row summary::-webkit-details-marker { display: none; }

.menu-row__name {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  line-height: 1;
}

.menu-row__desc {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.menu-row__price {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1;
  white-space: nowrap;
}

.menu-row__price span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

.menu-row__toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.menu-row__toggle::before,
.menu-row__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.menu-row__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }

.menu-row[open] .menu-row__toggle {
  background: var(--gold);
  transform: rotate(45deg);
}

.menu-row__body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 0 0 2rem;
}

.menu-row__lead {
  grid-column: 1 / -1;
  max-width: 68ch;
  padding-bottom: 0.5rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.45;
}

.menu-row__list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.menu-row__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-text);
}

.menu-row__aside {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.menu-row__aside p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.menu-row__aside .link-arrow { margin-top: 1rem; }

.inclusions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.inclusion {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.inclusion::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-text);
}

.inclusion strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.form-note {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   14. Bodega
   -------------------------------------------------------------------------- */
.bodega {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  --focus: #f0c98f;
  --muted: rgba(247, 241, 229, 0.72);
}

.bodega::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 47px,
    rgba(217, 169, 109, 0.055) 47px 48px
  );
  pointer-events: none;
}

.bodega .shell { position: relative; z-index: 1; }

.bodega__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.bodega__number {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(7rem, 15vw, 13rem);
  line-height: 0.75;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1px rgba(217, 169, 109, 0.55);
}

.bodega__number span {
  font-size: 0.38em;
  vertical-align: super;
  -webkit-text-stroke: 1px rgba(217, 169, 109, 0.55);
}

.bodega__caption {
  margin-top: 1.1rem;
  color: var(--gold-soft);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bodega h2 { color: var(--cream); }

.bodega p {
  max-width: 50ch;
  margin-top: 1.1rem;
  color: rgba(247, 241, 229, 0.72);
}

.bodega .link-arrow { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   15. Reseñas
   -------------------------------------------------------------------------- */
.reviews {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.review--lead blockquote {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.review__source {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.review__source strong {
  color: var(--ink);
  font-weight: 600;
}

.review__source a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.reviews__stack {
  display: grid;
  border-top: 1px solid var(--line);
}

.review--small {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.review--small blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  line-height: 1.32;
}

.review--small .review__source { margin-top: 0.8rem; }

.review__stars {
  color: var(--gold-text);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   16. Galería en portada
   -------------------------------------------------------------------------- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.gallery-strip a {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream-2);
}

.gallery-strip a:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 11; }
.gallery-strip a:nth-child(2) { aspect-ratio: 3 / 4; }
.gallery-strip a:nth-child(3) { aspect-ratio: 3 / 4; }
.gallery-strip a:nth-child(4) { aspect-ratio: 3 / 4; }
.gallery-strip a:nth-child(5) { aspect-ratio: 3 / 4; }
.gallery-strip a:nth-child(6) { grid-column: span 2; aspect-ratio: 16 / 11; }

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-strip a:hover img { transform: scale(1.04); }

.gallery-strip__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 0.9rem 0.75rem;
  background: linear-gradient(transparent, rgba(23, 19, 15, 0.72));
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   17. Visítanos
   -------------------------------------------------------------------------- */
.visit {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}

.visit__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.visit__title {
  max-width: 13ch;
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
}

.visit__lead {
  max-width: 42ch;
  margin-top: 1.2rem;
  color: var(--muted);
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.info-list { border-top: 1px solid var(--line-strong); }

.info-list__row {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list__label {
  padding-top: 0.18rem;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-list__value {
  font-size: 0.95rem;
  line-height: 1.55;
}

.info-list__value a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.info-list__value a:hover { text-decoration-color: var(--ink); }

.hours { display: grid; }

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid transparent;
  font-size: 0.9rem;
}

.hours__row.is-today {
  border-bottom-color: var(--line);
  color: var(--ink);
  font-weight: 600;
}

.hours__row span:last-child { color: var(--muted); }
.hours__row.is-today span:last-child { color: var(--ink); }

/* --------------------------------------------------------------------------
   18. Pie
   -------------------------------------------------------------------------- */
.site-footer {
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
  background: var(--ink);
  color: var(--cream);
  --focus: #f0c98f;
  --muted: rgba(247, 241, 229, 0.62);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line-light);
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
}

.footer__tagline {
  margin-top: 0.35rem;
  color: var(--gold-soft);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__note {
  max-width: 34ch;
  margin-top: 1.15rem;
  color: rgba(247, 241, 229, 0.62);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer__heading {
  margin-bottom: 0.9rem;
  color: var(--gold-soft);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__nav a,
.footer__contact a,
.footer__contact p,
.footer__hours p {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(247, 241, 229, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--gold-soft);
}

.footer__social {
  display: flex;
  gap: 0.9rem;
  margin-top: 1rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--cream);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.footer__social a:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.footer__social svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  color: rgba(247, 241, 229, 0.64);
  font-size: 0.72rem;
  line-height: 1.5;
}

.footer__credit {
  margin: 0;
  opacity: 0.75;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal a:hover { color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   19. Barra móvil
   -------------------------------------------------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 95;
  gap: 0.5rem;
  padding: 0.55rem var(--gutter);
  background: rgba(247, 241, 229, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(23, 19, 15, 0.08);
  backdrop-filter: blur(10px);
}

.mobile-bar .btn { flex: 1; min-height: 46px; }

body.nav-open .mobile-bar,
body.lightbox-open .mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   20. Cabecera de página interior
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(2.5rem, 5vw, 4.2rem);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.page-hero__kicker {
  margin-bottom: 0.9rem;
  color: var(--gold-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.page-hero__lead {
  max-width: 40ch;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.page-hero__figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}

.page-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.page-hero__figure:hover img { transform: scale(1.02); }

.page-hero__figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(23, 19, 15, 0.7));
  color: var(--white);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-hero--compact .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--compact h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }

/* --------------------------------------------------------------------------
   21. Carta
   -------------------------------------------------------------------------- */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(247, 241, 229, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.menu-nav__list {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: 0.8rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.menu-nav__list > * { scroll-snap-align: start; }

.menu-nav__list::-webkit-scrollbar { display: none; }

.menu-nav a {
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.menu-nav a:hover,
.menu-nav a.is-active {
  border-color: var(--gold);
  color: var(--ink);
}

.menu-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.menu-intro p { color: var(--muted); }

.menu-intro h2 + p { margin-top: 0.8rem; }

.menu-intro p:first-child {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.65;
}

.menu-note {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.menu-section {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.menu-section:last-of-type { border-bottom: 0; }

.menu-section__head {
  display: block;
  margin-bottom: 2rem;
}

.menu-section h2 { font-size: clamp(2rem, 3.6vw, 3rem); }

.menu-section__lead {
  max-width: 55ch;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}

.menu-item {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.menu-item__name {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.menu-item__desc {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.menu-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--cream-2);
  border-top: 2px solid var(--gold);
}

.menu-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.menu-cta p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   22. Menús de grupo (página)
   -------------------------------------------------------------------------- */
.menus-page .menu-row summary { padding-block: 1.7rem; }

.menus-page .menu-row__body { grid-template-columns: 1fr 0.55fr; }

.menus-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.menus-note p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.menus-note strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   23. La casa
   -------------------------------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.story h2 { max-width: 12ch; }

.story__body p { color: var(--muted); }
.story__body p + p { margin-top: 1rem; }

.story__lead {
  color: var(--ink) !important;
  font-size: 1.15rem;
  line-height: 1.65;
}

.pullquote {
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  padding: 1.5rem 0 1.5rem clamp(1.25rem, 3vw, 2rem);
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.3;
}

.pullquote cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.space {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.space__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}

.space__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space__body h2 { max-width: 12ch; }
.space__body p { margin-top: 1rem; color: var(--muted); }

.space__list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.space__list li {
  display: flex;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.space__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 0.65rem;
  border-radius: 50%;
  background: var(--gold-text);
}

/* --------------------------------------------------------------------------
   24. Galería
   -------------------------------------------------------------------------- */
.gallery-page { padding-block: clamp(3rem, 6vw, 5rem); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.filter {
  position: relative;
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.filter::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.filter:hover,
.filter.is-active { color: var(--ink); }
.filter.is-active::after { transform: scaleX(1); }

.gallery-grid {
  columns: 3;
  column-gap: clamp(0.6rem, 1.2vw, 1rem);
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: clamp(0.6rem, 1.2vw, 1rem);
  break-inside: avoid;
  overflow: hidden;
  background: var(--cream-2);
}

.gallery-item--wide {
  aspect-ratio: 16 / 10;
}

.gallery-item--square { aspect-ratio: 1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.gallery-item:hover img { transform: scale(1.035); }

.gallery-item__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(23, 19, 15, 0.74));
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gallery-item[hidden] { display: none; }

.gallery-empty {
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Visor */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop { background: rgba(10, 8, 6, 0.94); }

.lightbox__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 4.5rem 1rem 2rem;
  pointer-events: none;
}

.lightbox__inner > * { pointer-events: auto; }

.lightbox img {
  width: auto;
  max-width: min(1100px, 92vw);
  height: auto;
  max-height: 76vh;
  object-fit: contain;
}

.lightbox__cap {
  max-width: 60ch;
  margin-top: 0.9rem;
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(247, 241, 229, 0.35);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(247, 241, 229, 0.12);
  border-color: var(--gold-soft);
}

.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { top: 50%; left: 1rem; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 1rem; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   25. Contacto
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

/* Bloque de reserva directa: lleva a TheFork, sin formularios falsos. */
.contact-booking { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

.booking-panel {
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 1.25rem 2.5rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
}

.booking-panel__copy .page-hero__kicker { margin-bottom: 0.35rem; }

.booking-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.45rem;
}

.booking-panel p {
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.booking-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.booking-panel__note {
  grid-column: 1 / -1;
  margin-top: 0.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.booking-panel__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#reserva,
#grupos { scroll-margin-top: calc(var(--header-h) + 1rem); }

.channel-list { border-top: 1px solid var(--line-strong); }

.channel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}

.channel:hover { color: var(--gold-text); }

.channel__label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.channel__value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.1;
}

.channel__arrow {
  font-size: 1.1rem;
  transition: transform 0.25s var(--ease);
}

.channel:hover .channel__arrow { transform: translate(3px, -3px); }

.hours-card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
}

.hours-card h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 1rem;
}

.hours-card .status {
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.hours-card__note {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.faq { border-top: 1px solid var(--line-strong); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 1.05rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--gold-text);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq p {
  max-width: 65ch;
  padding-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-note {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: rgba(217, 169, 109, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   26. Legal
   -------------------------------------------------------------------------- */
.legal-body {
  max-width: 780px;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  overflow-wrap: anywhere;
}

.legal-body a,
.legal-body li { overflow-wrap: anywhere; }

.legal-body h2 {
  margin-top: 2.8rem;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
  margin-top: 1.7rem;
  font-size: 1.35rem;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.legal-body p { margin-top: 0.8rem; }

.legal-body ul {
  margin-top: 0.8rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.legal-body li { margin-bottom: 0.35rem; }

.legal-body a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-nav a {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-nav a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   27. Animaciones de entrada
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; }
}

/* --------------------------------------------------------------------------
   28. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1.2fr 0.8fr 1fr; }
  .footer__hours { grid-column: span 3; }
  .footer__hours .footer__heading { margin-bottom: 0.5rem; }
  .footer__hours p { display: inline-block; margin-right: 1.5rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__end { grid-column: 3; justify-self: end; }
  .js .nav-toggle { display: inline-flex; }
  .booking-panel { grid-template-columns: 1fr; }
  .booking-panel__actions { justify-content: flex-start; }
  .brand img { width: 112px; }
  .hero__media img { object-position: 75% 50%; }

  .js .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: 2rem var(--gutter) 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .js body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Sin JavaScript: navegación estática visible en una fila adicional */
  html:not(.js) .nav {
    position: static;
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    padding: 0.35rem 0 0.75rem;
    overflow: visible;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  html:not(.js) .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
  }

  html:not(.js) .nav__link {
    padding: 0.25rem 0;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
  }

  html:not(.js) .nav__aside { display: none; }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .nav__link {
    padding: 0.25rem 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 3.2rem);
    font-weight: 400;
    line-height: 1.05;
  }

  .nav__link::after { bottom: 0; }

  .nav__aside {
    display: block;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }

  .nav__aside p {
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.86rem;
  }

  .nav__aside a {
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 3px;
  }

  .nav__aside .btn { margin-top: 1.1rem; }

  .hero__grid,
  .intro__grid,
  .menu-teaser__grid,
  .reviews,
  .visit__grid,
  .contact-grid,
  .story,
  .space,
  .menu-intro,
  .menu-cta { grid-template-columns: 1fr; }

  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__figure { aspect-ratio: 16 / 10; }

  .dishes { grid-template-columns: 1fr 1fr; }
  .dish:nth-child(3) {
    grid-column: span 2;
    margin-top: 0;
  }
  .dish:nth-child(3) .dish__media { aspect-ratio: 16 / 9; }
  .dish:nth-child(3) .dish__desc { max-width: 55ch; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__hours { grid-column: auto; }
  .footer__hours p { display: block; margin-right: 0; }

  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip a:nth-child(1),
  .gallery-strip a:nth-child(6) { grid-column: span 2; }

  .menu-row summary {
    grid-template-columns: minmax(0, 1fr) auto 36px;
    gap: 1rem;
  }
  .menu-row__desc { display: none; }
  .menu-row__price { text-align: right; }
  .menu-row__body { grid-template-columns: 1fr; gap: 1.2rem; }
  .menu-row__aside {
    padding: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }

  .menu-cta__actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 8vw, 2.8rem); }

  .hero__media { height: clamp(210px, 30vh, 290px); }
  .hero__media img { object-position: 100% 50%; }
  .hero__caption { display: none; }
  .hero__panel {
    width: calc(100% - (2 * var(--gutter)));
    margin-top: -2.5rem;
    margin-inline: var(--gutter);
    padding: 1.5rem 1.25rem 1.8rem;
  }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .page-hero__actions .btn { flex: 1 1 auto; }

  .info-strip__grid { grid-template-columns: 1fr 1fr; }
  .info-strip__item {
    padding: 1rem 1rem 1rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .info-strip__item:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }
  .info-strip__item:nth-child(-n + 2) { border-top: 0; }

  .section-head h2 { max-width: none; }

  .intro__grid { gap: 2rem; }

  .ratings { grid-template-columns: 1fr; }
  .rating {
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .rating:last-child { border-bottom: 0; }

  .dishes,
  .signatures,
  .menu-cats,
  .inclusions,
  .menus-note,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .dish:nth-child(2),
  .dish:nth-child(3) { margin-top: 0; }
  .dish:nth-child(3) { grid-column: auto; }
  .dish:nth-child(3) .dish__media { aspect-ratio: 4 / 5; }

  .menu-cat {
    padding-left: 1.7rem;
  }
  .menu-cat:nth-child(even) {
    padding-left: 1.7rem;
    border-left: 0;
  }

  .menu-row summary {
    grid-template-columns: minmax(0, 1fr) auto 34px;
    grid-template-areas: "name price toggle";
    align-items: center;
    gap: 0.75rem;
  }
  .menu-row__name { grid-area: name; }
  .menu-row__price { grid-area: price; }
  .menu-row__toggle {
    grid-area: toggle;
    justify-self: end;
    width: 32px;
    height: 32px;
    margin-top: 0;
  }

  .bodega__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .bodega__number { font-size: clamp(5.5rem, 28vw, 9rem); }

  .reviews { gap: 2rem; }
  .review--lead blockquote { max-width: none; }

  .visit__actions .btn { flex: 1 1 auto; }

  .info-list__row { grid-template-columns: 90px 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bottom { flex-direction: column; }
  .footer__legal { gap: 0.75rem; }

  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .gallery-strip a:nth-child(1),
  .gallery-strip a:nth-child(6) { aspect-ratio: 16 / 11; }

  .gallery-grid { columns: 2; }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
  .lightbox__close { top: 0.5rem; right: 0.5rem; }

  .menu-cta { grid-template-columns: 1fr; }

  .page-hero { padding-block: 2rem; }
  .page-hero__figure { aspect-ratio: 4 / 3; }

  .space { gap: 1.5rem; }
  .space__media { aspect-ratio: 4 / 5; }

  .legal-nav { gap: 0.5rem 1rem; }
}

@media (max-width: 700px) {
  .mobile-bar { display: flex; }
  /* En móvil la reserva vive en la barra fija inferior; en tablet sigue en
     la cabecera para no perder el CTA al hacer scroll. */
  .js .header__cta { display: none; }
  body { padding-bottom: 68px; }
  .site-footer { padding-bottom: 5.5rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .booking-panel__actions { flex-direction: column; }
  .booking-panel__actions .btn { width: 100%; }
  .visit__actions { flex-direction: column; }
  .visit__actions .btn { width: 100%; }
  .menu-cta__actions { flex-direction: column; }
  .menu-cta__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   29. Impresión
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .mobile-bar,
  .menu-nav,
  .hero__media,
  .page-hero__figure,
  .gallery-strip,
  .visit__actions,
  .menu-cta__actions { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .section,
  .menu-section { padding-block: 1rem; }

  .menu-grid { grid-template-columns: 1fr 1fr; gap: 0 2rem; }

  a { text-decoration: none; }
}

/* --------------------------------------------------------------------------
   30. Selector de idioma (desplegable)
   -------------------------------------------------------------------------- */
.lang-switch {
  position: relative;
}

/* Compatibilidad con HTML antiguo que pudiera quedar en caché: el selector
   anterior era un div con los cinco idiomas en línea. */
div.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  flex-wrap: wrap;
}

div.lang-switch > .lang-switch__link {
  display: inline-flex;
  padding: 0.22rem 0.24rem;
  border-radius: 2px;
}

div.lang-switch > .lang-switch__link span { font-size: 0.58rem; }

div.lang-switch > .lang-switch__link[aria-current="true"] {
  background: rgba(217, 169, 109, 0.14);
}

/* --------------------------------------------------------------------------
   31. Carta · precio y alérgenos
   -------------------------------------------------------------------------- */
.menu-item__top {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  justify-content: space-between;
}

.menu-item__price {
  flex: 0 0 auto;
  color: var(--gold-text);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.menu-item__allergens {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.menu-item__allergens span {
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

/* --------------------------------------------------------------------------
   32. Carta de vinos
   -------------------------------------------------------------------------- */
.wine-hero { padding-block: clamp(3rem, 6vw, 5rem); }

.wine-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.wine-intro h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

.wine-intro p { margin-top: 0.8rem; color: var(--muted); max-width: 62ch; }

.wine-stats {
  color: var(--gold-text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.wine-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.wine-field input,
.wine-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.wine-field input:focus-visible,
.wine-field select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.wine-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  grid-column: 1 / -1;
}

.wine-chip {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.wine-chip:hover { border-color: var(--gold-text); }

.wine-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.wine-filter-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.wine-count {
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.wine-reset {
  border: 0;
  background: none;
  color: var(--gold-text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wine-list { margin-top: 1rem; }

.wine-group { margin-top: clamp(2.5rem, 5vw, 4rem); }

.wine-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--ink);
}

.wine-group__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

.wine-group__count {
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.wine-table { margin-top: 0.4rem; }

.wine-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.9fr) 78px 88px;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.wine-row__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
}

.wine-row__meta {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.wine-row__winery,
.wine-row__origin {
  color: var(--charcoal);
  font-size: 0.82rem;
  line-height: 1.45;
}

.wine-row__origin span { display: block; }

.wine-row__region {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wine-row__price {
  color: var(--gold-text);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.wine-row__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wine-row--head {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wine-row--head span:nth-child(4),
.wine-row--head span:nth-child(5) { text-align: right; }

.wine-empty {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 960px) {
  .wine-intro { grid-template-columns: 1fr; }
  .wine-stats { text-align: left; }
  .wine-row {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.05fr) 72px 82px;
    gap: 0.75rem;
  }
  .wine-row__origin { display: none; }
  .wine-row--head span:nth-child(3) { display: none; }

  .menu-nav__list {
    padding-right: 2rem;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
    mask-image: linear-gradient(90deg, #000 92%, transparent);
  }
}

@media (max-width: 700px) {
  .wine-filters { grid-template-columns: 1fr; }
  .wine-row,
  .wine-row--head {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
    padding: 1rem 0;
  }
  .wine-row--head { display: none; }
  .wine-row__main { grid-column: 1 / -1; }
  .wine-row__winery { grid-column: 1 / -1; }
  .wine-row__origin { display: block; grid-column: 1 / -1; }
  .wine-row__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: left;
  }
  .wine-row__label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

@media print {
  .wine-filters,
  .wine-reset { display: none !important; }
  .wine-row { break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   33. Cinco idiomas, fotos de carta y alérgenos
   -------------------------------------------------------------------------- */
.lang-switch {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
}

.lang-switch__toggle::-webkit-details-marker { display: none; }
.lang-switch__toggle::marker { content: ""; }
.lang-switch__toggle:hover { border-color: var(--gold-text); color: var(--gold-text); }

.lang-switch__flag {
  width: 20px;
  height: 14px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(23, 19, 15, 0.12);
  background: var(--cream);
}

.lang-switch__code {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: inherit;
}

.lang-switch__chevron {
  transition: transform 0.2s var(--ease);
}

.lang-switch[open] .lang-switch__chevron { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 130;
  min-width: 11rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(23, 19, 15, 0.16);
}

.lang-switch__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 2px;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
}

.lang-switch__link:hover,
.lang-switch__link:focus-visible {
  background: rgba(217, 169, 109, 0.14);
  color: var(--gold-text);
}

.lang-switch__link[aria-current="true"] {
  background: rgba(217, 169, 109, 0.16);
  color: var(--gold-text);
}

.lang-switch__link img {
  width: 20px;
  height: 14px;
  display: block;
  object-fit: cover;
  flex: none;
  border: 1px solid rgba(23, 19, 15, 0.12);
  background: var(--cream);
}

.lang-switch__link span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: inherit;
}

.lang-switch__check { margin-left: auto; flex: none; }

.menu-item--with-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 1rem;
  align-items: start;
}

.menu-item__thumb {
  width: 108px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream-2);
  border: 1px solid var(--line);
}

.menu-wine-teaser {
  background: var(--charcoal);
  color: var(--cream);
}

.menu-wine-teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.menu-wine-teaser h2 {
  color: var(--cream);
  max-width: 16ch;
}

.menu-wine-teaser p {
  max-width: 56ch;
  margin-top: 0.6rem;
  color: rgba(254, 255, 249, 0.72);
}

.menu-wine-teaser .page-hero__kicker {
  color: var(--gold);
}

.menu-wine-teaser__stats {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.menu-wine-teaser .btn--gold {
  white-space: nowrap;
}

.allergen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.allergen-card {
  display: flex;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--cream-2);
  border-top: 1px solid var(--line-strong);
}

.allergen-card__icon {
  display: inline-flex;
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--gold-text);
  font-size: 1.25rem;
  line-height: 1.2;
}

.allergen-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.allergen-card h3 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.allergen-card p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.allergen-card a,
.allergen-empty a {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
}

.allergen-empty {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--line-strong);
}

.allergen-empty h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.allergen-empty p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.allergen-empty ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .lang-switch__menu { min-width: 10rem; }
}

@media (max-width: 760px) {
  .menu-item--with-image {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 0.8rem;
  }
  .menu-item__thumb { width: 86px; }
  .menu-wine-teaser__inner { grid-template-columns: 1fr; }
  .menu-wine-teaser .btn { justify-self: start; }
}

/* ==========================================================================
   33. Dirección de arte editorial (2026)
   Misma web, mismos textos, rutas y datos. Solo composición, luz y ritmo.
   ========================================================================== */

/* --- Portada cinematográfica ------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(600px, 80vh, 840px);
  background: var(--ink);
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  background: var(--ink);
}

.hero__media::after {
  background:
    linear-gradient(90deg, rgba(15, 12, 9, 0.94) 0%, rgba(15, 12, 9, 0.78) 34%, rgba(15, 12, 9, 0.3) 63%, rgba(15, 12, 9, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 12, 9, 0.82) 0%, rgba(15, 12, 9, 0.18) 46%, transparent 72%);
}

.hero__media img {
  object-position: 100% 50%;
  transform: scale(1.03);
  filter: saturate(1.04) contrast(1.03);
}

.hero__caption {
  right: var(--gutter);
  bottom: 1.45rem;
  color: rgba(247, 241, 229, 0.62);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.hero__panel {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - (2 * var(--gutter))));
  margin: 0 0 0 max(var(--gutter), calc((100vw - var(--shell)) / 2));
  padding: clamp(5rem, 12vh, 7.5rem) 0 clamp(2.2rem, 4.5vh, 3.4rem);
  background: transparent;
  border-top: 0;
  box-shadow: none;
}

.hero__panel::before {
  content: "";
  position: absolute;
  top: 34%;
  bottom: 18%;
  left: -1.6rem;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(217, 169, 109, 0));
}

.hero__place {
  margin-bottom: 1rem;
  color: var(--gold-soft);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(3.8rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.18);
}

.hero h1 em { color: var(--gold-soft); }

.hero__lead {
  max-width: 45ch;
  margin-top: 1.35rem;
  color: rgba(247, 241, 229, 0.82);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.68;
}

.hero__actions { margin-top: 2rem; }

.hero .btn--ghost {
  border-color: rgba(247, 241, 229, 0.52);
  color: var(--cream);
}

.hero .btn--ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

/* --- Ficha práctica --------------------------------------------------------- */
.info-strip {
  position: relative;
  z-index: 3;
  background: var(--paper);
  border-top: 1px solid rgba(217, 169, 109, 0.42);
  border-bottom: 1px solid var(--line);
}

.info-strip__grid { grid-template-columns: 1.1fr 1fr 1fr 1fr; }

.info-strip__item { padding-block: 1.6rem; }

.info-strip__value {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
}

.info-strip__label { color: var(--gold-text); }

/* --- Intro con imagen ------------------------------------------------------- */
.intro__grid {
  grid-template-columns: 1.05fr 0.85fr 0.8fr;
  gap: clamp(1.8rem, 4.5vw, 4.5rem);
  align-items: end;
}

.intro__media {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: var(--cream-2);
  box-shadow: 12px 12px 0 var(--cream-2);
}

.intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}

.intro__body p:first-child { font-size: 1.16rem; }

/* --- Platos firma ---------------------------------------------------------- */
.dishes {
  grid-template-columns: 1.16fr 0.92fr 0.92fr;
  gap: clamp(1.1rem, 2.2vw, 2.3rem);
}

.dish__media { aspect-ratio: 4 / 5; }

.dish__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 241, 229, 0.28);
  pointer-events: none;
  transition: border-color 0.35s var(--ease);
}

.dish:hover .dish__media::after { border-color: var(--gold-soft); }

.dish__tag {
  left: 0.9rem;
  bottom: 0.9rem;
  border: 1px solid rgba(217, 169, 109, 0.4);
  background: rgba(23, 19, 15, 0.82);
  color: var(--gold-soft);
}

.dish__name { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }

.dish__desc { font-size: 0.95rem; }

/* --- Carta en portada ------------------------------------------------------- */
.menu-teaser {
  position: relative;
  overflow: hidden;
  background: var(--olive-light);
}

.menu-teaser__intro p,
.menu-teaser .menu-cat p { color: var(--charcoal); }

.menu-teaser .menu-cat:hover { background: rgba(23, 19, 15, 0.05); }

.menu-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

.menu-cats { display: grid; grid-template-columns: 1fr 1fr; }

.menu-cat {
  padding: 1.55rem 1.7rem 1.55rem 1.7rem;
  transition: background-color 0.3s var(--ease);
}

.menu-cat:hover { background: rgba(23, 19, 15, 0.05); }

.menu-cat h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); }

/* --- Menús de grupo --------------------------------------------------------- */
.menu-row summary { padding-block: 1.55rem; }

.menu-row:hover summary { background: rgba(252, 248, 240, 0.55); }

.menu-row[open] summary { background: rgba(252, 248, 240, 0.78); }

.menu-row__name { font-size: clamp(1.7rem, 2.8vw, 2.35rem); }

.menu-row__price { color: var(--gold-text); }

.menu-row__toggle {
  width: 38px;
  height: 38px;
  border-color: var(--line-strong);
}

.menu-row[open] .menu-row__toggle { border-color: var(--gold); }

.inclusions {
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}

.inclusion { padding-left: 0; }

.inclusion::before { display: none; }

/* --- Bodega ---------------------------------------------------------------- */
/* Misma bodega que la cabecera de la carta de vinos, en un recorte limpio
   (sin el texto ni la URL del banner) que se funde con el fondo oscuro. */
.bodega::before {
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.98) 0%, rgba(23, 19, 15, 0.92) 50%, rgba(23, 19, 15, 0.68) 78%, rgba(23, 19, 15, 0.45) 100%),
    linear-gradient(0deg, rgba(23, 19, 15, 0.9) 0%, rgba(23, 19, 15, 0.18) 62%, rgba(23, 19, 15, 0) 100%),
    url("../assets/images/bodega-picon-detalle.jpg") right 48% / min(58vw, 760px) auto no-repeat;
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.98) 0%, rgba(23, 19, 15, 0.92) 50%, rgba(23, 19, 15, 0.68) 78%, rgba(23, 19, 15, 0.45) 100%),
    linear-gradient(0deg, rgba(23, 19, 15, 0.9) 0%, rgba(23, 19, 15, 0.18) 62%, rgba(23, 19, 15, 0) 100%),
    image-set(
      url("../assets/images/bodega-picon-detalle.avif") type("image/avif"),
      url("../assets/images/bodega-picon-detalle.webp") type("image/webp"),
      url("../assets/images/bodega-picon-detalle.jpg") type("image/jpeg")
    ) right 48% / min(58vw, 760px) auto no-repeat;
}

.bodega__number { text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3); }

.bodega h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); }

/* --- Reseñas --------------------------------------------------------------- */
.review--lead {
  position: relative;
  padding-top: 3.2rem;
}

.review--lead::before {
  content: "“";
  position: absolute;
  top: -1.6rem;
  left: -0.55rem;
  z-index: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 11rem;
  line-height: 1;
  opacity: 0.28;
  pointer-events: none;
}

.review--lead blockquote {
  position: relative;
  z-index: 1;
  font-size: clamp(2.2rem, 4vw, 3.55rem);
}

.review__source {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.review--small { padding-block: 1.65rem; }

.review--small blockquote { font-size: clamp(1.35rem, 2vw, 1.7rem); }

/* --- Galería --------------------------------------------------------------- */
@media (hover: hover) {
  .gallery-strip__caption,
  .gallery-item__cap {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .gallery-strip a:hover .gallery-strip__caption,
  .gallery-item:hover .gallery-item__cap {
    opacity: 1;
    transform: none;
  }
}

.gallery-strip a::after,
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(247, 241, 229, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.gallery-strip a:hover::after,
.gallery-item:hover::after { opacity: 1; }

.gallery-strip img,
.gallery-item img { filter: saturate(1.04) contrast(1.02); }

@media (min-width: 961px) {
  .gallery-strip {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(150px, 15vw, 210px);
    gap: clamp(0.5rem, 1vw, 0.9rem);
  }

  .gallery-strip a,
  .gallery-strip a:nth-child(n) {
    grid-column: span 4;
    grid-row: span 1;
    aspect-ratio: auto;
  }

  .gallery-strip a:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .gallery-strip a:nth-child(2) { grid-column: span 5; }
  .gallery-strip a:nth-child(3) { grid-column: span 5; }
  .gallery-strip a:nth-child(4),
  .gallery-strip a:nth-child(5),
  .gallery-strip a:nth-child(6) { grid-column: span 4; }
}

/* --- Visítanos ------------------------------------------------------------- */
.visit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(217, 169, 109, 0.16), transparent 48%);
  pointer-events: none;
}

.visit .shell { position: relative; z-index: 1; }

.visit__title { font-size: clamp(2.9rem, 5.4vw, 5rem); }

.visit .info-list {
  padding: clamp(1.35rem, 3vw, 2.2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

/* --- Cabeceras interiores -------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(circle at 88% 8%, rgba(217, 169, 109, 0.1), transparent 44%),
    var(--cream);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  left: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(217, 169, 109, 0));
  opacity: 0.55;
}

.page-hero__grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.page-hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.page-hero__kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}

.page-hero h1 {
  font-size: clamp(3.4rem, 6.6vw, 6.2rem);
  line-height: 0.92;
}

.page-hero__figure { background: var(--cream-2); }

.page-hero__figure::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247, 241, 229, 0.58);
  pointer-events: none;
}

.page-hero__figure img { filter: saturate(1.03) contrast(1.02); }

.page-hero__figure figcaption {
  padding: 3rem 1rem 0.9rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.page-hero--compact { padding-block: clamp(2.8rem, 5vw, 4.5rem); }

.page-hero--compact h1 { font-size: clamp(3rem, 5.6vw, 5.4rem); }

@media (min-width: 961px) {
  .page-hero__figure {
    aspect-ratio: 4 / 5;
    max-height: 560px;
  }
}

/* --- Carta de vinos: cabecera con imagen ---------------------------------- */
.wine-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); }

.wine-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.wine-hero__figure {
  position: relative;
  aspect-ratio: 1;
  max-height: 440px;
  margin: 0;
  overflow: hidden;
  background: var(--cream-2);
}

.wine-hero__figure::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247, 241, 229, 0.55);
  pointer-events: none;
}

.wine-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.wine-filters {
  margin-top: 2rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
}

.wine-row {
  padding: 0.95rem 0.6rem;
  transition: background-color 0.2s var(--ease);
}

.wine-row:hover { background: rgba(252, 248, 240, 0.8); }

.wine-row__name { font-size: 1.22rem; }

.wine-row__price:last-child {
  color: var(--ink);
  font-weight: 600;
}

.wine-group__head { border-bottom-color: var(--gold); }

/* --- Carta: ritmo y detalle ------------------------------------------------ */
.menu-intro { grid-template-columns: 0.8fr 1.2fr; }

.menu-intro p:first-child { font-size: 1.12rem; }

.menu-intro p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 3.3em;
  line-height: 0.76;
}

.menu-section { border-top: 1px solid var(--line-strong); }

.menu-section__head h2 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }

.menu-item { transition: background-color 0.2s var(--ease); }

.menu-item:hover { background: rgba(252, 248, 240, 0.7); }

.menu-item__name { font-size: clamp(1.3rem, 1.9vw, 1.55rem); }

.menu-item__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.menu-cta {
  background: var(--ink);
  border-top-color: var(--gold);
  color: var(--cream);
}

.menu-cta h2 { color: var(--cream); }

.menu-cta p { color: rgba(247, 241, 229, 0.72); }

.menu-cta .btn--ghost {
  border-color: rgba(247, 241, 229, 0.48);
  color: var(--cream);
}

.menu-cta .btn--ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

/* --- Contacto: reserva como pieza central --------------------------------- */
.booking-panel {
  background: var(--ink);
  border: 0;
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-soft);
  color: var(--cream);
}

.booking-panel .page-hero__kicker { color: var(--gold-soft); }

.booking-panel p { color: rgba(247, 241, 229, 0.74); }

.booking-panel .btn--ghost {
  border-color: rgba(247, 241, 229, 0.48);
  color: var(--cream);
}

.booking-panel .btn--ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.booking-panel__note {
  border-top-color: var(--line-light);
  color: rgba(247, 241, 229, 0.62);
}

.booking-panel__note a { color: var(--gold-soft); }

.hours-card {
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.channel { transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }

.channel:hover { padding-left: 0.35rem; }

.channel__value { font-size: clamp(1.5rem, 2.5vw, 2.05rem); }

/* --- Botones y enlaces ----------------------------------------------------- */
.btn {
  box-shadow: 0 1px 0 rgba(23, 19, 15, 0.08);
  transition:
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    color 0.28s var(--ease),
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(23, 19, 15, 0.12);
}

.btn--gold {
  background: linear-gradient(180deg, #e2b67f 0%, var(--gold) 100%);
}

.btn--gold:hover {
  background: linear-gradient(180deg, #edc795 0%, var(--gold-soft) 100%);
}

.btn__arrow { transition: transform 0.28s var(--ease); }

.link-arrow { font-size: 0.95rem; }

/* --- Pie ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid rgba(217, 169, 109, 0.28); }

.footer__wordmark { letter-spacing: -0.02em; }

/* --- Ajustes de tablet y móvil -------------------------------------------- */
@media (max-width: 960px) {
  .hero { min-height: 70vh; }

  .info-strip__grid { grid-template-columns: 1fr 1fr; }

  .hero__panel {
    width: min(720px, calc(100% - (2 * var(--gutter))));
    padding-top: 4.5rem;
  }

  .hero h1 { font-size: clamp(3.4rem, 8.4vw, 5.2rem); }

  .intro__grid { grid-template-columns: 1fr; }

  .intro__media {
    grid-column: auto;
    aspect-ratio: 21 / 9;
    margin-top: 0.5rem;
    box-shadow: 8px 8px 0 var(--cream-2);
  }

  .page-hero__grid { grid-template-columns: 1fr; }

  .wine-hero__grid { grid-template-columns: 1fr; }

  .wine-hero__figure {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .menu-teaser__intro { position: static; }

  .inclusions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero {
    min-height: clamp(540px, 78vh, 700px);
  }

  .hero__media { height: 100%; }

  .hero__media img { object-position: 72% 50%; }

  .hero__media::after {
    background:
      linear-gradient(0deg, rgba(15, 12, 9, 0.94) 0%, rgba(15, 12, 9, 0.62) 52%, rgba(15, 12, 9, 0.16) 100%),
      linear-gradient(90deg, rgba(15, 12, 9, 0.42), transparent 70%);
  }

  .hero__panel {
    width: calc(100% - (2 * var(--gutter)));
    margin: 0 auto;
    padding: 6rem 0 2.2rem;
  }

  .hero__panel::before { display: none; }

  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }

  .hero__caption { display: none; }

  .info-strip__grid { grid-template-columns: 1fr 1fr; }

  .intro__media {
    aspect-ratio: 4 / 3;
    box-shadow: 6px 6px 0 var(--cream-2);
  }

  .menu-cat,
  .menu-cat:nth-child(even) {
    padding-left: 1.7rem;
    border-left: 0;
  }

  .page-hero { padding-block: 2.4rem; }

  .page-hero h1 { font-size: clamp(2.9rem, 12vw, 4.2rem); }

  .page-hero--compact h1 { font-size: clamp(2.7rem, 11vw, 3.8rem); }

  .wine-hero__figure { aspect-ratio: 4 / 3; }

  .wine-filters { padding: 0.9rem; }

  .wine-row { padding-inline: 0; }

  .inclusions { grid-template-columns: 1fr; }

  .review--lead { padding-top: 2.3rem; }

  .review--lead::before {
    top: -1.1rem;
    left: -0.3rem;
    font-size: 7.5rem;
  }

  .visit .info-list { padding: 1.1rem; }

  .menu-cta { padding: 1.25rem; }
}

/* --------------------------------------------------------------------------
   Etiquetas de vino en la carta (miniaturas 240x360)
   -------------------------------------------------------------------------- */
.wine-row:not(.wine-row--head) { align-items: center; }

.wine-row__main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.wine-row__body { min-width: 0; }

.wine-row__thumb {
  flex: 0 0 40px;
  display: block;
  width: 40px;
  height: 60px;
  line-height: 0;
}

/* Mantiene el mismo ritmo vertical en los vinos sin etiqueta. */
.wine-row__thumb--empty { height: 60px; }

.wine-row--head span:first-child { padding-left: 54px; }

.wine-row__thumb img {
  display: block;
  width: 40px;
  height: 60px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 960px) {
  .wine-row--head span:first-child { padding-left: 52px; }
}

@media (max-width: 700px) {
  .wine-row__main { gap: 0.7rem; }
  .wine-row__thumb { flex-basis: 34px; width: 34px; height: 51px; }
  .wine-row__thumb--empty { height: 51px; }
  .wine-row__thumb img { width: 34px; height: 51px; }
}

@media print {
  .wine-row__thumb { display: none; }
  .wine-row__main { gap: 0; }
  .wine-row--head span:first-child { padding-left: 0; }
}

/* --------------------------------------------------------------------------
   Cabecera ilustrada de la carta de vinos
   -------------------------------------------------------------------------- */
.wine-banner {
  background: var(--cream-2);
  line-height: 0;
  overflow: hidden;
}

.wine-banner picture { display: block; }

.wine-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.wine-hero--banner { padding-block: clamp(2.25rem, 4vw, 3.5rem); }

.wine-hero--banner .wine-hero__copy { max-width: 62ch; }

@media (max-width: 760px) {
  .wine-banner { aspect-ratio: 16 / 9; }
  .wine-banner picture { height: 100%; }
  .wine-banner img {
    height: 100%;
    object-fit: cover;
    object-position: 0% 50%;
  }
}

/* --------------------------------------------------------------------------
   Ficha ampliada de vino (hover en escritorio, hoja en móvil)
   -------------------------------------------------------------------------- */
.wine-peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 130;
  width: min(380px, calc(100vw - 28px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease),
    visibility 0s linear 0.16s;
  pointer-events: none;
}

.wine-peek.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.wine-peek__panel {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  box-shadow: 0 26px 60px rgba(23, 19, 15, 0.18);
}

.wine-peek__media { align-self: start; line-height: 0; }

.wine-peek__media img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.wine-peek__type {
  color: var(--gold-text);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wine-peek__name {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.08;
}

.wine-peek__winery {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.wine-peek__facts {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.wine-peek__fact {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.wine-peek__fact dt {
  padding-top: 0.1rem;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.wine-peek__fact dd {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.78rem;
  line-height: 1.45;
}

.wine-peek__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
}

.wine-peek__label { color: var(--muted); font-size: 0.68rem; }

.wine-peek__prices b {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.wine-peek--noimg .wine-peek__panel { grid-template-columns: 1fr; }
.wine-peek--noimg .wine-peek__media { display: none; }

.wine-peek__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: none;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.wine-peek--modal .wine-peek__close { display: flex; }

.wine-peek-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(23, 19, 15, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0s linear 0.2s;
}

.wine-peek-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.wine-peek--modal {
  left: 50% !important;
  top: 50% !important;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0s linear 0.2s;
  pointer-events: auto;
}

.wine-peek--modal.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
  transition-delay: 0s;
}

.wine-peek--modal .wine-peek__panel {
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 1.5rem;
  border-top-width: 3px;
  box-shadow: 0 30px 80px rgba(23, 19, 15, 0.3);
}

.wine-peek--modal .wine-peek__name { font-size: 1.9rem; }
.wine-peek--modal .wine-peek__body { padding-right: 1.5rem; }

body.wine-peek-open { overflow: hidden; }

@media (max-width: 760px) {
  .wine-peek--modal {
    left: 0 !important;
    right: 0;
    top: auto !important;
    bottom: 0;
    width: 100%;
    max-height: 88vh;
    transform: translateY(16px);
    border-radius: 18px 18px 0 0;
  }

  .wine-peek--modal.is-visible { transform: none; }

  .wine-peek--modal .wine-peek__panel {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.35rem 1.1rem calc(1.35rem + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
  }

  .wine-peek--modal .wine-peek__name { font-size: 1.45rem; }
  .wine-peek--modal .wine-peek__body { padding-right: 1.2rem; }
  .wine-peek--modal .wine-peek__fact { grid-template-columns: 64px minmax(0, 1fr); }
  .wine-peek--modal .wine-peek__close { top: 0.7rem; right: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wine-peek,
  .wine-peek-backdrop { transition: none; }
}

@media print {
  .wine-peek,
  .wine-peek-backdrop { display: none !important; }
}
