@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url("assets/fonts/fraunces-800-latin.woff2") format("woff2");
}
:root {
  --crema: #ffffff;
  --crema-2: #fff5e8;
  --panel: #ffffff;
  --carbon: #1f1a17;
  --carbon-2: #2b231e;
  --brasa: #d7141e;
  --brasa-d: #a80f17;
  --dorado: #f5a00f;
  --ink: #1a1311;
  --muted: #5c4e46;
  --line: #f0e1cd;
  --gutter: 1.25rem;
  --nav-h: 5.5rem;
  --tap: 44px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  color-scheme: light;
  background: var(--crema);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: var(--crema);
  color: var(--ink);
  line-height: 1.45;
  font-size: 1rem;
  padding-top: calc(var(--nav-h) + var(--safe-top));
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
iframe { border: 0; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.wrap {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-inline: max(var(--gutter), var(--safe-left)) max(var(--gutter), var(--safe-right));
}

/* Títulos de sección: h2 = nombre del menú (color de marca) + lead en ink */
.display {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--brasa);
}
.section-lead {
  margin-top: .45rem;
  color: var(--ink);
  font-size: 1.08rem;
  max-width: 40rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  min-height: var(--tap);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 0;
  background: var(--brasa);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--brasa-d); }
.btn .ico { width: 1.2rem; height: 1.2rem; flex: none; }
.btn-line { background: transparent; color: var(--brasa); box-shadow: inset 0 0 0 1.5px var(--brasa); }
.btn-line:hover { background: var(--brasa); color: #fff; }
.btn:focus-visible, .nav-links a:focus-visible, .float:focus-visible, .chip:focus-visible,
.redes-item:focus-visible, .nap a:focus-visible, .car-btn:focus-visible, .car-track:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 3px;
}

/* NAV vidrio: fixed, sin borde, se esconde al bajar, vuelve al subir */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border: 0;
  transform: translateY(0);
  transition: transform .28s ease, background .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 6px 20px rgb(31 26 23 / .10); }
.nav.is-away { transform: translateY(-110%); pointer-events: none; }
.nav.is-open { transform: none; pointer-events: auto; background: var(--crema); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; min-width: 0; }
.nav .logo { height: 5rem; width: auto; }
.brand picture { display: block; }
.nav-end { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.nav-links { display: flex; gap: 1.05rem; }
.nav-links a {
  font-size: .8rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink); min-height: var(--tap); display: inline-flex; align-items: center;
}
.nav-links a:hover { color: var(--brasa); }
.nav-toggle {
  display: none; width: var(--tap); height: var(--tap);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: rgba(31, 26, 23, .06); border: 0; border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 1.15rem; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) {
  :root { --gutter: 1.1rem; --nav-h: 4.6rem; }
  .nav .logo { height: 4rem; }
  .nav-toggle { display: flex; }
  .nav-end .btn { display: none; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--crema);
    padding: .2rem max(var(--gutter), var(--safe-left)) calc(1rem + var(--safe-bottom)) max(var(--gutter), var(--safe-right));
    box-shadow: 0 14px 24px rgb(31 26 23 / .12);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { font-size: 1.05rem; min-height: 50px; border-bottom: 1px solid var(--line); }
}

