/* ==========================================================================
   Rio Viejo Cocina de Mexico — main.css
   Réplica fiel del diseño original (tema Laurent):
   - Fondo oscuro global #0f1d22 · dorado #c9ab81/#d3ad78/#c7a36f · crema #e5e0db
   - Nav y títulos: Open Sans Condensed · Display hero: Metropolis 1920 (art-decó)
   - Acentos: Pacifico · Testimonios: Mrs Saint Delafield · Cuerpo: Montserrat
   ========================================================================== */

/* ---------- Fuentes autoalojadas ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans Condensed";
  src: url("/assets/fonts/opensans-condensed-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans Condensed";
  src: url("/assets/fonts/opensans-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Pacifico";
  src: url("/assets/fonts/pacifico.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Mrs Saint Delafield";
  src: url("/assets/fonts/mrs-saint-delafield.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Metropolis 1920 — fuente art-decó de display ("MEXICAN FLAVORS") */
@font-face {
  font-family: "Metropolis1920";
  src: url("/assets/fonts/metropolis.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Caviar Dreams Bold — fuente de títulos del tema Laurent (ABOUT US, OUR BAR PACKAGES…) */
@font-face {
  font-family: "Caviar Dreams";
  src: url("/assets/fonts/caviardreams-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --c-dark: #0b1315;
  --c-dark-2: #0e181b;
  --c-panel: #13252c;
  --c-gold: #c9ab81;
  --c-gold-2: #d3ad78;
  --c-gold-3: #c7a36f;
  --c-cream: #e5e0db;
  --c-muted: #a9b0b0;
  --c-white: #ffffff;
  --font-cond: "Open Sans Condensed", "Montserrat", sans-serif;
  --font-title: "Caviar Dreams", "Open Sans Condensed", sans-serif;
  --font-display: "Metropolis1920", "Caviar Dreams", sans-serif;
  --font-script: "Pacifico", cursive;
  --font-hand: "Mrs Saint Delafield", cursive;
  --font-body: "Montserrat", sans-serif;
  --max-w: 1300px;
  --gutter: 1.25rem;
  --header-h: 92px;
  /* Margen fijo (~108px) de las líneas de marco, igual que el content-grid del tema.
     Es un valor fijo, NO en vw: en el original la línea se queda a ~108px del borde
     en cualquier ancho de pantalla (por eso "pega" junto al RV y al burger). */
  --frame-x: 6.75rem;
}

/* ---------- Base (tema oscuro global, como el original) ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #d6d2cc;
  background: var(--c-dark);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--c-gold); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--c-gold-2); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--c-cream);
  margin: 0 0 1rem;
  text-shadow: 0.5px 0 0 currentColor;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.05rem; }

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 0; left: 0;
  width: auto; height: auto; clip: auto;
  background: var(--c-gold); color: var(--c-dark);
  padding: 0.75rem 1.25rem; z-index: 999;
}

/* ---------- Retícula vertical (líneas de marco, como eltdf double-grid-line) ---------- */
.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
/* Líneas de marco exteriores a margen fijo (~108px), como en el original.
   El header y el botón "subir" se alinean a esta misma variable --frame-x. */
.grid-lines::before,
.grid-lines::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(229, 224, 219, 0.13);
}
.grid-lines::before { left: var(--frame-x); }
.grid-lines::after { right: var(--frame-x); }
/* Líneas de columnas internas (5 columnas entre las líneas de marco) */
.grid-lines-cols {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--frame-x);
  right: var(--frame-x);
  background-image:
    linear-gradient(rgba(229, 224, 219, 0.055), rgba(229, 224, 219, 0.055)),
    linear-gradient(rgba(229, 224, 219, 0.055), rgba(229, 224, 219, 0.055)),
    linear-gradient(rgba(229, 224, 219, 0.055), rgba(229, 224, 219, 0.055)),
    linear-gradient(rgba(229, 224, 219, 0.055), rgba(229, 224, 219, 0.055));
  background-repeat: no-repeat;
  background-size: 1px 100%;
  background-position: 20% 0, 40% 0, 60% 0, 80% 0;
}
@media (max-width: 767px) {
  .grid-lines { display: none; }
}

/* ---------- Acentos ---------- */
.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--c-gold-3);
  font-size: 1.5rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 0.4rem;
}

