/* ==========================================================================
   SABOR Y BRASAS — Restaurante de Campo
   Hoja de estilos principal. Paleta y tipografías según el manual de marca.
   ========================================================================== */

/* --- Tipografía display -------------------------------------------------
   [FUENTE FIBRE VINTAGE PENDIENTE]
   Cuando tengas el archivo con licencia web, cópialo a assets/fonts/ y quita
   el comentario de este bloque. No hace falta cambiar nada más.

@font-face {
  font-family: "Fibre Vintage";
  src: url("../fonts/FibreVintage.woff2") format("woff2"),
       url("../fonts/FibreVintage.otf") format("opentype");
  font-weight: 100 900;
  font-display: swap;
}
-------------------------------------------------------------------------- */

:root {
  /* Paleta oficial (manual de marca) */
  --amarillo: #f9a31c;
  --verde: #023821;
  --rojo: #e63521;
  --cafe: #470602;
  --crema: #f3e8d6;

  /* Derivados para legibilidad (no son colores de marca) */
  --verde-900: #01281a;
  --ink-muted-crema: #4a5a4f;
  --ink-muted-verde: #cfc6b4;
  --line-crema: #c9b99c;
  --line-verde: #2d5a44;

  --font-display: "Fibre Vintage", "Outfit", system-ui, sans-serif;
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 140px);
  --max: 1240px;
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--verde);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--amarillo); color: var(--cafe); padding: 10px 16px; font-weight: 600;
  border-radius: var(--radius); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--amarillo); outline-offset: 3px; }
.theme-crema :focus-visible { outline-color: var(--verde); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* --- Temas de sección ----------------------------------------------------- */
.theme-crema { background: var(--crema); color: var(--verde); --muted: var(--ink-muted-crema); --line: var(--line-crema); --accent: var(--rojo); }
.theme-verde { background: var(--verde); color: var(--crema); --muted: var(--ink-muted-verde); --line: var(--line-verde); --accent: var(--amarillo); }
.theme-cafe  { background: var(--cafe);  color: var(--crema); --muted: #dccbb3; --line: #6e2a22; --accent: var(--amarillo); }

/* --- Tipografía ------------------------------------------------------------ */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .98;
}
.h-section { font-size: clamp(2.35rem, 6vw, 4.1rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.theme-crema .eyebrow { color: var(--rojo); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); line-height: 1.7; font-weight: 300; }
.accent { color: var(--accent); }

/* Ornamento inspirado en el filete del manual */
.ornament { display: block; width: 190px; height: 16px; color: var(--amarillo); }

/* --- Botones ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--amarillo); color: var(--cafe); }
.btn-primary:hover { background: #ffb73f; transform: translateY(-1px); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: var(--crema); color: var(--verde); border-color: var(--crema); }
.theme-crema .btn-outline:hover { background: var(--verde); color: var(--crema); border-color: var(--verde); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1.5px solid var(--accent);
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 16px; }

/* --- Header ------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); color: var(--crema);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-solid { background: var(--verde); box-shadow: 0 1px 0 rgba(243, 232, 214, .08); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1400px; }
.brand { display: block; flex: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  position: relative; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--amarillo);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 12.5px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: var(--radius);
}
.nav-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .brand img { height: 30px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px; background: var(--verde);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a {
    width: 100%; padding: 18px 0; font-family: var(--font-display); font-weight: 700;
    font-size: 1.7rem; letter-spacing: .03em; border-bottom: 1px solid var(--line-verde);
  }
  .nav a::after { display: none; }
  .site-header.menu-open { background: var(--verde); }
  .header-cta .label-long { display: none; }
}
@media (max-width: 380px) { .header-cta { padding: 10px 12px; } }
body.nav-locked { overflow: hidden; }

/* --- Hero -------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center; color: var(--crema);
  overflow: hidden; isolation: isolate; background: var(--verde-900);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(1, 40, 26, .55) 0%, rgba(1, 40, 26, .25) 38%, rgba(1, 40, 26, .8) 100%),
    rgba(2, 56, 33, .35);
}
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 32px) var(--gutter) 120px; display: grid; justify-items: center; gap: 22px; }
.hero-logo img { width: clamp(170px, 22vw, 250px); height: auto; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .35)); }
.hero-tag { font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--crema); display: grid; justify-items: center; gap: 10px; }
.hero-title { font-size: clamp(2.2rem, 6.2vw, 4.9rem); max-width: 15ch; margin-top: 6px; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 14px; }
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; color: var(--crema); text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: .85;
}
.scroll-cue i { display: block; width: 1.5px; height: 44px; background: rgba(243, 232, 214, .3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--amarillo); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; width: 100%; max-width: 340px; }
  .hero-actions .btn { width: 100%; }
}

/* --- Secciones ----------------------------------------------------------------- */
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }

/* Experiencia */
.experience-grid { display: grid; gap: 48px; align-items: center; }
.experience-copy { display: grid; gap: 26px; max-width: 34rem; }
.experience-media { position: relative; }
.experience-media::before {
  content: ""; position: absolute; inset: 28px -18px -28px 18px; background: var(--verde); z-index: 0;
}
.experience-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.experience-media .experience-mark {
  position: absolute; z-index: 2; right: -34px; bottom: -58px; width: 96px; height: auto; aspect-ratio: auto;
}
@media (max-width: 899px) { .experience-media .experience-mark { right: 4px; width: 76px; } .experience-media::before { inset: 20px -10px -20px 10px; } .experience-media { margin-right: 10px; } }
@media (min-width: 900px) {
  .experience-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(56px, 8vw, 120px); }
  .experience-media { margin-right: 18px; }
  .experience-media img { aspect-ratio: 4 / 4.6; }
}

