/* =========================================================
   El Mirador de El Goloso · Rediseño editorial
   Tokens primero; nada de valores sueltos repetidos.
   ========================================================= */

:root {
  /* Color: primitivos */
  --c-ivory: #F3ECDF;
  --c-paper: #E8DECB;
  --c-ink: #1C1915;
  --c-ink-soft: #4B463D;
  --c-forest: #1F2E25;
  --c-forest-2: #2A3E32;
  --c-wine: #6E1F28;
  --c-wine-deep: #35121A;
  --c-night: #14110E;
  --c-blush: #E9C7A3;
  --c-sage: #B9C2AB;

  /* Color: semánticos */
  --bg: var(--c-ivory);
  --fg: var(--c-ink);
  --fg-muted: var(--c-ink-soft);
  --accent: var(--c-wine);
  --line: rgba(28, 25, 21, .16);
  --line-light: rgba(243, 236, 223, .18);

  /* Tipografía */
  --serif: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-display: clamp(4rem, 13.4vw, 13.5rem);
  --fs-h2: clamp(2.75rem, 6.2vw, 6.6rem);
  --fs-h3: clamp(1.6rem, 2.4vw, 2.4rem);

  /* Espacio */
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(6rem, 16vh, 11rem);
  --header-h: 76px;
  --radius: 6px;

  /* Movimiento */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --t-fast: .25s;
  --t-med: .5s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--c-wine); color: var(--c-ivory); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

.container { width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto; }

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 200;
  padding: .75rem 1rem; background: var(--c-ink); color: var(--c-ivory);
  transform: translateY(-200%); transition: transform var(--t-fast) var(--ease-out);
}
.skip:focus { transform: none; }

/* Serif display: Garamond clásica, recta, en un solo estilo */
.hero__title, .story__sentence, .walk__title, .walk__quote, .dishes__title, .dish__name,
.carta__title, .cat__title, .item__name, .extra h3, .pause__title, .events__title,
.reserve__title, .footer__word, .figures dd, .tribute p, .brand__name {
  font-family: var(--serif);
  font-weight: 500;
}

/* ---------- Botones y enlaces ---------- */
.btn {
  --btn-bg: var(--c-ink); --btn-fg: var(--c-ivory); --btn-hover: var(--c-wine);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .85rem 1.6rem;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--light { --btn-bg: var(--c-ivory); --btn-fg: var(--c-ink); --btn-hover: var(--c-blush); }
.btn--wine { --btn-bg: var(--c-wine); --btn-fg: var(--c-ivory); --btn-hover: var(--c-ink); }
.btn--ink { --btn-bg: var(--c-ink); --btn-fg: var(--c-ivory); --btn-hover: var(--c-wine); }
.btn--lg { min-height: 58px; padding: 1rem 2.1rem; font-size: 1rem; }
@media (hover: hover) { .btn:hover { background: var(--btn-hover); } }

.link {
  display: inline-block; position: relative;
  font-weight: 500; font-size: .9375rem;
  padding-block: .35rem;
  background: linear-gradient(currentColor, currentColor) left calc(100% - .2rem) / 100% 1px no-repeat;
  transition: background-size .45s var(--ease-out);
}
@media (hover: hover) {
  .link:hover { background-size: 0 1px; background-position: right calc(100% - .2rem); }
}
.link--light { color: var(--c-ivory); }

/* ---------- 01 · Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  color: var(--c-ivory);
  transition: transform .5s var(--ease-out), color .35s ease, background-color .35s ease;
}
.site-header::before { /* velo sutil sobre el hero, para que el header se lea siempre */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(14, 17, 14, .45), transparent);
  transition: opacity .35s ease;
}
.site-header.is-solid { background: var(--c-ivory); color: var(--c-ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; flex-direction: column; line-height: 1; justify-self: start; }
.brand__pre { font-size: .625rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-bottom: .3rem; padding-left: .1em; }
.brand__name { font-size: 1.9rem; font-weight: 400; letter-spacing: -.01em; }

.nav { display: flex; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav__link { font-size: .9375rem; font-weight: 500; padding-block: .5rem; }
.nav__link > span { display: inline-block; position: relative; overflow: hidden; vertical-align: top; }
.nav__link > span::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
}
.nav__link > span, .nav__link > span::after { transition: transform .5s var(--ease-out); }
@media (hover: hover) {
  .nav__link:hover > span { transform: translateY(-100%); }
}

.header__actions { justify-self: end; display: flex; align-items: center; gap: .75rem; }
.btn--header { --btn-bg: var(--c-ivory); --btn-fg: var(--c-ink); --btn-hover: var(--c-blush); min-height: 44px; padding: .6rem 1.35rem; }
.is-solid .btn--header { --btn-bg: var(--c-ink); --btn-fg: var(--c-ivory); --btn-hover: var(--c-wine); }

.menu-toggle { display: none; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .25rem; font-size: .9375rem; font-weight: 500; }
.menu-toggle__icon { position: relative; width: 22px; height: 10px; }
.menu-toggle__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { top: 8.5px; }
.menu-open .menu-toggle__icon i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon i:last-child { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--c-forest); color: var(--c-ivory);
  padding: calc(var(--header-h) + 2rem + env(safe-area-inset-top)) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  overscroll-behavior: contain; overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-in-out);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.12;
  padding-block: .15rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .7s var(--ease-out);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: grid; gap: 1rem; justify-items: start; margin-top: 2.5rem; color: var(--c-sage); font-size: var(--fs-small); }
