/* =============================================================
   1. Colores y medidas
   ============================================================= */
:root {
  --noche: #1a0f09;
  --noche-2: #26170e;
  --cafe: #2b1a10;
  --texto: #2b1a10;
  --suave: #6b5242;
  --linea: #dfc8a6;
  --crema: #f1e1c7;
  --papel: #fbf3e6;
  --arena: #e8d0aa;
  --naranja: #d8641f;
  --rojo: #a3221b;
  --rojo-2: #861a14;
  --ambar: #e9a64a;
  --ambar-2: #f2bb6a;
  --claro: #f7ecdc;

  --alta: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1220px;
  --nav-h: 72px;
  --radio: 16px;
  --sombra: 0 1px 2px rgba(43,26,16,.06), 0 10px 30px -12px rgba(43,26,16,.18);
}

/* =============================================================
   2. Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--crema);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; }
::selection { background: var(--ambar); color: var(--noche); }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 4px; }

.btn { letter-spacing: .01em; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--papel); color: var(--texto); border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contenedor { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.seccion { padding-block: clamp(64px, 8vw, 104px); }
.seccion-corta { padding-block: clamp(52px, 6vw, 80px); }

.kicker {
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--naranja); margin-bottom: .55rem;
}
.kicker::before { content: "★"; margin-right: .5em; letter-spacing: 0; }
.kicker-claro { color: var(--ambar-2); }
.titulo {
  font-family: var(--alta); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05;
  color: var(--texto); text-transform: uppercase; letter-spacing: .005em;
}
.cabeza { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.cabeza-link { font-weight: 600; font-size: .92rem; color: var(--texto); white-space: nowrap; transition: color .2s; }
.cabeza-link:hover { color: var(--rojo); }

/* =============================================================
   4. Botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn-ambar { background: var(--ambar); color: var(--noche); }
.btn-ambar:hover { background: var(--ambar-2); box-shadow: 0 12px 26px -12px rgba(233,166,74,.8); }
.btn-rojo { background: var(--rojo); color: #fff; }
.btn-rojo:hover { background: var(--rojo-2); }
.btn-oscuro { background: var(--noche); color: var(--claro); }
.btn-oscuro:hover { background: var(--cafe); }
.btn-linea { border-color: rgba(247,236,220,.55); color: var(--claro); }
.btn-linea:hover { background: var(--claro); color: var(--noche); }
.btn-linea-osc { border-color: var(--linea); color: var(--texto); background: var(--papel); }
.btn-linea-osc:hover { border-color: var(--texto); }

/* =============================================================
   5. Aviso y menú superior
   ============================================================= */
.aviso {
  background: var(--noche); color: var(--ambar-2);
  font-size: .76rem; font-weight: 500; text-align: center;
  padding: .45rem var(--gutter);
}
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: #3a2314;
  border-bottom: 1px solid rgba(247,236,220,.12);
  transition: box-shadow .3s;
}
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Crect width='18' height='10' fill='%23b98a4e'/%3E%3Cpath d='M-2 11 L8 -1 M7 11 L17 -1 M16 11 L26 -1' stroke='%235f3d1c' stroke-width='2.2'/%3E%3C/svg%3E") repeat-x center / 11px 6px; }
.nav.is-solid { box-shadow: 0 6px 24px -14px rgba(43,26,16,.35); }
.nav-in {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.2rem;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.nav-logo span { display: flex; flex-direction: column; font-family: var(--alta); font-weight: 600; font-size: 1.35rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--claro); }
.nav-logo small { font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--ambar-2); margin-bottom: .3rem; }
.nav-sello { width: 54px; height: 54px; object-fit: contain; }
.nav-links { display: none; gap: 2rem; font-weight: 500; font-size: .93rem; }
.nav-links a { position: relative; color: var(--claro); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--ambar); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; padding: .65rem 1.2rem; font-size: .9rem; }

