/* Mesón Guerrita — estilo "Mantel y comanda". Ver clientes/meson-guerrita/diseno.md */

/* Fraunces — OFL-1.1 — alojada en /fonts */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('../fonts/fraunces-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Kalam — OFL-1.1 — alojada en /fonts */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('../fonts/kalam-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Archivo — OFL-1.1 — alojada en /fonts */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/archivo-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mantel: #f7f1e6;
  --papel: #fffdf8;
  --tinta: #1f1b17;
  --tinta-suave: #5a5048;
  --linea: #e2d8c8;
  --rosa: #c4145a;
  --rosa-osc: #9b0f47;
  --rosa-claro: #fbe3ec;
  --boli: #1d3a8a;
  --verde: #1f6b3a;

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-mano: 'Kalam', 'Segoe Print', 'Bradley Hand', cursive;
  --f-texto: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ancho: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --barra-movil: 0px;
  --sombra-foto: 0 1px 2px rgba(31, 27, 23, .18), 0 14px 26px -16px rgba(31, 27, 23, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background-color: var(--mantel);
  /* grano de papel muy sutil */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .12 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  padding-bottom: var(--barra-movil);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--boli); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rosa); }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }

.saltar {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 50;
  background: var(--tinta); color: var(--papel); padding: 0.6rem 1rem; font-weight: 700;
}
.saltar:focus { top: 0.5rem; color: var(--papel); }
.oculto {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.envoltura { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }
.mano { font-family: var(--f-mano); font-weight: 700; color: var(--boli); }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 20;
  background: var(--papel);
  box-shadow: 0 1px 0 var(--linea), 0 6px 18px -14px rgba(31, 27, 23, .35);
}
.cabecera .envoltura { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; }
.marca {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--tinta); text-decoration: none;
  font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; white-space: nowrap;
}
.marca svg { width: 2.1rem; height: auto; flex: none; }
.marca:hover { color: var(--rosa); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.nav ul { list-style: none; display: flex; gap: 0.15rem; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 0.5rem 0.75rem; color: var(--tinta); text-decoration: none;
  font-weight: 600; font-size: 0.98rem;
}
.nav a:hover, .nav a[aria-current='page'] { color: var(--rosa); }
.nav a[aria-current='page'] { text-decoration: underline 2px; text-underline-offset: 0.4em; }
.tel-cabecera {
  margin-left: 0.5rem; padding: 0.5rem 1rem !important;
  background: var(--rosa); color: var(--papel) !important; border-radius: 999px;
}
.tel-cabecera:hover { background: var(--rosa-osc); }

/* menú móvil sin JS */
.menu-movil { display: none; margin-left: auto; position: relative; }
.menu-movil summary {
  list-style: none; cursor: pointer; font-weight: 700;
  padding: 0.5rem 1rem; border: 2px solid var(--tinta); border-radius: 999px; color: var(--tinta);
}
.menu-movil summary::-webkit-details-marker { display: none; }
.menu-movil[open] summary { background: var(--tinta); color: var(--papel); }
.menu-movil ul {
  position: absolute; right: 0; top: calc(100% + 0.6rem);
  list-style: none; margin: 0; padding: 0.4rem 0; min-width: 13rem;
  background: var(--papel); border: 1px solid var(--linea); border-radius: 8px; box-shadow: var(--sombra-foto);
}
.menu-movil a { display: block; padding: 0.8rem 1.1rem; color: var(--tinta); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.menu-movil a:hover { color: var(--rosa); }

/* ---------- Botones ---------- */
.botones { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem;
  padding: 0.6rem 1.35rem; border: 2px solid var(--tinta); border-radius: 999px;
  font-family: var(--f-texto); font-weight: 700; font-size: 1.02rem; text-decoration: none;
  color: var(--tinta); background: transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.boton:hover { background: var(--tinta); color: var(--papel); }
.boton-rosa { background: var(--rosa); border-color: var(--rosa); color: var(--papel); }
.boton-rosa:hover { background: var(--rosa-osc); border-color: var(--rosa-osc); color: var(--papel); }
.boton svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Portada ---------- */
.portada { padding: clamp(1.75rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.portada .envoltura { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .portada .envoltura { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.antetitulo {
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rosa); margin: 0 0 0.6rem;
}
.portada h1 { font-weight: 400; }
.h1-nombre {
  display: block; font-family: var(--f-display); font-weight: 700; color: var(--tinta);
  font-size: clamp(3rem, 1.8rem + 5.6vw, 6.2rem); line-height: 0.95; letter-spacing: -0.02em;
}
.h1-sub {
  display: inline-block; margin-top: 0.6rem;
  font-family: var(--f-mano); font-weight: 700; color: var(--boli);
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.95rem); line-height: 1.2;
  transform: rotate(-1.5deg); transform-origin: left center;
}
.portada .entradilla { margin-top: 1.25rem; max-width: 34rem; font-size: 1.12rem; color: var(--tinta-suave); }

/* En móvil, las fotos suben justo debajo del nombre: la comida, en la primera pantalla */
@media (max-width: 959px) {
  .portada .envoltura { gap: 0; }
  .portada-texto { display: contents; }
  .portada-texto > .antetitulo { order: 1; }
  .portada-texto > h1 { order: 2; }
  .portada .collage { order: 3; margin: 1.6rem 0 0.4rem; }
  .portada-texto > .entradilla { order: 4; }
  .portada-texto > .botones { order: 5; }
  .portada-texto > .comanda { order: 6; }
}

/* Collage de fotos sobre el mantel */
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.foto {
  margin: 0; background: var(--papel); padding: 0.45rem; border-radius: 3px;
  box-shadow: var(--sombra-foto); transform: rotate(var(--giro, 0deg));
}
.foto img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 1px; }
.collage .foto:nth-child(1) { --giro: -3deg; }
.collage .foto:nth-child(2) { --giro: 2.5deg; margin-top: 1.2rem; }
.collage .foto:nth-child(3) { --giro: 2deg; margin-top: -0.6rem; }
.collage .foto:nth-child(4) { --giro: -2.5deg; margin-top: 0.6rem; }
@media (min-width: 960px) {
  .collage { display: block; aspect-ratio: 1 / 0.98; }
  .collage .foto { position: absolute; width: 52%; margin: 0; }
  .collage .foto:nth-child(1) { top: 0; left: 2%; z-index: 2; }
  .collage .foto:nth-child(2) { top: 5%; right: 0; width: 48%; z-index: 1; }
  .collage .foto:nth-child(3) { bottom: 0; left: 0; width: 49%; z-index: 1; }
  .collage .foto:nth-child(4) { bottom: 3%; right: 4%; width: 50%; z-index: 3; }
}

/* Comanda (papel pautado, borde troquelado y boli azul) */
.comanda {
  position: relative; max-width: 22rem; margin-top: 2rem;
  background:
    repeating-linear-gradient(transparent 0 1.85rem, rgba(29, 58, 138, .14) 1.85rem calc(1.85rem + 1px)),
    var(--papel);
  background-position: 0 2.6rem;
  padding: 1.5rem 1.4rem 1.2rem;
  box-shadow: var(--sombra-foto);
  transform: rotate(-1.5deg);
  -webkit-mask: radial-gradient(circle 5px at 50% 0, #0000 98%, #000) 0 0 / 14px 100% repeat-x;
          mask: radial-gradient(circle 5px at 50% 0, #0000 98%, #000) 0 0 / 14px 100% repeat-x;
}
.comanda-cab {
  display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tinta-suave);
  border-bottom: 1px dashed var(--linea); padding-bottom: 0.35rem; margin-bottom: 0.35rem;
}
.comanda-dia { font-family: var(--f-mano); font-weight: 700; color: var(--boli); font-size: 1.7rem; line-height: 1.85rem; margin: 0; }
.comanda-horas { font-family: var(--f-mano); font-weight: 700; color: var(--boli); font-size: 1.22rem; line-height: 1.85rem; margin: 0 0 0.5rem; }
.estado {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; font-size: 0.9rem; padding: 0.15rem 0.7rem; border-radius: 999px;
  border: 2px solid currentColor; color: var(--boli); background: var(--papel);
}
.estado::before { content: ''; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: currentColor; }
.estado[data-abierto='si'] { color: var(--verde); }
.estado[data-abierto='no'] { color: var(--rosa-osc); }
.estado:empty { display: none; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.titulo {
  font-family: var(--f-display); font-weight: 700; color: var(--tinta);
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); letter-spacing: -0.015em; margin-bottom: 0.9rem;
}
.entradilla { max-width: 42rem; font-size: 1.1rem; }

/* El mantel de papel: hoja con cenefa impresa */
.mantel {
  position: relative; background: var(--papel);
  border: 14px solid transparent;
  border-image: repeating-linear-gradient(45deg, var(--rosa) 0 4px, var(--papel) 4px 9px) 14;
  box-shadow: 0 0 0 1px rgba(196, 20, 90, .25), var(--sombra-foto);
  padding: clamp(1.5rem, 5vw, 3.25rem) clamp(1.1rem, 4vw, 3rem);
}
.mantel::before {
  content: ''; position: absolute; inset: 8px; border: 1px solid rgba(196, 20, 90, .35); pointer-events: none;
}
.mantel-cab { text-align: center; max-width: 40rem; margin: 0 auto 2rem; }
.mantel-cab .titulo { margin-bottom: 0.4rem; }
.mantel-cab p { color: var(--tinta-suave); margin: 0; }

.dos-cartas { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .dos-cartas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tablilla h3 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); color: var(--rosa);
  padding-bottom: 0.35rem; border-bottom: 2px solid var(--tinta); margin-bottom: 0.2rem;
}
.tablilla > p { color: var(--tinta-suave); margin: 0.5rem 0 0.5rem; font-size: 0.95rem; }
.lista-platos { list-style: none; margin: 0; padding: 0; }
.lista-platos li { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--linea); }
.lista-platos .nombre { font-weight: 650; }
.lista-platos .ingred { display: block; font-size: 0.9rem; color: var(--tinta-suave); font-weight: 400; }
.lista-platos .guia { flex: 1; border-bottom: 2px dotted rgba(31, 27, 23, .25); transform: translateY(-0.3em); min-width: 1rem; }
.lista-platos .precio { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lista-platos .precio .med { color: var(--tinta-suave); font-weight: 500; font-size: 0.9rem; }
.nota-boli {
  display: flex; align-items: center; gap: 0.6rem; justify-content: center;
  margin: 2rem auto 0; max-width: 34rem; text-align: center;
  font-family: var(--f-mano); font-weight: 700; color: var(--boli); font-size: 1.25rem; line-height: 1.3;
  transform: rotate(-1deg);
}
.nota-boli svg { width: 2.4rem; flex: none; color: var(--boli); }
.ver-carta { margin-top: 1.75rem; display: flex; justify-content: center; }

/* Menú */
.menu-bloque { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .menu-bloque { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.comanda-menu { max-width: 30rem; margin: 0; transform: rotate(1deg); padding: 1.6rem 1.6rem 1.4rem; }
.comanda-menu .titulo { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin: 0 0 0.6rem; line-height: 1.12; }
.comanda-menu p { margin: 0 0 0.7rem; line-height: 1.85rem; }
.comanda-menu .mano { font-size: 1.35rem; }
.comanda-menu .botones { margin-top: 0.75rem; }
.foto-menu { max-width: 21rem; justify-self: center; --giro: -3deg; }

/* Horario */
.horario-bloque { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .horario-bloque { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.tabla-horario { width: 100%; border-collapse: collapse; font-size: 1.02rem; background: var(--papel); box-shadow: var(--sombra-foto); }
.tabla-horario th, .tabla-horario td { text-align: left; padding: 0.8rem 1.1rem; border-bottom: 1px dashed var(--linea); }
.tabla-horario th { font-weight: 700; width: 38%; }
.tabla-horario tr.cerrado td { color: var(--rosa-osc); font-weight: 650; }
.tabla-horario tr.hoy { background: var(--rosa-claro); }
.tabla-horario tr.hoy th::after { content: ' · hoy'; color: var(--rosa); font-family: var(--f-mano); }

/* Cómo llegar */
.casa { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .casa { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.direccion { font-style: normal; font-size: 1.15rem; line-height: 1.55; margin-bottom: 1.25rem; }
.direccion strong { font-family: var(--f-display); font-size: 1.4rem; display: block; }
.rasgos { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.7rem; }
.rasgos li { display: flex; gap: 0.75rem; align-items: flex-start; }
.rasgos svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--rosa); margin-top: 0.1rem; }
.valoracion {
  display: inline-flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  padding: 0.7rem 1.1rem; background: var(--papel); border-radius: 8px; box-shadow: var(--sombra-foto);
  text-decoration: none; color: var(--tinta);
}
.valoracion b { font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--tinta); }
.valoracion small { color: var(--tinta-suave); }
.valoracion:hover { color: var(--tinta); box-shadow: 0 0 0 2px var(--rosa), var(--sombra-foto); }
.mapa {
  position: relative; min-height: 22rem; height: 100%; border-radius: 6px; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(31, 27, 23, .06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(31, 27, 23, .06) 0 1px, transparent 1px 34px),
    var(--papel);
  box-shadow: var(--sombra-foto);
  display: grid; place-content: center; text-align: center; gap: 0.75rem; padding: 1.5rem;
}
.mapa .pin { width: 3rem; margin: 0 auto; color: var(--rosa); }
.mapa .boton { justify-self: center; }
.mapa .nota { font-size: 0.92rem; color: var(--tinta-suave); max-width: 22rem; margin: 0 auto; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Carta (página) ---------- */
.cabecera-carta { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; text-align: center; }
.cabecera-carta h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 4.6vw, 4.8rem); letter-spacing: -0.02em; }
.cabecera-carta h1 span { display: block; font-family: var(--f-mano); color: var(--boli); font-size: 0.4em; letter-spacing: 0; margin-bottom: 0.15em; }
.cabecera-carta p { max-width: 38rem; margin: 1rem auto 0; color: var(--tinta-suave); }
.indice { position: sticky; top: 3.75rem; z-index: 10; background: var(--mantel); box-shadow: 0 1px 0 var(--linea); }
.indice ul { list-style: none; margin: 0 auto; padding: 0.45rem var(--gutter); display: flex; gap: 0.3rem; overflow-x: auto; justify-content: safe center; scrollbar-width: none; }
.indice ul::-webkit-scrollbar { display: none; }
.indice a {
  display: block; white-space: nowrap; padding: 0.4rem 0.9rem; text-decoration: none; border-radius: 999px;
  font-weight: 650; font-size: 0.95rem; color: var(--tinta);
}
.indice a:hover { background: var(--rosa); color: var(--papel); }
.carta {
  width: min(100% - 2 * var(--gutter), 56rem);
  margin-top: 2rem; margin-bottom: 3rem;
  background: var(--papel);
  border: 14px solid transparent;
  border-image: repeating-linear-gradient(45deg, var(--rosa) 0 4px, var(--papel) 4px 9px) 14;
  box-shadow: 0 0 0 1px rgba(196, 20, 90, .25), var(--sombra-foto);
  padding: 0.5rem clamp(1rem, 4vw, 2.75rem) 2rem;
}
.carta-seccion { padding-top: 2.25rem; scroll-margin-top: 7.5rem; }
.carta-seccion > header { display: flex; align-items: flex-end; gap: 1rem; border-bottom: 2px solid var(--tinta); padding-bottom: 0.35rem; margin-bottom: 0.2rem; }
.carta-seccion h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem); color: var(--rosa); margin-right: auto; }
.columnas { display: flex; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-suave); }
.columnas span { width: 4.4rem; text-align: right; }
.platos { list-style: none; margin: 0; padding: 0; }
.platos li { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.65rem 0; border-bottom: 1px solid var(--linea); }
.platos .nombre { font-weight: 650; font-size: 1.04rem; }
.platos .ingred { display: block; font-weight: 400; font-size: 0.92rem; color: var(--tinta-suave); }
.platos .guia { flex: 1; border-bottom: 2px dotted rgba(31, 27, 23, .25); transform: translateY(-0.3em); min-width: 0.75rem; }
.platos .p { width: 4.4rem; text-align: right; font-weight: 700; white-space: nowrap; flex: none; font-variant-numeric: tabular-nums; }
.platos .p.vacio { color: rgba(31, 27, 23, .3); font-weight: 400; }
.platos .p.unidad { width: auto; }
.carta-menu {
  margin-top: 2.75rem; padding: 1.4rem 1.5rem; scroll-margin-top: 7.5rem; text-align: center;
  background: repeating-linear-gradient(transparent 0 1.85rem, rgba(29, 58, 138, .14) 1.85rem calc(1.85rem + 1px)), var(--mantel);
}
.carta-menu h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); margin-bottom: 0.5rem; }
.carta-menu p { font-family: var(--f-mano); font-weight: 700; color: var(--boli); font-size: 1.2rem; margin: 0; }
.aviso-carta { margin: 1.75rem 0 0; font-family: var(--f-mano); font-weight: 700; color: var(--boli); font-size: 1.15rem; text-align: center; }

/* ---------- Páginas legales y 404 ---------- */
.legal { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; max-width: 46rem; }
.legal h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); margin-bottom: 1.5rem; }
.legal h2 { font-family: var(--f-display); font-weight: 700; color: var(--rosa); font-size: 1.45rem; margin: 2rem 0 0.6rem; }
.legal ul { padding-left: 1.2rem; }
.legal .pendiente { background: var(--rosa-claro); padding: 0 0.3rem; }
.error-404 { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.error-404 .mano { font-size: 1.5rem; transform: rotate(-2deg); display: inline-block; }
.error-404 h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 4vw, 4.4rem); margin: 0.5rem 0 1rem; }
.error-404 p { max-width: 32rem; margin-inline: auto; }
.error-404 .botones { justify-content: center; }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: #e9e1d2; padding: 3rem 0 2rem; font-size: 0.98rem; }
.pie a { color: #fff; }
.pie a:hover { color: #ffb3cf; }
.pie-rejilla { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .pie-rejilla { grid-template-columns: 1.3fr 1fr 1fr; } }
.pie .marca-pie { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; color: var(--papel); margin-bottom: 0.5rem; }
.pie h2 { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: #ffb3cf; margin-bottom: 0.6rem; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.pie address { font-style: normal; }
.pie-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.9rem; color: #c2b8a6; }
.pie-legal a { color: #e9e1d2; }

/* ---------- Barra de acciones móvil ---------- */
.acciones { display: none; }
@media (max-width: 759px) {
  :root { --barra-movil: calc(4rem + env(safe-area-inset-bottom)); }
  .nav { display: none; }
  .menu-movil { display: block; }
  .acciones {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 30;
    background: var(--tinta); padding-bottom: env(safe-area-inset-bottom);
  }
  .acciones a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
    min-height: 4rem; color: var(--papel); text-decoration: none; font-weight: 700; font-size: 0.92rem;
  }
  .acciones a + a { border-left: 1px solid rgba(255, 253, 248, .15); }
  .acciones a:first-child { background: var(--rosa); }
  .acciones svg { width: 1.3rem; height: 1.3rem; }
  .comanda { transform: rotate(-1deg); max-width: none; }
  .mantel { border-width: 10px; }
  .carta { border-width: 10px; }
}

@media (max-width: 480px) {
  .columnas span, .platos .p { width: 3.4rem; }
  .columnas { letter-spacing: 0.04em; font-size: 0.68rem; }
  .platos .guia { min-width: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