.menu__foot .btn { width: 100%; }
.menu__tel { font-family: var(--serif); font-size: 1.75rem; color: var(--c-ivory); }
.menu-open .site-header { color: var(--c-ivory); background: transparent; box-shadow: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .btn--header { visibility: hidden; }

/* ---------- 02 · Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  color: var(--c-ivory); overflow: hidden; background: var(--c-night);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 70%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12, 14, 11, .82) 0%, rgba(12, 14, 11, .35) 42%, rgba(12, 14, 11, 0) 66%),
    linear-gradient(to right, rgba(12, 14, 11, .3), rgba(12, 14, 11, 0) 60%);
}
.hero__content {
  position: absolute; inset: auto 0 0; z-index: 2;
  padding: 0 var(--gutter) clamp(2.25rem, 6vh, 4rem);
}
.hero__title {
  font-size: var(--fs-display); line-height: .86; letter-spacing: -.025em; font-weight: 500;
  margin-left: -.03em;
}
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; }
.line--indent { padding-left: 14vw; }

.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-top: clamp(1.75rem, 4vh, 3rem);
}
.hero__lead { max-width: 36ch; font-size: 1.0625rem; line-height: 1.55; color: rgba(243, 236, 223, .88); }
.hero__ctas { display: flex; align-items: center; gap: 1.75rem; }

.scroll-cue {
  position: absolute; z-index: 3; top: 50%; right: calc(var(--gutter) - 10px);
  width: 44px; height: 88px; display: grid; place-items: center;
}
.scroll-cue__line { position: relative; width: 1px; height: 72px; background: rgba(243, 236, 223, .3); overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--c-ivory);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- 03 · La casa ---------- */
.story { padding-block: var(--section) calc(var(--section) * .9); background: var(--c-ivory); }
.story__sentence {
  font-size: clamp(2rem, 4.5vw, 4.75rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 500;
  max-width: 19ch;
  max-width: min(100%, 1250px);
  text-wrap: pretty;
}
.story__sentence .w { transition: opacity .2s linear; }
.inline-img {
  display: inline-block; vertical-align: middle;
  width: 1.85em; height: .92em; margin: -.1em .08em 0;
  border-radius: .46em; overflow: hidden;
  transform-origin: center;
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; }
.inline-img--round { width: .92em; border-radius: 50%; }

.story__archive {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(5rem, 14vh, 10rem); align-items: start;
}
.archive { grid-column: 1 / span 5; grid-row: 1 / span 2; margin: 0; }
.archive img { width: 100%; aspect-ratio: 1100 / 1090; object-fit: cover; filter: grayscale(1) brightness(.56) contrast(2.2) sepia(.12); border-radius: var(--radius); }
.archive figcaption, .shot figcaption { margin-top: .9rem; font-size: var(--fs-small); color: var(--fg-muted); }
.tribute { grid-column: 7 / span 6; margin: clamp(1rem, 8vh, 6rem) 0 0; }
.tribute p { font-size: clamp(1.5rem, 2.5vw, 2.35rem); line-height: 1.28; font-weight: 500; letter-spacing: -.01em; }
.tribute footer { margin-top: 1.25rem; font-size: var(--fs-small); font-weight: 500; color: var(--fg-muted); }
.figures {
  grid-column: 7 / span 6; align-self: end;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin: 4rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.figures div { display: flex; flex-direction: column-reverse; gap: .35rem; }
.figures dd { margin: 0; font-size: clamp(3rem, 6vw, 6rem); line-height: .9; color: var(--accent); letter-spacing: -.02em; font-weight: 500; }
.figures dt { font-size: var(--fs-small); color: var(--fg-muted); max-width: 14ch; }

/* ---------- 04 · Recorrido (galería) ---------- */
.walk { background: var(--c-forest); color: var(--c-ivory); overflow: hidden; }
.walk__track {
  display: flex; flex-direction: column; gap: clamp(3rem, 9vw, 5rem);
  padding: var(--section) var(--gutter);
}
.walk__intro { max-width: 34rem; }
.walk__title { font-size: var(--fs-h2); line-height: .9; letter-spacing: -.02em; font-weight: 500; }
.walk__intro p { margin-top: 1.75rem; max-width: 32ch; color: rgba(243, 236, 223, .78); }
.walk__quote { margin: 0; font-size: clamp(1.9rem, 3.2vw, 3.2rem); line-height: 1.12; letter-spacing: -.02em; max-width: 14ch; font-weight: 500; }

.shot { margin: 0; flex: none; }
.shot__frame { overflow: hidden; border-radius: var(--radius); background: var(--c-forest-2); }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { color: rgba(243, 236, 223, .72); display: flex; gap: .6rem; align-items: baseline; }
.shot figcaption span { color: var(--c-blush); font-variant-numeric: tabular-nums; }

/* Vertical (móvil y movimiento reducido): ritmo asimétrico */
.shot { width: 82%; }
.shot--tall .shot__frame { aspect-ratio: 4 / 5; }
.shot--wide .shot__frame { aspect-ratio: 3 / 2; }
.shot--small .shot__frame { aspect-ratio: 4 / 3; }
.shot--square .shot__frame { aspect-ratio: 1; }
.shot:nth-of-type(even) { align-self: flex-end; }
.shot--small { width: 62%; }

/* Horizontal (escritorio, lo activa main.js) */
.walk--h .walk__pin { height: 100vh; display: flex; align-items: center; }
.walk--h .walk__track {
  flex-direction: row; align-items: center; gap: 6vw;
  height: 100%; width: max-content; padding: 0 8vw 0 var(--gutter);
  will-change: transform;
}
.walk--h .walk__intro { width: 32vw; max-width: none; flex: none; }
.walk--h .walk__quote { width: 26vw; flex: none; }
.walk--h .shot { width: auto; align-self: center; }
.walk--h .shot__frame { height: 58vh; aspect-ratio: auto; }
.walk--h .shot--tall .shot__frame { height: 70vh; width: 56vh; }
.walk--h .shot--wide .shot__frame { height: 50vh; width: 75vh; }
.walk--h .shot--small .shot__frame { height: 34vh; width: 45vh; }
.walk--h .shot--square .shot__frame { height: 60vh; width: 60vh; }
.walk--h .shot--high { align-self: flex-start; margin-top: 11vh; }
.walk--h .shot--low { align-self: flex-end; margin-bottom: 9vh; }
.walk--h .shot__frame img { width: 116%; max-width: none; margin-left: -8%; }

/* ---------- 05 · Gastronomía ---------- */
.dishes { background: var(--c-wine-deep); color: var(--c-ivory); padding-block: var(--section); }
.dishes__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); }
.dishes__head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; margin-bottom: clamp(3rem, 8vh, 5.5rem); }
.dishes__title { grid-column: 1 / span 9; font-size: var(--fs-h2); line-height: .9; letter-spacing: -.02em; font-weight: 500; }
.dishes__intro { grid-column: 10 / span 3; color: rgba(243, 236, 223, .78); max-width: 34ch; }

