/* Érase un Hotel: componentes del marco. Botones, secciones, cabecera, submenús, menú lateral,
   barra inferior del móvil, ola, cierre, pie, aviso y notas del presentador.
   Todo negro y blanco, recto (2 px), sin sombras de color. */

/* ---------- Botones ---------- */
/* .btn--primary: blanco con texto negro (sobre negro). .btn--ghost: filete blanco de 1 px.
   .btn--ink: negro con texto blanco (sobre superficies blancas). */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.5rem;
  border: 1px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-text); font-size: var(--t-sm); font-weight: 500; line-height: 1; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none;
  transition: background-color var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out), border-color var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--blanco); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--sm { min-height: 40px; padding: 0 1.1rem; }
.btn--lg { min-height: 56px; padding: 0 2rem; font-size: var(--t-md); }
.btn--block { width: 100%; }
.btn--primary { --btn-bg: var(--blanco); --btn-fg: var(--negro); --btn-bd: var(--blanco); }
.btn--primary:active:not(:disabled) { --btn-bg: rgba(255, 255, 255, 0.72); }
.btn--ghost { --btn-fg: var(--blanco); --btn-bd: var(--blanco); }
.btn--ghost:active:not(:disabled) { --btn-bg: rgba(255, 255, 255, 0.18); }
.btn--ink { --btn-bg: var(--papel-tinta); --btn-fg: var(--papel); --btn-bd: var(--papel-tinta); }
.btn--ink:active:not(:disabled) { --btn-bg: #3a3a3a; }
/* :hover solo con ratón: en el dedo, tras tocar, el botón se quedaba gris y parecía desactivado. El
   secundario no se rellena de blanco (sería igual que el principal de al lado): solo se aclara. */
@media (hover: hover) {
  .btn--primary:hover:not(:disabled) { --btn-bg: rgba(255, 255, 255, 0.84); --btn-bd: rgba(255, 255, 255, 0.84); }
  .btn--ghost:hover:not(:disabled) { --btn-bg: rgba(255, 255, 255, 0.12); --btn-fg: var(--blanco); }
  .btn--ink:hover:not(:disabled) { --btn-bg: #262626; --btn-bd: #262626; }
}
.btn--ink:focus-visible { outline-color: var(--papel-tinta); }

/* ---------- Secciones ---------- */
/* Todas negras. Titular grande a la izquierda, entradilla gris y mucho aire. */
.sec {
  position: relative;
  z-index: var(--z-section);
  background: var(--negro);
  color: var(--blanco);
  padding: clamp(6rem, 11vw, 10.5rem) var(--gutter) clamp(5rem, 9vw, 8.5rem);
}
/* Dos secciones negras seguidas: menos aire arriba y un filete fino que las separa. */
.sec--tight-top { padding-top: clamp(4.5rem, 8vw, 7rem); }
.sec--tight-top::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--linea);
}
.sec__in { position: relative; max-width: var(--max); margin: 0 auto; }
.sec__head { display: grid; gap: var(--s-5); max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
/* Un escalón por debajo de la frase de #hotel, del hero y del cierre (que son los momentos grandes). */
.sec__head h2, .sec h2.sec__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--t-4xl); line-height: var(--lh-tight); letter-spacing: var(--tr-head);
}
.sec__lead { font-size: var(--t-lg); line-height: 1.45; color: var(--gris); max-width: var(--measure); text-wrap: balance; }

/* ---------- Cabecera ---------- */
/* Dos estados (chrome.js, data-on): «video» transparente con degradado negro arriba, sobre el vídeo;
   «solid» negra translúcida con filete inferior, sobre el contenido. */
.site-header {
  position: fixed; z-index: var(--z-header); top: 0; left: 0; right: 0;
  height: var(--header-h);
  color: var(--blanco);
  transition: background-color var(--d-med) var(--ease-out), box-shadow var(--d-med) var(--ease-out), -webkit-backdrop-filter var(--d-med) var(--ease-out), backdrop-filter var(--d-med) var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -80% 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0));
  transition: opacity var(--d-med) var(--ease-out);
}
.site-header[data-on="solid"] {
  background: rgba(0, 0, 0, 0.72);
  box-shadow: inset 0 -1px 0 var(--linea);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}
