/* =====================================================================
   CASALEGRE — casalegre.css
   Mobile-first. Structured for a future WordPress/ACF theme:
   each BEM block below maps to one ACF flexible-content layout.

   ORDER:
   1. Design tokens        5. Header + nav
   2. Base / reset         6. Sections (hero → contacto)
   3. Utilities            7. Footer
   4. Buttons              8. Sticky CTA + media fallbacks
   ===================================================================== */

/* ============================ 1. TOKENS ============================ */
:root {
  /* Casa Alegre 2026 — negro / rojo / blanco */
  --bg:          #1d1d1b;   /* negro — fondo */
  --bg-panel:    #262523;   /* paneles alternos (tinte sutil) */
  --bg-panel-2:  #2f2e2b;
  --text:        #ffffff;   /* blanco — texto principal */
  --text-muted:  #b0b0ac;

  --wine:  #d53216;   /* rojo */
  --rust:  #d53216;   /* rojo — acentos / botones / highlights */
  --brass: #b0b0ac;   /* etiquetas y precios: neutro, no rojo */
  --sea:   #2a2a27;   /* seccion Bar = panel oscuro */
  --wood:  #141412;   /* neutro profundo / fallback de imagen */

  --white: #ffffff;   /* blanco — contraste / tarjetas */

  --border:  rgba(255, 255, 255, 0.14);
  --shadow:  rgba(0, 0, 0, 0.5);
  --scrim:   rgba(0, 0, 0, 0.62);

  --on-accent: #ffffff;  /* texto sobre rojo */

  --font-head: "Elephant", Georgia, "Times New Roman", serif;
  --font-body: "Nobel", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --header-h: 4.25rem;
  --radius: 4px;
  --radius-pill: 999px;

  --step: clamp(3.25rem, 8vw, 6rem);   /* vertical section rhythm */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    /* Casa Alegre de día — blanco de fondo, negro de texto */
    --bg:          #ffffff;
    --bg-panel:    #f4f3f1;
    --bg-panel-2:  #eceae6;
    --text:        #1d1d1b;
    --text-muted:  #57574f;

    --wine:  #d53216;
    --rust:  #d53216;
    --brass: #57574f;
    --sea:   #eceae6;
    --wood:  #d8d6d0;

    --border:  rgba(29, 29, 27, 0.16);
    --shadow:  rgba(29, 29, 27, 0.16);
    --scrim:   rgba(0, 0, 0, 0.5);

    --on-accent: #ffffff;

    color-scheme: light;
  }
}

/* Manual override wins in both directions */
:root[data-theme="light"] {
  --bg: #ffffff;  --bg-panel: #f4f3f1;  --bg-panel-2: #eceae6;
  --text: #1d1d1b;  --text-muted: #57574f;
  --wine: #d53216;  --rust: #d53216;  --brass: #57574f;  --sea: #eceae6;  --wood: #d8d6d0;
  --border: rgba(29, 29, 27, 0.16);  --shadow: rgba(29, 29, 27, 0.16);  --scrim: rgba(0, 0, 0, 0.5);
  --on-accent: #ffffff;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1d1d1b;  --bg-panel: #262523;  --bg-panel-2: #2f2e2b;
  --text: #ffffff;  --text-muted: #b0b0ac;
  --wine: #d53216;  --rust: #d53216;  --brass: #b0b0ac;  --sea: #2a2a27;  --wood: #141412;
  --border: rgba(255, 255, 255, 0.14);  --shadow: rgba(0, 0, 0, 0.5);  --scrim: rgba(0, 0, 0, 0.62);
  --on-accent: #ffffff;
  color-scheme: dark;
}

/* ============================ 1b. FUENTES (self-hosted) ============================ */
/* Elephant — títulos. WOFF2 en /fonts (convertido del .TTF entregado).
   NOTA licencia: Elephant es fuente de sistema de Microsoft; para producción
   conviene confirmar licencia de web-embedding o sustituir por una alternativa. */