.dishes__list { grid-column: 1 / span 6; grid-row: 2; list-style: none; margin: 0; padding: 0; align-self: center; }
.dish {
  display: flex; align-items: baseline; gap: 1.25rem; width: 100%; text-align: left;
  padding: .55rem 0; color: rgba(243, 236, 223, .32);
  transition: color .4s ease;
}
.dish__n { font-size: var(--fs-small); font-variant-numeric: tabular-nums; min-width: 2ch; }
.dish__name { font-size: clamp(2.2rem, 4.6vw, 4.9rem); line-height: 1; letter-spacing: -.015em; font-weight: 500; transition: transform .6s var(--ease-out); }
.dish.is-active { color: var(--c-ivory); }
.dish.is-active .dish__name { transform: translateX(.18em); }
@media (hover: hover) { .dish:hover { color: rgba(243, 236, 223, .8); } }

.dishes__stage { grid-column: 8 / span 5; grid-row: 2; }
.dishes__frames { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #2A0E14; }
.dishes__frames img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); transform: scale(1.12);
  transition: clip-path .9s var(--ease-in-out), transform 1.3s var(--ease-out);
}
[data-dish-img="migas"] { object-position: 42% 50%; }
.dishes__frames img.is-prev { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; transition: none; }
.dishes__frames img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.dishes__caption { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 1.1rem; font-size: .9375rem; }
.dishes__desc { color: rgba(243, 236, 223, .8); max-width: 32ch; }
.dishes__price { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--c-blush); }
.dishes__aside { grid-column: 1 / span 6; grid-row: 3; margin-top: 2.5rem; font-family: var(--serif); font-size: 1.55rem; color: rgba(243, 236, 223, .7); }

/* ---------- 06 · Carta ---------- */
.carta { position: relative; background: var(--c-ivory); padding-block: var(--section); }
.carta__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); align-items: end; margin-bottom: clamp(3rem, 8vh, 6rem); }
.carta__title { grid-column: 1 / span 7; font-size: clamp(4.5rem, 14vw, 14rem); line-height: .8; letter-spacing: -.03em; color: var(--c-wine); }
.carta__notes { grid-column: 9 / span 4; display: grid; gap: 1.25rem; color: var(--fg-muted); padding-bottom: .5rem; }
.carta__groups strong { color: var(--fg); font-weight: 600; }
.carta__groups .link { color: var(--accent); margin-left: .25rem; }

.carta__body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.carta__tabs {
  grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
}
.carta__tabs button {
  position: relative; text-align: left;
  font-family: var(--serif); font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.2; font-weight: 500;
  padding: .3rem 0 .3rem 1.4rem; color: rgba(28, 25, 21, .42);
  transition: color .3s ease;
}
.carta__tabs button::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px;
  border-radius: 50%; background: var(--c-wine);
  transform: scale(0); transition: transform .45s var(--ease-out);
}
.carta__tabs button[aria-selected="true"] { color: var(--fg); }
.carta__tabs button[aria-selected="true"]::before { transform: scale(1); }
@media (hover: hover) { .carta__tabs button:hover { color: var(--fg); } }