.site-header[data-on="solid"]::before { opacity: 0; }
.site-header__bar {
  position: relative; height: 100%;
  display: flex; align-items: center; gap: clamp(16px, 2vw, 32px);
  padding: 0 var(--gutter);
}
.brand { flex: none; display: block; color: inherit; padding: 13px 0; }   /* 44 px de zona táctil también con el logo de 150 px */
.brand__logo { width: clamp(150px, 13.5vw, 190px); height: auto; aspect-ratio: 474 / 59; fill: currentColor; }

.site-nav { margin-inline: auto; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.site-nav__list > li > a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: var(--t-sm); font-weight: 500; text-decoration: none; white-space: nowrap;
}
/* Subrayado fino que crece desde el centro al pasar el ratón. */
.site-nav__list > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px;
  background: currentColor; transform: scaleX(0); transition: transform var(--d-med) var(--ease-out);
}
.site-nav__list > li > a:hover::after, .site-nav__list > li > a[aria-current]::after { transform: scaleX(1); }
.has-sub > a::after { right: 4px !important; }
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 4px !important; }
.sub-toggle { display: inline-grid; place-items: center; width: 30px; height: 44px; border-radius: var(--r-pill); }
.sub-toggle:focus-visible { outline-offset: -2px; }
.sub-toggle .ico { width: 16px; height: 16px; transition: transform var(--d-fast) var(--ease-out); }
.has-sub.is-open .sub-toggle .ico, .has-sub:hover .sub-toggle .ico { transform: rotate(180deg); }
.sub {
  list-style: none; position: absolute; top: calc(100% + 12px); left: -6px; min-width: 260px;
  padding: 6px; border: 1px solid var(--linea-suave); border-radius: 20px;
  background: rgba(16, 16, 16, 0.94); color: var(--blanco);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity var(--d-fast) var(--ease-out), transform var(--d-med) var(--ease-out);
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; transform: none; pointer-events: auto; }
/* Escape cierra el submenú aunque el foco o el ratón sigan dentro (chrome.js pone .is-dismissed). */
.has-sub.is-dismissed .sub { opacity: 0; transform: translateY(-4px); pointer-events: none; }
.has-sub.is-dismissed .sub-toggle .ico { transform: none; }
/* Con un submenú abierto, la cabecera pasa por encima de la barra de reserva fija. */
.site-header:has(.has-sub:not(.is-dismissed):is(:hover, :focus-within, .is-open)) { z-index: calc(var(--z-bar) + 1); }
.sub a { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 14px 14px; border-radius: 14px; text-decoration: none; transition: background-color var(--d-fast); }
@media (hover: hover) { .sub a:hover { background: var(--capa); } }
.sub a:focus-visible { outline-offset: -3px; }
.sub__name { font-family: var(--f-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.1; letter-spacing: -0.01em; }
.sub__meta { font-size: var(--t-xs); color: var(--gris); white-space: nowrap; font-variant-numeric: tabular-nums; }

.site-header__tools { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); margin-left: auto; }
.site-nav + .site-header__tools { margin-left: 0; }
/* «Reservar» el primero de las herramientas, en la home y en las fichas: Reservar, teléfono, idioma, Menú. */
.hdr-book { order: -1; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--t-sm); font-weight: 500; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr-phone .ico { width: 18px; height: 18px; }
.lang { display: inline-flex; align-items: center; font-size: var(--t-sm); font-weight: 500; }
.lang > * { display: inline-grid; place-items: center; min-width: 30px; min-height: 44px; }
.lang__on { position: relative; }
.lang__on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 11px; height: 1px; background: currentColor; }
.lang__off { color: var(--gris); cursor: help; }
@media (hover: hover) { .lang__off:hover { color: var(--blanco); } }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px;
  border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: var(--t-sm); font-weight: 500;
  transition: background-color var(--d-fast), border-color var(--d-fast), color var(--d-fast);
}
@media (hover: hover) { .menu-btn:hover { border-color: var(--blanco); background: var(--capa); } }
.menu-btn .ico { width: 20px; height: 20px; }

@media (max-width: 1420px) { .hdr-phone span { display: none; } .hdr-phone { padding: 0 6px; } }
@media (max-width: 1360px) { .site-nav__list > li > a { padding: 0 9px; } .site-nav__list > li > a::after { left: 9px; right: 9px; } .site-header__bar { gap: 14px; } }
@media (max-width: 1180px) { .site-nav { display: none; } .site-header__tools, .site-nav + .site-header__tools { margin-left: auto; } }
@media (max-width: 760px) {
  .brand__logo { width: 150px; }
  .lang, .hdr-book, .hdr-phone { display: none; }
  .menu-btn { padding: 0 14px 0 12px; }
}

