/* =====================================================================
   CHE MARÍA · styles.css
   Un solo archivo, sin @import (carga más rápida). Buscá la sección con Ctrl+F.

   ÍNDICE
   01 Variables (colores, tipografías)   10 Menú destacado + carrusel
   02 Base                               11 Menú completo (ventana)
   03 Utilidades                         12 Contacto
   04 Pantalla de carga                  13 Pie de página
   05 Header y navegación                14 Recetas
   06 Botones                            15 Animaciones de entrada
   07 Hero (portada)                     16 Escritorio (scroll por pantallas)
   08 Secciones y paneles                17 Impresión
   09 Nosotros                           18 Movimiento reducido
   ===================================================================== */

/* 01 · VARIABLES ----------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2?v=d80df8ff5aec") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2?v=3100e775e861") format("woff2");
}
:root {
  --bg: #14100c;
  --bg-deep: #0c0907;
  --hero-fill: #1b1a1f;
  --gold: #d7a623;
  --gold-bright: #f0c44d;
  --gold-soft: #f7e2a0;
  --cream: #f7f1e6;
  --muted: #d6c6a6;
  --tomato: #d2452d;
  --panel: rgba(20, 16, 12, 0.78);
  --line: rgba(247, 226, 160, 0.2);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --r-sm: 0.875rem;
  --r-md: 1.25rem;
  --r-lg: 1.75rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 240ms;
  color-scheme: dark;
}

/* 02 · BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.5rem; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: #251602; }

/* 03 · UTILIDADES ---------------------------------------------------- */
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 4000;
  padding: 0.7rem 1rem; border-radius: 999px; background: var(--gold); color: #251602; font-weight: 600;
  transform: translateY(-200%); transition: transform var(--t) var(--ease);
}
.skip-link:focus { transform: none; }

.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 320ms var(--ease), color var(--t);
}
.link-u:hover, .link-u:focus-visible { background-size: 100% 1px; color: var(--gold-bright); }

/* 04 · PANTALLA DE CARGA --------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-content: center; justify-items: center; gap: 0.9rem;
  background: radial-gradient(circle at 50% 42%, #221a10, var(--bg-deep) 70%);
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  /* Plan B: si el JS falla, la pantalla se oculta sola a los 6 s */
  animation: loader-failsafe 0.01s 6s forwards;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader.is-instant { transition: none; }