/* Motivo de llama tono sobre tono (silueta del isotipo, como en el manual) */
.flame-motif {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(320px, 42vw, 620px); aspect-ratio: 400 / 530;
  background: currentColor; opacity: .06;
  /* Silueta del isotipo oficial (canal alfa de "Recurso 7.png"). Requiere servir el sitio por http(s); con file:// el navegador no aplica la máscara */
  -webkit-mask: url("../img/flame-mask.png") center / contain no-repeat;
          mask: url("../img/flame-mask.png") center / contain no-repeat;
}
.section > .container { position: relative; z-index: 1; }
#historia .flame-motif { right: -6%; top: -8%; }

/* Historia */
.story-grid { display: grid; gap: 56px; align-items: center; }
.story-photos { position: relative; display: grid; grid-template-columns: 1fr .82fr; gap: 16px; align-items: start; }
.story-photos img { width: 100%; object-fit: cover; aspect-ratio: 3 / 4; height: auto; }
.story-photos .p2 { margin-top: 30%; }
.story-copy { display: grid; gap: 26px; max-width: 32rem; }
.story-copy .ornament { margin-top: 6px; }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1.1fr .9fr; gap: clamp(56px, 8vw, 120px); }
}

/* El sabor de la brasa */
.brasa {
  position: relative; min-height: clamp(460px, 82vh, 820px); display: grid; place-items: center; text-align: center;
  color: var(--crema); overflow: hidden; isolation: isolate; background: var(--cafe);
}
.brasa-media { position: absolute; inset: -8% 0; z-index: -2; }
.brasa-media img { width: 100%; height: 100%; object-fit: cover; }
.brasa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(71, 6, 2, .5); }
.brasa::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 40, 26, .55), transparent 30%, transparent 70%, rgba(1, 40, 26, .6)); }
.brasa-content { display: grid; justify-items: center; gap: 22px; padding: 80px var(--gutter); }
.brasa-title { font-size: clamp(2.8rem, 10vw, 8rem); line-height: .9; max-width: 11ch; text-wrap: balance; }
.brasa-title span { display: block; color: var(--amarillo); }
.brasa-sub { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 300; max-width: 30ch; }