/* HERO: empieza debajo del nav y llena 100svh - nav */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - var(--safe-top));
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* texto abajo, sobre las brasas: deja ver los pollos arriba */
  align-items: stretch;
  overflow: hidden;
  background: #000;
  color: var(--crema);
  isolation: isolate;
}
/* Video dentro del hero (empieza bajo el nav). Sin overlay/scrim: el texto se lee por text-shadow. */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Clip horizontal 16:9. Los pollos van arriba y algo a la izquierda del centro:
     X 45% los mantiene en el recorte vertical del celular; Y top = arranca justo bajo el nav. */
  object-position: 45% top;
  background: #000;
  pointer-events: none;
}
/* Carrusel: dos slides apiladas, fundido 0,5 s (el que entra arriba). */
.hero-media .slide { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: none; opacity: 0; z-index: 0; transition: opacity .5s ease-in-out; }
.hero-media .slide.is-active { opacity: 1; z-index: 2; }
.hero-media .slide.is-leaving { opacity: 0; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-media .slide { transition: none; } }
/* h2: plano cenital casi cuadrado (992x912). Cover + center top, igual que h1, en desktop y móvil. */
/* h2 (plato broaster, el plato recorre el cuadro): centrado en móvil y escritorio. h3 (pollo a la brasa): cover arriba en móvil, centro en escritorio. */
.hero-video-h2, .hero-video-h4 { object-position: center center; } /* h4: plato broaster, mismo encuadre que h2 */
.hero-video-h3 { object-position: center top; }
@media (min-width: 900px) { .hero-video-h3 { object-position: center center; } }
.hero-inner {
  position: relative; z-index: 3;
  display: grid; gap: .85rem;
  padding-top: 1.5rem;
  padding-bottom: calc(2.4rem + var(--safe-bottom));
}
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, .95), 0 1px 3px rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .75);
}
.hero h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.02; letter-spacing: -.02em;
  max-width: 24ch; /* 2 líneas en escritorio: el bloque queda bajo los pollos */ color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, .95), 0 2px 4px rgba(0, 0, 0, .85), 0 0 18px rgba(0, 0, 0, .7), 0 0 44px rgba(0, 0, 0, .55);
  -webkit-text-stroke: 1.5px rgba(31, 26, 23, .55);
  paint-order: stroke fill;
}
.hero h1 em { font-style: normal; color: #ffc861; }
.hero .lead {
  font-size: 1.15rem; max-width: 34rem; color: #fff; font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .7);
}
.hero .btn-hero {
  justify-self: start; margin-top: .4rem;
  background: #ffb703; color: var(--carbon);
  font-size: .95rem; padding: 1rem 1.6rem; min-height: 52px;
  box-shadow: 0 10px 26px rgb(255 183 3 / .40);
}
.hero .btn-hero:hover { background: #ffc633; transform: translateY(-1px); }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: 1rem; color: #fff; font-weight: 600; }
.proof-sep { color: #fff; font-weight: 700; text-shadow: 0 0 2px rgba(0,0,0,.95), 0 1px 3px rgba(0,0,0,.9); }
.proof-line {
  text-decoration: underline; text-decoration-color: rgb(232 163 61 / .8); text-underline-offset: 4px; justify-self: start;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .7);
}
@media (max-width: 899px) {
  .hero-inner { gap: .7rem; padding-bottom: calc(1.6rem + var(--safe-bottom)); }
  .hero h1 { font-size: 2.05rem; max-width: 15ch; }
  .proof { display: flex; }
  .hero .lead { font-size: 1.05rem; }
  .hero .btn-hero { width: 100%; max-width: 24rem; justify-self: stretch; }
}

/* Secciones */
.carta, .nosotros, .visitar, .local, .redes { padding: 3.6rem 0; }
.carta { background: var(--crema); }
.nosotros { background: var(--crema-2); }
.visitar { background: var(--crema); }
.local { background: var(--crema-2); }
.redes { background: var(--crema); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; list-style: none; }
.chip, .chips-static li {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .45rem 1rem; border-radius: 999px;
  font-size: .92rem; font-weight: 650;
  background: var(--panel); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.chip { border: 0; cursor: pointer; }
.chip[aria-selected="true"] { background: var(--brasa); color: #fff; box-shadow: none; }

/* Carta */
.carta-list { display: grid; gap: 2rem; margin-top: 1.6rem; }
.carta-cat h3 {
  font-family: var(--serif); font-weight: 800; font-size: 1.45rem;
  color: var(--ink); letter-spacing: -.01em;
  display: flex; align-items: center; gap: .6rem;
}
.carta-cat h3::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brasa), var(--dorado) 45%, transparent); }
.carta-grid { display: grid; gap: .9rem; margin-top: .9rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .carta-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .carta-grid { grid-template-columns: 1fr 1fr 1fr; } }
.plato {
  display: grid; gap: .35rem; align-content: start;
  background: var(--panel); border-radius: 16px;
  padding: 1.1rem 1.1rem 1.15rem;
  box-shadow: 0 1px 3px rgb(31 26 23 / .06), 0 10px 28px rgb(150 40 10 / .10);
  border-top: 4px solid var(--dorado);
}
.plato h4 { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.plato p { color: var(--muted); font-size: .96rem; }
.plato .precio { color: var(--brasa); font-weight: 700; font-size: 1rem; }
.plato { grid-template-rows: auto; }
/* Fila de precio (platos de un solo precio): precio a la izquierda, Pedir a la derecha. */
.p-row {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  margin-top: .35rem; padding-top: .45rem; border-top: 1px solid var(--line);
}
/* Foto del plato (arriba de la tarjeta): mismo marco para fondos claros y oscuros. */
.plato-foto {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 3; margin-bottom: .55rem;
  border-radius: 12px; overflow: hidden; background: var(--crema-2);
  box-shadow: 0 6px 18px rgb(31 26 23 / .14), 0 0 0 1px rgb(31 26 23 / .06);
}
.plato-foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.plato-foto:hover img { transform: scale(1.03); }
.plato-foto:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; }

/* Lightbox */
html.lb-open, html.lb-open body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: calc(env(safe-area-inset-top, 0px) + 4.25rem) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  background: rgb(20 16 14 / .86);
}
.lb[hidden] { display: none; }
.lb-dialog {
  position: relative; width: min(960px, 100%); max-height: 100%;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  background: var(--panel); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / .45);
}
.lb-fig { position: relative; margin: 0; background: #1f1a17; min-height: 0; }
.lb-img { display: block; width: 100%; height: 100%; max-height: calc(100svh - 14.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); aspect-ratio: 4 / 3; object-fit: cover; }
.lb-info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem 1rem; }
.lb-title { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.lb-precio { color: var(--brasa); font-weight: 700; margin-top: .15rem; }
.lb-pedir { flex: none; white-space: nowrap; }
.lb-close, .lb-nav {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; cursor: pointer; color: #fff; background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.lb-close svg, .lb-nav svg { display: block; pointer-events: none; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .6)); }
.lb-close {
  position: fixed; z-index: 3;
  top: calc(env(safe-area-inset-top, 0px) + .75rem); right: calc(env(safe-area-inset-right, 0px) + .75rem);
  border-radius: 999px; background: rgb(255 255 255 / .12);
  transition: background .2s;
}
.lb-close:hover { background: rgb(255 255 255 / .24); }
.lb-nav {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
  width: 44px; height: 64px; opacity: .85; transition: opacity .2s;
}
.lb-nav:hover { opacity: 1; }
.lb-prev { left: .25rem; } .lb-next { right: .25rem; }
.lb-nav[hidden] { display: none; }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid var(--dorado); outline-offset: 2px; }
@media (max-width: 599px) {
  .lb { padding: calc(env(safe-area-inset-top, 0px) + 4rem) .6rem max(.6rem, env(safe-area-inset-bottom, 0px)); }
  .lb-close { top: calc(env(safe-area-inset-top, 0px) + .5rem); right: calc(env(safe-area-inset-right, 0px) + .5rem); }
  .lb-info { flex-direction: column; align-items: stretch; }
  .lb-pedir { width: 100%; min-height: 48px; }
}

.carta-nota { margin-top: .35rem; color: var(--muted); font-size: .95rem; font-weight: 600; }
.variantes { list-style: none; display: grid; gap: .1rem; margin-top: .35rem; }
.variantes li {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .6rem;
  padding: .45rem 0; border-top: 1px solid var(--line);
}
.variantes li:first-child { border-top: 0; }
.variantes .v { color: var(--ink); font-weight: 600; font-size: .98rem; }
.variantes .precio, .p-row .precio { color: var(--brasa); font-weight: 700; white-space: nowrap; }
/* Un solo estilo de botón Pedir en toda la carta (precio único y variantes). */
.plato .btn.btn-sm {
  flex: none; justify-self: end; margin: 0;
  width: 5.6rem; min-width: 5.6rem; min-height: 40px; padding: .45rem .8rem;
  font-size: .86rem; white-space: nowrap;
}
@media (max-width: 639px) { .plato .btn.btn-sm { width: 5.6rem; min-height: 44px; } }

/* Nosotros */
.nos-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .nos-grid { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); } }
.nos-copy { display: grid; gap: .9rem; }
.nos-copy .section-lead { margin: 0; }
.nos-copy p:not(.section-lead) { font-size: 1.05rem; max-width: 38rem; color: var(--ink); }
/* Logo de marca dentro del contenedor: tarjeta 4:3 con radio y sombra suave; el logo se centra con contain (cover lo recortaria). */
.nos-art {
  margin: 0; width: 100%; max-width: 34rem; justify-self: center;
  aspect-ratio: 4 / 3; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: #fff; border-radius: 18px;
  box-shadow: 0 14px 34px rgb(26 19 17 / .10), 0 2px 6px rgb(26 19 17 / .06);
}
.nos-art picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.nos-art img { display: block; width: auto; height: auto; max-width: min(100%, 22rem); max-height: 100%; object-fit: contain; }