.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.nav-toggle i { display: block; width: 22px; height: 2px; background: var(--claro); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.is-open .nav-links {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: #3a2314; padding: .4rem var(--gutter) 1.2rem;
  border-bottom: 1px solid rgba(247,236,220,.12); box-shadow: 0 18px 30px -20px rgba(43,26,16,.6);
}
.nav.is-open .nav-links a { padding: .9rem 0; font-size: 1.08rem; border-bottom: 1px solid rgba(247,236,220,.12); }
.nav.is-open .nav-links a::after { display: none; }

/* =============================================================
   6. Portada
   ============================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--noche); color: var(--claro);
  min-height: min(720px, calc(100svh - var(--nav-h) - 30px));
  display: flex; align-items: center;
}
.hero-foto { position: absolute; inset: 0; z-index: -2; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero-foto::after {
  content: ""; position: absolute; inset: 0 0 0 -4px;
  background:
    linear-gradient(180deg, rgba(26,15,9,.55) 0%, rgba(26,15,9,.72) 55%, rgba(26,15,9,.96) 100%);
}
.hero-in {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding: clamp(48px, 9vh, 96px) var(--gutter);
}
.hero-titulo {
  font-family: var(--alta); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1; text-transform: uppercase; letter-spacing: .005em;
  max-width: 15ch; color: #fff;
}
.hero-titulo em { font-style: normal; font-weight: 500; color: var(--ambar-2); }
.hero-sub { margin-top: 1.1rem; max-width: 46ch; font-size: clamp(1rem, 1.35vw, 1.1rem); color: #eadccb; }
.hero-botones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-rasgos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem;
  margin-top: 2.4rem; max-width: 560px;
}
.hero-rasgos li { display: flex; align-items: center; gap: .7rem; font-size: .84rem; line-height: 1.3; color: #eadccb; }
.hero-rasgos svg { flex-shrink: 0; width: 30px; height: 30px; fill: none; stroke: var(--ambar-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* =============================================================
   7b. Banda llanera (atardecer y siluetas de la carta)
   ============================================================= */
.llano {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 600px; padding-top: 44px;
  background: #4a1712; color: #fff3df;
}
.llano::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(50,14,10,.7) 0%, rgba(50,14,10,.25) 26%, rgba(50,14,10,0) 42%); }
.llano .titulo { color: #fff; }
.llano-texto p:not(.kicker) { margin-top: .7rem; max-width: 36ch; font-size: 1.05rem; }
.llano-fondo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.llano-jinete { position: absolute; left: 50%; bottom: 6px; height: 300px; width: auto; transform: translateX(-50%); pointer-events: none; }
.llano-caballo { display: none; position: absolute; right: 8%; bottom: 96px; height: 96px; width: auto; pointer-events: none; }
.ave { position: absolute; z-index: -1; height: auto; pointer-events: none; }
.ave-1 { width: 54px; right: 6%; top: 37%; }
.ave-2 { width: 44px; left: 7%; top: 40%; }
.ave-3 { display: none; }

/* =============================================================
   8. Tradición (franja partida con foto)
   ============================================================= */
.tradicion { display: grid; background: var(--arena); }
.tradicion-texto { padding: clamp(52px, 7vw, 88px) var(--gutter); }
.tradicion-texto > p:not(.kicker) { margin-top: 1rem; max-width: 46ch; color: var(--suave); }
.tradicion-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2rem; margin-top: 1.8rem; }
.cifras { display: flex; gap: 1.6rem; }
.cifras li { display: flex; flex-direction: column; }
.cifras strong { font-family: var(--alta); font-weight: 600; font-size: 1.7rem; line-height: 1.1; }
.cifras span { font-size: .78rem; color: var(--suave); }
.tradicion-foto { position: relative; min-height: 280px; }
.tradicion-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }

/* =============================================================
   7. Carta para pedir
   ============================================================= */
.carta { background: var(--papel); border-block: 1px solid var(--linea); }
.carta .cabeza { margin-bottom: 1.2rem; align-items: flex-end; }
.carta-ayuda { max-width: 38ch; font-size: .92rem; color: var(--suave); }
.carta-ayuda b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--rojo); color: #fff; font-size: .9rem; line-height: 1; }