.loader__svg { width: clamp(120px, 24vw, 160px); overflow: visible; }
.loader__svg { animation: loader-breathe 2.6s 1.8s ease-in-out infinite; }
.loader__strand {
  fill: none; stroke: var(--gold-bright); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: loader-draw 0.65s var(--ease) forwards;
}
.loader__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.02em;
  color: var(--gold-soft); opacity: 0; animation: loader-fade 0.25s 0.15s forwards;
}
@keyframes loader-draw { to { stroke-dashoffset: 0; } }
@keyframes loader-breathe { 50% { transform: scale(1.05); } }
@keyframes loader-fade { to { opacity: 1; } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* 05 · HEADER Y NAVEGACIÓN ------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem; padding-top: max(0.7rem, env(safe-area-inset-top));
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
/* fondo translúcido (en un pseudo-elemento para no romper el menú móvil) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(12, 9, 7, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity var(--t) var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }

.site-header__brand { position: relative; z-index: 2; width: 46px; opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); }
.site-header.is-brand .site-header__brand { opacity: 1; visibility: visible; }

.nav-toggle {
  position: relative; z-index: 2; width: 46px; height: 46px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 0.9rem; background: rgba(12, 9, 7, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer;
  display: grid; place-content: center; gap: 5px;
}
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* móvil: el menú es una pantalla completa */
.site-nav {
  position: fixed; inset: 0; z-index: 1; display: grid; place-content: center;
  background: rgba(10, 8, 6, 0.985);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.site-nav.is-open { opacity: 1; visibility: visible; }
.site-nav ul { display: grid; gap: 0.4rem; text-align: center; }
.site-nav a {
  display: block; padding: 0.5rem 1rem; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 9vw, 2.8rem); color: var(--cream); transition: color var(--t);
}
.site-nav a[aria-current="true"], .site-nav a:hover { color: var(--gold-bright); }
.site-nav li { opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.site-nav.is-open li { opacity: 1; transform: none; }
.site-nav.is-open li:nth-child(2) { transition-delay: 50ms; }
.site-nav.is-open li:nth-child(3) { transition-delay: 100ms; }
.site-nav.is-open li:nth-child(4) { transition-delay: 150ms; }
.site-nav.is-open li:nth-child(5) { transition-delay: 200ms; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 130; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

.to-top {
  position: fixed; right: 1rem; bottom: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); color: #251602; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t) var(--ease), visibility var(--t), background var(--t);
}
.to-top.is-visible { opacity: 0.85; visibility: visible; transform: none; }
.to-top:hover { opacity: 1; background: var(--gold-bright); }

@media (min-width: 992px) {
  .site-header { justify-content: center; padding-top: 1rem; }
  .site-header::before { display: none; }
  .site-header__brand { position: absolute; left: 1.5rem; top: 0.7rem; width: 54px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: block; background: none; opacity: 1; visibility: visible;
  }
  .site-nav ul {
    display: flex; gap: 0.25rem; padding: 0.4rem; border-radius: 999px;
    background: rgba(12, 9, 7, 0.55); border: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: background var(--t), box-shadow var(--t);
  }
  .site-header.is-scrolled .site-nav ul { background: rgba(12, 9, 7, 0.82); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
  .site-nav li { opacity: 1; transform: none; }
  .site-nav a {
    position: relative; padding: 0.6rem 1.15rem; border-radius: 999px;
    font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
    transition: background var(--t), color var(--t);
  }
  .site-nav a:hover { background: rgba(215, 166, 35, 0.14); color: var(--gold-bright); }
  .site-nav a[aria-current="true"] { background: rgba(215, 166, 35, 0.2); color: var(--gold-bright); }
}

/* 06 · BOTONES ------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform var(--t) var(--ease), background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--gold); color: #251602; }
.btn--primary::after { /* brillo suave al pasar el cursor */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn--ghost { border-color: rgba(247, 226, 160, 0.4); color: var(--cream); background: rgba(255, 255, 255, 0.03); }
.btn--sm { min-height: 42px; padding: 0.6rem 1.1rem; font-size: 0.92rem; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { background: var(--gold-bright); box-shadow: 0 10px 26px rgba(215, 166, 35, 0.3); }
  .btn--primary:hover::after { transform: translateX(120%); }
  .btn--ghost:hover { border-color: var(--gold-soft); background: rgba(247, 226, 160, 0.08); }
}

/* 07 · HERO ---------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 5.5rem 1rem 6rem; background: var(--hero-fill);
}
.hero__bg {
  position: absolute; inset: auto 0 0 0; z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 36%);
}
.hero__bg img { width: 100%; min-height: 48svh; object-fit: cover; object-position: 62% 100%; }
.hero::after { /* viñeta para que el texto siempre se lea */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(10, 8, 6, 0.6), transparent 70%);
}

.hero__inner { display: grid; justify-items: center; gap: 1.15rem; max-width: 46rem; }
.hero__logo { width: clamp(170px, 24vw, 250px); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.45)); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); text-wrap: balance; }
.hero__text { max-width: 34rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 0.4rem; }