.carta__panels { grid-column: 5 / span 8; min-height: 32rem; }
.cat[hidden] { display: none; }
.cat__title { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -.02em; font-weight: 500; margin-bottom: .5rem; }
.cat__title span { display: block; margin-top: .4rem; font-family: var(--sans); font-size: var(--fs-small); letter-spacing: 0; color: var(--fg-muted); font-weight: 400; }
.cat__legend { font-size: var(--fs-small); color: var(--fg-muted); margin-top: .75rem; }
.items { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.item {
  display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; row-gap: .2rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.item__name { font-size: clamp(1.35rem, 1.75vw, 1.7rem); line-height: 1.25; letter-spacing: -.01em; font-weight: 400; }
.item__price { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; padding-top: .2rem; }
.item__price i { font-style: normal; color: var(--fg-muted); padding-inline: .15rem; }
.item__price--text { font-weight: 400; color: var(--fg-muted); }
.item__desc { grid-column: 1; font-size: .9375rem; color: var(--fg-muted); }
.item__name { transition: color .25s ease; }
@media (hover: hover) { .item[data-img] { cursor: default; } .item[data-img]:hover .item__name { color: var(--c-wine); } }

.carta__peek {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  width: clamp(170px, 14vw, 210px); aspect-ratio: 1; height: auto; object-fit: cover;
  border-radius: 6px; border: 1px solid rgba(28, 25, 21, .14);
  box-shadow: 0 24px 48px -20px rgba(28, 25, 21, .45);
  opacity: 0; transform: scale(.94); transform-origin: 50% 60%;
  transition: opacity .22s ease, transform .3s var(--ease-out);
}
.carta__peek.is-on { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .carta__peek, .carta__peek.is-on { transform: none; } }

.carta__extras {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(4rem, 10vh, 7rem); padding-top: 2.5rem; border-top: 1px solid var(--line);
}
.extra h3 { font-size: 1.85rem; line-height: 1.15; letter-spacing: -.015em; margin-bottom: .9rem; font-weight: 400; }
.extra__price { white-space: nowrap; font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--accent); margin-left: .35rem; }
.extra p, .extra li { color: var(--fg-muted); font-size: .9875rem; }
.extra ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.extra--info { background: var(--c-paper); padding: 1.75rem; border-radius: var(--radius); }
.extra--info .link { color: var(--accent); }

/* ---------- 07 · Pausa ---------- */
.pause { position: relative; background: var(--c-night); color: var(--c-ivory); }
.pause__pin { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.pause__frame {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 10px;
  clip-path: inset(7% 12% 7% 12% round 8px);
}
.pause__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.pause__frame::after { content: ""; position: absolute; inset: 0; background: rgba(14, 12, 9, .4); }
.pause__title {
  position: relative; z-index: 2; text-align: center;
  font-size: clamp(3.4rem, 11vw, 12rem); line-height: .86; letter-spacing: -.025em; font-weight: 500;
}
.pause__w { display: block; }
.pause__w--r { padding-left: .8em; }

/* ---------- 08 · Celebraciones ---------- */
.events { background: var(--c-paper); padding-block: var(--section); overflow: hidden; }
.events__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.events__photos { grid-column: 1 / span 7; position: relative; padding-bottom: 14%; }
.events__main { margin: 0; overflow: hidden; border-radius: var(--radius); }
.events__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.events__second {
  position: absolute; right: -6%; bottom: 0; width: 46%; margin: 0;
  overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 0 0 10px var(--c-paper);
}
.events__second img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.events__copy { grid-column: 9 / span 4; }
.events__title { font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: .94; letter-spacing: -.02em; font-weight: 500; margin-bottom: 1.75rem; }
.events__copy > p { color: var(--fg-muted); max-width: 38ch; }
.events__facts { list-style: none; margin: 2.25rem 0; padding: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--fg-muted); }
.events__facts strong { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 500; color: var(--c-wine); }
.events__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------- 09 · Reserva ---------- */
.reserve { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--c-ink); background: var(--c-paper); }
.reserve__media { position: absolute; inset: -8% 0; }
.reserve__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.reserve__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(243, 236, 223, .92) 0%, rgba(243, 236, 223, .7) 34%, rgba(243, 236, 223, 0) 62%);
}
.reserve__content { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto; padding-block: calc(var(--header-h) + 3rem) 4rem; }
.reserve__title { font-size: clamp(3.4rem, 8vw, 8.6rem); line-height: .88; letter-spacing: -.025em; font-weight: 500; }
.reserve__text { margin-top: 2rem; max-width: 36ch; color: var(--fg-muted); }
.reserve__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.reserve__hours { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 3rem 0 0; font-size: var(--fs-small); }
.reserve__hours dt { color: var(--fg-muted); }
.reserve__hours dd { margin: .15rem 0 0; font-weight: 500; }

