/* Tipografías (alojadas en local) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/cormorantgaramond-normal-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/cormorantgaramond-italic-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../assets/fonts/inter-normal-400-600.woff2") format("woff2"); }

/* Variables */
:root {
  --ink: #17130f;
  --ink-2: #221b15;
  --paper: #f4ecde;
  --ivory: #faf6ee;
  --sand: #e8dcc5;
  --green-deep: #142f22;
  --teja: #a63a27;
  --teja-dark: #8a2e1e;
  --gold: #b99a63;
  --text: #2b231b;
  --muted: #655848;
  --on-dark: #f4ecde;
  --on-dark-muted: #cdbfa6;
  --line: rgba(43, 35, 27, .18);
  --line-dark: rgba(244, 236, 222, .2);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --wrap: 1240px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teja); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .header :focus-visible, .footer :focus-visible, .reserve :focus-visible { outline-color: var(--gold); }
::selection { background: var(--teja); color: #fff; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); color: var(--ink);
  padding: .7rem 1.1rem; border-radius: 2px; transition: top .2s; }
.skip:focus { top: 1rem; }

/* Utilidades */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark .muted { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem;
  font: 500 .75rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--teja); }
.on-dark .eyebrow, .reserve .eyebrow { color: var(--gold); }
.eyebrow svg { width: .9rem; height: .9rem; flex: none; }
.display { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
.display + p { margin-top: 1.4rem; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; }
.star { fill: currentColor; }

/* Textura de papel, generada con un filtro SVG */
.paper-grain { background-color: var(--paper);
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .18 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Componentes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem;
  padding: .8rem 1.6rem; border: 1px solid transparent; border-radius: 2px; text-decoration: none;
  font: 500 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn--primary { background: var(--teja); color: #fff; }
.btn--primary:hover { background: var(--teja-dark); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(244, 236, 222, .1); }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; font: 500 .8125rem/1.2 var(--sans);
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding-block: .6rem;
  border-bottom: 1px solid currentColor; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p:last-child { margin-bottom: 0; }

.figure { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.caption { font: 400 .8125rem/1.45 var(--sans); color: var(--muted); letter-spacing: .02em; }
.figure-cap { margin: 0; }
.figure-cap .figure { margin-bottom: .7rem; }

/* Cabecera */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--on-dark);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
/* Sobre la foto: degradado oscuro para que el menú se lea */
.header::before { content: ""; position: absolute; inset: 0 0 -2.5rem; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 19, 15, .85), rgba(23, 19, 15, 0));
  transition: opacity .35s var(--ease); }
/* Al bajar: más claro que la portada, con filete dorado y sombra para separarse del contenido */
.header.is-solid { background: rgba(38, 30, 22, .97); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(185, 154, 99, .4), 0 12px 28px rgba(0, 0, 0, .38); }
.header.is-solid::before { opacity: 0; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__top { white-space: nowrap; font: 500 .625rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.brand__name { font: 500 1.65rem/1 var(--serif); letter-spacing: .01em; }
.nav { display: none; }
.nav a { white-space: nowrap; text-decoration: none; font: 500 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  padding: .6rem .1rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.lang { display: none; font: 500 .75rem/1 var(--sans); letter-spacing: .18em; text-decoration: none; padding: .55rem .6rem;
  border: 1px solid var(--line-dark); border-radius: 2px; }
.lang:hover { border-color: var(--gold); color: var(--gold); }
.header__cta { display: none; min-height: 2.6rem; padding-inline: 1.3rem; }
.menu-btn { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; padding: .6rem .2rem;
  font: 500 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.menu-btn i, .menu-btn i::before { display: block; width: 1.4rem; height: 1px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.menu-btn i::before { content: ""; position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] i { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--on-dark);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 6rem; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; overflow-y: auto; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul a { display: block; font: 500 clamp(2.2rem, 9vw, 3.2rem)/1.15 var(--serif); text-decoration: none; padding: .35rem 0;
  border-bottom: 1px solid var(--line-dark); }
.mobile-menu__foot { display: grid; gap: .8rem; margin-top: 2rem; }
.mobile-menu__foot p { margin: 0; color: var(--on-dark-muted); font-size: .9375rem; }

@media (min-width: 72em) {
  .nav { display: flex; gap: clamp(1.2rem, 2.4vw, 2.2rem); }
  .header__cta, .lang { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none; }
}

/* Barra de reserva fija en móvil */
.dock { position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(23, 19, 15, .96);
  border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .4s var(--ease); }
.dock.is-visible { transform: none; }
.dock .btn--ghost { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.dock .btn--ghost:hover { background: #fff; }
.dock .btn { min-height: 3.1rem; padding-inline: .6rem; letter-spacing: .1em; font-size: .75rem; white-space: nowrap; }
@media (min-width: 72em) { .dock { display: none; } }

/* Portada */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0 0 auto 0; height: 68svh; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 78%; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 19, 15, .5) 0%, rgba(23, 19, 15, .1) 30%, rgba(23, 19, 15, .6) 70%, var(--ink) 100%); }
.hero__inner { position: relative; flex: 1; display: flex; align-items: flex-end; padding-block: calc(var(--header-h) + 3rem) 2.4rem; min-height: 80svh; }
.hero h1 { font-size: clamp(3rem, 13vw, 6rem); line-height: .94; letter-spacing: -.02em; margin-bottom: 1.6rem; }
.hero h1 em { display: block; font-style: italic; font-weight: 400; }
.hero h1::after { content: ""; display: block; width: 4rem; height: 1px; background: var(--gold); margin-top: 1.7rem; }
.hero__lead { max-width: 31rem; color: var(--on-dark-muted); font-size: 1.1875rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__bar { position: relative; border-top: 1px solid var(--line-dark); background: rgba(23, 19, 15, .86); }
.hero__bar ul { display: grid; gap: 1.1rem; padding-block: 1.3rem; font-size: .9375rem; line-height: 1.5; }
.hero__bar span { display: block; margin-bottom: .45rem; font: 500 .6875rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.hero__bar a { text-decoration: none; }

@media (min-width: 62em) {
  /* El techo ocupa la mitad derecha, de borde a borde, y se funde con el fondo hacia el texto */
  .hero__media { inset: 0 0 0 42%; height: auto; }
  .hero__media img { object-position: 50% 30%; }
  .hero__media::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(23, 19, 15, .55) 28%, rgba(23, 19, 15, 0) 60%),
    linear-gradient(180deg, rgba(23, 19, 15, .35) 0%, rgba(23, 19, 15, 0) 30%, rgba(23, 19, 15, .5) 100%); }
  .hero__inner { align-items: center; padding-block: calc(var(--header-h) + 3rem) 3rem; }
  .hero__text { max-width: 36rem; }
  .hero__bar ul { grid-template-columns: repeat(3, 1fr); padding-block: 1.6rem; }
  .hero__bar li + li { padding-left: 2rem; border-left: 1px solid var(--line-dark); }
}
/* Secciones */
.manifest { text-align: center; background: var(--paper); }
.manifest .wrap { max-width: 56rem; }
.manifest p.display { margin-bottom: 1.6rem; font-style: italic; font-weight: 400; }
.manifest p.display em { font-style: normal; color: var(--teja); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); margin-block: 2rem 0; }
.ornament::before, .ornament::after { content: ""; width: min(18vw, 7rem); height: 1px; background: currentColor; opacity: .6; }
.ornament svg { width: 1.2rem; height: 1.2rem; }

/* Historia */
.history { background: var(--ivory); }
.history__layout { display: grid; gap: 3rem; }
.history__aside .numeral { font: 500 clamp(6rem, 22vw, 11rem)/.85 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--teja);
  letter-spacing: -.03em; margin: 1.2rem 0 2.2rem; }
.history__aside .figure { aspect-ratio: 520 / 660; max-width: 22rem; }
.history__aside .caption { margin-top: .8rem; max-width: 22rem; }
.chapter { padding-block: 2rem; border-top: 1px solid var(--line); display: grid; gap: .6rem 2rem; }
.chapter:last-of-type { border-bottom: 1px solid var(--line); }
.chapter__mark { font: 500 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--teja); padding-top: .55rem; margin: 0; }
.chapter h3 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: .8rem; }
.chapter p:last-child { margin-bottom: 0; }
.chapter blockquote { margin: 1.2rem 0 0; padding-left: 1.2rem; border-left: 2px solid var(--gold); font: italic 400 1.5rem/1.3 var(--serif); }
.history__note { margin-top: 2rem; font-size: .9375rem; color: var(--muted); max-width: 40rem; }
.history__links { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2rem; }
@media (min-width: 62em) {
  .history__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); }
  .history__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .chapter { grid-template-columns: 7.5rem 1fr; }
}