.scroll-cue {
  position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; z-index: 2;
  display: grid; justify-items: center; gap: 0.3rem; color: var(--gold-soft); opacity: 0.75;
}
.scroll-cue::before { content: ""; width: 1px; height: 30px; background: linear-gradient(var(--gold-soft), transparent); transform-origin: 50% 0; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* 08 · SECCIONES Y PANELES ------------------------------------------- */
.section {
  position: relative; isolation: isolate; display: grid; align-items: center; overflow-x: clip;
  padding: clamp(4.5rem, 9vh, 6.5rem) 0 clamp(3rem, 6vh, 5rem);
}
.section__bg { position: absolute; inset: 0; z-index: -2; }
.section__bg img { width: 100%; height: 100%; object-fit: cover; }
.section__bg::after { content: ""; position: absolute; inset: 0; background: rgba(12, 9, 7, 0.28); }

.panel {
  padding: clamp(1.4rem, 3.4vw, 3rem); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel { background: rgba(20, 16, 12, 0.94); }
}

/* 09 · NOSOTROS ------------------------------------------------------ */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.about__media { position: relative; width: min(100%, 26rem); margin-inline: auto; }
.about__photo {
  overflow: hidden; border-radius: 999px 999px var(--r-md) var(--r-md); aspect-ratio: 4 / 5;
  border: 1px solid var(--gold); padding: 0.45rem; background: var(--bg-deep); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.about__photo picture, .map-card picture { display: block; height: 100%; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px calc(var(--r-md) - 0.4rem) calc(var(--r-md) - 0.4rem); }
.nest {
  position: absolute; right: -2%; bottom: -7%; width: 44%; padding: 0.7rem; border-radius: 50%;
  background: var(--bg-deep); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.nest svg { width: 100%; overflow: visible; }
.nest__strand {
  fill: none; stroke: var(--gold-bright); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0; /* el JS lo va completando con el scroll */
}

.about__text { display: grid; gap: 1.1rem; }
.about__text h2 { margin-bottom: 0.4rem; text-wrap: balance; }
.about__text p { max-width: 62ch; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.78; color: rgba(247, 241, 230, 0.92); }
.about__text .about__closing {
  padding-left: 1.1rem; border-left: 2px solid var(--gold); font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.4; color: var(--gold-soft);
}

@media (min-width: 992px) {
  .nest { right: -8%; }
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
  .about__text { padding: clamp(1.8rem, 3vw, 2.8rem); }
}

/* 10 · MENÚ DESTACADO + CARRUSEL ------------------------------------- */
.menu-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.menu-panel__top { display: grid; gap: 0.8rem; }
.menu-panel__intro { max-width: 46ch; color: var(--muted); font-size: 1.08rem; }
.menu-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }

.carousel { position: relative; min-width: 0; }
.carousel__track {
  display: flex; gap: 1.25rem; padding: 0.6rem 0.2rem 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.dish { flex: 0 0 78%; scroll-snap-align: start; text-align: center; }
.dish__plate {
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 196, 77, 0.45), 0 0 0 7px rgba(20, 16, 12, 0.9), 0 0 0 8px rgba(215, 166, 35, 0.35);
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform 0.35s var(--ease);
}
.dish__plate.is-tilting { will-change: transform; }
.dish__plate img { width: 100%; height: 100%; object-fit: cover; }
.dish h3 { margin-top: 1.35rem; font-size: 1.55rem; }
.dish p { margin-top: 0.3rem; padding-inline: 0.5rem; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }

.carousel__btn {
  position: absolute; top: 38%; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(12, 9, 7, 0.88); color: var(--gold-bright);
  cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform var(--t) var(--ease), opacity var(--t), background var(--t);
}
.carousel__btn--prev { left: -0.6rem; }
.carousel__btn--next { right: -0.6rem; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__btn:hover { background: #000; transform: scale(1.06); }
.carousel__dots { display: flex; justify-content: center; gap: 0.35rem; margin-top: 0.4rem; }
.carousel__dots button {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.carousel__dots button::before {
  content: ""; width: 9px; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.28);
  transition: width 0.3s var(--ease), background var(--t);
}
.carousel__dots button[aria-current="true"]::before { width: 24px; background: var(--gold-bright); }

@media (min-width: 640px) { .dish { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 992px) {
  .dish { flex-basis: calc((100% - 3.75rem) / 4); }
  .menu-panel__top { grid-template-columns: 1fr auto; align-items: end; }
}
@media (max-width: 767px) { .carousel__btn { display: none; } }

/* 11 · MENÚ COMPLETO (ventana) --------------------------------------- */
.menu-dialog {
  width: min(1100px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0;
  background: transparent; color: var(--cream); overflow: visible;
}
.menu-dialog:focus, .menu-dialog:focus-visible { outline: none; }
.menu-dialog::backdrop { background: rgba(8, 6, 4, 0.84); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.menu-dialog[open] { animation: dialog-in 0.35s var(--ease); }
.menu-dialog[open]::backdrop { animation: fade-in 0.35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }

.menu-sheet {
  position: relative; max-height: calc(100dvh - 1.5rem); overflow: auto; overscroll-behavior: contain;
  padding: clamp(1.4rem, 3.5vw, 3rem); border: 1px solid var(--gold); border-radius: var(--r-lg);
  background-color: #1a120b;
  background-image: linear-gradient(rgba(20, 14, 9, 0.82), rgba(20, 14, 9, 0.9)), url("../img/bg-menu-800.webp?v=38cd4f761d2c");
  background-image: linear-gradient(rgba(20, 14, 9, 0.82), rgba(20, 14, 9, 0.9)),
    image-set(url("../img/bg-menu-800.avif?v=c90881e29001") type("image/avif"), url("../img/bg-menu-800.webp?v=38cd4f761d2c") type("image/webp"));
  background-size: cover; background-position: center;
}
.menu-dialog__close {
  position: sticky; top: 0; z-index: 3; float: right; width: 44px; height: 44px; margin: -0.6rem -0.6rem 0 0;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(12, 9, 7, 0.92); color: var(--cream); cursor: pointer; transition: background var(--t), transform var(--t) var(--ease);
}
.menu-dialog__close:hover { background: var(--gold); color: #251602; transform: rotate(90deg); }
.menu-sheet__head { display: grid; justify-items: center; gap: 0.5rem; margin-bottom: 2rem; text-align: center; }
.menu-sheet__orn { width: 120px; color: var(--gold); }
.menu-sheet__head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.menu-grid { display: grid; gap: 2rem 1.75rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.menu-cat h3 {
  position: relative; padding-bottom: 0.7rem; margin-bottom: 0.4rem; text-align: center;
  font-size: 1.3rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-bright);
}
.menu-cat h3::after { /* filete dorado con rombo */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background:
    linear-gradient(var(--gold), var(--gold)) left center / calc(50% - 8px) 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / calc(50% - 8px) 1px no-repeat;
}
.menu-cat h3::before {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}
.menu-cat li { padding: 0.55rem 0.25rem; border-bottom: 1px dotted rgba(215, 166, 35, 0.5); line-height: 1.35; }
.menu-sheet__foot { display: grid; justify-items: center; gap: 1rem; margin-top: 2.2rem; text-align: center; color: var(--muted); }

/* 12 · CONTACTO ------------------------------------------------------ */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.contact__head { display: grid; gap: 0.6rem; }
.contact__head p { max-width: 44ch; color: var(--muted); }

.map-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line);
  aspect-ratio: 4 / 3; background: #dfe8e2;
}
.map-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.map-card__overlay {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.5rem;
  background: rgba(12, 9, 7, 0.55); font-weight: 600; opacity: 0; transition: opacity var(--t);
}
.map-card:hover .map-card__overlay, .map-card:focus-visible .map-card__overlay { opacity: 1; }
.map-card:hover img { transform: scale(1.04); }
.map-pin { width: 2.6rem; height: 2.6rem; color: var(--tomato); fill: var(--tomato); stroke: #fff; stroke-width: 1.2; animation: pin 1.8s var(--ease) infinite; }
@keyframes pin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* en pantallas táctiles no hay hover: se muestra siempre una etiqueta */
.map-card__tag {
  position: absolute; left: 0.8rem; bottom: 0.8rem; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem; border-radius: 999px; background: rgba(12, 9, 7, 0.85); font-size: 0.88rem; font-weight: 600;
}
@media (hover: hover) { .map-card__tag { display: none; } }

.contact__info { display: grid; align-content: start; gap: 0; }
.info-row { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.info-row:first-child { padding-top: 0; }
.info-row .icon { width: 1.6rem; height: 1.6rem; margin-top: 0.2rem; color: var(--gold-bright); }
.info-row h3 { margin-bottom: 0.25rem; font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--gold-soft); }
.info-row p, .info-row li { color: var(--muted); line-height: 1.6; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; }
.hours dt, .hours dd { margin: 0; color: var(--muted); }
.social { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.social a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--cream); }
.contact__cta { margin-top: 1.4rem; justify-self: start; }

@media (min-width: 992px) {
  .contact { grid-template-columns: 1.05fr 0.95fr; grid-template-areas: "head head" "map info"; gap: 2rem 3rem; align-items: start; }
  .contact__head { grid-area: head; }
  .map-card { grid-area: map; aspect-ratio: auto; height: 100%; min-height: 22rem; }
  .contact__info { grid-area: info; }
}

/* 13 · PIE DE PÁGINA ------------------------------------------------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; gap: 2rem; padding-block: 2.8rem 2rem; }
.site-footer h4 { margin-bottom: 0.7rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-bright); }
.site-footer p, .site-footer li, .site-footer a { color: var(--muted); line-height: 1.8; }
.site-footer a { transition: color var(--t); }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer__copy {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1rem; padding: 1.1rem 1rem calc(1.1rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.07); text-align: center; font-size: 0.92rem; color: var(--muted);
}
.site-footer__copy a { color: var(--gold-bright); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); text-align: center; } }

/* 14 · RECETAS ------------------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; text-align: center;
  padding: 8rem 1rem 5rem; background: var(--hero-fill); min-height: 62vh;
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 70% at 50% 45%, rgba(10, 8, 6, 0.55), transparent 70%); }
.page-hero__inner { display: grid; gap: 1rem; justify-items: center; max-width: 40rem; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
.page-hero p { color: var(--muted); font-size: 1.1rem; text-wrap: balance; }

.recipes { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.receta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start; scroll-margin-top: 5rem; }
.plate { /* foto redonda con aro dorado, la misma que usan los platos del menú */
  width: min(100%, 24rem); margin-inline: auto; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 196, 77, 0.5), 0 0 0 9px rgba(20, 16, 12, 0.9), 0 0 0 10px rgba(215, 166, 35, 0.4);
  transition: transform 0.6s var(--ease);
}
.plate img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .receta:hover .plate { transform: rotate(5deg) scale(1.02); } }

.receta__body { display: grid; gap: 1rem; }
.receta__body h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); text-wrap: balance; }
.receta__desc { max-width: 56ch; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.receta__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; }
.receta__meta li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; color: var(--cream); }
.receta__meta .icon { color: var(--gold-bright); }