/* Título con ornamentos decorativos a los lados (como el original) */
.ornamented {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}
.ornamented::before,
.ornamented::after {
  content: "";
  flex: 0 0 auto;
  width: 42px;
  height: 10px;
  opacity: 0.9;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 10'%3E%3Cg fill='none' stroke='%23c9ab81' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 5 L10.5 1 L21 5 L31.5 1 L42 5'/%3E%3Cpath d='M0 5 L10.5 9 L21 5 L31.5 9 L42 5'/%3E%3C/g%3E%3C/svg%3E");
}
.ornamented::after { transform: scaleX(-1); }

/* ---------- Botones (Open Sans Condensed, como el original) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.85rem 2rem 0.75rem;
  border: 1px solid rgba(229, 224, 219, 0.8);
  color: var(--c-cream);
  background: transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-dark); }
.btn-gold { background: var(--c-gold); color: var(--c-dark); }
.btn-gold:hover { background: transparent; color: var(--c-gold); }
.btn-outline { background: transparent; }
.btn-sm { padding: 0.55rem 1.2rem 0.45rem; font-size: 0.66rem; }

/* Enlace tipo "READ MORE" con subrayado */
.link-underline {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-cream);
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 0.3rem;
}
.link-underline:hover { color: var(--c-gold); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(229, 224, 219, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  position: fixed;
  background: var(--c-dark);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.header-inner {
  max-width: 100%;
  margin: 0;
  min-height: var(--header-h);
  /* Padding horizontal fijo: el logo (izq) y el burger (der) quedan en el margen
     exterior, con la línea de marco (--frame-x, ~108px) justo por dentro de ellos. */
  padding: 0.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.site-logo { justify-self: start; line-height: 0; }
.site-logo img { width: 58px; height: 58px; }
.site-nav { justify-self: center; }
.site-nav ul {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  font-family: var(--font-cond);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-cream);
  padding: 0.7rem 0;
}
/* Doble subrayado dorado en hover / página activa (estilo Laurent) */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  border-top: 1px solid var(--c-gold);
  border-bottom: 1px solid var(--c-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.site-nav a:hover { color: var(--c-gold); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Botón hamburguesa (abre menú lateral) */
.side-toggle {
  justify-self: end;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.side-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--c-cream);
  margin: 7px 0;
  transition: transform 0.25s, opacity 0.25s, background 0.25s;
}
.side-toggle:hover span { background: var(--c-gold); }

/* ---------- Menú lateral ---------- */
.side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.side-overlay.open { opacity: 1; }
.side-area {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 85vw);
  height: 100%;
  background: var(--c-dark-2);
  border-left: 1px solid rgba(201, 171, 129, 0.3);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 2.5rem 2rem;
  overflow-y: auto;
  text-align: center;
}
.side-area.open { transform: translateX(0); }
.side-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: none; border: 0;
  color: var(--c-gold);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.side-logo { width: 72px; height: 72px; margin: 0 auto 1.5rem; }
.side-area nav ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.side-area nav a {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--c-cream);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201, 171, 129, 0.15);
}
.side-area nav a:hover { color: var(--c-gold); }
.side-contact { color: var(--c-muted); font-size: 0.85rem; }
.side-contact a { color: var(--c-gold); }
.side-social { display: flex; gap: 1rem; justify-content: center; margin-top: 0.5rem; }
body.side-open { overflow: hidden; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  z-index: 4;
}
.section-inner.narrow { max-width: 640px; }
.center { text-align: center; }
.mt { margin-top: 1.5rem; }
.section-title { color: var(--c-gold); }
.section-text { max-width: 560px; margin: 1.25rem auto 1.75rem; }

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 767px) { .cols-2 { grid-template-columns: 1fr; } }
.col-images { display: grid; gap: 1.25rem; }

/* ---------- Hero (portada, video de fondo) ---------- */
.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 21, 0.5), rgba(11, 19, 21, 0.75));
}
.hero-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero-video .hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  text-align: center;
}
.hero-text { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }
/* "-Worcester, MA-" usa Josefin Sans 300 (no Pacifico), como el original */
.hero-video .script-accent {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  letter-spacing: 0.12em;
  color: var(--c-cream);
}
.hero-display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--c-gold);
  text-transform: uppercase;
  font-size: clamp(2.7rem, 9.5vw, 7.2rem);
  line-height: 1;
  letter-spacing: 0.1em;
  margin: 0.6rem 0 1rem;
  white-space: nowrap;
}
.hero-sub {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--c-cream);
  margin-bottom: 2.2rem;
}
/* Botones apilados verticalmente, como el original */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.hero-ctas .btn { min-width: 175px; }

