/* ==========================================================================
   TUGA · Cocina tradicional de autor
   Paleta clara: blanco cal, arena de albero, tinta y oro de oloroso.
   ========================================================================== */

:root {
  /* Paleta */
  --bg: #faf8f4;          /* cal */
  --bg-alt: #f2ece2;      /* albero claro */
  --surface: #ffffff;
  --ink: #1c1814;         /* tinta */
  --ink-soft: #3a3129;
  --gold: #a67c3d;        /* oloroso: acentos y textos pequeños */
  --gold-soft: #a67c3d;   /* cursivas de los titulares */
  --gold-light: #c9a160;  /* decorativo */

  --fg: #1c1814;
  --fg-dim: rgba(28, 24, 20, 0.66);
  --fg-faint: rgba(28, 24, 20, 0.44);
  --line: rgba(28, 24, 20, 0.1);
  --line-strong: rgba(28, 24, 20, 0.22);
  --tint: rgba(28, 24, 20, 0.035);

  /* Alias usados por los módulos */
  --text: var(--fg);
  --text-dim: var(--fg-dim);
  --text-faint: var(--fg-faint);
  --hair: var(--line);
  --hair-ink: var(--line);
  --ink-text: var(--fg);
  --ink-dim: var(--fg-dim);
  --ink-2: var(--surface);
  --ink-3: var(--bg-alt);
  --paper: var(--surface);
  --cream: var(--bg);
  --cream-2: var(--bg-alt);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Franklin Gothic", "ITC Franklin Gothic", Arial, sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 5vw, 96px);
  --wrap: 1760px;
  --radius: 28px;
  --section: clamp(96px, 13vw, 176px);
  --shadow: 0 30px 60px -36px rgba(60, 40, 20, 0.28);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
address { font-style: normal; }
::selection { background: var(--ink); color: var(--bg); }

:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nowrap { white-space: nowrap; }
.muted { color: var(--fg-faint); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Grano de papel (fijo, nunca sobre contenido que hace scroll) */
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Tipografía
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--ink,
.section--cream .eyebrow--ink { color: var(--gold); }

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:has(.btn__icon) { padding-right: 8px; }

.btn__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.6s var(--ease);
}
.btn__icon svg,
.round svg,
.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.05); }

/* Principal: tinta */
.btn--gold,
.btn--ink { --btn-bg: var(--ink); color: var(--bg); }
.btn--gold:hover,
.btn--ink:hover { --btn-bg: var(--ink-soft); box-shadow: 0 16px 36px -18px rgba(28, 24, 20, 0.55); }