/* ---------- 10 · Footer ---------- */
.footer { background: var(--c-forest); color: var(--c-ivory); padding-top: clamp(4.5rem, 12vh, 7rem); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.footer__brand img { width: 200px; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 26ch; color: var(--c-sage); font-size: var(--fs-small); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; font-size: .9375rem; }
.footer__col h2 { font-family: var(--sans); font-size: var(--fs-small); font-weight: 500; color: var(--c-sage); margin-bottom: .6rem; }
.footer__col address { font-style: normal; line-height: 1.6; }
.footer__col p { line-height: 1.5; margin-bottom: .4rem; }
.footer__col > a:not(.link) { padding-block: .15rem; transition: color var(--t-fast) ease; }
@media (hover: hover) { .footer__col > a:not(.link):hover { color: var(--c-blush); } }
.footer__word {
  margin: clamp(3rem, 8vh, 5rem) 0 0; text-align: center; white-space: nowrap;
  font-size: 27.5vw; line-height: .78; letter-spacing: -.03em; font-weight: 500;
  color: var(--c-forest-2);
  transform: translateY(.06em);
}
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-light);
  font-size: .8125rem; color: var(--c-sage);
}
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Estados iniciales de animación (solo con movimiento activo) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(32px); }
.motion [data-mask] { clip-path: inset(100% 0% 0% 0%); }
.motion .hero__title .line > span, .motion .reserve__title .line > span { transform: translateY(105%); }
.motion [data-hero-fade] { opacity: 0; }
.motion .story__sentence .w { opacity: .14; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header { grid-template-columns: 1fr auto; }
  .carta__tabs { grid-column: 1 / span 4; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand__name { font-size: 1.45rem; }
  .brand__pre { font-size: .5625rem; }
  .btn--header { padding: .55rem 1.1rem; min-height: 44px; }

  .hero { min-height: 560px; }
  .hero__media img { object-position: 38% 60%; }
  .hero__title { font-size: clamp(3.6rem, 18.5vw, 7rem); line-height: .86; }
  .line--indent { padding-left: 9vw; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero__lead { font-size: 1rem; }
  .scroll-cue { display: none; }

  .story__sentence { font-size: clamp(1.85rem, 8vw, 2.6rem); line-height: 1.16; }
  .story__archive { display: block; }
  .archive { width: 86%; }
  .tribute { margin-top: 3rem; }
  .figures { gap: 1rem; margin-top: 3rem; }
  .figures dd { font-size: clamp(2.6rem, 12vw, 3.4rem); }

  .dishes__head { display: block; }
  .dishes__intro { margin-top: 1.5rem; }
  .dishes__grid { display: flex; flex-direction: column; }
  .dishes__stage { order: 2; margin-bottom: 1.75rem; }
  .dishes__list { order: 3; }
  .dishes__aside { order: 4; font-size: 1.15rem; }
  .dish { padding: .45rem 0; }
  .dish__name { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }

  .carta__head { display: block; }
  .carta__title { font-size: clamp(4.5rem, 24vw, 7rem); }
  .carta__notes { margin-top: 2rem; }
  .carta__body { display: block; }
  .carta__tabs {
    position: sticky; top: var(--header-h); z-index: 5;
    flex-direction: row; gap: .5rem; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: .75rem var(--gutter);
    background: var(--c-ivory); box-shadow: 0 1px 0 var(--line);
    scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  }
  .carta__tabs::-webkit-scrollbar { display: none; }
  .carta__tabs button {
    flex: none; scroll-snap-align: start;
    font-family: var(--sans); font-size: .9375rem; font-weight: 500; font-style: normal !important;
    min-height: 44px; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--fg);
  }
  .carta__tabs button::before { display: none; }
  .carta__tabs button[aria-selected="true"] { background: var(--c-ink); color: var(--c-ivory); border-color: var(--c-ink); }
  .carta__panels { margin-top: 2rem; min-height: 0; }
  .item { column-gap: 1rem; }
  .item__name { font-size: 1.3rem; }
  .carta__extras { grid-template-columns: 1fr; }

  .pause__frame { clip-path: inset(14% 6% 14% 6% round 6px); }
  .pause__w--r { padding-left: 0; }

  .events__photos { padding-bottom: 22%; margin-bottom: 3rem; }
  .events__second { right: -2%; width: 58%; box-shadow: 0 0 0 6px var(--c-paper); }
  .events__grid { display: block; }

  .reserve { flex-direction: column; align-items: stretch; min-height: 0; background: var(--c-ivory); }
  .reserve__content { padding-block: var(--section) 3rem; }
  .reserve__media { position: relative; inset: auto; order: 2; height: 62vh; margin: 0 var(--gutter) var(--gutter); border-radius: var(--radius); overflow: hidden; }
  .reserve__media img { object-position: 35% 50%; }
  .reserve__media::after { display: none; }
  .reserve__title { font-size: clamp(3rem, 14.5vw, 5rem); }
  .reserve__ctas .btn { width: 100%; }

  .footer__legal { flex-direction: column; }
}

@media (max-width: 420px) {
  .header__actions .btn--header { padding-inline: .95rem; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .figures { grid-template-columns: 1fr 1fr 1fr; }
  .figures dt { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scroll-cue__line::after { display: none; }
}

/* =========================================================
   Web multipágina · páginas interiores, formularios y reservas
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cabecera sólida en páginas sin foto a sangre */
.page-solid .site-header { background: var(--c-ivory); color: var(--c-ink); box-shadow: 0 1px 0 var(--line); }
.page-solid .site-header::before { opacity: 0; }
.page-solid .btn--header { --btn-bg: var(--c-ink); --btn-fg: var(--c-ivory); --btn-hover: var(--c-wine); }
.page-solid main { padding-top: var(--header-h); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }
.menu__nav a[aria-current="page"] { color: var(--c-blush); }

.btn-text {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 .25rem;
  font-weight: 500; font-size: .9375rem; color: var(--fg-muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
@media (hover: hover) { .btn-text:hover { color: var(--fg); } }
.btn-text--danger { color: var(--c-wine); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.is-busy { cursor: progress; }

/* Cabecera de página interior con foto */
.page-hero {
  position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end;
  color: var(--c-ivory); background: var(--c-night); overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 11, .8) 0%, rgba(12, 14, 11, .3) 45%, rgba(12, 14, 11, .1) 70%);
}
.page-hero__content { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.page-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 8.4vw, 8.8rem); line-height: .9; letter-spacing: -.025em; max-width: 14ch; }
.page-hero__lead { margin-top: 1.5rem; max-width: 42ch; font-size: 1.0625rem; color: rgba(243, 236, 223, .88); }
.motion .page-hero__title .line > span { transform: translateY(105%); }

/* Cabecera de página interior sin foto */
.page-head { padding-block: clamp(3.5rem, 10vh, 7rem) clamp(2.5rem, 6vh, 4rem); border-bottom: 1px solid var(--line); }
.page-head__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); align-items: end; }
.page-head__title { grid-column: 1 / span 8; font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 7.6vw, 7.6rem); line-height: .9; letter-spacing: -.025em; color: var(--c-wine); }
.page-head__lead { grid-column: 9 / span 4; color: var(--fg-muted); max-width: 38ch; }
.legal-nav { grid-column: 9 / span 4; display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Introducción a dos columnas */
.intro { padding-block: var(--section); }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.intro__title { grid-column: 1 / span 6; font-family: var(--serif); font-weight: 500; font-size: var(--fs-h2); line-height: .92; letter-spacing: -.02em; }
.intro__copy { grid-column: 8 / span 5; display: grid; gap: 2rem; color: var(--fg-muted); font-size: 1.125rem; }
.intro__copy .figures { margin: 0; grid-template-columns: repeat(3, 1fr); }
.intro__copy .events__facts { margin: 0; }

.story__foot { margin-top: clamp(3rem, 8vh, 5rem); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.figures--inline { margin: 0; padding-top: 1.5rem; flex: 1 1 520px; max-width: 720px; }
.story--archive { padding-top: 0; }
.story--archive .tribute { margin-top: clamp(2rem, 10vh, 8rem); }

/* La cocina */
.kitchen { background: var(--c-paper); padding-block: var(--section); }
.kitchen__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem); align-items: start; }
.kitchen__head { grid-column: 1 / span 5; display: grid; gap: 1.5rem; justify-items: start; }
.kitchen__head p { color: var(--fg-muted); max-width: 38ch; }
.kitchen__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: .92; letter-spacing: -.02em; }
.kitchen__img { grid-column: 7 / span 6; margin: 0; border-radius: var(--radius); overflow: hidden; }
.kitchen__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.kitchen__card { grid-column: span 4; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.kitchen__card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.85rem; margin-bottom: .6rem; }
.kitchen__card p { color: var(--fg-muted); }