/* Carta */
.menu { background: var(--paper); }
.dishes { display: grid; gap: 2.5rem; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.dish .figure { aspect-ratio: 4 / 3; margin-bottom: 1.1rem; }
.dish__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.dish h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.dish__price { font: 500 1.35rem/1 var(--serif); color: var(--teja); white-space: nowrap; }
.dish p { margin: .7rem 0 0; color: var(--muted); font-size: .9375rem; }
@media (min-width: 48em) {
  .dishes { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
}

/* Selector de carta: desayunos / comidas */
.menu-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.menu-switch button { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; padding: 1rem 1.1rem; text-align: left;
  background: transparent; border: 1px solid var(--line); color: var(--muted); font: 500 clamp(1.15rem, 3.4vw, 1.6rem)/1.1 var(--serif);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.menu-switch button span { font: 500 .6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.menu-switch button:hover { color: var(--text); border-color: var(--text); }
.menu-switch button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.menu-hours { margin: 0 0 1.5rem; padding-left: 1rem; border-left: 2px solid var(--gold); color: var(--muted); font-size: .9375rem; }
.tabs { margin-top: 1rem; }
.tablist { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter); scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 1rem 1.1rem; font: 500 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .2s, border-color .2s; }
.tablist button:hover { color: var(--text); }
.tablist button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teja); }
.tabpanel { padding-top: 2.2rem; }
.menu-cols { display: grid; gap: 2.4rem 4rem; }
@media (min-width: 48em) { .menu-cols { grid-template-columns: 1fr 1fr; } }
.menu-group h3 { font: 500 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--teja);
  padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .4rem; }