/* Animación de entrada del hero (imita la entrada del slider original) */
.hero-text > * {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.9s ease forwards;
}
.hero-text > *:nth-child(1) { animation-delay: 0.2s; }
.hero-text > *:nth-child(2) { animation-delay: 0.45s; }
.hero-text > *:nth-child(3) { animation-delay: 0.7s; }
.hero-text > *:nth-child(4) { animation-delay: 0.95s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* Flechas y línea del slider */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  color: rgba(229, 224, 219, 0.65);
  font-size: 2.4rem;
  line-height: 1;
  user-select: none;
}
.hero-arrow-left { left: 2.2rem; }
.hero-arrow-right { right: 2.2rem; }
.hero-dot {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 1px;
  height: 26px;
  background: rgba(229, 224, 219, 0.55);
}
@media (max-width: 600px) {
  .hero-arrow { display: none; }
  .hero-display { white-space: normal; }
}

/* ---------- Banda de dirección con pin (bajo el hero) ---------- */
.address-banner { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.address-banner .pin {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.9rem;
  color: var(--c-gold);
}
.address-banner p {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0;
}

/* ---------- About: 3 columnas con patrón de rombos ---------- */
.about-media {
  display: grid;
  grid-template-columns: 1fr 0.55fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  max-width: 980px;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .about-media { grid-template-columns: 1fr; }
  .lattice { display: none; }
}
/* Patrón de rombos dorados (elemento decorativo animado) */
.lattice {
  align-self: center;
  width: 100%;
  aspect-ratio: 289 / 543;
  opacity: 1;
  transform-origin: center;
}
.lattice svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lattice .lattice-path {
  stroke-dasharray: 12000;
  stroke-dashoffset: 12000;
}
.lattice.is-visible .lattice-path {
  animation: lattice-draw 3.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}
@keyframes lattice-draw {
  to { stroke-dashoffset: 0; }
}

/* ---------- Animaciones de aparición (equivalente a eltdf-appear) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .lattice { opacity: 1 !important; transform: none !important; transition: none !important; }
  .lattice .lattice-path { stroke-dashoffset: 0 !important; animation: none !important; }
  .hero-text > * { opacity: 1; transform: none; animation: none; }
}

/* ---------- Slider de testimonios ---------- */
.t-slider {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
}
@media (max-width: 860px) { .t-slider { grid-template-columns: 1fr; } }
.t-panel {
  position: relative;
  background: var(--c-panel);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 6vw, 4.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.t-quote {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--c-gold);
  line-height: 0.5;
  margin-bottom: 1rem;
}
.t-slide { display: none; }
.t-slide.active { display: block; animation: tFade 0.6s ease; }
@keyframes tFade { from { opacity: 0; } to { opacity: 1; } }
.t-stars { color: var(--c-gold); letter-spacing: 0.35em; margin: 0 0 1rem; }
.t-text {
  font-family: "Miniver", var(--font-hand), cursive;
  font-size: clamp(1.15rem, 2.0vw, 1.5rem);

  line-height: 1.6;
  color: var(--c-cream);
  margin: 0 0 1.5rem;
}
.t-author {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-cream);
  margin: 0;
}
.t-role { font-size: 0.8rem; color: var(--c-muted); margin: 0.2rem 0 0; }
.t-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: rgba(229, 224, 219, 0.6);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 5;
}
.t-arrow:hover { color: var(--c-gold); }
.t-prev { left: 0.75rem; }
.t-next { right: 0.75rem; }
.t-pagination {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  margin-top: 2rem;
}
.t-pagination button {
  background: none;
  border: 0;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  cursor: pointer;
  padding: 0 0 0.35rem;
  border-bottom: 2px solid transparent;
}
.t-pagination button.active {
  color: var(--c-cream);
  border-bottom-color: var(--c-gold);
}
.t-photo { min-height: 320px; }
.t-photo picture, .t-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Menú (items nombre——precio) ---------- */
.menu-items { list-style: none; margin: 0; padding: 0; text-align: left; }
.menu-item { margin-bottom: 1.4rem; }
.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.menu-item-name {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--c-gold);
}
.menu-item-dots {
  flex: 1;
  border-bottom: 1px solid rgba(201, 171, 129, 0.35);
  transform: translateY(-4px);
  min-width: 1.5rem;
}
.menu-item-price {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-cream);
  white-space: nowrap;
}
.menu-item-desc {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--c-muted);
}
.menu-item-sizes {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--c-muted);
}
.diet-tag {
  font-size: 0.6rem;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  padding: 0.05rem 0.3rem;
  vertical-align: 2px;
  text-decoration: none;
  cursor: help;
}

