/*
 * EL ESTILO DEL SITIO DE LANO'S — compartido por portada, menú y pedir
 * (2026-10-06, rediseño «moderno y atrevido» pedido por el dueño).
 *
 * Negro de fondo (el del logo) y FUEGO de acento: naranja de brasa y amarillo
 * de llama, con letra condensada enorme (Anton) para lo que se lee de lejos y
 * una grotesca con carácter (Bricolage Grotesque) para todo lo demás. Un solo
 * archivo para las tres páginas: dos copias del estilo acabarían pareciendo
 * dos restaurantes distintos.
 */
:root {
  --tinta: #0c0a09;
  --carbon: #17130f;
  --carbon-2: #211b15;
  --linea: rgba(255, 244, 226, 0.12);
  --linea-fuerte: rgba(255, 244, 226, 0.28);
  --crema: #fff4e2;
  --gris: #b3a796;
  --fuego: #ff5b1f;
  --fuego-osc: #e2440c;
  --llama: #ffc21a;
  --verde: #4ade80;
  --rojo: #ff6b5b;
  --radio: 1.25rem;
  --letra-grande: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --letra: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  background: var(--tinta);
  color: var(--crema);
  font-family: var(--letra);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--fuego); color: var(--tinta); }
:focus-visible { outline: 3px solid var(--llama); outline-offset: 2px; }

/* Idioma: el texto fijo trae los dos y se esconde el que no toca (comun.js). */
:root[data-idioma='es'] [data-l='en'],
:root[data-idioma='en'] [data-l='es'] { display: none !important; }

.envoltura { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .envoltura { padding: 0 1.75rem; } }

.grande {
  font-family: var(--letra-grande);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
}