/* ---------- Velo de salto (navegación larga) ---------- */
.jump-veil {
  position: fixed; inset: 0; z-index: calc(var(--z-header) - 2); pointer-events: none;
  background: var(--negro); opacity: 0; transition: opacity 0.26s var(--ease-in-out);
}
.jump-veil.is-on { opacity: 1; transition-duration: 0.24s; }

/* ---------- Ola: el borde de agua entre el vídeo y el negro (SPEC §9) ---------- */
/* Va arriba de la sección negra y sube sobre el vídeo. Solo donde el negro toca un vídeo. */
.ola {
  --ola-h: 44px; --ola-tile: 1680px; --ola-speed: 10.08s;
  --ola-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1680 48' preserveAspectRatio='none'%3E%3Cpath d='M0 13C140 -1 280 -1 420 13S700 27 840 13S1120 -1 1260 13S1540 27 1680 13V48H0Z' fill='%23000'/%3E%3C/svg%3E");
  position: absolute; z-index: 3; left: 0; right: 0; top: calc(1px - var(--ola-h));
  height: var(--ola-h); overflow: hidden; pointer-events: none;
  color: var(--ola-fill, var(--negro));
  transform: scaleY(var(--ola-amp, 1)); transform-origin: 50% 100%;
}
.ola::before, .ola::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%;
  width: calc(100% + var(--ola-tile));
  background: currentColor;
  -webkit-mask: var(--ola-mask) 0 0 / var(--ola-tile) 100% repeat-x;
  mask: var(--ola-mask) 0 0 / var(--ola-tile) 100% repeat-x;
  animation: ola-drift var(--ola-speed) linear infinite;
  will-change: transform;
}
.ola::after {
  /* segunda cresta, más lenta y al revés: en negro sobre el vídeo se lee como agua, no como franja */
  opacity: 0.2; top: -3px; height: calc(100% + 3px);
  -webkit-mask-position: -520px 0; mask-position: -520px 0;
  animation-duration: calc(var(--ola-speed) * 1.7); animation-direction: reverse;
}
.ola.is-off::before, .ola.is-off::after { animation-play-state: paused; }
@keyframes ola-drift { to { transform: translate3d(calc(-1 * var(--ola-tile)), 0, 0); } }
.ola--footer { color: var(--negro); }
/* Ola de salida (boca abajo): el negro baja ondulado sobre el vídeo que sigue. Dentro del cierre va
   arriba del todo: mismo dibujo, sin pelearse con su capa (z-index, overflow). */
.ola--down { top: auto; bottom: 1px; transform: scaleY(calc(-1 * var(--ola-amp, 1))); }
.cierre > .ola--down { top: calc(-1px - var(--ola-h)); bottom: auto; }
@media (max-width: 760px) { .ola { --ola-h: 32px; --ola-tile: 1180px; --ola-speed: 7.08s; } }
@media (prefers-reduced-motion: reduce) { .ola::before, .ola::after { animation: none; } .ola { transform: none; } .ola--down { transform: scaleY(-1); } }

/* ---------- Cierre ---------- */
/* Timelapse de la fachada, oscurecido y desaturado, con el titular centrado. */
.cierre {
  position: relative; z-index: var(--z-section); isolation: isolate;
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: clamp(7rem, 12vw, 10rem) var(--gutter) clamp(8rem, 13vw, 11rem);
  background: var(--negro); color: var(--blanco); overflow: hidden;
}
.cierre__media { position: absolute; inset: 0; z-index: -1; background: var(--negro); }
.cierre__video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.88) saturate(0.5); }
.cierre__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(64% 54% at 50% 50%, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.26) 78%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.16) 34%, rgba(0, 0, 0, 0.26) 70%, rgba(0, 0, 0, 0.5));
}
.cierre__in { position: relative; display: grid; justify-items: center; max-width: 60rem; }
.cierre__crown { width: 40px; height: 33px; color: var(--blanco); margin-bottom: var(--s-6); }
.cierre__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.9rem, 7.6vw, 6.75rem); line-height: var(--lh-tight); letter-spacing: var(--tr-hero);
}
.cierre__line { margin-top: var(--s-5); font-size: var(--t-lg); line-height: 1.4; color: rgba(255, 255, 255, 0.9); text-wrap: balance; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7); }
.cierre__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--s-7); }