@font-face {
  font-family: "Elephant";
  src: url("../fonts/elephant.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Nobel — cuerpo/UI.  DESACTIVADO a propósito.
   Los .otf entregados son "NobelTRIAL / Personal Use": la versión de prueba
   REEMPLAZA las vocales acentuadas y la ñ por una marca de agua "TRIAL",
   así que rompe todo el texto en español. Mientras tanto el cuerpo usa el
   fallback (Helvetica Neue / Arial).
   Para activarlo: reemplazar los fonts/nobel-*.woff2 por los archivos de la
   versión LICENCIADA (mismos nombres) y descomentar este bloque.
@font-face {
  font-family: "Nobel";
  src: url("../fonts/nobel-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nobel";
  src: url("../fonts/nobel-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Nobel";
  src: url("../fonts/nobel-500.woff2") format("woff2");
  font-weight: 500 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nobel";
  src: url("../fonts/nobel-700.woff2") format("woff2");
  font-weight: 700 900; font-style: normal; font-display: swap;
}
*/

/* ============================ 2. BASE ============================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }

::selection { background: var(--rust); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================ 3. UTILITIES ============================ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 5vw, 3rem);
}

.section { padding-block: var(--step); }
.section--panel      { background: var(--bg-panel); }
.section--panel-alt  { background: var(--bg-panel-2); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brass);
  margin-bottom: 0.6rem;
}

.measure { max-width: 60ch; }

.section-head {
  display: grid;
  gap: 0.7rem;
  max-width: 60ch;
  margin-bottom: clamp(1.75rem, 5vw, 2.75rem);
}
.section-head h2 { font-size: clamp(1.9rem, 5vw, 2.85rem); line-height: 1.1; }
.section-head__intro { color: var(--text-muted); }

.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: fixed;
  top: 0.5rem; left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--rust);
  color: var(--on-accent);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ============================ 4. BUTTONS ============================ */
.btn {
  --btn-accent: var(--rust);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.3rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--btn-accent);
  border-radius: var(--radius);
  color: var(--btn-accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--btn-accent); color: var(--on-accent); }

.btn--solid {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--on-accent);
}
.btn--solid:hover, .btn--solid:focus-visible {
  background: #b3260f;
  border-color: #b3260f;
  color: var(--on-accent);
}

/* ============================ 5. HEADER + NAV ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
/* Blur lives on a pseudo-element so the <header> itself carries no
   backdrop-filter — otherwise it would become the containing block for
   the position:fixed nav drawer and clip it to header height. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.wordmark__img {
  display: block;
  height: 2.6rem;
  width: auto;
}
.wordmark--sm .wordmark__img { height: 2.1rem; }
@media (min-width: 48rem) {
  .wordmark__img { height: 2.9rem; }
}

/* Logo swaps with the theme: white/red on dark, black/red on light. */
.wordmark__img--on-light { display: none; }
:root[data-theme="light"] .wordmark__img--on-dark { display: none; }
:root[data-theme="light"] .wordmark__img--on-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .wordmark__img--on-dark { display: none; }
  :root:not([data-theme="dark"]) .wordmark__img--on-light { display: block; }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.15rem;
}
.lang-switch button,
.lang-switch a {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  line-height: 1;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch button[aria-pressed="true"],
.lang-switch a[aria-current="page"] { background: var(--rust); color: var(--on-accent); }
.lang-switch button:hover:not([aria-pressed="true"]),
.lang-switch a:hover:not([aria-current="page"]) { color: var(--text); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--brass);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--brass); }
.theme-toggle__icon { width: 1.15rem; height: 1.15rem; }
:root[data-theme="dark"]  .theme-toggle__icon--moon { display: none; }
:root[data-theme="light"] .theme-toggle__icon--sun  { display: none; }
/* system-default (no data-theme) follows prefers-color-scheme */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle__icon--sun  { display: none; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle__icon--moon { display: none; }
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.site-nav__bars { display: block; width: 20px; height: 14px; position: relative; }
.site-nav__bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.site-nav__bars span:nth-child(1) { top: 0; }
.site-nav__bars span:nth-child(2) { top: 6px; }
.site-nav__bars span:nth-child(3) { top: 12px; }
.nav-open .site-nav__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .site-nav__bars span:nth-child(2) { opacity: 0; }
.nav-open .site-nav__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Nav: mobile drawer (default) --- */
.site-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(20rem, 82vw);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: calc(var(--header-h) + 1.25rem) clamp(1.15rem, 6vw, 2rem) 2rem;
  background: var(--bg-panel);
  border-left: 1px solid var(--border);
  box-shadow: -18px 0 46px -24px var(--shadow);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
}
.nav-open .site-nav { transform: translateX(0); }

.site-nav__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-nav__close:hover { border-color: var(--rust); color: var(--rust); }
.site-nav__close svg { width: 1.1rem; height: 1.1rem; }