/* grid de 2 columnas para items del home */
.menu-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2.5rem, 6vw, 5rem);
  max-width: 980px;
  margin: 2.5rem auto 1.5rem;
}
@media (max-width: 767px) { .menu-grid-2 { grid-template-columns: 1fr; } }

/* ---------- Página de menú completa ---------- */
.menu-layout { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.menu-group-title {
  text-align: center;
  margin: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  color: var(--c-gold);
}
.menu-group-title .script-accent { font-size: 1.7rem; }
.menu-columns {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 860px) { .menu-columns { columns: 1; } }
.menu-category {
  break-inside: avoid;
  margin-bottom: 2.5rem;
}
.menu-category-title {
  border: 1px solid rgba(201, 171, 129, 0.5);
  background: var(--c-panel);
  color: var(--c-gold);
  text-align: center;
  padding: 0.7rem 1rem 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
}
.menu-category-note {
  font-style: italic;
  text-align: center;
  font-size: 0.88rem;
  color: var(--c-muted);
}
.menu-notices { font-size: 0.9rem; color: var(--c-gold-2); }
.menu-jump { margin-top: 1.25rem; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.menu-jump a {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--c-cream);
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 0.2rem;
}
.menu-jump a:hover { color: var(--c-gold); }
.menu-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
}
@media (max-width: 767px) { .menu-photo-strip { grid-template-columns: repeat(2, 1fr); } }
.menu-fine-print {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(229, 224, 219, 0.15);
  font-size: 0.8rem;
  color: var(--c-muted);
}

/* ---------- Página hero (interiores) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(229, 224, 219, 0.08);
}
.page-hero .section-title { margin-bottom: 0.5rem; }

/* ---------- Galería ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.gallery-grid-lg img { aspect-ratio: 4 / 3; }

/* Foto ancha a todo lo largo */
.wide-photo { padding: 0; }
.wide-photo img { width: 100%; height: clamp(200px, 30vw, 380px); object-fit: cover; }

/* ---------- Catering ---------- */
/* Hero con foto de fondo y marco dorado fino */
.catering-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 171, 129, 0.5);
}
.catering-hero .hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.catering-hero .hero-bg-img img,
.catering-hero .hero-bg-img picture {
  width: 100%; height: 100%;
  object-fit: cover;
}
.catering-hero .hero-bg-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 21, 0.58);
}
.catering-hero .section-inner { z-index: 4; width: 100%; }
.catering-hero h1 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.45em;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.5;
  margin: 0.4rem 0 1.2rem;
}
.catering-hero .hero-sub {
  font-weight: 700;
  color: var(--c-white);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* Tarjetas de features con ícono de línea dorada (sin bordes, como el original) */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
  align-items: start;
}
@media (max-width: 860px) { .feature-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-cards { grid-template-columns: 1fr; } }
.feature-card { text-align: center; }
/* Todos los íconos ocupan la misma caja (60px alto) → base alineada entre columnas */
.feature-card img {
  height: 60px;
  width: auto;
  margin: 0 auto 1.6rem;
  object-fit: contain;
}
/* min-height = 2 líneas → los títulos de 1 y 2 líneas alinean su descripción */
.feature-card h3 {
  color: var(--c-gold);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  line-height: 1.55;
  min-height: 3.1em;
  margin-bottom: 0.7rem;
}
.feature-card p { font-size: 0.88rem; margin: 0; }

/* Sección de paquete: texto + collage de flyers con patrón de rombos detrás */
.package-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) { .package-row { grid-template-columns: 1fr; } }
.package-row.flip > .package-text { order: 2; }
.package-row.flip > .package-media { order: 1; }
@media (max-width: 860px) {
  .package-row.flip > .package-text { order: 1; }
  .package-row.flip > .package-media { order: 2; }
}
.package-text .section-title {
  letter-spacing: 0.45em;
  line-height: 1.55;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}