/* ---------- Pie ---------- */
.site-footer {
  position: relative; z-index: var(--z-section);
  background: var(--negro); color: var(--blanco);
  border-top: 1px solid var(--linea);
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter) calc(2.5rem + env(safe-area-inset-bottom));
}
/* Sobre el vídeo del cierre el filete no hace falta: lo hace la ola. */
.cierre + .site-footer, main:has(> .cierre:last-child) + .site-footer { border-top-color: transparent; }
.site-footer__in { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(2.5rem, 6vw, 6rem); }
.site-footer__brand { display: grid; gap: var(--s-4); align-content: start; }
.site-footer__logo { width: 200px; height: auto; aspect-ratio: 474 / 59; fill: currentColor; color: var(--blanco); margin-bottom: var(--s-2); }
.site-footer__addr { color: var(--gris); line-height: 1.6; }
.site-footer__times { color: var(--gris); font-size: var(--t-sm); }
/* Cada columna mide al menos lo que su enlace más largo: el correo y «Déjanos tu reseña» no se parten. */
.site-footer__cols { display: grid; grid-template-columns: minmax(max-content, 1.5fr) repeat(3, minmax(max-content, 1fr)); gap: 2rem; }
.fcol__title { font-family: var(--f-text); font-size: var(--t-sm); font-weight: 700; line-height: var(--lh-head); color: var(--blanco); margin-bottom: var(--s-4); }
.fcol ul { display: grid; gap: 0; }
.fcol a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--gris); text-decoration: none; font-size: var(--t-sm); overflow-wrap: break-word; transition: color var(--d-fast); }
.fcol a[href^="mailto:"] { white-space: nowrap; }
@media (hover: hover) { .fcol a:hover { color: var(--blanco); } }
.fcol .ico { width: 18px; height: 18px; }
.fcol .ico--fill { width: 16px; height: 16px; }
.site-footer__legal {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center;
  padding-top: var(--s-5); border-top: 1px solid var(--linea);
  font-size: var(--t-xs); color: var(--gris);
}
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer__legal a, .site-footer__legal button { display: inline-flex; align-items: center; min-height: 44px; color: var(--gris); }
@media (hover: hover) { .site-footer__legal a:hover, .site-footer__legal button:hover { color: var(--blanco); } }
/* Por debajo de 1180 px las cuatro columnas no caben junto a la marca: la marca pasa arriba. */
@media (max-width: 1180px) {
  .site-footer__in { grid-template-columns: none; }
}
@media (max-width: 760px) {
  .site-footer { padding: 3.5rem 16px calc(var(--bar-h) + 40px + env(safe-area-inset-bottom)); }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .site-footer__cols .fcol:first-child { grid-column: 1 / -1; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- Barra fija inferior (móvil) ---------- */
.bottom-bar {
  position: fixed; z-index: var(--z-bar);
  left: max(12px, var(--safe-l)); right: max(12px, var(--safe-r)); bottom: calc(12px + env(safe-area-inset-bottom));
  height: var(--bar-h); padding: 7px;
  display: none; align-items: center; gap: 4px;
  border: 1px solid var(--linea); border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.72);
  color: var(--blanco);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.bottom-bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; height: 48px; padding: 0 14px; border-radius: var(--r-pill);
  font-size: var(--t-sm); font-weight: 500; text-decoration: none;
}
.bottom-bar__btn:active { background: var(--capa); }
.bottom-bar__btn .ico { width: 20px; height: 20px; }
.bottom-bar__btn .ico--fill { width: 18px; height: 18px; }
.bottom-bar__book { flex: 1; height: 48px; min-height: 48px; }
@media (max-width: 760px) { .bottom-bar { display: flex; } }
/* Se recoge cuando no hace falta (chrome.js): con el «Reservar» y el «Llamar» del cierre a la vista
   (html.bar-cierre) y, en el móvil girado, al bajar (html.bar-baja; vuelve al subir). */
.bottom-bar { transition: transform var(--d-med) var(--ease-out), opacity var(--d-fast) var(--ease-out), visibility 0s linear 0s; }
html.bar-cierre .bottom-bar, html.bar-baja .bottom-bar {
  transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform var(--d-med) var(--ease-out), opacity var(--d-med) var(--ease-out), visibility 0s linear var(--d-med);
}
@media (max-width: 359px) { .bottom-bar__btn span { display: none; } }

/* ---------- Móvil en horizontal (poca altura y dedo) ----------
   Es un teléfono aunque mida más de 760 px de ancho: cabecera compacta (56 px, tokens.css), solo
   logo y menú, y la barra de abajo con Llamar, WhatsApp y Reservar, centrada y sin estirarse. */
@media (max-height: 500px) and (pointer: coarse) {
  :root { --bar-h: 52px; }
  .site-header__bar { gap: 12px; }
  .lang, .hdr-book, .hdr-phone { display: none; }
  .bottom-bar {
    display: flex; left: 50%; right: auto; translate: -50% 0; bottom: calc(8px + env(safe-area-inset-bottom)); padding: 4px;
    width: min(560px, calc(100% - 24px - var(--safe-l) - var(--safe-r)));
  }
  .bottom-bar__btn, .bottom-bar__book { height: 44px; min-height: 44px; }
  .site-footer { padding-bottom: calc(var(--bar-h) + 40px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(var(--bar-h) + 26px + env(safe-area-inset-bottom)); }
}

/* ---------- Menú lateral ---------- */
.drawer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--blanco);
  overflow: hidden;
}
/* Apertura suave: el fondo se oscurece y se desenfoca despacio, el panel flota (con radio, separado del
   borde) y entra con un fundido y un desplazamiento corto; las secciones llegan una detrás de otra.
   Cierre más corto que la apertura. chrome.js espera --drawer-out antes de cerrar el <dialog>. */