.site-nav__link {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.6rem 0;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-current { color: var(--text); }
.site-nav__link.is-current { color: var(--rust); }

.site-nav__cta { margin-top: 0.8rem; }

/* Drawer scrim */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav-open::after { opacity: 1; pointer-events: auto; }
.nav-open { overflow: hidden; }

/* ============================ 6. HERO ============================ */
.hero {
  /* Hero stays a dark cinematic band in BOTH themes. ALL tokens the hero
     paints with are re-scoped here so day/night theme never touches it. */
  --bg: #1d1d1b;
  --bg-panel-2: #2f2e2b;
  --text: #ffffff;
  --text-muted: #cfcfca;
  --brass: #d8d8d4;
  --rust: #d53216;
  --wine: #d53216;
  --on-accent: #ffffff;
  --border: rgba(255, 255, 255, 0.22);
  --scrim: rgba(0, 0, 0, 0.68);

  position: relative;
  isolation: isolate;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(70% 60% at 78% 8%, rgba(213, 50, 22, 0.18), transparent 72%),
    radial-gradient(90% 70% at 12% 108%, rgba(213, 50, 22, 0.12), transparent 70%),
    linear-gradient(200deg, #262523, #141412);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 44%; }
.hero__media.media--missing img { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img {
    animation: kenburns 26s ease-in-out infinite alternate;
    transform-origin: 55% 45%;
    will-change: transform;
  }
}
/* Ken Burns — zoom lento y continuo (in/out), con un paneo mínimo para que
   nunca se vea un borde. */
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(-1%, -0.8%, 0); }
  to   { transform: scale(1.2) translate3d(1%, 1%, 0); }
}

/* Warm, layered scrim — the photo is colour-graded into the house palette
   (wine + rust wash) then darkened for legibility. Works with OR without a
   photo, and stays identical in both site themes (hero tokens are scoped). */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* text-protection: strong only at the bottom, clears by mid-height */
    linear-gradient(to top, #141412 2%, rgba(20, 20, 18, 0.78) 22%, rgba(20,20,18,0.32) 46%, transparent 66%),
    /* gentle left-side lift for the headline column */
    linear-gradient(100deg, rgba(0, 0, 0, 0.52) 4%, rgba(0,0,0,0.14) 40%, transparent 66%),
    /* house-palette colour grade — warm brass top-right, wine bottom-left */
    radial-gradient(70% 60% at 84% 8%, color-mix(in srgb, var(--brass) 20%, transparent), transparent 62%),
    radial-gradient(95% 85% at 8% 108%, color-mix(in srgb, var(--wine) 26%, transparent), transparent 64%),
    color-mix(in srgb, var(--bg) 14%, transparent);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 1.3rem;
  /* Match the shared .wrap edge so the hero copy lines up with every other
     section (La casa, Celebraciones…); the readable measure is capped on the
     children instead of by centring a narrow column. */
  max-width: var(--wrap);
  padding-block: clamp(3rem, 12vh, 6rem) clamp(2.5rem, 8vh, 4rem);
}
.hero__inner > * { max-width: 44rem; }
.hero__title {
  font-size: clamp(3rem, 15vw, 6rem);
  line-height: 0.94;
}
.hero__lede {
  font-size: clamp(1.02rem, 3.4vw, 1.22rem);
  color: var(--text);
  max-width: 44ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.3rem;
}
.hero__locus {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.hero__locus::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--rust);
}

.hero__inner > * { animation: rise 0.7s var(--ease) both; }
.hero__inner > :nth-child(2) { animation-delay: 0.06s; }
.hero__inner > :nth-child(3) { animation-delay: 0.12s; }
.hero__inner > :nth-child(4) { animation-delay: 0.18s; }
.hero__inner > :nth-child(5) { animation-delay: 0.24s; }
.hero__inner > :nth-child(6) { animation-delay: 0.30s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ============================ 6. HISTORIA ============================ */
.historia__grid { display: grid; gap: clamp(1.75rem, 6vw, 3.5rem); }
.historia__pull {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 5vw, 2.3rem);
  line-height: 1.3;
  border-left: 3px solid var(--rust);
  padding-left: 1.1rem;
  margin-bottom: 1.3rem;
}
.historia__copy { display: grid; gap: 1rem; }
.historia__copy p { color: var(--text-muted); }
.historia__copy strong { color: var(--text); }

.historia__media { margin: 0; }
.historia__media .media {
  display: block;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  box-shadow: 0 34px 64px -44px var(--shadow);
}
.historia__media .media img { aspect-ratio: 4 / 5; }
.historia__figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================ 6. CARTA ============================ */
.menu-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.35rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}
.menu-filters::-webkit-scrollbar { display: none; }
.menu-filters__btn {
  flex: 0 0 auto;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-filters__btn:hover { color: var(--text); border-color: var(--brass); }
.menu-filters__btn.is-active,
.menu-filters__btn[aria-pressed="true"] {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--on-accent);
}
.menu-filters__btn--link { color: var(--brass); }

.menu-grid { display: grid; gap: 1.15rem; }