/* Vista previa del menú */
.menu-preview-grid { display: grid; gap: 56px; }
.menu-preview-intro { display: grid; gap: 24px; align-content: start; max-width: 30rem; }
.menu-preview-photo { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; margin-top: 12px; }
.preview-lists { display: grid; gap: 44px; }
.preview-block h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.05; padding-bottom: 14px; border-bottom: 1.5px solid var(--verde);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.preview-block h3 a { font-family: var(--font-sans); font-size: 12px; letter-spacing: .16em; font-weight: 600; color: var(--rojo); text-decoration: none; white-space: nowrap; }
.preview-block h3 a:hover { text-decoration: underline; }
@media (min-width: 960px) {
  .menu-preview-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(56px, 8vw, 110px); }
  .preview-lists { grid-template-columns: 1fr 1fr; gap: 44px 48px; }
}

/* Carta: filas con precios alineados (se usa en inicio y en /menu) */
.menu-list { display: grid; }
.menu-item { display: grid; grid-template-columns: minmax(0, auto) 1fr auto; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.menu-item .name { font-size: 1.06rem; font-weight: 500; line-height: 1.35; }
.menu-item .note { display: block; font-size: .9rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.menu-item .leader { align-self: end; margin-bottom: .42em; border-bottom: 1.5px dotted var(--line); min-width: 12px; height: 0; }
.menu-item .price { font-size: 1.04rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: .01em; }

/* Reservaciones */
.reserve-grid { display: grid; gap: 48px; }
.reserve-copy { display: grid; gap: 24px; align-content: start; max-width: 28rem; }
.reserve-note { display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.reserve-note strong { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; color: var(--amarillo); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: 1.2fr 1fr .8fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.field .opt { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font-size: 16px;
  background: rgba(243, 232, 214, .06); border: 1px solid rgba(243, 232, 214, .35); border-radius: var(--radius); color: var(--crema);
  transition: border-color .2s, background-color .2s;
  color-scheme: dark;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 232, 214, .55); }
.field input:hover, .field textarea:hover { border-color: rgba(243, 232, 214, .6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amarillo); background: rgba(243, 232, 214, .1); box-shadow: 0 0 0 1px var(--amarillo); }
.field input[aria-invalid="true"] { border-color: #ff9b8c; }
.field-error { font-size: 14px; color: #ffc2b8; min-height: 0; }
.form-actions { display: grid; gap: 14px; margin-top: 6px; }
.form-actions .btn { width: 100%; }
@media (min-width: 560px) { .form-actions .btn { width: auto; justify-self: start; } }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.is-info { color: var(--crema); padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 960px) { .reserve-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(56px, 8vw, 110px); } }

/* Visítanos */
.visit-grid { display: grid; gap: 56px; }
.visit-info { display: grid; gap: 30px; align-content: start; }
.hours { display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.hours .closed dd { color: var(--rojo); }
.specials { display: grid; gap: 14px; }
.specials h3 { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--rojo); }
.specials ul { display: grid; gap: 12px; }
.specials li { display: flex; gap: 16px; align-items: baseline; }
.specials li span:first-child { min-width: 96px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.specials li span:last-child { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; }
.contact-list { display: grid; gap: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-list div { display: grid; gap: 6px; }
.contact-list dt { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--rojo); }
.contact-list dd { margin: 0; font-size: 1.06rem; line-height: 1.55; max-width: 28rem; }
.contact-wa {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0;
  font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; font-variant-numeric: tabular-nums;
}
.contact-wa svg { width: 22px; height: 22px; color: var(--verde); }
.contact-wa span { border-bottom: 1.5px solid var(--rojo); padding-bottom: 2px; transition: border-color .25s; }
.contact-wa:hover span { border-color: var(--verde); }

/* Mapa dentro de un contenedor diseñado */
.map-card {
  position: relative; padding: 10px; border-radius: 22px;
  background: #fbf6ec; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(2, 56, 33, .45);
  margin-bottom: 34px;
}
.map-frame { position: relative; width: 100%; aspect-ratio: 4 / 3.6; border-radius: 14px; overflow: hidden; background: #e6dac5; isolation: isolate; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-badge {
  position: absolute; left: clamp(18px, 4vw, 32px); bottom: 0; transform: translateY(50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px;
  background: var(--verde); color: var(--crema); text-decoration: none; border-radius: 16px;
  box-shadow: 0 16px 32px -18px rgba(1, 40, 26, .7);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.map-badge:hover { transform: translateY(calc(50% - 2px)); background: var(--verde-900); }
.map-badge-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amarillo); color: var(--cafe); }
.map-badge-icon svg { width: 22px; height: 22px; }
.map-badge-text { display: grid; gap: 1px; text-align: left; }
.map-badge-text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.map-badge-text small { font-size: 12.5px; color: var(--ink-muted-verde); letter-spacing: .04em; }
#contacto { padding-block: clamp(64px, 8vw, 104px) clamp(80px, 9vw, 116px); }
.visit-map { display: flex; flex-direction: column; }
.visit-map > .eyebrow { margin-bottom: 18px; }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 88px); align-items: stretch; }
  .visit-info { gap: 26px; }
  .visit-map { padding-top: 0; }
  .map-card { flex: 1; display: flex; padding: 12px; border-radius: 26px; margin-bottom: 30px; }
  .map-frame { flex: 1; aspect-ratio: auto; min-height: 460px; border-radius: 16px; }
}
@media (max-width: 899px) {
  .visit-grid { gap: 44px; }
  .visit-info { gap: 24px; }
}

/* CTA con fotografía de fondo (página de menú) */
.cta-photo { position: relative; overflow: hidden; isolation: isolate; color: var(--crema); background: var(--cafe); }
.cta-photo-media, .cta-photo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.cta-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(40, 6, 2, .62) 0%, rgba(20, 4, 2, .8) 70%), rgba(2, 30, 18, .25);
}
.cta-photo .menu-cta { min-height: clamp(360px, 52vh, 520px); align-content: center; }
.cta-photo h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); max-width: 16ch; }
@media (max-width: 600px) { .cta-photo .btn { width: 100%; max-width: 340px; } }