.drawer { --drawer-in: 640ms; --drawer-out: 380ms; --drawer-ease: cubic-bezier(0.32, 0.72, 0, 1); }
.drawer::backdrop {
  background: rgba(0, 0, 0, 0.55); opacity: 0;
  -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px);
  transition: opacity var(--drawer-out) ease, -webkit-backdrop-filter var(--drawer-out) ease, backdrop-filter var(--drawer-out) ease;
}
.drawer.is-open::backdrop {
  opacity: 1; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition-duration: var(--drawer-in);
}
.drawer__panel {
  position: absolute; top: 10px; right: max(10px, var(--safe-r)); bottom: 10px; width: min(440px, calc(100% - 20px));
  display: flex; flex-direction: column; gap: var(--s-6);
  padding: 14px clamp(20px, 2.6vw, 34px) 0;   /* abajo, el pie (sticky) pone su margen */
  background: rgba(14, 14, 14, 0.96);
  border: 1px solid var(--linea-suave); border-radius: var(--r-sheet);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translate3d(28px, 0, 0) scale(0.985); transform-origin: 100% 50%;
  transition: opacity var(--drawer-out) ease, transform var(--drawer-out) var(--drawer-ease);
}
.drawer.is-open .drawer__panel {
  opacity: 1; transform: none;
  transition: opacity calc(var(--drawer-in) * 0.7) ease, transform var(--drawer-in) var(--drawer-ease);
}
/* Las secciones del menú llegan escalonadas (--k: orden), solo al abrir. */
.drawer__nav > ul > li, .drawer__extras > li, .drawer__foot {
  opacity: 0; transform: translate3d(0, 10px, 0);
  transition: opacity 200ms ease, transform 200ms ease;
}
.drawer.is-open :is(.drawer__nav > ul > li, .drawer__extras > li, .drawer__foot) {
  opacity: 1; transform: none;
  transition: opacity 520ms ease calc(140ms + var(--k, 0) * 45ms), transform 700ms var(--drawer-ease) calc(140ms + var(--k, 0) * 45ms);
}
@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer.is-open .drawer__panel { transform: none; transition: opacity 200ms linear; }
  .drawer__nav > ul > li, .drawer__extras > li, .drawer__foot { opacity: 1; transform: none; transition: none; }
}
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.drawer__logo { width: 160px; height: auto; aspect-ratio: 474 / 59; fill: currentColor; }
.drawer__close { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-pill); border: 1px solid var(--linea); background: var(--grafito-2); transition: border-color var(--d-fast), background-color var(--d-fast), transform var(--d-med) var(--ease-out); }
@media (hover: hover) { .drawer__close:hover { transform: rotate(90deg); } }
@media (hover: hover) { .drawer__close:hover { border-color: var(--blanco); background: var(--capa); } }
.drawer__close .ico { width: 20px; height: 20px; }
.drawer__nav > ul > li + li { border-top: 1px solid var(--linea-suave); }
.drawer__nav > ul > li > a {
  display: block; padding: 12px 0; text-decoration: none;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.875rem, 6vw, 2.375rem); line-height: 1.05; letter-spacing: -0.025em;
  transition: color var(--d-fast);
}
@media (hover: hover) {
  .drawer__nav > ul:hover > li > a { color: var(--gris); }
  .drawer__nav > ul > li > a:hover { color: var(--blanco); }
}
.drawer__nav > ul > li > a:focus-visible { color: var(--blanco); }
.drawer__sub { display: flex; flex-wrap: wrap; gap: 0 20px; margin: -4px 0 10px; }
.drawer__sub a { display: inline-flex; min-height: 44px; align-items: center; font-size: var(--t-sm); color: var(--gris); text-decoration: none; transition: color var(--d-fast); }
@media (hover: hover) { .drawer__sub a:hover { color: var(--blanco); } }
.drawer__extras { display: grid; gap: 2px; }
.drawer__extras li { border-radius: 14px; transition: background-color var(--d-fast); }
@media (hover: hover) { .drawer__extras li:hover { background: var(--grafito-2); } }
.drawer__extras a, .drawer__extras button {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px; margin: 0 -12px; width: calc(100% + 24px); text-align: left;
  font-size: var(--t-md); text-decoration: none; border-radius: 14px;
}
.drawer__extras .ico { width: 20px; height: 20px; color: var(--blanco); }
.drawer__extras .ico--fill { width: 18px; height: 18px; }
.drawer__meta { margin-left: auto; color: var(--gris); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
/* El «Reservar» del menú siempre a la vista, aunque la lista no quepa y haya que desplazarla. */
.drawer__foot {
  position: sticky; bottom: 0; margin-top: auto;
  display: grid; gap: var(--s-4);
  padding: var(--s-4) 0 calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(14, 14, 14, 0), rgb(14, 14, 14) 18px);
}
/* Pantallas bajas (900 px de escritorio, móviles): la lista más compacta, para que quepa entera. */
@media (max-height: 920px) {
  .drawer__panel { gap: var(--s-5); }
  .drawer__nav > ul > li > a { font-size: clamp(1.625rem, 5.4vw, 1.875rem); padding: 9px 0; }
  .drawer__extras a, .drawer__extras button { min-height: 48px; }
}
.drawer__addr { color: var(--gris); font-size: var(--t-sm); text-align: center; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; z-index: calc(var(--z-menu) + 2); left: 50%; bottom: 32px;
  max-width: min(92vw, 30rem); padding: 14px 20px; border-radius: var(--r-card);
  background: var(--blanco); color: var(--negro); font-size: var(--t-sm); font-weight: 500; text-align: center;
  opacity: 0; translate: -50% 12px; pointer-events: none;
  transition: opacity var(--d-med) var(--ease-out), translate var(--d-med) var(--ease-out);
}
.toast.is-on { opacity: 1; translate: -50% 0; }
@media (max-width: 760px) { .toast { bottom: calc(var(--bar-h) + 26px + env(safe-area-inset-bottom)); } }