.menu-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.7rem;
  box-shadow: 0 18px 34px -30px var(--shadow);
}
.section--panel .menu-card { background: color-mix(in srgb, var(--bg) 60%, var(--bg-panel)); }
.menu-card__cat {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--rust);
  margin-bottom: 0.25rem;
}
.menu-card__title { font-size: 1.25rem; margin-bottom: 0.95rem; }
.menu-card__list { display: grid; gap: 0.6rem; }
.menu-card__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--border);
  font-size: 0.97rem;
}
.menu-card__item:last-child { border-bottom: none; padding-bottom: 0; }
.menu-card__name { display: inline-flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.menu-card__tag {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 2px;
  padding: 0.05rem 0.3rem;
}
.menu-card__price {
  font-variant-numeric: tabular-nums;
  color: var(--brass);
  white-space: nowrap;
  font-size: 0.92rem;
}
.menu-note {
  margin-top: 1.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.4rem;
}

/* ============================ 6. NEGRONIS ============================ */
/* Image left, all copy + cards right — mirrors the Bar layout. */
.negronis { background: var(--bg); }
.negronis__grid { display: grid; gap: clamp(1.75rem, 5vw, 3rem); }
.negronis__media { margin: 0; }
.negronis__media .media { display: block; aspect-ratio: 4 / 5; }
.negronis__figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.negronis__body { display: grid; gap: clamp(1.5rem, 4vw, 2.25rem); align-content: start; }

.negronis__intro { display: grid; gap: 0.7rem; }
.negronis__title { font-size: clamp(1.9rem, 5vw, 2.85rem); line-height: 1.1; }
.negronis__lede { color: var(--text-muted); max-width: 52ch; }

.negroni-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.negroni-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-top: 3px solid var(--wine);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.4rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.negroni-card__origin {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--rust);
}
.negroni-card__name { font-size: 1.05rem; line-height: 1.15; }
.negroni-card__price {
  font-family: var(--font-body);
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.negroni-card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ============================ 6. BAR ============================ */
.bar { background: var(--sea); color: var(--text); }
.bar__grid { display: grid; gap: clamp(1.75rem, 6vw, 3.5rem); }
.bar__title { font-size: clamp(1.9rem, 5vw, 2.85rem); line-height: 1.1; margin-bottom: 1rem; }
.bar__intro { color: var(--text-muted); margin-bottom: 1.6rem; }

.drink-list { display: grid; gap: 0.9rem; }
.drink-list__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.drink-list__name { display: flex; flex-direction: column; gap: 0.15rem; }
.drink-list__name > span:first-child { font-family: var(--font-head); font-size: 1.12rem; }
.drink-list__name small {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: var(--text-muted);
}
.drink-list__price {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--brass);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bar__media { margin: 0; }
.bar__media .media { display: block; aspect-ratio: 5 / 6; }
.bar__figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================ 6. EXPERIENCIAS ============================ */
/* Full-bleed photo colour-graded into the palette; text centred on top.
   Tokens are scoped dark so it stays a legible cinematic band in BOTH themes. */
.experiencias {
  --bg: #1d1d1b;
  --text: #ffffff;
  --text-muted: #d6d6d1;
  --brass: #d8d8d4;
  --rust: #d53216;
  --wine: #d53216;
  --border: rgba(255, 255, 255, 0.22);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  text-align: center;
}
.experiencias__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.experiencias__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.experiencias__bg.media--missing img { display: none; }
.experiencias__bg.media--missing { background: linear-gradient(150deg, #262523, #141412); }
.experiencias__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 88%, transparent), color-mix(in srgb, var(--bg) 80%, transparent)),
    radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--wine) 32%, transparent), transparent 70%),
    radial-gradient(60% 60% at 50% 100%, color-mix(in srgb, var(--brass) 14%, transparent), transparent 65%);
}
.experiencias__bg.media--missing::before { position: absolute; inset: 0; }

.experiencias__inner {
  position: relative;
  max-width: var(--wrap);   /* same edge as every other section */
  display: grid;
  gap: 1rem;
  justify-items: center;
}
.experiencias__inner > * { max-width: 46rem; }
.experiencias__title { font-size: clamp(1.8rem, 4.6vw, 2.5rem); line-height: 1.12; }
.experiencias__inner p { color: var(--text-muted); max-width: 52ch; }
.experiencias__inner .btn { justify-self: center; margin-top: 0.5rem; }

/* ============================ 6. EVENTOS ============================ */
.events__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.event-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  display: grid;
  gap: 0.4rem;
}
.event-card__num {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--brass);
}
.event-card__title { font-size: 1.12rem; }
.events__tagline { margin-top: clamp(1.75rem, 5vw, 3rem); text-align: center; }
.events__tagline span {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  color: var(--rust);
}