/* Secundario: contorno */
.btn--ghost,
.btn--ghost-ink { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover,
.btn--ghost-ink:hover { box-shadow: inset 0 0 0 1px var(--fg); }

.btn--sm { padding: 10px 20px; font-size: 14px; }

.round {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--fg);
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.round:hover { background: var(--ink); color: var(--bg); box-shadow: none; }
.round:active { transform: scale(0.95); }
.round--sm { width: 42px; height: 42px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.4s var(--ease);
}
.link-arrow:hover { color: var(--gold); }
.link-arrow svg { transition: transform 0.5s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   Marcos de doble bisel
   -------------------------------------------------------------------------- */
.bezel {
  padding: 8px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.bezel__core {
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  background: var(--bg-alt);
}
.bezel__core img { width: 100%; height: 100%; object-fit: cover; }
.bezel--light { background: var(--surface); }

/* --------------------------------------------------------------------------
   Navegación (isla flotante)
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -30px rgba(60, 40, 20, 0.35);
  transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.nav.is-scrolled .nav__pill { background: rgba(255, 255, 255, 0.88); }
.nav__brand { display: block; }
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 2px; margin: 0 14px 0 22px; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--fg); background: var(--tint); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.4px;
  background: var(--fg);
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: 120px var(--gutter) 48px;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a,
.menu__foot {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
  transition-delay: calc(var(--i) * 60ms + 80ms);
}
.menu__links a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  line-height: 1.15;
  text-decoration: none;
}
.menu.is-open .menu__links a,
.menu.is-open .menu__foot { transform: none; opacity: 1; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.menu__tel { color: var(--fg-dim); text-decoration: none; }

/* --------------------------------------------------------------------------
   Intro (telón de entrada)
   -------------------------------------------------------------------------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  pointer-events: none;
}
.intro[hidden] { display: none; }
.intro__inner { position: relative; display: grid; place-items: center; }
/* La tortuga hace de carga: la silueta apagada se va llenando de oro de abajo arriba */
.intro__turtle { position: relative; width: clamp(72px, 8vw, 104px); }
.intro__turtle img { display: block; width: 100%; height: auto; }
.intro__turtle-base { opacity: 0.16; }
.intro__turtle-fill { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
/* El porcentaje cuelga debajo sin mover la tortuga del centro exacto */
.intro__pct {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  margin: 26px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  font-variant-numeric: tabular-nums;
  color: rgba(250, 248, 244, 0.6);
  white-space: nowrap;
}
.no-js .intro, .intro.is-done { display: none; }

/* --------------------------------------------------------------------------
   Hero: el logo como protagonista
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 104px 0 32px;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.hero__center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__eyebrow { margin-bottom: clamp(20px, 3vw, 36px); }
.hero__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.hero__logo {
  position: relative;
  /* limitado por ancho y por alto: siempre cabe todo en la primera pantalla */
  width: clamp(220px, min(42vw, 42svh), 620px);
  margin: 0;
  color: var(--ink);
  line-height: 0;
}
.hero__logo .logo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero__logo .lg { transform-box: fill-box; transform-origin: 50% 100%; }
.hero__turtle {
  position: absolute;
  top: 9%;
  right: -12%;
  width: 20%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(120, 80, 30, 0.25));
}
.hero__claim {
  margin: clamp(26px, 3.4vw, 44px) 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.hero__claim em { display: block; font-style: italic; color: var(--gold); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 3.4vw, 44px); }

.hero__foot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(28px, 5vh, 64px);
}
.hero__proof {
  --proof-pad: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  margin: 0 0 0 calc(-1 * var(--proof-pad) - 3px);
  padding: 0 0 0 2px;
  list-style: none;
  clip-path: inset(0 0 0 3px);
}
.hero__proof li {
  display: flex;
  flex-direction: column;
  padding: 0 var(--proof-pad);
  border-left: 1px solid var(--line);
}
.hero__proof strong { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.hero__proof span { font-size: 12px; color: var(--fg-faint); letter-spacing: 0.02em; }
.hero__proof .star { color: var(--gold); font-size: 14px; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.hero__scroll span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: var(--fg-dim);
  white-space: nowrap;
}
.marquee i {
  width: 22px;
  height: 22px;
  background: url("../img/tortuga.png") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section--deep { background: var(--bg-alt); }
.section--cream { background: var(--surface); }
.section p { color: var(--fg-dim); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}
.section__head .display { max-width: 14em; }

/* La casa */
.casa {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
  margin-bottom: clamp(72px, 9vw, 128px);
}
.casa .display { max-width: 13em; }
.casa__body p { margin: 0 0 18px; font-size: 18px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pillar { padding-top: 28px; border-top: 1px solid var(--line); }
.pillar__n { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); }
.pillar h3 { margin: 14px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.01em; }
.pillar p { margin: 0; font-size: 16px; }

/* Banda de imagen (mantiene texto claro sobre la foto) */
.band { position: relative; height: clamp(320px, 52vw, 640px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0) 30%, rgba(20, 16, 13, 0.78) 100%),
              linear-gradient(90deg, rgba(20, 16, 13, 0.55), rgba(20, 16, 13, 0) 55%);
}
.band__quote {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(28px, 5vw, 64px);
  z-index: 1;
  margin: 0;
  max-width: 12em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: #faf8f4;
}
@media (min-width: 1320px) {
  .band__quote { left: calc((100vw - 1320px) / 2 + var(--gutter)); }
}

/* Carta: lista */
.menu-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(80px, 10vw, 140px);
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.menu-list__title { margin: 0 0 28px; font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.menu-list dl { margin: 0; }
.menu-list dt { font-family: var(--serif); font-size: 1.22rem; font-weight: 400; }
.menu-list dd { margin: 4px 0 26px; color: var(--fg-dim); font-size: 15px; line-height: 1.55; }
.menu-note { margin-top: 12px; padding: 24px; border-radius: 20px; background: var(--bg-alt); }
.menu-note p { margin: 0 0 10px; font-size: 15px; }
.menu-note p:last-child { margin: 0; }
.menu-note strong { color: var(--fg); font-weight: 500; }

/* Chef */
.chef {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.chef__photo img { filter: grayscale(1) contrast(1.05); }
.chef__photo figcaption,
.bodega__photo figcaption { margin-top: 14px; font-size: 12px; letter-spacing: 0.06em; color: var(--fg-faint); }
.chef__copy .display { margin-bottom: 32px; }
.chef__copy > p:not(.eyebrow):not(.chef__motto) { margin: 0 0 32px; font-size: 18px; }
.chef__story {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin: 0 0 36px;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.chef__story img { width: 52px; flex-shrink: 0; }
.chef__story p { margin: 0; font-size: 16px; }
.chef__story strong { display: block; margin-bottom: 4px; color: var(--fg); font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.chef__motto { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--gold) !important; }

/* Bodega */
.bodega {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.bodega__copy .display { margin-bottom: 32px; max-width: 12em; }
.bodega__copy > p:not(.eyebrow) { margin: 0 0 48px; font-size: 18px; max-width: 34em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.stats div { padding-top: 22px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; }
.stats dd { margin: 10px 0 0; font-size: 14px; color: var(--fg-dim); }
.bodega__photo .bezel__core { aspect-ratio: 3 / 4; }
.bodega__photo figcaption { font-style: italic; font-family: var(--serif); font-size: 15px; letter-spacing: 0; }

/* Galería bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(110px, 11vw, 160px);
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: 64px;
}
.bento figure { overflow: hidden; border-radius: 22px; background: var(--bg-alt); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento figure:hover img { transform: scale(1.04); }
.bento__a { grid-column: 1 / span 5; grid-row: 1 / span 4; }
.bento__b { grid-column: 6 / span 4; grid-row: 1 / span 2; }
.bento__c { grid-column: 10 / span 3; grid-row: 1 / span 4; }
.bento__d { grid-column: 6 / span 4; grid-row: 3 / span 2; }
.bento__e { grid-column: 1 / span 6; grid-row: 5 / span 3; }
.bento__f { grid-column: 7 / span 6; grid-row: 5 / span 3; }
.bento__a img { object-position: 50% 80%; }
.bento__e img { object-position: 50% 40%; }
.bento__f img { object-position: 50% 45%; }

/* Reconocimientos */

/* Reservas */
.reserve {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.reserve__copy { position: sticky; top: 120px; }
.reserve__copy .display { margin-bottom: 28px; }
.reserve__copy > p:not(.eyebrow) { margin: 0 0 40px; font-size: 18px; max-width: 28em; }
.reserve__info { margin: 0 0 40px; padding: 0; list-style: none; }
.reserve__info li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--fg-dim);
}
.reserve__info li:last-child { border-bottom: 1px solid var(--line); }
.reserve__info span { color: var(--gold); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; padding-top: 3px; }

/* Visítanos */
.visit { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); }
.visit__copy .display { margin-bottom: 32px; }
.visit address { margin-bottom: 40px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }
.hours { width: 100%; margin-bottom: 40px; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 300; color: var(--fg-dim); }
.hours th { width: 34%; font-weight: 400; color: var(--fg); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold); }
.hours tr.is-today th::after { content: " · hoy"; font-style: italic; font-family: var(--serif); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.visit__extras { margin: 0; font-size: 13px; letter-spacing: 0.04em; }
.visit__media { display: grid; gap: 16px; align-content: start; }
.visit__media .bezel__core { aspect-ratio: 1074 / 920; }
.map { overflow: hidden; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 16 / 9; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(0.12) contrast(0.95); }

/* Pie */
.footer { padding: 96px 0 40px; background: var(--bg-alt); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; padding-bottom: 64px; }
.footer__brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer__brand p { margin: 0; font-family: var(--serif); font-style: italic; color: var(--fg-dim); font-size: 1.1rem; line-height: 1.5; }
.footer h3 { margin: 0 0 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.footer p { margin: 0 0 8px; font-size: 15px; color: var(--fg-dim); }
.footer a { text-decoration: none; transition: color 0.4s var(--ease); }
.footer a:hover { color: var(--gold); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__legal p { margin: 0; font-size: 13px; color: var(--fg-faint); }
.footer__legal { align-items: center; }

/* Crédito de la agencia: "Web creada por" + logo de Oblimi, enlaza a oblimitech.com */
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-faint);
}
.footer__credit img {
  height: 22px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.footer__credit:hover img { opacity: 1; transform: translateY(-2px); }

/* Modal */
.modal {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -40px rgba(40, 28, 16, 0.45);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), overlay 0.5s allow-discrete, display 0.5s allow-discrete;
}
.modal[open] { opacity: 1; transform: none; }
@starting-style { .modal[open] { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal::backdrop { background: rgba(28, 24, 20, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal__box { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); padding: 8px; }
.modal__head { display: flex; align-items: center; gap: 14px; padding: 10px 10px 14px 16px; }
.modal__head img { height: 28px; width: auto; }
.modal__head p { flex: 1; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--fg-dim); }
.modal__body { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }

/* --------------------------------------------------------------------------
   Aparición al hacer scroll
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee__track, .hero__scroll span { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__pill { gap: 10px; padding-left: 20px; }
  .nav__brand { margin-right: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .casa, .chef, .bodega, .reserve, .visit { grid-template-columns: minmax(0, 1fr); }
  .menu-list, .pillars { grid-template-columns: minmax(0, 1fr); }
  .reserve__copy { position: static; }
  .bodega__photo { max-width: 520px; }
  .hero__foot { flex-direction: column; align-items: center; }
  .hero__proof { justify-content: center; }
  .hero__scroll { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav { top: 12px; }
  .nav__pill { width: 100%; justify-content: space-between; }
  .hero { padding-top: 110px; }
  .hero__logo { width: min(72vw, 400px); }
  .hero__proof { --proof-pad: 16px; }
  .hero__proof strong { font-size: 16px; }
  .hero__proof span { font-size: 11px; }
  .section__head { align-items: flex-start; flex-direction: column; margin-bottom: 40px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; margin-top: 40px; }
  .bento__a, .bento__b, .bento__c, .bento__d, .bento__e, .bento__f { grid-column: auto; grid-row: span 1; }
  .bento__a, .bento__f { grid-column: span 2; grid-row: span 2; }
  .stats { gap: 14px; }
  .reserve__info li { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .chef__story { flex-direction: column; gap: 14px; }
}

@media (max-width: 480px) {
  .hero__eyebrow::before,
  .hero__eyebrow::after { display: none; }
}

@media (max-width: 420px) {
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .hero__ctas .btn--ghost { justify-content: center; }
}