/* --- Footer (minimalista, centrado) ---------------------------------------------- */
.site-footer { padding: clamp(56px, 8vw, 88px) 0 clamp(36px, 5vw, 48px); text-align: center; }
.footer-min { display: grid; justify-items: center; gap: 18px; }
.footer-logo { width: clamp(130px, 16vw, 168px); height: auto; margin-bottom: 6px; }
.footer-rule { display: block; width: 56px; height: 1.5px; background: var(--amarillo); margin: 4px 0 6px; }
.footer-copy { font-size: 15px; line-height: 1.6; color: var(--crema); max-width: 40rem; }
.footer-credit { font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-credit strong { color: var(--crema); font-weight: 600; }

/* --- Página de menú --------------------------------------------------------------- */
.menu-hero {
  position: relative; min-height: clamp(360px, 52vh, 540px); display: grid; align-items: end;
  color: var(--crema); overflow: hidden; isolation: isolate; background: var(--verde-900);
}
.menu-hero-media, .menu-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.menu-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 40, 26, .6), rgba(2, 56, 33, .55) 45%, rgba(2, 56, 33, .96)); }
.menu-hero .container { padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; display: grid; gap: 18px; }
.menu-hero h1 { font-size: clamp(3rem, 9vw, 6.4rem); }
.menu-hero p { max-width: 36rem; }
.menu-hero .eyebrow { color: var(--amarillo); }

.cat-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--verde); border-bottom: 1px solid var(--line-verde); color: var(--crema); }
.cat-nav ul {
  display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 12px var(--gutter); max-width: 1400px; margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav li { flex: none; scroll-snap-align: start; }
.cat-nav a {
  display: block; padding: 9px 15px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted-verde);
  transition: background-color .25s, color .25s;
}
.cat-nav a:hover { color: var(--crema); background: rgba(243, 232, 214, .08); }
.cat-nav a.is-active { background: var(--amarillo); color: var(--cafe); font-weight: 600; }
@media (min-width: 1280px) { .cat-nav ul { flex-wrap: wrap; justify-content: center; overflow: visible; -webkit-mask-image: none; mask-image: none; } }