/* ============================ 6. CONTACTO ============================ */
.contact__grid { display: grid; gap: clamp(1.75rem, 6vw, 3.5rem); }
.contact__title { font-size: clamp(1.9rem, 5vw, 2.85rem); line-height: 1.1; }
.info-list { display: grid; gap: 1.15rem; margin-top: 1.5rem; }
.info-list__term {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.info-list__desc { margin: 0.2rem 0 0; font-size: 1.05rem; }
.info-list__desc a { text-decoration: none; border-bottom: 1px solid var(--border); }
.info-list__desc a:hover { border-color: var(--rust); color: var(--rust); }

.contact__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.social-row a {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.social-row a:hover { border-color: var(--rust); color: var(--rust); }

.contact__map { display: grid; align-content: stretch; min-width: 0; }
.contact__mapframe {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 18rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 34px 64px -44px var(--shadow);
}
.contact__mapframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================ 7. FOOTER ============================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  background: var(--bg);
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.site-footer__row .wordmark { color: var(--text); text-decoration: none; }

/* ============================ 8. STICKY CTA (mobile) ============================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 44;
  padding-block: 0.6rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg-panel) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(120%);
  transition: transform 0.32s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sticky-cta__label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.sticky-cta__btn { flex: 0 0 auto; }

/* ============================ 8. MEDIA — framing + fallbacks ============================ */
/* Every framed photo shares one warm tonal veil so the whole page reads as
   one palette, regardless of the source image. Kept light — elegant, not muddy. */
[data-media] { position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
[data-media] > img,
[data-media] > picture,
[data-media] > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
[data-media]:not(.hero__media):not(.experiencias__bg)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(125% 90% at 88% -6%, color-mix(in srgb, var(--brass) 13%, transparent), transparent 55%),
    linear-gradient(198deg, transparent 46%, color-mix(in srgb, var(--wood) 34%, transparent) 100%);
}

/* Framed photos: crisp warm border + soft elevation */
.historia__media .media,
.bar__media .media,
.negronis__media .media {
  border: 1px solid var(--border);
  box-shadow: 0 34px 64px -44px var(--shadow);
}
.bar__media .media img       { aspect-ratio: 5 / 6; }
.negronis__media .media img  { aspect-ratio: 4 / 5; }

[data-media].media--missing > img { display: none; }
[data-media].media--missing::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(90% 70% at 80% 10%, color-mix(in srgb, var(--brass) 12%, transparent), transparent 60%),
    linear-gradient(150deg, color-mix(in srgb, var(--wood) 82%, #000), var(--wood) 60%, color-mix(in srgb, var(--wood) 60%, var(--bg-panel)));
}
.hero__media.media--missing::before {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  min-height: 0;
}

/* ============================ 9. SCROLL REVEAL ============================ */
/* Elegant, restrained: gentle rise + fade, images also de-blur.
   Scoped to .js so no-JS visitors never get hidden content.
   JS adds .is-inview once; reduced-motion disables the whole effect. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal],
  .js [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.9s var(--ease),
      transform 0.9s var(--ease),
      filter 0.9s var(--ease);
    will-change: opacity, transform;
  }
  .js [data-reveal="media"],
  .js [data-reveal-stagger="media"] > * { filter: blur(10px); }

  .js [data-reveal].is-inview,
  .js [data-reveal-stagger].is-inview > * {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .js [data-reveal-stagger].is-inview > *  { transition-delay: 0s; }
  .js [data-reveal-stagger].is-inview > :nth-child(2)  { transition-delay: 0.07s; }
  .js [data-reveal-stagger].is-inview > :nth-child(3)  { transition-delay: 0.14s; }
  .js [data-reveal-stagger].is-inview > :nth-child(4)  { transition-delay: 0.21s; }
  .js [data-reveal-stagger].is-inview > :nth-child(5)  { transition-delay: 0.28s; }
  .js [data-reveal-stagger].is-inview > :nth-child(6)  { transition-delay: 0.35s; }
  .js [data-reveal-stagger].is-inview > :nth-child(n+7) { transition-delay: 0.42s; }
}

/* ============================ 10. CARTA PAGE (carta.html) ============================ */
/* Home "ver carta completa" button */
.carta-full-cta { margin-top: clamp(1.75rem, 5vw, 2.5rem); }

/* --- Page header --- */
.carta-hero {
  padding-block: clamp(2.5rem, 8vw, 4.5rem) clamp(1.5rem, 4vw, 2.25rem);
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}
.carta-hero__back {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.carta-hero__back:hover { color: var(--rust); }
.carta-hero__title { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.05; }
.carta-hero__intro { margin-top: 0.9rem; color: var(--text-muted); }

/* --- Sticky section nav --- */
.carta-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.carta-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 0.6rem;
}
.carta-nav__inner::-webkit-scrollbar { display: none; }
.carta-nav__group {
  flex: 0 0 auto;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  color: var(--brass);
  padding-right: 0.35rem;
}
.carta-nav__group:not(:first-child) {
  border-left: 1px solid var(--border);
  padding-left: 0.75rem;
  margin-left: 0.4rem;
}
.carta-nav__link {
  flex: 0 0 auto;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.carta-nav__link:hover { color: var(--text); border-color: var(--brass); }
.carta-nav__link.is-current {
  color: var(--on-accent);
  background: var(--rust);
  border-color: var(--rust);
}

/* --- Menu body --- */
.carta-body { padding-block: clamp(2.5rem, 7vw, 4.5rem); }

.carta-group {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  color: var(--rust);
  margin: clamp(2.5rem, 7vw, 4rem) 0 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
}
.carta-group:first-child { margin-top: 0; }

.menu-section { scroll-margin-top: calc(var(--header-h) + 4rem); margin-bottom: clamp(2.25rem, 6vw, 3.5rem); }
.menu-section__title {
  font-size: clamp(1.3rem, 3.6vw, 1.75rem);
  margin-bottom: 1rem;
}
.menu-section__sub {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brass);
  margin: 1.6rem 0 0.7rem;
}
.menu-section__note {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 62ch;
  margin-bottom: 1.1rem;
}

/* Dishes with description */
.dish-list { display: grid; gap: 1.1rem; }
.dish {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed var(--border);
}
.dish:last-child { border-bottom: none; padding-bottom: 0; }
.dish__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.dish__name {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}
.dish__ctry {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--rust);
  margin-right: 0.35rem;
}
.dish__price {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  color: var(--brass);
  white-space: nowrap;
}
.dish__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 68ch;
}
.dish__flag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 2px;
  padding: 0.05rem 0.32rem;
  vertical-align: middle;
  white-space: nowrap;
}
.dish__flag--veg { color: var(--text-muted); border-color: var(--text-muted); }