/* ------------------------------------------------------------ la barra */
.barra {
  position: sticky; top: 0; z-index: 30;
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--linea);
}
.barra .envoltura { display: flex; align-items: center; gap: 0.7rem; height: 4rem; }
.marca { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; min-width: 0; margin-right: auto; }
.marca img { width: 2.4rem; height: 2.4rem; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px var(--fuego); }
.marca span { font-family: var(--letra-grande); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca span em { font-style: normal; color: var(--fuego); }
@media (max-width: 479px) { .marca .largo { display: none; } }
.enlaces { display: none; gap: 1.6rem; font-weight: 600; font-size: 0.95rem; }
.enlaces a { text-decoration: none; color: var(--gris); transition: color 0.2s; }
.enlaces a:hover { color: var(--crema); }
@media (min-width: 880px) { .enlaces { display: flex; margin-right: 0.6rem; } }

/* ES | EN */
.idioma {
  display: inline-flex; flex-shrink: 0; padding: 0.2rem; gap: 0.1rem;
  border: 1px solid var(--linea-fuerte); border-radius: 999px;
}
.idioma button {
  border: 0; background: none; cursor: pointer; border-radius: 999px;
  padding: 0.3rem 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; color: var(--gris);
}
.idioma button[aria-pressed='true'] { background: var(--crema); color: var(--tinta); }

.btnCuenta {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.95rem; border-radius: 999px; border: 0;
  background: var(--fuego); color: var(--tinta);
  font-weight: 700; font-size: 0.9rem; cursor: pointer; text-decoration: none;
  white-space: nowrap; max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis;
  transition: background 0.2s, transform 0.2s;
}
.btnCuenta:hover { background: var(--llama); }

/* ------------------------------------------------------------ botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.5rem; border-radius: 999px;
  border: 2px solid var(--crema); background: transparent; color: var(--crema);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--crema); color: var(--tinta); }
.btn.fuego, .btn.oro { background: var(--fuego); border-color: var(--fuego); color: var(--tinta); }
.btn.fuego:hover, .btn.oro:hover { background: var(--llama); border-color: var(--llama); transform: translateY(-2px); }
.btn.tinta { background: var(--tinta); border-color: var(--tinta); color: var(--crema); }
.btn.tinta:hover { background: var(--carbon-2); }
.btn.contorno-tinta { border-color: var(--tinta); color: var(--tinta); }
.btn.contorno-tinta:hover { background: var(--tinta); color: var(--crema); }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn.ancho { width: 100%; }
.btn.chico { padding: 0.5rem 1rem; font-size: 0.9rem; border-width: 1.5px; }

/* ------------------------------------------- la imagen de cada platillo */
/* La de MUESTRA (visual.js) mientras el plato no tenga foto real. */
.muestra { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; container-type: size; }
/* Como una foto de producto (2026-10-30): el plato de cerámica sobre la mesa
   del color de su categoría, con su sombra, y el vapor subiendo. */
.muestra .plato-c {
  position: absolute; width: 74cqmin; height: 74cqmin; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fbf4ea 0 47%, #e9dccb 49%, #f7efe3 55%, #fffaf2 60%, #d8c8b3 69%, transparent 70.5%);
  box-shadow: 0 2.2cqmin 0 rgba(0, 0, 0, 0.18), 0 6cqmin 9cqmin -2cqmin rgba(0, 0, 0, 0.75), inset 0 -1cqmin 3cqmin rgba(0, 0, 0, 0.08);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.muestra .emoji {
  position: relative; z-index: 1; font-size: 3.4rem; font-size: 34cqmin; line-height: 1;
  filter: drop-shadow(0 1.6cqmin 1.4cqmin rgba(60, 30, 10, 0.45)); transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.muestra .vapor { position: absolute; z-index: 2; left: 50%; top: 18%; width: 30cqmin; height: 26cqmin; transform: translateX(-50%); pointer-events: none; }
.muestra .vapor i {
  position: absolute; bottom: 0; width: 3cqmin; height: 18cqmin; border-radius: 50%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  filter: blur(1.4cqmin); opacity: 0; animation: vapor 3.6s ease-in-out infinite;
}
.muestra .vapor i:nth-child(1) { left: 22%; }
.muestra .vapor i:nth-child(2) { left: 48%; animation-delay: 1.2s; }
.muestra .vapor i:nth-child(3) { left: 72%; animation-delay: 2.4s; }
@keyframes vapor { 0% { opacity: 0; transform: translateY(4cqmin) scaleY(0.6); } 35% { opacity: 0.8; } 100% { opacity: 0; transform: translateY(-10cqmin) translateX(2cqmin) scaleY(1.2); } }
.tarjeta:hover .muestra .emoji, .plato:hover .muestra .emoji { transform: scale(1.08) rotate(-5deg); }
.tarjeta:hover .muestra .plato-c, .plato:hover .muestra .plato-c { transform: rotate(18deg) scale(1.03); }
@media (prefers-reduced-motion: reduce) { .muestra .vapor { display: none; } }
.muestra .etqMuestra {
  position: absolute; left: 0.6rem; bottom: 0.55rem; font-size: 0.64rem; letter-spacing: 0.08em; font-weight: 600;
  text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px;
  background: rgba(0, 0, 0, 0.5); color: rgba(255, 244, 226, 0.85);
}

/* La foto REAL va por encima de TODA la muestra (su icono y su vapor llevan
   z-index y asomaban sobre la foto); visual.js además quita la muestra al cargar. */
.muestra ~ img { position: relative; z-index: 3; }

/* El precio como etiqueta pegada: lo que más se busca en una tarjeta. */
.etiqueta {
  display: inline-block; background: var(--llama); color: var(--tinta);
  font-family: var(--letra-grande); font-size: 1.15rem; letter-spacing: 0.02em; line-height: 1;
  padding: 0.4rem 0.6rem 0.35rem; border-radius: 0.5rem; transform: rotate(-3deg);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6); white-space: nowrap;
}
.etiqueta small { font-family: var(--letra); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; margin-right: 0.15rem; }

/* ----------------------------------------------- avisos y formularios */
.aviso {
  margin-top: 1rem; padding: 0.75rem 0.95rem; border-radius: 0.8rem; font-size: 0.92rem;
  background: rgba(255, 107, 91, 0.14); border: 1px solid rgba(255, 107, 91, 0.45); color: #ffd2cb;
}
.aviso.ok { background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.45); color: #c9f5d9; }

/* Entrar con Google / Microsoft (entrar-social.js). */
.entrarSocial { display: grid; gap: 0.6rem; margin-top: 1.1rem; justify-items: stretch; }
.boton-google { display: flex; justify-content: center; min-height: 44px; }
.boton-social {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%;
  min-height: 44px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px;
  font-weight: 600; cursor: pointer;
}
.boton-social:disabled { opacity: 0.6; cursor: wait; }
.boton-social .ico { font-weight: 800; font-size: 1.1rem; line-height: 1; }
.o-separador { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.1rem; color: var(--gris); font-size: 0.85rem; }
.o-separador::before, .o-separador::after { content: ''; flex: 1; height: 1px; background: var(--linea-fuerte); }

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

/* ------------------------------------- páginas legales y pie compartido */
/* privacidad.html y terminos.html (2026-10-19): texto largo, bilingüe por
   bloques `data-l` como el resto del sitio. */
.legal { max-width: 46rem; padding-top: 2rem; padding-bottom: 3rem; line-height: 1.65; }
.legal h1 { font-size: clamp(2.6rem, 10vw, 4.4rem); }
.legal .fecha { color: var(--gris); font-size: 0.9rem; margin-top: 0.4rem; }
.legal h2 { font-family: var(--letra); font-weight: 800; font-size: 1.2rem; text-transform: none; letter-spacing: 0; margin-top: 2rem; color: var(--crema); }
.legal p, .legal li { color: var(--crema); opacity: 0.92; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-top: 0.35rem; }
.legal a { color: var(--llama); }
.pie { border-top: 1px solid var(--linea); padding: 1.6rem 0 2.2rem; color: var(--gris); font-size: 0.88rem; }
.pie .envoltura { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between; align-items: center; }
.enlacesPie { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.enlacesPie a { color: var(--gris); text-decoration: none; }
.enlacesPie a:hover { color: var(--crema); text-decoration: underline; }

/* ------------------------------------------- el selector de local (2026-10-30) */
/* Solo aparece con dos o más locales en sucursales.js. */
.sucursales { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.2rem; }
.sucursales .titulo { width: 100%; color: var(--gris); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.sucursales button {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
  padding: 0.55rem 0.95rem; border-radius: 0.9rem; cursor: pointer; text-align: left;
  border: 2px solid var(--linea-fuerte); background: transparent; color: var(--crema);
  font: inherit; font-weight: 800;
}
.sucursales button small { font-weight: 500; color: var(--gris); font-size: 0.78rem; }
.sucursales button[aria-pressed='true'] { border-color: var(--fuego); background: rgba(255, 91, 31, 0.14); }
.sucursales button:hover { border-color: var(--crema); }
.otrosLocales { margin-top: 1.6rem; }
.otrosLocales .t { font-weight: 800; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; opacity: 0.8; }
.otrosLocales .otro { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; margin-top: 0.6rem; }
.otrosLocales .otro span { opacity: 0.85; }
/* La tarjeta de elegir local en pedir.html, cuando aún no se eligió. */
.elegirLocal { max-width: 34rem; margin: 1rem auto 2.5rem; padding: 0 1rem; text-align: center; }
.elegirLocal h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
.elegirLocal .sucursales { justify-content: center; }
.elegirLocal .sucursales button, .elegirLocal .sucursales a { width: 100%; max-width: 22rem; }
.chipLocal { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.7rem; padding: 0.3rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--linea-fuerte); background: transparent; color: var(--crema); font: inherit; font-size: 0.85rem; cursor: pointer; }
.chipLocal b { color: var(--fuego); }