.package-text p {
  font-size: 1rem;
  color: #d6d2cc;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.package-text .lead-gold { color: var(--c-cream); }
.package-text .btn { margin-top: 1rem; }
.package-media {
  position: relative;
  padding: 3rem 3.5rem 3.5rem 0;
}
/* Patrón geométrico art-deco (lattice) detrás del collage, exacto del original.
   Se "abre" (fade + escala) al entrar en vista, como la animación eltdf-appear. */
.package-media::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 2%;
  width: min(78%, 380px);
  aspect-ratio: 401 / 399;
  transform: translateY(-50%) scale(0.82);
  background: url("/assets/img/pattern-home-large.svg?v=1") no-repeat center / contain;
  opacity: 0;
  transition: opacity 1.1s ease 0.15s, transform 1.1s ease 0.15s;
  z-index: 0;
}
.package-media.is-visible::before {
  opacity: 0.55;
  transform: translateY(-50%) scale(1);
}
.package-media .flyer-back {
  position: absolute;
  top: 0;
  right: 14%;
  width: 66%;
  z-index: 1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.package-media .flyer-front {
  position: relative;
  margin-top: 3.5rem;
  width: 68%;
  z-index: 2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

/* Divisor horizontal dorado entre secciones */
.gold-divider {
  border: 0;
  height: 1px;
  background: rgba(201, 171, 129, 0.5);
  margin: 0;
}

/* Call us + mapa */
.map-embed {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: saturate(0.9);
}
.social-icons-row {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.social-icons-row a { color: var(--c-gold); line-height: 0; }
.social-icons-row svg { width: 17px; height: 17px; }

/* ---------- Formulario VIP ---------- */
.vip-form label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-cream);
  margin: 1.1rem 0 0.35rem;
}
.vip-form input,
.vip-form textarea {
  width: 100%;
  font: inherit;
  color: var(--c-cream);
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(201, 171, 129, 0.4);
  background: var(--c-panel);
}
.vip-form input:focus,
.vip-form textarea:focus {
  outline: 2px solid var(--c-gold);
  outline-offset: 1px;
}
.vip-form button { margin-top: 1.5rem; }
.form-status { min-height: 1.5rem; font-size: 0.9rem; margin-top: 0.75rem; }
.form-status.ok { color: #7fc98a; }
.form-status.error { color: #e08a84; }
.contact-info .footer-heading { margin-top: 1.5rem; }

/* ---------- Página About / Meet the Chef ---------- */
.about-chef {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}
.about-chef-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .about-chef-grid { grid-template-columns: 1fr; }
  .about-chef .deco-diamond { max-width: 240px; margin: 0 auto; }
}
.about-chef-text p:not(.script-accent) {
  font-size: 0.92rem;
  max-width: 420px;
  margin: 1.25rem auto 0;
}
.about-chef-photo img { width: 100%; height: auto; }

/* Ilustración decorativa art-decó (SVG exacto del sitio original) */
.deco-diamond {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}
.deco-diamond.reveal { transform: scale(0.85); }
.deco-diamond.reveal.is-visible { opacity: 0.9; transform: none; }
.deco-diamond img { width: 100%; max-width: 300px; height: auto; }

/* ---------- Book a table ---------- */
.book-phone a {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  letter-spacing: 0.3em;
  color: var(--c-gold);
}

/* ---------- Footer (centrado, como el original) ---------- */
.site-footer {
  position: relative;
  background: var(--c-dark-2);
  border-top: 1px solid rgba(229, 224, 219, 0.08);
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 0;
}
.footer-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  z-index: 4;
}
.footer-logo { width: 190px; margin: 0 auto 1.75rem; }
.footer-inner p { margin: 0.45rem 0; font-size: 0.9rem; }
.footer-heading {
  color: var(--c-gold);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  margin: 1.5rem 0 0.5rem;
}
.site-footer a { color: var(--c-cream); }
.site-footer a:hover { color: var(--c-gold); }
.footer-social {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  margin: 1.4rem 0 0;
}
.footer-social a { color: var(--c-gold); line-height: 0; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(229, 224, 219, 0.08);
  padding: 1.2rem 0;
  font-size: 0.78rem;
  color: var(--c-muted);
}

/* ---------- Botón subir (scroll-to-top, SVG doble círculo del original) ---------- */
.to-top {
  position: fixed;
  /* Centrado en el canal derecho (entre la línea de marco y el borde), para que
     la línea vertical lo encuadre por la izquierda como en el original. */
  right: 2rem;
  bottom: 1.7rem;
  z-index: 150;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { display: block; width: 43px; height: 43px; }
.to-top svg circle,
.to-top svg polyline { stroke-width: 1.4; }
/* Animación original (Elated): el círculo interior se "dibuja" al pasar el mouse.
   r=16.049 → circunferencia ≈ 101; oculto por defecto (dashoffset 101) → 0 en hover. */
.to-top .popout {
  stroke-dasharray: 101;
  stroke-dashoffset: 101;
  stroke-linecap: butt;
  stroke-linejoin: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.7s ease;
}
.to-top:hover .popout { stroke-dashoffset: 0; }