/* Galería de espacios */
.spaces { padding-block: var(--section); }
.spaces__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.spaces__title { grid-column: 1 / span 7; font-family: var(--serif); font-weight: 500; font-size: var(--fs-h2); line-height: .92; letter-spacing: -.02em; }
.spaces__head p { grid-column: 9 / span 4; color: var(--fg-muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.gal { margin: 0; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gal--wide { grid-column: span 2; }
.gal--wide img { aspect-ratio: 16 / 9; height: 100%; }
.gal figcaption { margin-top: .6rem; font-size: var(--fs-small); color: var(--fg-muted); }

/* Ocasiones (eventos) */
.occasions { padding-bottom: var(--section); }
.occasions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.occasion figure { margin: 0 0 1.25rem; border-radius: var(--radius); overflow: hidden; }
.occasion img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.occasion h3 { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.05; margin-bottom: .6rem; }
.occasion p { color: var(--fg-muted); }

/* Preguntas frecuentes */
.faq { background: var(--c-forest); color: var(--c-ivory); padding-block: var(--section); }
.faq--light { background: var(--c-paper); color: var(--fg); }
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); }
.faq__title { grid-column: 1 / span 4; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: .95; letter-spacing: -.02em; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid currentColor; border-color: var(--line-light); }
.faq--light .faq__list { border-color: var(--line); }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq--light .faq__item { border-color: var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; min-height: 48px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; transition: transform .35s var(--ease-out); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1.5rem; max-width: 60ch; color: rgba(243, 236, 223, .8); }
.faq--light .faq__item p { color: var(--fg-muted); }
.faq__item p a { text-decoration: underline; text-underline-offset: 3px; }

/* Bloque de contacto con formulario */
.contact-block { padding-block: var(--section); }
.contact-block__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 2.5rem; align-items: start; }
.contact-block__aside { grid-column: 1 / span 4; display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.contact-block__aside > p { color: var(--fg-muted); }
.contact-block__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: .92; letter-spacing: -.02em; }
.contact-block__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-block__links { display: grid; gap: .25rem; margin-top: .5rem; border-top: 1px solid var(--line); }
.contact-line { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.5rem; }
.contact-line span { font-family: var(--sans); font-size: var(--fs-small); color: var(--fg-muted); align-self: center; }
.contact-block__form { grid-column: 6 / span 7; }

