/* =========================================================
   Lumbre · Cocina de brasa — estilos compartidos
   (los usan la web de 5 páginas y la de una sola página)
   ========================================================= */

:root {
  --coal: #1b1916;
  --coal-2: #26231f;
  --coal-3: #34302a;
  --ember: #c4532a;
  --ember-deep: #a23f1c;
  --ochre: #d9a441;
  --cream: #f4ede1;
  --paper: #fbf8f2;
  --ink: #221f1b;
  --ink-soft: #5d564c;
  --line: #e3d9c8;
  --line-dark: rgba(244, 237, 225, .14);
  --ok: #4f7a3a;
  --error: #b3261e;

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -22px rgba(27, 25, 22, .45);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--coal); color: var(--cream); }
.section--dark .lead, .section--dark p { color: rgba(244, 237, 225, .78); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ochre); color: var(--coal); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .band .eyebrow { color: var(--ochre); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.head { margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 em, .hero h1 em { font-style: italic; color: var(--ember); }
.section--dark .head h2 em, .hero h1 em { color: var(--ochre); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--ember { background: var(--ember); color: #fff; }
.btn--ember:hover { background: var(--ember-deep); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--cream); color: var(--coal); border-color: var(--cream); }
.section--cream .btn--ghost:hover, .section:not(.section--dark) .btn--ghost:hover { background: var(--coal); color: var(--cream); border-color: var(--coal); }
.btn--wa { background: #1f8a4c; color: #fff; }
.btn--wa:hover { background: #18703d; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ember); text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s, gap .2s; }
.link-arrow:hover { border-color: currentColor; gap: 12px; }
.link-arrow svg { width: 18px; height: 18px; flex: none; }
.section--dark .link-arrow { color: var(--ochre); }

/* ---------- Cabecera ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--cream); transition: background .3s, box-shadow .3s, color .3s; }
.header.is-solid { background: rgba(27, 25, 22, .94); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.menu-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 60; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; font-family: var(--ff-display); font-size: 1.55rem; line-height: 1; letter-spacing: .01em; }
.logo__text small { font-family: var(--ff-body); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; opacity: .75; margin-top: 5px; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__list a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.nav__list a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--ochre); transition: right .25s; }
.nav__list a:not(.nav__cta):hover::after, .nav__list a[aria-current="page"]::after { right: 0; }
.nav__cta { background: var(--ember); color: #fff; padding: 11px 20px !important; border-radius: 999px; transition: background .2s; }
.nav__cta:hover { background: var(--ember-deep); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 60; border-radius: 10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s, top .3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; background: var(--coal); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,25,22,.55) 0%, rgba(27,25,22,.2) 35%, rgba(27,25,22,.82) 100%), linear-gradient(90deg, rgba(27,25,22,.7) 0%, rgba(27,25,22,0) 65%); }
.hero__inner { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + 60px) var(--gutter) clamp(56px, 9vh, 96px); }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero p { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 46ch; color: rgba(244,237,225,.88); margin-bottom: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; font-size: .92rem; color: rgba(244,237,225,.85); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--ochre); }
.hero--page { min-height: 62svh; }
.hero--page h1 { max-width: 18ch; }

/* Estado abierto / cerrado (lo rellena el JS) */
.status { display: flex; width: fit-content; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(27,25,22,.55); border: 1px solid var(--line-dark); font-size: .85rem; font-weight: 600; margin-bottom: 22px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9a9186; }
.status.is-open::before { background: #6fcf5a; box-shadow: 0 0 0 4px rgba(111,207,90,.22); }
.status.is-closed::before { background: #e07a5f; }
.status:empty { display: none; }

/* ---------- Franja de puntos fuertes ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border-top: 1px solid var(--line-dark); }
.perk { background: var(--coal-2); color: var(--cream); padding: 34px clamp(20px, 3vw, 40px); display: flex; gap: 18px; align-items: flex-start; }
.perk svg { width: 34px; height: 34px; color: var(--ochre); flex: none; margin-top: 2px; }
.perk h3 { font-size: 1.2rem; margin-bottom: 4px; }
.perk p { margin: 0; color: rgba(244,237,225,.7); font-size: .95rem; }

/* ---------- Bloque de dos columnas ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.split__media .float {
  position: absolute; right: -18px; bottom: 28px; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.section--cream .split__media .float { border-color: var(--cream); }
.stamp {
  position: absolute; left: -16px; top: 26px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--ember); color: #fff; display: grid; place-content: center; text-align: center;
  font-family: var(--ff-display); line-height: 1.05; box-shadow: var(--shadow); transform: rotate(-8deg);
}
.stamp b { font-size: 2rem; font-weight: 500; display: block; }
.stamp small { font-family: var(--ff-body); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.checks { display: grid; gap: 12px; margin: 26px 0 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--ember); flex: none; margin-top: 3px; }
.signature { font-family: var(--ff-display); font-style: italic; font-size: 1.35rem; color: var(--ember); margin: 6px 0 0; }

/* ---------- Platos destacados ---------- */
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.dish { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.section--cream .dish { background: var(--paper); }
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dish img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dish__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dish__top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.dish h3 { margin: 0; font-size: 1.3rem; }
.dish p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.price { font-family: var(--ff-display); font-size: 1.25rem; color: var(--ember); white-space: nowrap; }
.tag { display: inline-block; align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); background: rgba(196,83,42,.1); padding: 4px 10px; border-radius: 999px; margin-bottom: 4px; }

/* ---------- Banda (menú del día, CTA) ---------- */
.band { position: relative; overflow: hidden; background: var(--coal); color: var(--cream); }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.band__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(64px, 9vw, 110px) var(--gutter); max-width: var(--wrap); margin: 0 auto; }
.band p { color: rgba(244,237,225,.82); }
.band--center .band__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.band--center .btns { justify-content: center; }
.menu-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow); position: relative; }
.menu-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 14px; pointer-events: none; }
.menu-card h3 { text-align: center; margin-bottom: 4px; }
.menu-card .muted { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-bottom: 18px; }
.menu-card dl { margin: 0; display: grid; gap: 14px; }
.menu-card dt { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.menu-card dd { margin: 2px 0 0; }
.menu-card .total { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.menu-card .total b { font-family: var(--ff-display); font-weight: 500; font-size: 2.3rem; color: var(--ember); line-height: 1; }

/* ---------- Opiniones ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.review { background: var(--coal-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 30px 28px; margin: 0; display: flex; flex-direction: column; }
.stars { color: var(--ochre); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 22px; font-family: var(--ff-display); font-size: 1.15rem; line-height: 1.5; color: var(--cream); flex: 1; }
.review figcaption { font-size: .9rem; color: rgba(244,237,225,.65); }
.review figcaption b { color: var(--cream); display: block; font-weight: 700; }
.rating { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; }
.rating b { font-family: var(--ff-display); font-size: 2.6rem; font-weight: 500; color: var(--ochre); line-height: 1; }

/* ---------- Teasers (tarjetas con imagen) ---------- */
.teasers { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.teaser { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: var(--cream); text-decoration: none; min-height: 380px; background: var(--coal); }
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,25,22,0) 30%, rgba(27,25,22,.88) 100%); }
.teaser:hover img { transform: scale(1.05); }
.teaser__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(24px, 3vw, 36px); }
.teaser__body p { color: rgba(244,237,225,.82); margin-bottom: 14px; max-width: 42ch; }
.teaser__body .link-arrow { color: var(--ochre); }

/* ---------- Horario, dirección y mapa ---------- */
.info { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: stretch; }
.info__card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 40px); box-shadow: 0 1px 0 var(--line); }
.section--cream .info__card { background: var(--paper); }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 26px; font-size: .98rem; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ember); font-weight: 700; }
.hours tr.is-today th::after { content: "hoy"; margin-left: 8px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; background: var(--ember); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.contact-list { display: grid; gap: 14px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--ember); flex: none; margin-top: 3px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--ember); }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: #e9e1d2; box-shadow: 0 1px 0 var(--line); }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__label { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); font-size: .92rem; }
.map__label b { font-family: var(--ff-display); font-weight: 500; font-size: 1.1rem; display: block; }
.map__note { position: absolute; top: 14px; right: 14px; font-size: .72rem; background: rgba(251,248,242,.9); padding: 4px 10px; border-radius: 999px; color: var(--ink-soft); }