.chips {
  position: sticky; top: var(--nav-h); z-index: 30;
  background: rgba(251,243,230,.97); border-bottom: 1px solid var(--linea);
}
.chips-in {
  max-width: var(--max); margin-inline: auto; padding: .7rem var(--gutter);
  display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none;
}
.chips-in::-webkit-scrollbar { display: none; }
.chips a {
  flex-shrink: 0; padding: .5rem 1.05rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; border: 1.5px solid var(--linea); background: var(--papel);
  transition: background-color .25s, color .25s, border-color .25s;
}
.chips a:hover { border-color: var(--texto); }
.chips a.is-activa { background: var(--rojo); border-color: var(--rojo); color: #fff; }

.categoria { padding-top: 2.4rem; scroll-margin-top: calc(var(--nav-h) + 64px); }
.cat-titulo {
  display: inline-block; padding: .35rem 1.1rem .4rem;
  font-family: var(--alta); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  text-transform: uppercase; color: #fbeeda; border-radius: 6px;
  background:
    repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 13px, rgba(26,14,8,.45) 13px 14px),
    linear-gradient(95deg, #5b3820, #76492a 40%, #5a361e 70%, #6d4326);
  box-shadow: 0 2px 0 #2b1a10;
}
.cat-nota { margin-top: .6rem; font-size: .9rem; color: var(--suave); max-width: 70ch; }
.items { display: grid; gap: .8rem; margin-top: 1rem; }
.item {
  display: flex; gap: 1rem; padding: 1rem 1.1rem;
  background: var(--crema); border: 1px solid var(--linea); border-radius: var(--radio);
}
.item-con-foto { padding: 0; overflow: hidden; flex-direction: column; background: var(--papel); box-shadow: var(--sombra); border: 0; gap: 0; }
.item-foto { aspect-ratio: 16 / 10; overflow: hidden; background: var(--arena); }
.item-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.item-con-foto:hover .item-foto img { transform: scale(1.05); }
.item-con-foto .item-info { padding: .9rem 1rem 1rem; }
.item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item h4 { font-family: var(--alta); font-weight: 500; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.item p { font-size: .84rem; color: var(--suave); margin-top: .15rem; }
.item-variante select {
  margin-top: .55rem; width: 100%; max-width: 220px; padding: .45rem .7rem; border-radius: 10px;
  border: 1.5px solid var(--linea); background: var(--papel); font-size: .88rem;
}
.opciones { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: .7rem; }
.opcion {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .45rem .4rem .8rem; border-radius: 999px;
  background: var(--papel); border: 1.5px solid var(--linea);
  font-size: .82rem; color: var(--suave); text-align: left;
  transition: border-color .2s, background-color .2s, transform .25s var(--ease-out);
}
.opcion strong { font-family: var(--alta); font-weight: 600; font-size: 1.02rem; color: var(--rojo); }
.opcion i {
  font-style: normal; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--noche); color: #fff; font-size: 1.1rem; line-height: 1;
  transition: background-color .2s;
}
.opcion:hover { border-color: var(--rojo); }
.opcion:hover i { background: var(--rojo); }
.opcion:active { transform: scale(.96); }
.opcion.is-agregado { border-color: #2f8f4e; background: #e3f3e6; }
.opcion.is-agregado i { background: #2f8f4e; }
.carta-pie { margin-top: 2rem; font-size: .84rem; color: var(--suave); }

/* =============================================================
   11. Sopa del día + ocasiones
   ============================================================= */
.dupla-in { display: grid; gap: 1rem; }
.sopa {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 20px; min-height: 340px; color: var(--claro);
  display: flex; align-items: flex-end; background: var(--noche);
}
.sopa img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sopa::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,15,9,.15) 0%, rgba(26,15,9,.9) 72%); }
.sopa-texto { padding: 1.8rem 1.6rem; }
.sopa-texto h2 { font-family: var(--alta); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.4rem); text-transform: uppercase; color: #fff; }
.sopa-texto p:not(.kicker) { margin: .6rem 0 1.2rem; font-size: .9rem; color: #e6d6c2; max-width: 44ch; }
.ocasion { border-radius: 20px; background: var(--arena); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; align-items: flex-start; }
.ocasion .titulo { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.ocasiones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.6rem 0; width: 100%; }
.ocasiones li { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; font-size: .88rem; font-weight: 500; }
.ocasiones svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--papel); fill: none; stroke: var(--rojo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =============================================================
   12. Sedes
   ============================================================= */
.sedes { padding-top: 24px; }
.sedes-lista { display: grid; gap: .9rem; }
.sede {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.3rem 1.3rem 1.2rem; border-radius: var(--radio);
  background: var(--papel); box-shadow: var(--sombra);
}
.sede h3 { font-family: var(--alta); font-weight: 500; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .1rem; }
.sede-dato { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: var(--suave); line-height: 1.45; }
.sede-dato svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--rojo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cercana { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-bottom: 1.4rem; padding: 1rem 1.1rem; border-radius: var(--radio); background: var(--papel); border: 1px solid var(--linea); }
.cercana[hidden] { display: none; }
.cercana .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cercana-texto { flex: 1 1 260px; font-size: .9rem; color: var(--suave); }
.cercana-texto b { color: var(--texto); }
.sede-dist { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: var(--arena); font-family: var(--sans); font-size: .74rem; font-weight: 600; text-transform: none; letter-spacing: 0; vertical-align: middle; color: var(--cafe); }
.sede.is-cercana { outline: 2.5px solid var(--naranja); outline-offset: -2.5px; }
.sede.is-cercana .sede-dist { background: var(--naranja); color: #fff; }
.pedido-sede { display: flex; gap: .7rem; padding: .85rem .95rem; border-radius: 14px; background: var(--crema); border: 1px solid var(--linea); }
.pedido-sede[hidden] { display: none; }
.pedido-sede > svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--naranja); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pedido-sede strong { display: block; font-size: .78rem; color: var(--suave); }
.pedido-sede p { font-size: .95rem; }
.pedido-sede p b { color: var(--rojo); }
.pedido-sede-boton { margin-top: .5rem; padding: .45rem .9rem; border-radius: 999px; background: var(--rojo); color: #fff; font-size: .84rem; font-weight: 600; }
.pedido-sede-boton[hidden] { display: none; }
.pedido-otra { justify-self: start; font-size: .84rem; color: var(--suave); text-decoration: underline; text-align: left; }
.pedido-otra[hidden] { display: none; }
[data-sede-manual][hidden] { display: none; }
.sede-promo { background: var(--noche); color: var(--claro); box-shadow: none; }
.sede-promo h3 { color: #fff; }
.sede-promo p { font-size: .88rem; color: #d9c8b3; }
.sede-botones { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .5rem; }

/* =============================================================
   12b. Reservas
   ============================================================= */
.reservas { background: #3a2314; color: var(--claro); }
.reservas .titulo { color: #fff; }
.reservas-in { display: grid; gap: 2rem; align-items: center; }
.reservas-texto > p:not(.kicker) { margin-top: 1rem; max-width: 44ch; color: #eadccb; }
.reservas-texto .reservas-nota { font-size: .86rem; color: var(--ambar-2); }
.reserva-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem;
  padding: 1.3rem; border-radius: 20px; background: var(--papel); color: var(--texto);
}
.reserva-form label { display: grid; gap: .3rem; align-content: start; min-width: 0; font-size: .86rem; font-weight: 600; }
.reserva-form input, .reserva-form select, .reserva-form textarea {
  width: 100%; min-width: 0; padding: .7rem .8rem; border-radius: 12px; border: 1.5px solid var(--linea);
  background: #fff; font: inherit; font-weight: 400; color: var(--texto);
}
.reserva-form input:focus, .reserva-form select:focus, .reserva-form textarea:focus { outline: none; border-color: var(--naranja); }
.campo-ancho { grid-column: 1 / -1; }

/* =============================================================
   13. Barra final, barra del pedido y ventana del pedido
   ============================================================= */
.pedir {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 48px 150px; color: var(--claro);
  background: linear-gradient(180deg, #4a1712 0%, #8c3419 50%, #d67a44 100%);
}
.pedir-paisaje { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: 150px; }
.pedir-palmas { position: absolute; left: 3%; bottom: 8px; height: 134px; width: auto; pointer-events: none; }
.pedir-caballo { position: absolute; right: 8%; bottom: 14px; height: 120px; width: auto; pointer-events: none; }
.pedir-in { display: grid; gap: 1.4rem; align-items: center; }
.pedir h2 { font-family: var(--alta); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.8rem); text-transform: uppercase; color: #fff; }
.pedir p { color: #e6d6c2; margin-top: .3rem; }
.pedir-botones { display: flex; flex-wrap: wrap; gap: .7rem; }

.barra-pedido {
  position: fixed; left: 50%; bottom: 16px; z-index: 70;
  translate: -50% 0; width: min(520px, calc(100% - 32px));
  display: flex; align-items: center; gap: .8rem;
  padding: .75rem .9rem .75rem .75rem; border-radius: 999px;
  background: var(--rojo); color: #fff; font-weight: 600;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.55);
  animation: subir .45s var(--ease-out);
}
.barra-pedido[hidden] { display: none; }
.barra-cuenta { min-width: 32px; height: 32px; padding: 0 .5rem; border-radius: 999px; display: grid; place-items: center; background: #fff; color: var(--rojo); font-size: .92rem; }
.barra-texto { flex: 1; text-align: left; }
.barra-pedido strong { font-family: var(--alta); font-size: 1.2rem; font-weight: 600; }
.barra-pedido.is-salto { animation: salto .4s var(--ease-out); }
@keyframes subir { from { opacity: 0; translate: -50% 20px; } }
@keyframes salto { 40% { scale: 1.04; } }

.pedido {
  margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92vh;
  border: 0; border-radius: 22px 22px 0 0; padding: 0;
  background: var(--papel); color: var(--texto);
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,.5);
}
.pedido::backdrop { background: rgba(26,15,9,.55); }
.pedido[open] { animation: hoja .4s var(--ease-out); }
@keyframes hoja { from { transform: translateY(40px); opacity: 0; } }
.pedido-in { display: flex; flex-direction: column; max-height: 92vh; }
.pedido-cabeza { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.2rem .8rem; border-bottom: 1px solid var(--linea); }
.pedido-cabeza h2 { font-family: var(--alta); font-weight: 600; font-size: 1.6rem; text-transform: uppercase; }
.pedido-cerrar { width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; background: var(--crema); }
.pedido-cuerpo { overflow-y: auto; padding: .4rem 1.2rem 1rem; }
.pedido-vacio { padding: 1.4rem 0; color: var(--suave); }
.pedido-lista li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .85rem 0; border-bottom: 1px dashed #dccbb4; }
.pedido-lista .linea-nombre { font-weight: 600; line-height: 1.3; }
.pedido-lista .linea-nombre small { display: block; font-weight: 400; color: var(--suave); font-size: .82rem; }
.pedido-lista .linea-precio { font-family: var(--alta); font-weight: 600; font-size: 1.05rem; color: var(--rojo); text-align: right; }
.cantidad { display: flex; align-items: center; gap: .3rem; grid-column: 1 / -1; }
.cantidad button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--linea); font-size: 1.05rem; line-height: 1; }
.cantidad button:hover { border-color: var(--texto); }
.cantidad span { min-width: 26px; text-align: center; font-weight: 600; }
.cantidad .quitar { width: auto; border: 0; margin-left: auto; padding: 0 .3rem; font-size: .82rem; color: var(--suave); text-decoration: underline; }
.pedido-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; font-weight: 600; }
.pedido-total strong { font-family: var(--alta); font-size: 1.6rem; }
.pedido-nota { font-size: .8rem; color: var(--suave); margin-top: .2rem; }
.pedido-datos { border: 0; margin-top: 1.2rem; display: grid; gap: .75rem; }
.pedido-datos legend { font-family: var(--alta); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; margin-bottom: .6rem; }
.pedido-datos label { display: grid; gap: .3rem; font-size: .86rem; font-weight: 600; }
.pedido-datos input:not([type="radio"]), .pedido-datos select, .pedido-datos textarea {
  width: 100%; padding: .7rem .85rem; border-radius: 12px; border: 1.5px solid var(--linea);
  background: var(--papel); font: inherit; font-weight: 400; color: var(--texto);
}
.pedido-datos input:focus, .pedido-datos select:focus, .pedido-datos textarea:focus { outline: none; border-color: var(--ambar); }
.pedido-entrega { display: flex; flex-wrap: wrap; gap: .5rem; }
.pedido-entrega label { display: flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; border: 1.5px solid var(--linea); cursor: pointer; font-weight: 500; }
.pedido-entrega label:has(input:checked) { border-color: var(--rojo); background: #f6dcd3; }
.pedido-entrega input { accent-color: var(--rojo); }
.opcional { font-weight: 400; color: var(--suave); }
.pedido-error { color: var(--rojo); font-size: .86rem; font-weight: 600; }
.pedido-pie { padding: .9rem 1.2rem 1.1rem; border-top: 1px solid var(--linea); }
.btn-wa { width: 100%; background: #1f9d55; color: #fff; padding-block: .95rem; font-size: 1rem; }
.btn-wa:hover { background: #18864a; }
.btn-wa[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
body.tiene-pedido .wa-flotante { display: none; }
body.tiene-pedido .pie { padding-bottom: 96px; }

/* =============================================================
   14. Pie de página y botón flotante
   ============================================================= */
.pie { background: #1a0e08; padding: 56px 0 26px; color: #d9c8b3; font-size: .9rem; }
.pie-in { display: grid; gap: 1.8rem; }
.pie-sello { width: 96px; height: 96px; object-fit: contain; margin-bottom: .6rem; }
.pie-titulo { font-weight: 600; color: var(--ambar-2); margin-bottom: .4rem; }
.pie a:hover { color: var(--ambar-2); }
.pie-redes { margin-top: .8rem; font-weight: 500; color: var(--claro); }
.pie-legal { max-width: var(--max); margin: 2.6rem auto 0; padding: 1.2rem var(--gutter) 0; border-top: 1px solid rgba(247,236,220,.15); font-size: .76rem; color: #a8957f; }

.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.45);
  transition: transform .35s var(--ease-out);
}
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante svg { width: 30px; height: 30px; fill: currentColor; }

/* =============================================================
   15. Aparición al bajar (solo si hay JS)
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   16. Tamaños de pantalla
   ============================================================= */
@media (min-width: 540px) {
  .sedes-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-rasgos { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 640px; }
  .hero-rasgos li { flex-direction: column; align-items: flex-start; }
  .dupla-in { grid-template-columns: 1fr 1fr; }
  .pie-in { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; }
}
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .hero { background: radial-gradient(55% 80% at 78% 50%, rgba(196,84,34,.45), transparent 70%), var(--noche); }
  .hero-foto {
    inset: 44px auto 44px auto;
    right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    width: min(380px, 32vw); z-index: 0;
    border-radius: 200px 200px 24px 24px; overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  }
  .hero-foto::after { display: none; }
  .hero-in { position: relative; z-index: 1; }
  .hero-titulo { max-width: 14ch; }
  .hero-sub, .hero-rasgos { max-width: min(560px, 50vw); }
  .items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .items-fotos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pedido { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: 440px; border-radius: 0; }
  .pedido-in { max-height: 100vh; height: 100%; }
  .pedido-cuerpo { flex: 1; }
  @keyframes hoja { from { transform: translateX(40px); opacity: 0; } }
  .tradicion-texto { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: 3rem; }
  .tradicion { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .tradicion-foto { min-height: 0; padding: 48px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 48px 0; }
  .tradicion-foto img { position: static; width: 100%; max-width: 440px; aspect-ratio: 1; height: auto; border-radius: 24px; margin-left: auto; box-shadow: var(--sombra); }
  .sedes-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .llano { min-height: 640px; padding-top: 64px; }
  .llano::before { background: linear-gradient(90deg, rgba(50,14,10,.72) 0%, rgba(50,14,10,.4) 26%, rgba(50,14,10,0) 44%); }
  .llano-jinete { height: 400px; }
  .llano-caballo { display: block; }
  .ave-1 { width: 74px; left: auto; right: 24%; top: 12%; }
  .ave-2 { width: 56px; left: auto; right: 15%; top: 21%; }
  .ave-3 { display: block; width: 62px; right: 6%; top: 8%; }
  .pedir { padding-bottom: 190px; }
  .pedir-palmas { height: 180px; left: 4%; }
  .reservas-in { grid-template-columns: 1fr 1.15fr; gap: 3rem; }
  .pedir-in { grid-template-columns: 1fr minmax(0, 1.05fr); gap: 2.5rem; }
}

/* =============================================================
   17. Movimiento reducido (solo lo que molesta)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