/* ---------- Notas del presentador (?notas=1) ---------- */
/* Tarjetas negras pequeñas con filete: se ven si se buscan, no compiten con la web. */
.nota { display: none; }
html.notas .nota {
  display: grid; gap: 10px; position: absolute; z-index: 5; max-width: 20rem;
  padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--r-card);
  background: rgba(0, 0, 0, 0.86); color: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: var(--t-xs); line-height: 1.45; text-align: left; pointer-events: auto;
}
html.notas .nota p { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.nota__n {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: var(--r-pill);
  background: var(--blanco); color: var(--negro); font-weight: 700; font-size: 11px; line-height: 1;
}
html.notas .walk__ui .nota { top: calc(var(--header-h) + 100px); right: calc(var(--gutter) + 48px); }
html.notas .walk--hero .nota { top: calc(var(--header-h) + 52px); }
html.notas .nota--sec { top: 0; right: 0; }
html.notas .nota--cierre { position: relative; margin-top: var(--s-6); }
html.notas .nota--footer { position: relative; grid-column: 1 / -1; max-width: 26rem; }
@media (max-width: 760px) {
  html.notas .walk__ui .nota { right: 12px; left: 12px; max-width: none; top: calc(var(--header-h) + 10px); }
  /* En la portada, sobre la fachada (entre la frase y el botón): el titular queda a la vista. */
  html.notas .walk--hero .nota { top: 40svh; }
  html.notas .nota--sec { position: relative; margin-top: 2rem; max-width: none; }
}