/* Formularios */
.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.35rem; }
.form__label, .field label, .field legend, .bk__label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .45rem; color: var(--fg); }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field__opt { font-weight: 400; color: var(--fg-muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--fg);
  background: #FBF7EF; border: 1px solid rgba(28, 25, 21, .22); border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 0; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(110, 31, 40, .14); }
.field [aria-invalid="true"] { border-color: var(--c-wine); }
.field__help { margin-top: .4rem; font-size: .8125rem; color: var(--fg-muted); }
.field__error { font-size: .8125rem; color: var(--c-wine); font-weight: 500; min-height: 0; }
.field__error:not(:empty) { margin-top: .4rem; }
.field--details summary { cursor: pointer; font-weight: 600; font-size: .9375rem; min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.field--details textarea { margin-top: .5rem; }
.form__kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.form__kinds legend { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1px solid rgba(28, 25, 21, .22); border-radius: 999px; font-size: .9375rem; font-weight: 500;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip input:checked + span { background: var(--c-ink); color: var(--c-ivory); border-color: var(--c-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--c-wine); outline-offset: 2px; }
@media (hover: hover) { .chip:hover span { border-color: var(--c-ink); } }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--c-wine); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form__status { font-size: .9375rem; }
.form__status.is-ok { color: var(--c-forest-2); font-weight: 600; }
.form__status.is-error { color: var(--c-wine); font-weight: 600; }
[data-event-only][hidden] { display: none; }

/* Contacto: datos y mapa */
.visit { padding-block: clamp(3rem, 8vh, 5rem) var(--section); }
.visit__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 2.5rem; }
.visit__info { grid-column: 1 / span 5; display: grid; gap: 2.25rem; align-content: start; }
.visit__block h2 { font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; color: var(--fg-muted); margin-bottom: .6rem; }
.visit__block address { font-style: normal; font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; margin-bottom: .75rem; }
.visit__block > p { font-family: var(--serif); font-size: 1.5rem; }
.visit__phone { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--c-wine); }
.visit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.25rem; }
.hours { margin: 0; display: grid; gap: .35rem; }
.hours div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .5rem 0; border-bottom: 1px solid var(--line); max-width: 420px; }
.hours dt { color: var(--fg-muted); }
.hours dd { margin: 0; font-weight: 500; }
.map { grid-column: 7 / span 6; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--c-forest); }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.map__overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem; text-align: center; color: var(--c-ivory); background: linear-gradient(rgba(20, 17, 14, .35), rgba(20, 17, 14, .55)); }
.map__overlay p { max-width: 30ch; font-size: .9375rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Blog */
.posts { padding-block: clamp(2rem, 6vh, 4rem) var(--section); }
.posts__list { list-style: none; margin: 0; padding: 0; }
.post-row { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1.5rem; align-items: start; padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.post-row__n { font-variant-numeric: tabular-nums; color: var(--fg-muted); padding-top: .6rem; }
.post-row time { font-size: var(--fs-small); color: var(--fg-muted); }
.post-row h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; letter-spacing: -.015em; margin: .35rem 0 .75rem; max-width: 26ch; }
.post-row p { color: var(--fg-muted); max-width: 60ch; }
.post-row__more { margin-top: .9rem; }
@media (hover: hover) { .post-row h2 a:hover { color: var(--c-wine); } }
.article { padding-block: clamp(3rem, 8vh, 5rem) var(--section); }
.article__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 2.5rem; }
.article__head { grid-column: 1 / -1; display: grid; gap: 1rem; justify-items: start; }
.article__head time { font-size: var(--fs-small); color: var(--fg-muted); }
.article__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: .96; letter-spacing: -.02em; max-width: 20ch; }
.article__body { grid-column: 1 / span 7; font-size: 1.125rem; line-height: 1.75; }
.article__body h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.1; margin: 2.5rem 0 1rem; }
.article__body p + p { margin-top: 1.25rem; }
.article__more { grid-column: 9 / span 4; display: grid; gap: .5rem; align-content: start; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.article__more h2 { font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; color: var(--fg-muted); margin-bottom: .5rem; }
.article__more a { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; padding: .4rem 0; }
@media (hover: hover) { .article__more a:hover { color: var(--c-wine); } }

/* Aviso legal */
.legal { padding-block: clamp(2.5rem, 6vh, 4rem) var(--section); }
.legal__body { max-width: 78ch; font-size: .9875rem; color: var(--fg-muted); overflow-wrap: anywhere; }
.legal__body h2 { font-family: var(--serif); font-weight: 500; font-size: 2.6rem; color: var(--fg); margin: 3.5rem 0 1rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--fg); margin: 2rem 0 .6rem; letter-spacing: .02em; }
.legal__body h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--fg); margin: 1.5rem 0 .4rem; }
.legal__body p { margin-bottom: .8rem; }
.legal__body ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* Gestión y estados sencillos */
.manage { padding-block: clamp(3.5rem, 10vh, 7rem) var(--section); }
.manage__wrap { max-width: 760px; display: grid; gap: 1.5rem; justify-items: start; }
.manage__ref { font-size: var(--fs-small); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.manage__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; letter-spacing: -.02em; }
.manage__lead { color: var(--fg-muted); max-width: 52ch; font-size: 1.0625rem; }
.manage__lead a, .manage__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.manage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.manage__details { width: 100%; }
.manage__modify { width: 100%; }
.manage__note { color: var(--fg-muted); max-width: 56ch; }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; min-height: 32px; padding: .25rem .85rem; border-radius: 999px; font-size: .875rem; font-weight: 600; background: var(--c-paper); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill--confirmada { color: #2F5A3C; background: #E1E9DA; }
.status-pill--pendiente { color: #8A5A12; background: #F4E6C8; }
.status-pill--cancelada, .status-pill--no_presentado { color: var(--c-wine); background: #F1DCD8; }
.dialog { border: 0; border-radius: 14px; padding: 2rem; max-width: min(92vw, 460px); background: var(--c-ivory); color: var(--fg); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
.dialog::backdrop { background: rgba(20, 17, 14, .55); }
.dialog h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin-bottom: .75rem; }
.dialog p { color: var(--fg-muted); }
.dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .75rem 1.25rem; margin-top: 1.5rem; }

/* Página de reservas */
.booking { padding-block: clamp(2.5rem, 7vh, 5rem) var(--section); }
.booking__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 2.5rem; align-items: start; }
.booking__aside { grid-column: 1 / span 5; display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.booking__title { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 6.2vw, 6.2rem); line-height: .9; letter-spacing: -.025em; color: var(--c-wine); }
.booking__lead { color: var(--fg-muted); max-width: 38ch; font-size: 1.0625rem; }
.booking__photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.booking__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.booking__info { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; font-size: var(--fs-small); }
.booking__info dt { color: var(--fg-muted); }
.booking__info dd { margin: .15rem 0 0; font-weight: 500; }
.booking__info a { text-decoration: underline; text-underline-offset: 3px; }
.booking__main { grid-column: 7 / span 6; }

/* Widget de reserva */
.bk { background: #FBF7EF; border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 30px 60px -40px rgba(28, 25, 21, .35); }
.bk__progress { list-style: none; margin: 0 0 1.75rem; padding: 0 0 1.25rem; display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--fg-muted); }
.bk__progress li { display: flex; align-items: center; gap: .5rem; }
.bk__progress span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk__progress [aria-current="step"] { color: var(--fg); font-weight: 600; }
.bk__progress [aria-current="step"] span { background: var(--c-ink); color: var(--c-ivory); border-color: var(--c-ink); }
.bk__progress .is-done { color: var(--fg); }
.bk__progress .is-done span { background: var(--c-paper); border-color: var(--c-paper); }
.bk__summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: -0.5rem 0 1.5rem; padding: .85rem 1rem; background: var(--c-paper); border-radius: 10px; font-size: .9375rem; font-weight: 500; }
.bk__summary p::first-letter { text-transform: uppercase; }
.bk__summary .link { color: var(--accent); flex: none; }
.bk__step { display: grid; gap: 1.6rem; }
.bk__step[hidden] { display: none; }
.bk__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.015em; outline: none; }
.bk__field { display: grid; gap: .1rem; }
.bk__field[hidden] { display: none; }
.bk__hint { font-size: .875rem; color: var(--fg-muted); margin-top: .6rem; }
.bk__hint--group { padding: .85rem 1rem; background: #F4E6C8; border-radius: 10px; color: #5C3D0B; }
.bk__hint a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bk__alert { padding: .9rem 1rem; border-radius: 10px; background: #F1DCD8; color: var(--c-wine-deep); font-size: .9375rem; font-weight: 500; }
.bk__alert[hidden] { display: none; }
.bk__alert a { text-decoration: underline; }
.bk__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.bk__nav .btn { margin-left: auto; }
.bk__next { width: 100%; }
.bk__closed { display: grid; gap: 1rem; justify-items: start; }
.bk__closed h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.05; }
.bk__closed p { color: var(--fg-muted); }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem; border: 1px solid rgba(28, 25, 21, .22); border-radius: 999px; max-width: 320px; background: var(--c-ivory); }
.stepper__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; line-height: 1; background: var(--c-paper); transition: background-color .2s ease, transform .15s var(--ease-out); }
.stepper__btn:active { transform: scale(.92); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
@media (hover: hover) { .stepper__btn:not(:disabled):hover { background: var(--c-blush); } }
.stepper__value { font-size: 1.0625rem; font-weight: 500; }
.stepper__value output { font-family: var(--serif); font-size: 2rem; line-height: 1; margin-right: .2rem; font-variant-numeric: tabular-nums; }

.cal { border: 1px solid var(--line); border-radius: 12px; padding: .75rem; background: var(--c-ivory); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cal__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; text-transform: capitalize; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; display: grid; place-items: center; }
.cal__nav:disabled { opacity: .25; cursor: not-allowed; }
@media (hover: hover) { .cal__nav:not(:disabled):hover { background: var(--c-paper); } }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { text-align: center; font-size: .75rem; font-weight: 600; color: var(--fg-muted); padding: .25rem 0; }
.cal__day {
  position: relative; aspect-ratio: 1; min-height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-variant-numeric: tabular-nums; font-size: .9375rem; font-weight: 500; transition: background-color .15s ease, color .15s ease;
}
.cal__day.is-open { background: #E1E9DA; color: #1E3A27; }
.cal__day.is-full { color: rgba(110, 31, 40, .55); text-decoration: line-through; text-decoration-thickness: 1px; }
.cal__day.is-closed, .cal__day.is-past, .cal__day.is-too_far { color: rgba(28, 25, 21, .28); }
.cal__day.is-loading { background: rgba(28, 25, 21, .04); color: rgba(28, 25, 21, .35); }
.cal__day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cal__day.is-selected { background: var(--c-ink); color: var(--c-ivory); }
.cal__day:disabled { cursor: default; }
@media (hover: hover) { .cal__day.is-open:not(.is-selected):hover { background: #C9D8BE; } }
.cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-top: .75rem; font-size: .75rem; color: var(--fg-muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.dot--open { background: #C9D8BE; }
.dot--full { background: #EBCFCB; }
.dot--closed { background: rgba(28, 25, 21, .1); }
.is-loading-month .cal__grid { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--c-paper); }
.seg__btn { min-height: 44px; padding: 0 1.4rem; border-radius: 999px; font-weight: 500; }
.seg__btn[aria-pressed="true"] { background: var(--c-ink); color: var(--c-ivory); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.time { min-height: 48px; border-radius: 10px; border: 1px solid rgba(28, 25, 21, .22); font-variant-numeric: tabular-nums; font-weight: 500; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.time[aria-pressed="true"] { background: var(--c-ink); color: var(--c-ivory); border-color: var(--c-ink); }
@media (hover: hover) { .time:not([aria-pressed="true"]):hover { border-color: var(--c-ink); } }
.times__loading, .times__empty { grid-column: 1 / -1; font-size: .9375rem; color: var(--fg-muted); padding: .5rem 0; }
.times__empty a { color: var(--accent); font-weight: 600; text-decoration: underline; }

.bk__review { margin: 0; display: grid; border-top: 1px solid var(--line); }
.bk__review div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.bk__review dt { color: var(--fg-muted); font-size: .9375rem; }
.bk__review dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.bk__done { justify-items: start; }
.bk__check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #E1E9DA; color: #2F5A3C; }
.bk__done-lead { color: var(--fg-muted); font-size: 1.0625rem; max-width: 46ch; }
.bk__done .bk__review { width: 100%; }
.bk__done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.dishes__aside { display: grid; gap: 1.5rem; justify-items: start; }
.dishes__aside p { font-family: var(--serif); }
.carta--page { padding-top: clamp(2.5rem, 7vh, 5rem); }

@media (max-width: 1100px) {
  .booking__aside { grid-column: 1 / span 5; }
  .booking__main { grid-column: 6 / span 7; }
}
@media (max-width: 860px) {
  .page-hero { min-height: 70svh; }
  .page-hero__title { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .page-head__grid, .intro__grid, .kitchen__grid, .spaces__head, .faq__grid, .contact-block__grid, .visit__grid, .article__grid, .booking__grid { display: block; }
  .page-head__lead, .legal-nav { margin-top: 1.5rem; }
  .intro__copy { margin-top: 2rem; }
  .kitchen__img { margin: 2rem 0; }
  .kitchen__card { margin-top: 1.5rem; }
  .spaces__head p { margin-top: 1.25rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gal--wide { grid-column: 1 / -1; }
  .occasions__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq__list { margin-top: 2rem; }
  .contact-block__aside { position: static; margin-bottom: 2.5rem; }
  .map { min-height: 380px; margin-top: 2.5rem; }
  .post-row { grid-template-columns: 1fr; gap: .5rem; }
  .post-row__n, .post-row__more { display: none; }
  .article__more { margin-top: 3rem; }
  .booking { padding-top: 1.5rem; }
  .booking__aside { position: static; display: contents; }
  .booking__title { order: -2; }
  .booking__grid { display: flex; flex-direction: column; gap: 1.25rem; }
  .booking__lead { order: -1; margin-bottom: .5rem; }
  .booking__main { order: 0; }
  .booking__photo { order: 1; margin-top: 1.5rem; }
  .booking__info { order: 2; }
  .bk { border-radius: 14px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .stepper { max-width: none; }
  .bk__nav .btn { width: 100%; }
  .bk__nav .btn-text { order: 2; margin-inline: auto; }
}
@media (max-width: 420px) {
  .intro__copy .figures { grid-template-columns: 1fr 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .booking__info { grid-template-columns: 1fr; }
  .bk__review div { grid-template-columns: 1fr; gap: .15rem; }
}
/* Números de caja alta en cifras y horas con Garamond */
.figures dd, .events__facts strong, .stepper__value output, .visit__phone, .menu__tel, .contact-line, .manage__title, .bk__title { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.bk__summary[hidden], .bk__progress[hidden] { display: none; }
.intro__copy .figures, .story__foot .figures { grid-column: auto; align-self: auto; }
.gal--wide img { height: auto; }
.gallery { align-items: start; }
.item__name, .cat__title, .extra h3, .post-row h2, .article__title { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
@media (max-width: 860px) { .carta__tabs { scroll-padding-inline: var(--gutter); } }

/* Aviso de web de demostración (solo con DEMO_MODE=1) */
.demo-note { padding: .85rem 1rem; margin-bottom: 1.25rem; border-radius: 10px; background: #F4E6C8; color: #5C3D0B; font-size: .9375rem; line-height: 1.45; }
.demo-note strong { font-weight: 600; }
.demo-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