/* ---------- Carta ---------- */
.menu-tools { position: sticky; top: var(--header-h); z-index: 20; background: rgba(251,248,242,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.menu-tools__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--coal); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--coal); color: var(--cream); border-color: var(--coal); }
.filters { display: flex; gap: 8px; flex: none; }
.filters .chip[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); }
.menu-group { padding-top: clamp(48px, 6vw, 72px); }
.menu-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--coal); padding-bottom: 14px; margin-bottom: 10px; }
.menu-group__head h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.menu-group__head p { margin: 0; color: var(--ink-soft); font-size: .95rem; max-width: 40ch; text-align: right; }
.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(30px, 5vw, 70px); }
.item { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.item h3 { margin: 0; font-size: 1.18rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.item p { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: .95rem; }
.item .price { font-size: 1.15rem; }
.item.is-hidden { display: none; }
.badges { display: inline-flex; gap: 5px; }
.badge { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 6px; font-family: var(--ff-body); font-size: .64rem; font-weight: 800; letter-spacing: .04em; background: var(--cream); color: var(--ink-soft); border: 1px solid var(--line); }
.badge--v { background: #e5efd9; color: #3e6a2c; border-color: #cfe0bb; }
.badge--h { background: var(--ember); color: #fff; border-color: var(--ember); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; color: var(--ink-soft); margin-top: 34px; padding: 18px 22px; background: var(--cream); border-radius: var(--radius); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.empty-msg { display: none; padding: 30px 0; color: var(--ink-soft); font-style: italic; }
.menu-group.is-empty .empty-msg { display: block; }

/* Carta corta (web de una página) */
.mini-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.mini-menu > div > h3 { font-size: 1.5rem; border-bottom: 2px solid var(--coal); padding-bottom: 10px; margin-bottom: 4px; }
.mini-menu .item { grid-template-columns: 1fr auto; padding: 16px 0; }

/* ---------- Galería ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery__btn { display: block; width: 100%; padding: 0; margin: 0 0 16px; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; break-inside: avoid; position: relative; }
.gallery__btn img { width: 100%; transition: transform .5s, filter .3s; }
.gallery__btn:hover img { transform: scale(1.04); filter: brightness(.92); }
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-row img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(17,15,13,.94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 140px); width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(244,237,225,.25); background: rgba(27,25,22,.7); color: var(--cream); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox__btn:hover { background: var(--ember); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(244,237,225,.7); font-size: .9rem; }

/* ---------- Equipo / espacios ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.card { background: var(--paper); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: 0 1px 0 var(--line); }
.section--cream .card { background: var(--paper); }
.card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(196,83,42,.1); color: var(--ember); margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--ink-soft); margin: 0; }
.card .meta { display: block; margin-top: 14px; font-weight: 700; font-size: .9rem; color: var(--ember); }
.person { text-align: center; }
.avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--coal); color: var(--ochre); font-family: var(--ff-display); font-size: 2rem; }
.person .role { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 12px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.timeline li { padding: 28px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ochre); }
.timeline b { font-family: var(--ff-display); font-weight: 500; font-size: 2rem; color: var(--ochre); display: block; line-height: 1; margin-bottom: 10px; }
.timeline p { font-size: .95rem; margin: 0; }

/* ---------- Menús de grupo ---------- */
.menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); align-items: stretch; }
.menus .menu-card { display: flex; flex-direction: column; }
.menus .menu-card dl { flex: 1; }
.menu-card.is-featured { background: var(--coal); color: var(--cream); }
.menu-card.is-featured::before { border-color: var(--line-dark); }
.menu-card.is-featured .muted, .menu-card.is-featured dd { color: rgba(244,237,225,.82); }
.menu-card.is-featured dt { color: var(--ochre); }
.menu-card.is-featured .total { border-color: var(--line-dark); }
.menu-card.is-featured .total b { color: var(--ochre); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ember); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.menu-card .btn { margin-top: 20px; position: relative; }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--ff-display); font-size: 1.22rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ff-body); font-size: 1.6rem; color: var(--ember); transition: transform .25s; flex: none; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 22px; margin: 0; max-width: 68ch; }