.receta__detalle { border-top: 1px solid var(--line); padding-top: 0.6rem; }
.receta__detalle summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; cursor: pointer;
  font-weight: 600; color: var(--gold-soft); list-style: none; transition: color var(--t);
}
.receta__detalle summary::-webkit-details-marker { display: none; }
.receta__detalle summary:hover { color: var(--gold-bright); }
.receta__detalle summary .icon { transition: transform 0.3s var(--ease); }
.receta__detalle[open] summary .icon { transform: rotate(180deg); }
.receta__content { display: grid; gap: 1.6rem; padding: 0.6rem 0 0.4rem; animation: fade-in 0.4s var(--ease); }
.receta__content h3 { margin-bottom: 0.6rem; font-size: 1.5rem; color: var(--gold-bright); }

.checklist li { padding: 0.15rem 0; }
.checklist label { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.3rem 0; cursor: pointer; color: var(--cream); transition: color var(--t); }
.checklist input {
  appearance: none; -webkit-appearance: none; flex: none; width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0;
  border: 1.5px solid var(--gold); border-radius: 0.4rem; background: transparent; cursor: pointer; display: grid; place-content: center;
  transition: background var(--t), transform 0.2s var(--ease);
}
.checklist input::after {
  content: ""; width: 0.65rem; height: 0.35rem; border: solid #251602; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); margin-top: -0.1rem;
  transition: transform 0.2s var(--ease);
}
.checklist input:checked { background: var(--gold); }
.checklist input:checked::after { transform: rotate(-45deg) scale(1); }
.checklist input:active { transform: scale(0.88); }
.checklist label:has(input:checked) { color: rgba(247, 241, 230, 0.45); text-decoration: line-through; text-decoration-color: rgba(215, 166, 35, 0.6); }