/* NAP: un solo gap */
.nap { display: grid; gap: .55rem; line-height: 1.45; font-size: 1.05rem; }
.nap a { text-decoration: underline; text-underline-offset: 3px; justify-self: start; }

/* Visítanos */
.visit { display: grid; gap: 1.6rem; }
/* Fachada + mapa: lado a lado en desktop, misma altura y radios; apilados en móvil. */
.visit-media { display: grid; gap: 1rem; }
@media (min-width: 900px) { .visit-media { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.visit-copy { display: grid; gap: .9rem; }
.visit-copy .section-lead { margin: 0; }
.visit-copy .btn { justify-self: start; }
@media (max-width: 599px) { .visit-copy .btn { width: 100%; justify-self: stretch; min-height: 48px; } }
.map { width: 100%; height: 420px; border-radius: 18px; background: var(--crema); }
@media (max-width: 899px) { .map { height: 300px; } }
@media (min-width: 900px) { .visit-media .fachada, .visit-media .map { height: 420px; aspect-ratio: auto; } }
.fachada picture { display: block; width: 100%; height: 100%; }
.fachada { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--crema); }
.fachada img { width: 100%; height: 100%; object-fit: cover; }
.fachada .ph { display: none; }
.fachada.is-missing img { display: none; }

/* Placeholder de foto (marca, no stock) */
.ph, .fachada.is-missing .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  padding: 1rem; font-weight: 650; color: var(--muted);
  background:
    radial-gradient(circle at 50% 42%, rgb(232 163 61 / .25), transparent 40%),
    repeating-linear-gradient(135deg, var(--crema) 0 14px, var(--crema-2) 14px 28px);
}