.menu-body { padding-block: clamp(56px, 8vw, 110px); }
.menu-body.theme-verde { position: relative; overflow: hidden; }
.menu-body.theme-verde > .container { position: relative; }
.menu-body.theme-verde .flame-motif { right: -12%; top: 2%; }
.menu-cols { display: grid; gap: clamp(56px, 7vw, 88px); }
@media (min-width: 960px) {
  .menu-cols { grid-template-columns: 1fr 1fr; column-gap: clamp(56px, 7vw, 110px); align-items: start; }
  .menu-cat.span-all { grid-column: 1 / -1; }
}
.menu-cat { scroll-margin-top: calc(var(--header-h) + 72px); }
.menu-cat-head { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
.menu-cat-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.menu-cat-head::after { content: ""; flex: 1; height: 1.5px; background: var(--accent); opacity: .9; min-width: 24px; }
.menu-sub { margin-top: 28px; }
.menu-sub h3 { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; color: var(--accent); padding-bottom: 4px; }
.menu-sub:first-of-type { margin-top: 12px; }
.menu-text { font-size: 1.12rem; font-weight: 300; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal { margin-top: 26px; display: flex; gap: 14px; align-items: center; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; color: var(--muted); }
.legal .age { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 14px; letter-spacing: 0; }

/* Tabla de licores */
.liquor-group { margin-top: 30px; }
.liquor-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.liquor-table caption { text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; color: var(--accent); padding-bottom: 8px; }
.liquor-table th, .liquor-table td { padding: 13px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.liquor-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--accent); }
.liquor-table th[scope="row"], .liquor-table thead th:first-child { text-align: left; padding-left: 0; }
.liquor-table th[scope="row"] { font-weight: 500; font-size: 1.06rem; white-space: normal; }
.liquor-table td { font-weight: 600; }
.liquor-table td.empty { color: var(--muted); font-weight: 400; }
@media (max-width: 700px) {
  .liquor-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .liquor-table tr { display: grid; grid-template-columns: repeat(5, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .liquor-table th[scope="row"] { grid-column: 1 / -1; border: 0; padding: 0 0 8px; }
  .liquor-table td { display: grid; gap: 2px; border: 0; padding: 0 2px; text-align: left; font-size: .95rem; }
  .liquor-table td::before { content: attr(data-label); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}

.menu-cta { text-align: center; display: grid; justify-items: center; gap: 22px; padding-block: clamp(64px, 9vw, 110px); }

/* --- Animaciones de aparición ----------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 1.2s var(--ease); }
.img-zoom:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

[hidden] { display: none !important; }

/* Ajustes finos */
@media (min-width: 701px) {
  .liquor-table { table-layout: fixed; }
  .liquor-table thead th:first-child, .liquor-table th[scope="row"] { width: 26%; }
}
@media (max-width: 400px) {
  .liquor-table td { font-size: .84rem; }
  .liquor-table td::before { font-size: 9.5px; letter-spacing: .06em; }
}
@media (min-width: 600px) and (max-width: 899px) { .map-frame { aspect-ratio: 16 / 11; } }

/* Reservaciones: fotografía + overlay + marca de agua del isotipo + contenido */
.reserve-photo { isolation: isolate; background: var(--cafe); }
.reserve-photo-media, .reserve-photo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; }
.reserve-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(40, 4, 1, .9) 0%, rgba(55, 6, 2, .82) 45%, rgba(40, 4, 1, .88) 100%),
    rgba(71, 6, 2, .35);
}
.reserve-photo .flame-motif { z-index: -1; color: #b8321d; opacity: .16; width: clamp(360px, 44vw, 640px); left: -9%; bottom: -22%; }
.reserve-photo .field input, .reserve-photo .field textarea { background: rgba(30, 3, 1, .45); }
.reserve-photo .field input:focus, .reserve-photo .field textarea:focus { background: rgba(30, 3, 1, .6); }
@media (max-width: 959px) {
  .reserve-photo .flame-motif { width: 300px; left: -90px; bottom: -80px; opacity: .12; }
}

/* Móvil: la silueta tenue de "Nuestra historia" se ubica en la parte inferior (desktop y tablet sin cambios) */
@media (max-width: 599px) {
  #historia .flame-motif { top: auto; bottom: -6%; }
}