/* ---------- Formularios ---------- */
.form-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 3.6vw, 44px); box-shadow: var(--shadow); }
.section--dark .form { color: var(--ink); }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9rem; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="date"] { max-width: 300px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px rgba(196,83,42,.15); }
.field__hint { font-size: .82rem; color: var(--ink-soft); }
.field__error { font-size: .85rem; color: var(--error); min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--ember); flex: none; }
.check a { color: var(--ember); }
.people { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.people legend { margin-bottom: 8px; }
.people label { position: relative; }
.people input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.people label span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; transition: all .15s; }
.people input:checked + span { background: var(--coal); color: var(--cream); border-color: var(--coal); }
.people input:focus-visible + span { outline: 3px solid var(--ochre); outline-offset: 2px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots button { padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; transition: all .15s; }
.slots button:hover { border-color: var(--coal); }
.slots button[aria-pressed="true"] { background: var(--ember); color: #fff; border-color: var(--ember); }
.slots__group { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); width: 100%; margin-top: 6px; }
.slots__empty { color: var(--ink-soft); font-size: .92rem; font-style: italic; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form__note { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.success { margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: #e9f2e1; color: #2f5320; border: 1px solid #cfe0bb; }
.success b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.aside-card { background: var(--coal); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 38px); }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 { margin-bottom: 10px; }
.aside-card p, .aside-card li { color: rgba(244,237,225,.8); }
.aside-card .checks svg { color: var(--ochre); }
.aside-card .btns { margin-top: 18px; }
.aside-card--light { background: var(--cream); color: var(--ink); }
.aside-card--light p, .aside-card--light li { color: var(--ink-soft); }

/* ---------- Pie ---------- */
.footer { background: var(--coal); color: rgba(244,237,225,.75); padding: clamp(56px, 7vw, 84px) 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer .logo { color: var(--cream); margin-bottom: 18px; }
.footer h3 { font-family: var(--ff-body); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre); margin-bottom: 16px; }
.footer li + li { margin-top: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--ember); border-color: var(--ember); }
.social svg { width: 19px; height: 19px; }
.footer__bottom { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line-dark); padding: 22px 80px 28px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: .84rem; }
.footer__bottom a { text-decoration: underline; }
.footer--simple .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #1f8a4c; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: transform .25s, background .2s; }
.wa-float:hover { transform: scale(1.07); background: #18703d; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animación al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .1s; }
.js .reveal[data-d="2"] { transition-delay: .2s; }

/* =================== Responsive =================== */
@media (max-width: 1024px) {
  .footer__grid, .footer--simple .footer__grid { grid-template-columns: 1fr 1fr; }
  .dishes, .reviews, .cards, .menus { grid-template-columns: repeat(2, 1fr); }
  .menus .menu-card:last-child, .dishes .dish:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .mini-menu { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav { position: fixed; inset: 0; z-index: 55; background: var(--coal); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 22px; text-align: center; }
  .nav__list a { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 400; }
  .nav__cta { font-family: var(--ff-body) !important; font-size: 1.05rem !important; font-weight: 700 !important; margin-top: 10px; display: inline-block; }
  body.menu-open { overflow: hidden; }
  .split, .info, .form-wrap, .band__inner { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media { max-width: 560px; }
  .split__media .float { right: -6px; }
  .stamp { left: -6px; }
  .perks { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-group__head { flex-direction: column; align-items: flex-start; }
  .menu-group__head p { text-align: left; }
  .menu-tools__inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .filters { overflow-x: auto; }
  .teasers { grid-template-columns: 1fr; }
  .teaser { min-height: 320px; }
  .photo-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .dishes, .reviews, .cards, .menus, .mini-menu, .timeline { grid-template-columns: 1fr; }
  .menus .menu-card:last-child { grid-column: auto; }
  .menus { gap: 30px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid, .footer--simple .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 84px; }
  .footer__bottom { padding-right: 0; }
  .hero__inner { padding-bottom: 48px; }
  .hero .btns .btn { flex: 1 1 100%; }
  .split__media .float { width: 40%; bottom: -18px; }
  .stamp { width: 96px; height: 96px; top: 16px; }
  .stamp b { font-size: 1.6rem; }
  .lightbox { padding: 70px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__prev { left: 14px; }
  .lightbox__next { right: 14px; }
  .map { min-height: 320px; }
  .hours .sep { display: block; height: 0; overflow: hidden; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