/* Nuestro Local: carrusel */
.carousel { position: relative; margin-top: 1.4rem; }
.car-track {
  display: flex; gap: .9rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
  border-radius: 18px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track .slide {
  position: relative; flex: 0 0 86%;
  aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  scroll-snap-align: start; background: var(--crema-2);
}
@media (min-width: 700px) { .car-track .slide { flex-basis: calc(50% - .45rem); } }
@media (min-width: 1000px) { .car-track .slide { flex-basis: calc(33.333% - .6rem); } }
.car-track .slide img { width: 100%; height: 100%; object-fit: cover; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: var(--tap); height: var(--tap); border-radius: 50%; border: 0;
  background: rgba(246, 239, 227, .92); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 16px rgb(31 26 23 / .18);
}
.car-btn.prev { left: .5rem; }
.car-btn.next { right: .5rem; }
.chips-static { margin-top: 1.2rem; }

/* Redes */
.redes-list { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }
.redes-item {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.3rem; min-height: 50px; border-radius: 999px;
  background: var(--panel); color: var(--brasa);
  font-weight: 700; font-size: 1rem;
  box-shadow: inset 0 0 0 1.5px var(--brasa);
}
.redes-item svg { width: 1.3rem; height: 1.3rem; }
.redes-item:hover { background: var(--brasa); color: #fff; }
@media (max-width: 599px) { .redes-item { width: 100%; justify-content: center; } }

/* Footer */
footer {
  background: var(--carbon); color: #e9dcc7;
  padding: 2.6rem 0 calc(6rem + var(--safe-bottom));
}
.foot-top { display: flex; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
/* El logo tiene letras negras y contornos oscuros: en el footer carbón va sobre placa crema. */
.foot-logo {
  display: block;
  background: var(--crema); border-radius: 16px; padding: .5rem .7rem;
}
.foot-logo img { height: 6.5rem; width: auto; }
.foot-links { display: flex; gap: .3rem 1.1rem; flex-wrap: wrap; font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.foot-links a { min-height: var(--tap); display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--dorado); }
@media (max-width: 799px) {
  .foot-top { flex-direction: column; align-items: center; }
  .foot-logo { margin-inline: auto; }
  .foot-links { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-right: 3.6rem; }
}
.foot-note {
  display: grid; gap: .6rem; justify-items: center; text-align: center;
  margin-top: 1.8rem; padding-top: 1.4rem;
  border-top: 1px solid rgb(233 220 199 / .15);
  font-size: .9rem; line-height: 1.45;
}
.foot-note a { text-decoration: underline; text-underline-offset: 3px; }
.foot-redes { display: inline-flex; gap: 1rem; }
.footer-libro { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: #bfae96; }
.footer-libro-ico { width: 14px; height: 14px; flex: 0 0 auto; }

/* Botón flotante WhatsApp: color de marca, glifo blanco, 52px, sombra del mismo color */
.float {
  position: fixed;
  right: calc(14px + var(--safe-right));
  bottom: calc(14px + var(--safe-bottom));
  z-index: 40;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brasa); color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgb(184 50 31 / .35);
  transition: transform .2s ease;
}
.float:hover { transform: scale(1.05); }
.float svg { width: 26px; height: 26px; display: block; }

#carta, #nosotros, #visitar, #local, #redes {
  scroll-margin-top: calc(var(--nav-h) + var(--safe-top) + .5rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .btn, .float, .nav-toggle span { transition: none; }
  .car-track { scroll-behavior: auto; }
}

/* ===== Libro de reclamaciones ===== */
.libro-main { padding: 2.4rem 0 3.6rem; }
.libro-wrap { width: min(100% - 2.5rem, 660px); margin-inline: auto; }
.libro-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 2.5rem); letter-spacing: -.02em; color: var(--brasa); line-height: 1.08; }
.libro-lead { margin: .45rem 0 1.3rem; color: var(--ink); }
.libro-h2 { font-size: 1rem; font-weight: 700; color: var(--brasa); margin: 0 0 .7rem; }
.libro-establecimiento { background: var(--panel); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 1.4rem; box-shadow: inset 0 0 0 1px var(--line); }
.libro-dl { display: grid; gap: .7rem; margin: 0; }
.libro-dl div { display: grid; gap: .15rem; }
.libro-dl dt { font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.libro-dl dd { margin: 0; overflow-wrap: anywhere; }
.libro-dl a { text-decoration: underline; text-underline-offset: 3px; }
.libro-fieldset { border: 0; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .75rem; min-width: 0; }
.libro-fieldset legend { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brasa); margin-bottom: .2rem; }
.libro-tipo { display: grid; gap: .55rem; }
.libro-form .libro-radio {
  display: flex; width: 100%; min-width: 0; gap: .65rem; align-items: flex-start;
  padding: .75rem .8rem; border-radius: 10px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
}
.libro-form .libro-radio span { display: block; flex: 1 1 0; min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
.libro-form input[type="radio"] {
  appearance: auto; -webkit-appearance: radio;
  width: 1.125rem; height: 1.125rem; min-width: 1.125rem; margin: .2rem 0 0; flex: 0 0 1.125rem;
  accent-color: var(--brasa);
}
.libro-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 520px) { .libro-row { grid-template-columns: 1fr; } }
.libro-form label { display: grid; gap: .3rem; font-size: .95rem; }
.libro-form input:not([type="radio"]), .libro-form textarea, .libro-form select {
  width: 100%; min-height: 44px; padding: .6rem .7rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.libro-form textarea { min-height: 7rem; resize: vertical; }
.libro-form .opt-tag { font-weight: 400; color: var(--muted); font-size: .85em; }
.libro-date-note, .libro-legal { font-size: .85rem; color: var(--muted); margin: .2rem 0 0; }
.libro-form .btn { margin-top: .8rem; }
.libro-error { color: #8a1f1f; margin-top: .5rem; }
.libro-constancia { background: var(--panel); border-radius: 14px; padding: 1.15rem 1.1rem; box-shadow: inset 0 0 0 1px var(--line); }
.libro-code-label { font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.libro-code { font-size: 1.3rem; font-weight: 700; color: var(--brasa); margin: .2rem 0 .7rem; overflow-wrap: anywhere; }
.libro-const-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .7rem; }
@media (max-width: 799px) { .libro-form .btn, .libro-const-actions .btn { width: 100%; } }
@media print {
  .nav, footer, .float, .libro-const-actions { display: none !important; }
  body { padding-top: 0; background: #fff; }
  .libro-form { display: none !important; }
  #libro-constancia { display: block !important; box-shadow: none; }
}

/* Carta en móvil: 2 columnas compactas (hasta ~340px). Precio arriba, Pedir a lo ancho y al fondo de la tarjeta. */
@media (max-width: 639px) {
  .carta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .plato { display: flex; flex-direction: column; gap: .3rem; padding: .6rem .6rem .7rem; border-radius: 14px; border-top-width: 3px; }
  .plato-foto { margin-bottom: .35rem; border-radius: 10px; }
  .plato h4 { font-size: .94rem; line-height: 1.2; }
  .plato > p { font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .p-row { flex-direction: column; align-items: stretch; gap: .4rem; margin-top: auto; padding-top: .4rem; }
  .p-row .precio { font-size: .95rem; }
  .variantes { margin-top: auto; gap: 0; }
  .variantes li { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .4rem; padding: .4rem 0; }
  .variantes .v { font-size: .82rem; line-height: 1.2; }
  .variantes .precio { font-size: .85rem; }
  .plato .btn.btn-sm, .plato .variantes .btn.btn-sm { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 40px; padding: .4rem .5rem; font-size: .8rem; justify-self: stretch; }
}