/* Bottle / plain price rows */
.bottle-list {
  display: grid;
  gap: 0.55rem 2rem;
  grid-template-columns: 1fr;
}
.bottle {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}
.bottle__name { color: var(--text); }
.bottle__price {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
  color: var(--brass);
  white-space: nowrap;
}

.wine-cols { display: grid; gap: 0 2.5rem; }

.carta-foot-note {
  margin-top: clamp(2.5rem, 7vw, 4rem);
  padding-top: clamp(1.75rem, 5vw, 2.5rem);
  border-top: 2px solid var(--border);
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.carta-foot-note .menu-note { color: var(--text-muted); font-size: 0.95rem; max-width: 62ch; }

/* ============================ RESPONSIVE ============================ */

/* ---- ≥ 30rem (480px) ---- */
@media (min-width: 30rem) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- ≥ 48rem (768px) : tablet — layouts open up, nav stays a drawer ---- */
@media (min-width: 48rem) {
  :root { --header-h: 4.75rem; }

  .sticky-cta { display: none; }  /* JS also guards, but hard stop past mobile */

  .historia__grid  { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .bar__grid       { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact__grid   { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .negroni-grid    { grid-template-columns: repeat(2, 1fr); }
  .events__grid    { grid-template-columns: repeat(4, 1fr); }

  /* Map fills the column so it ends level with the social buttons */
  .contact__grid > * { min-width: 0; }
  .contact__mapframe { aspect-ratio: auto; min-height: 100%; height: 100%; }

  /* Negronis: image left, copy + cards right (mirrors the Bar) */
  .negronis__grid  { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
  .negronis__media {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  /* Experiencias: copy left-aligned on the shared .wrap edge, vertically
     centred within the cinematic band (same treatment as every other section). */
  .experiencias {
    display: grid;
    align-content: center;
    min-height: min(78vh, 620px);
    text-align: left;
  }
  .experiencias__inner { justify-items: start; }
  .experiencias__inner p { margin-inline: 0; }
  .experiencias__inner .btn { justify-self: start; }

  /* Carta page: denser bottle lists */
  .bottle-list { grid-template-columns: repeat(2, 1fr); }
  .wine-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---- ≥ 60rem (960px) : nav goes inline, drawer retires ---- */
@media (min-width: 60rem) {
  .site-nav__toggle { display: none; }
  .site-nav__close { display: none; }
  body::after { display: none; }
  .nav-open { overflow: visible; }

  .site-nav {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.85rem, 2vw, 1.8rem);
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }
  .site-nav__link { font-size: 0.8rem; padding: 0; }
  .site-nav__cta { margin-top: 0; margin-left: 0.3rem; }
}

/* ---- ≥ 64rem (1024px) : desktop ---- */
@media (min-width: 64rem) {
  body { font-size: 1.09375rem; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }

  /* Carta page: two-column dish lists, three-column bottle lists */
  .dish-list { grid-template-columns: repeat(2, 1fr); gap: 1.1rem 2.5rem; }
  .dish { align-content: start; }
  .bottle-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---- ≥ 80rem (1280px) : ultra-wide ---- */
@media (min-width: 80rem) {
  :root { --wrap: 1240px; }
  .hero__inner > * { max-width: 46rem; }
}

/* =====================================================================
   FORMULARIO DE RESERVAS (Contact Form 7)  — hereda los tokens del sitio
   ===================================================================== */
.contact__form {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.contact__form .wpcf7-form > p { margin: 0 0 1rem; }
.contact__form label {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.contact__form label small {
  display: block;
  margin-top: 0.35rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form input[type="date"],
.contact__form input[type="number"],
.contact__form select,
.contact__form textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.contact__form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 55%, calc(100% - 0.75rem) 55%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}
.contact__form textarea { min-height: 7rem; resize: vertical; }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--rust) 30%, transparent);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--text-muted); }

/* casilla de consentimiento */
.contact__form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.contact__form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}
.contact__form .wpcf7-acceptance input { width: auto; margin: 0.15rem 0 0; accent-color: var(--rust); }

/* botón enviar — mismas medidas que .btn.btn--solid */
.contact__form .wpcf7-submit {
  width: auto;
  min-height: 2.75rem;
  margin-top: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--on-accent);
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact__form .wpcf7-submit:hover,
.contact__form .wpcf7-submit:focus-visible { background: #b3260f; border-color: #b3260f; }
.contact__form .wpcf7-submit[disabled] { opacity: 0.6; cursor: default; }

/* mensajes / validación */
.contact__form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--rust);
}
.contact__form .wpcf7-not-valid { border-color: var(--rust); }
.contact__form .wpcf7-response-output {
  margin: 1.1rem 0 0 !important;
  padding: 0.8rem 1rem !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.contact__form .wpcf7-spinner { margin: 0.6rem 0 0 0.6rem; }

/* Estructura de escritorio del formulario (grid de 6 columnas):
   fila 1  nombre · email · teléfono
   fila 2  fecha · hora · nº de personas
   fila 3  nota "grupos" (ancho completo)
   fila 4  zona · ocasión
   luego   comentarios · consentimiento · enviar   (ancho completo)
   El orden de los <p> lo fija tools/gen-forms.mjs. */
@media (min-width: 48rem) {
  .contact__form .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 1.25rem;
    row-gap: 1.1rem;
    align-items: start;
  }
  .contact__form .wpcf7-form > p { grid-column: 1 / -1; margin: 0; }
  .contact__form .wpcf7-form > p:nth-of-type(1),
  .contact__form .wpcf7-form > p:nth-of-type(2),
  .contact__form .wpcf7-form > p:nth-of-type(3),
  .contact__form .wpcf7-form > p:nth-of-type(4),
  .contact__form .wpcf7-form > p:nth-of-type(5),
  .contact__form .wpcf7-form > p:nth-of-type(6) { grid-column: span 2; }
  .contact__form .wpcf7-form > p:nth-of-type(8) { grid-column: 1 / span 3; }
  .contact__form .wpcf7-form > p:nth-of-type(9) { grid-column: 4 / span 3; }
}
.contact__form .wpcf7-form > p.cf7-note { margin: 0; }
.contact__form .wpcf7-form > p.cf7-note small {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Sección Reservas (formulario como sección propia) */
.reservas .section-head { margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
.reservas__form {
  /* ocupa todo el ancho del contenedor .wrap: el borde derecho queda
     alineado con el de la cabecera (menú + botón Reservar). */
  max-width: none;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* =====================================================================
   AJUSTES v1.1 — solo versión oscura · reservas por WhatsApp ·
   experiencias como tarjetas · footer con "Encuéntranos" · La Barra
   ===================================================================== */

/* --- Experiencias: fila [ encabezado ] [ exp 1 ] [ exp 2 ] --- */
.experiencias__row {
  position: relative;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  text-align: left;
  align-items: start;
}
.experiencias__intro { align-self: center; }
.experiencias__intro .eyebrow { color: var(--brass); }
.experiencias__intro p { color: var(--text-muted); margin-top: 0.6rem; }
@media (min-width: 62rem) {
  .experiencias__row { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
  .experiencias__intro { align-self: center; padding-right: 1rem; }
}
.experiencia-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.experiencia-card__media { display: block; aspect-ratio: 4 / 3; background: var(--wood); }
.experiencia-card__media img { width: 100%; height: 100%; object-fit: cover; }
.experiencia-card__body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.25rem 1.2rem 1.4rem; flex: 1; }
.experiencia-card__date {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--rust);
}
.experiencia-card__title { font-size: 1.2rem; line-height: 1.15; }
.experiencia-card__text { color: var(--text-muted); font-size: 0.92rem; flex: 1; }
.experiencia-card__cta { align-self: flex-start; margin-top: 0.4rem; }

/* --- Celebraciones: tarjeta con imagen (más alta), sin número. Tono más oscuro. --- */
.events--dark { background: var(--bg); }
.event-card { padding: 0; overflow: hidden; }
.event-card__media { display: block; aspect-ratio: 3 / 4; background: var(--wood); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__title { font-size: 1.08rem; padding: 1rem 1.2rem 1.25rem; }

/* --- Bar: botón a la barra completa --- */
.bar__cta { margin-top: 1.6rem; }

/* --- Reservas: texto + imagen al costado. Fondo gris claro (--bg-panel-2). --- */
.reservas__grid { display: grid; gap: clamp(1.75rem, 6vw, 3.5rem); align-items: center; }
.reservas__body { display: grid; gap: 0.6rem; }
.reservas__title { font-size: clamp(1.9rem, 5vw, 2.85rem); line-height: 1.1; margin: 0.2rem 0 0.4rem; }
.reservas__intro { color: var(--text-muted); margin-bottom: 0.6rem; }
.reservas__cta { margin-top: 0.4rem; }
.reservas__media { margin: 0; }
.reservas__media .media { display: block; aspect-ratio: 4 / 5; }
.reservas__media .media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 48rem) {
  .reservas__grid { grid-template-columns: 1.05fr 0.95fr; }
  .reservas__grid--solo { grid-template-columns: 1fr; max-width: 46rem; }
}

/* --- Encuéntranos: 2 columnas 50/50 — izquierda título + botones, derecha mapa --- */
.contact--map-only .wrap {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  grid-template-columns: 1fr;
}
.contact--map-only .contact__actions { margin: 0; }
.contact--map-only .contact__map { margin-top: 0; min-width: 0; }
.contact--map-only .contact__mapframe { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
@media (min-width: 52rem) {
  .contact--map-only .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .contact--map-only .section-head { margin-bottom: 1.6rem; }
}

/* --- Footer: 3 columnas (Encuéntranos · Horarios · Logo) + barra legal --- */
.site-footer { padding-block: 0; background: var(--bg); }
.site-footer__grid {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3rem);
  padding-block: clamp(2.25rem, 6vw, 3.5rem);
}

/* títulos de columna destacados (sin línea) */
.site-footer__heading {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
}

.site-footer__find { display: flex; flex-direction: column; }
.site-footer__addr { color: var(--text-muted); font-size: 0.95rem; max-width: 26ch; margin: 0; }
.site-footer__reserva { margin: 1.25rem 0 0; }
.site-footer__reserva .btn { min-height: 2.6rem; padding: 0.65rem 1.3rem; font-size: 0.74rem; }

.site-footer__list { display: grid; gap: 0.55rem; font-size: 0.92rem; color: var(--text-muted); }
.site-footer__list a { text-decoration: none; border-bottom: 1px solid var(--border); color: var(--text); }
.site-footer__list a:hover { color: var(--rust); border-color: var(--rust); }

.site-footer__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.site-footer__actions .btn { min-height: 2.4rem; padding: 0.5rem 1rem; font-size: 0.72rem; }

.site-footer__hours { max-width: 22rem; }

.site-footer__brand { display: grid; gap: 1.4rem; align-content: start; justify-items: start; }
.site-footer__logo { display: block; line-height: 0; }
.site-footer__logo img { width: auto; height: clamp(7.5rem, 14vw, 12rem); }
.site-footer__social { display: flex; gap: 1rem; }
.site-footer__social a {
  display: inline-flex;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-footer__social a:hover { color: var(--rust); }
.site-footer__social svg { width: 22px; height: 22px; display: block; }

.site-footer__legal {
  border-top: 1px solid var(--border);
  padding-block: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.site-footer__legal .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: space-between; }
.site-footer__legal a { color: var(--text); border-bottom: 1px solid var(--border); text-decoration: none; }
.site-footer__legal a:hover { color: var(--rust); border-color: var(--rust); }

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    column-gap: clamp(2.5rem, 8vw, 6rem);
    align-items: start;
  }
  .site-footer__brand { justify-items: end; text-align: right; }
  .site-footer__brand .site-footer__social { justify-content: flex-end; }
}