.menu-group .note { font-size: .875rem; color: var(--muted); margin: .8rem 0 0; font-style: italic; }
.item { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.2rem; padding: 1rem 0; border-bottom: 1px dotted var(--line); }
.item:last-of-type { border-bottom: 0; }
.item h4 { font: 500 1.4rem/1.15 var(--serif); }
.item__price { font: 500 1.2rem/1.2 var(--serif); color: var(--ink); white-space: nowrap; text-align: right; }
.item p { grid-column: 1; margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.item--feature { background: var(--ivory); padding: 1.1rem 1.2rem; border: 1px solid var(--line); margin-top: .8rem; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 3rem;
  padding-top: 1.8rem; border-top: 1px solid var(--line); }
.menu-foot p { margin: 0; font-size: .9375rem; color: var(--muted); max-width: 36rem; }
.menu-foot__links { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; }

/* El restaurante */
.place { background: var(--ink); }
.place h2 { margin-bottom: 1.2rem; }
.place__grid { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.place .figure { background: var(--ink-2); }
.place .caption { color: var(--on-dark-muted); }
/* Las tres fotos comparten formato (4:5) y se recortan para encajar */
.place__grid .figure { aspect-ratio: 4 / 5; }
.place__a img { object-position: 38% 50%; }
.details { order: 4; margin-top: 1.5rem; }
.details h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.4rem; }
.details ul { border-top: 1px solid var(--line-dark); }
.details li { display: flex; align-items: baseline; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.details svg { width: .7rem; height: .7rem; flex: none; color: var(--gold); }
@media (min-width: 48em) {
  .place__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
  .details { grid-column: 1 / -1; margin-top: 2.5rem; }
  .details ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
.place__intro { display: grid; gap: 1.5rem; }
@media (min-width: 62em) { .place__intro { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; } }

/* Opiniones */
.reviews { background: var(--ivory); }
.reviews__grid { display: grid; border-top: 1px solid var(--line); }
.review { margin: 0; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.review blockquote { margin: 0 0 1rem; font: italic 400 clamp(1.45rem, 2.4vw, 1.85rem)/1.25 var(--serif); }
.review blockquote p { margin: 0; }
.review figcaption { font: 500 .75rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.review figcaption span { display: block; letter-spacing: .06em; text-transform: none; font-weight: 400; }
.reviews__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.reviews__foot p { margin: 0; font-size: .875rem; color: var(--muted); }
@media (min-width: 48em) { .reviews__grid { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }

/* Instagram */
.insta { background: var(--paper); }
.insta__layout { display: grid; gap: 2.5rem; }
.insta__handle { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--serif); font-style: italic; margin: 1.2rem 0 1rem; overflow-wrap: anywhere; }
.insta__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.insta__tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.insta__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.insta__tile::after { content: ""; position: absolute; inset: 0; background: rgba(23, 19, 15, 0); transition: background .4s; }
.insta__tile:hover img { transform: scale(1.04); }
.insta__tile:hover::after { background: rgba(23, 19, 15, .18); }
@media (min-width: 48em) { .insta__grid { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (min-width: 62em) {
  .insta__layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
}

/* Reservas */
.reserve { background: var(--green-deep); color: var(--on-dark); position: relative; overflow: hidden; }
.reserve::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(60rem 30rem at 85% 0%, rgba(185, 154, 99, .16), transparent 60%); }
.reserve .wrap { position: relative; }
.reserve__layout { display: grid; gap: 3rem; }
.reserve__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.rules { display: grid; border-top: 1px solid var(--line-dark); }
.rules li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.rules svg { width: 1rem; height: 1rem; margin-top: .45rem; color: var(--gold); }
.rules strong { font-weight: 500; }
@media (min-width: 62em) { .reserve__layout { grid-template-columns: 1.1fr .9fr; gap: 6rem; align-items: center; } }

/* Ubicación */
.visit { background: var(--ivory); }
.visit__layout { display: grid; gap: 3rem; }
.facts { display: grid; gap: 1.6rem; margin-block: 2rem; }
.facts dt { font: 500 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--teja); margin-bottom: .45rem; }
.facts dd { margin: 0; font-size: 1.1rem; }
.facts address { font-style: normal; }
.facts a { text-decoration-color: var(--gold); }
.map { position: relative; min-height: 22rem; background: var(--ink); color: var(--on-dark); display: grid; place-items: center; text-align: center;
  padding: 2rem; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { max-width: 22rem; position: relative; }
.map__ph svg.pin { width: 2.2rem; height: 2.2rem; margin: 0 auto 1rem; color: var(--gold); }
.map__ph p { color: var(--on-dark-muted); font-size: .9375rem; }
.map__ph p.small { margin: 1rem 0 0; font-size: .8125rem; }
.map::before { content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='%23f4ecde' stroke-width='1' d='M24 4l5 11 11-5-5 11 11 5-11 5 5 11-11-5-5 11-5-11-11 5 5-11-11-5 11-5-5-11 11 5z'/%3E%3C/svg%3E"); }
@media (min-width: 62em) {
  .visit__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); align-items: stretch; }
  .map { min-height: 100%; }
}

/* Pie de página */
.footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { width: 7.5rem; height: auto; background: var(--paper); padding: .5rem; border-radius: 4px; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 20rem; color: var(--on-dark-muted); font-size: .9375rem; }
.footer h2 { font: 500 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer address { font-style: normal; }
.footer ul li { margin-bottom: .45rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer p, .footer li, .footer address { font-size: .9375rem; line-height: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.6rem;
  font-size: .8125rem; color: var(--on-dark-muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__bottom p { margin: 0; font-size: inherit; }
@media (min-width: 48em) { .footer__top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 3rem; } }
@media (max-width: 71.99em) { .footer { padding-bottom: 6rem; } }

/* Diálogo de reservas */
.dialog { width: min(100% - 1.5rem, 34rem); height: min(100% - 1.5rem, 46rem); max-width: none; max-height: none; padding: 0; border: 0;
  background: var(--ivory); color: var(--text); border-radius: 4px; overflow: hidden; }
.dialog[open] { display: flex; flex-direction: column; }
.dialog::backdrop { background: rgba(23, 19, 15, .72); }
.dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.dialog__bar h2 { font-size: 1.5rem; }
.dialog__close { background: none; border: 1px solid var(--line); border-radius: 50%; width: 2.6rem; height: 2.6rem; font-size: 1.4rem; line-height: 1; }
.dialog iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.dialog__foot { padding: .8rem 1.2rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }

/* Página legal */
.legal { padding-block: calc(var(--header-h) + 4rem) 5rem; background: var(--ivory); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.9rem; margin: 3rem 0 1rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }

/* Animaciones */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px);
    transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease) var(--d, 0s); }
  .js .reveal-img.is-in { clip-path: inset(0); }
  .js .reveal-img img { transform: scale(1.08); transition: transform 1.6s var(--ease) var(--d, 0s); }
  .js .reveal-img.is-in img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