.steps { counter-reset: paso; display: grid; gap: 0.9rem; }
.steps li { counter-increment: paso; display: grid; grid-template-columns: 2.1rem 1fr; gap: 0.8rem; line-height: 1.65; }
.steps li::before {
  content: counter(paso); width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%;
  background: rgba(215, 166, 35, 0.18); border: 1px solid var(--gold); font-weight: 600; font-size: 0.9rem; color: var(--gold-bright);
}
.receta__tip { padding: 0.9rem 1.1rem; border-left: 2px solid var(--gold); background: rgba(255, 255, 255, 0.04); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--muted); }
.recipes-cta { display: grid; justify-items: center; gap: 1rem; margin-top: 3rem; text-align: center; }
.recipes-cta p { color: var(--muted); max-width: 36ch; }

@media (min-width: 860px) {
  .receta { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; }
  .receta:nth-child(even) .plate { order: 2; }
  .receta .plate { align-self: start; position: sticky; top: 6rem; }
  .receta__content { grid-template-columns: 1fr 1.4fr; gap: 2rem; }
}

/* 15 · ANIMACIONES DE ENTRADA ---------------------------------------- */
/* Solo se ocultan si el JS está activo (clase .js en <html>): sin JS todo se ve. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* 16 · ESCRITORIO: SCROLL POR PANTALLAS (suave, nunca atrapa el contenido) */
@media (min-width: 992px) and (min-height: 720px) and (hover: hover) {
  html { scroll-snap-type: y proximity; }
  .hero, .section, .site-footer { scroll-snap-align: start; }
  .section { min-height: 100vh; min-height: 100svh; }
}

/* 17 · IMPRESIÓN (recetas) ------------------------------------------- */
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #000; }
  .site-header, .progress, .to-top, .recipes-cta, .site-footer, .loader, .skip-link, .nav-toggle { display: none !important; }
  .page-hero, .section { min-height: 0; padding: 1rem 0; background: none; }
  .section__bg { display: none; }
  .panel { background: none; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; }
  .page-hero h1, h2, h3, .receta__content h3 { color: #000; }
  .receta { break-inside: avoid; grid-template-columns: 1fr 2fr; }
  .receta__desc, .receta__meta li, .checklist label, .receta__tip { color: #000 !important; text-decoration: none !important; }
  .plate { box-shadow: none; width: 9rem; }
  .receta__detalle summary { display: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* 18 · MOVIMIENTO REDUCIDO ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .dish__plate { transform: none; }
}
