/* El Espigón · Bajo de Guía
   Mosaico crema y tostado oscuro, como el atardecer en la terraza.
   Tipos: Cinzel (marca), Newsreader (titulares y texto), Geist (detalles de interfaz). */

:root {
  --cream: #efe6da;
  --cream-2: #e6dacb;
  --paper: #f6f0e7;
  --dark: #17120f;
  --dark-2: #211a15;
  --ink: #2a211b;
  --ink-2: #5c4f44;
  --light: #f1e7da;
  --light-2: #c9b9a6;
  --gold: #c8a272;
  --gold-2: #e2c49a;
  --sun: #e98a45;
  --line-dark: rgba(42, 33, 27, .28);
  --line-light: rgba(241, 231, 218, .34);

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --caps: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --pad: clamp(28px, 4.6vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, ul, ol, dl, dd, figure { margin: 0; }
::selection { background: var(--gold); color: var(--dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- piezas comunes ---------- */
.arr { width: 15px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .3s var(--ease-out); }

.pill {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 40px; padding: 0 20px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  font-family: var(--serif); font-size: 15px; letter-spacing: .01em; line-height: 1;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .16s var(--ease-out), border-color .3s ease, color .3s ease;
}
.pill::before { /* relleno que sube al pasar el ratón */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.pill--light { border-color: var(--line-light); color: var(--light); }
.pill--light::before { background: var(--light); }
.pill--solid { background: var(--ink); color: var(--light); border-color: var(--ink); }
.pill--solid::before { background: var(--dark); }
.pill:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { color: var(--light); border-color: var(--ink); }
  .pill--light:hover { color: var(--ink); border-color: var(--light); }
  .pill:hover::before { transform: translateY(0); }
  .pill:hover .arr { transform: translateX(4px); }
}

.kicker {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--serif); font-size: 12.5px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink-2);
}
.kicker::after {
  content: ""; width: 54px; height: 1px; background: currentColor; opacity: .6;
  transform-origin: left; transform: scaleX(var(--k, 1));
  transition: transform 1s var(--ease-out) .35s;
}
.title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(27px, 2.35vw, 38px); line-height: 1.12; letter-spacing: -.012em;
  font-variation-settings: "opsz" 48;
  margin-top: 16px;
}
.title .ln { display: inline; }
.copy { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-top: 16px; max-width: 36ch; }
.note { font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-top: 18px; }

/* marca (nav y pie) */
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--light); line-height: 1; }
.brand__name { font-family: var(--caps); font-size: 23px; letter-spacing: .04em; }
.brand__sub { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--serif); font-size: 8.5px; letter-spacing: .34em; text-transform: uppercase; opacity: .85; }
.brand__sub i { width: 22px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--pad);
  color: var(--light);
  transition: transform .5s var(--ease-out), padding .4s var(--ease-out);
}
.nav::before { /* fondo vidrio al bajar */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(23, 18, 15, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(241, 231, 218, .08);
  opacity: 0; transition: opacity .4s ease;
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav .brand { justify-self: start; }
.nav__links { display: flex; gap: clamp(18px, 2.3vw, 34px); }
.nav__links a { position: relative; font-size: 15px; text-decoration: none; padding: 6px 0; opacity: .9; transition: opacity .2s ease; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { opacity: 1; }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav__cta { justify-self: end; }
.burger { display: none; width: 44px; height: 44px; justify-self: end; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.2px; background: currentColor; transition: transform .35s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45; background: var(--dark); color: var(--light);
  display: flex; flex-direction: column; justify-content: center; gap: 34px; padding: 90px 28px 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io);
}
.sheet[hidden] { display: flex; visibility: hidden; }
.sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.sheet nav { display: flex; flex-direction: column; gap: 6px; }
.sheet nav a { font-size: 34px; line-height: 1.25; text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.sheet.is-open nav a { opacity: 1; transform: none; }
.sheet.is-open nav a:nth-child(2) { transition-delay: .05s; } .sheet.is-open nav a:nth-child(3) { transition-delay: .1s; }
.sheet.is-open nav a:nth-child(4) { transition-delay: .15s; } .sheet.is-open nav a:nth-child(5) { transition-delay: .2s; }
.sheet.is-open nav a:nth-child(6) { transition-delay: .25s; }
.sheet .pill { align-self: flex-start; }
.sheet__sun { font-family: var(--sans); font-size: 13px; color: var(--light-2); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 560px;
  color: var(--light);
  background: #2a1a10;
}
.hero__media { position: absolute; inset: -4% 0; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: heroIn 2.6s var(--ease-out) both, drift 26s ease-in-out 2.6s infinite alternate; }
@keyframes heroIn { from { transform: scale(1.08); filter: brightness(.55); } to { transform: scale(1); filter: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.045) translateX(-0.8%); } }

/* sol que respira detrás del horizonte */
.hero__glow {
  position: absolute; z-index: -2; left: 54%; top: 58%; width: 34vw; height: 34vw; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 190, 110, .55), rgba(255, 150, 70, .18) 45%, transparent 72%);
  mix-blend-mode: screen; pointer-events: none;
  animation: breathe 6s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }

/* reflejo del sol rielando en el agua */
.hero__shimmer {
  position: absolute; z-index: -2; left: 47%; top: 64%; width: 16vw; height: 18%;
  background: repeating-linear-gradient(180deg, rgba(255, 214, 150, .0) 0 5px, rgba(255, 214, 150, .5) 5px 6.5px);
  -webkit-mask: radial-gradient(closest-side, #000 25%, transparent); mask: radial-gradient(closest-side, #000 25%, transparent);
  mix-blend-mode: screen; opacity: .55; pointer-events: none;
  animation: shimmer 3.2s linear infinite;
}
@keyframes shimmer { 0% { background-position: 0 0; transform: scaleX(1); } 50% { transform: scaleX(1.12); } 100% { background-position: 0 26px; transform: scaleX(1); } }

.hero__motes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 12, 8, .58) 0%, rgba(20, 12, 8, .28) 38%, rgba(20, 12, 8, 0) 60%),
    linear-gradient(180deg, rgba(20, 12, 8, .45) 0%, rgba(20, 12, 8, 0) 22%, rgba(20, 12, 8, 0) 70%, rgba(20, 12, 8, .35) 100%);
}

.hero__inner {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(58%, 820px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px var(--pad) 40px; text-align: center;
}
.mark { display: flex; flex-direction: column; align-items: center; }
.mark__row { display: flex; align-items: center; gap: 22px; font-family: var(--serif); text-transform: uppercase; }
.mark__row--top { font-size: clamp(11px, .95vw, 14px); letter-spacing: .5em; }
.mark__row--sub { font-size: clamp(11px, .9vw, 13.5px); letter-spacing: .52em; margin-top: clamp(10px, 1.2vw, 18px); }
.mark__row .rule { display: block; width: clamp(40px, 6vw, 88px); height: 1px; background: currentColor; opacity: .7; }
.mark__row span { padding-left: .5em; }
.mark__el { font-family: var(--caps); font-size: clamp(34px, 3.9vw, 58px); line-height: 1; margin-top: clamp(14px, 1.6vw, 24px); }
.mark__name {
  font-family: var(--caps); font-weight: 400; text-transform: uppercase;
  font-size: clamp(58px, 7.6vw, 120px); line-height: .95; letter-spacing: .015em;
  margin-top: 4px;
}
.mark__name::first-letter { font-size: 1.22em; }
.hero__tag { font-style: italic; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.4; margin-top: clamp(26px, 3vw, 40px); text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.hero__cta { margin-top: clamp(28px, 3.2vw, 44px); min-height: 46px; padding: 0 26px; background: rgba(23, 18, 15, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.hero__scroll {
  position: absolute; left: clamp(18px, 3.6vw, 56px); bottom: clamp(36px, 7vh, 72px);
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--light);
}
.hero__scroll span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.hero__scroll i { display: grid; place-items: center; width: 26px; height: 42px; border: 1px solid var(--line-light); border-radius: 999px; overflow: hidden; }
.hero__scroll svg { width: 9px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; animation: nudge 2.2s var(--ease-io) infinite; }
@keyframes nudge { 0% { transform: translateY(-140%); } 45%, 55% { transform: translateY(0); } 100% { transform: translateY(140%); } }

/* entrada escalonada (solo con JS) */
.js .hero__inner [style*="--i"] { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: markIn 1.1s var(--ease-out) forwards; animation-delay: calc(.45s + var(--i) * 110ms); }
.js .mark__row .rule { transform: scaleX(0); animation: ruleIn 1.2s var(--ease-out) forwards; animation-delay: .9s; }
.js .mark__row .rule:first-child { transform-origin: right; }
.js .mark__row .rule:last-child { transform-origin: left; }
@keyframes markIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ruleIn { to { transform: scaleX(1); } }
.js .nav { animation: navIn 1s var(--ease-out) .25s both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-14px); } }

/* ---------- MOSAICO ---------- */
.mosaic { background: var(--dark); }
.row { display: grid; }
.row { min-height: clamp(440px, 36vw, 640px); }
.row--esencia { grid-template-columns: 42% 58%; }
.row--cocina { grid-template-columns: 29% 29% 42%; }
.row--eventos { grid-template-columns: 42% 29% 29%; }
.row--galeria { grid-template-columns: 34% 66%; }
.row--reservas { grid-template-columns: 60% 40%; background: var(--cream); }
.row--contacto { grid-template-columns: 45% 55%; }
.row + .row { border-top: 1px solid rgba(241, 231, 218, .06); }
.row .title { font-size: clamp(30px, 3vw, 46px); }
.row .copy { font-size: 17px; max-width: 38ch; }

.cell { position: relative; overflow: hidden; margin: 0; }
.cell--cream { background: var(--cream); color: var(--ink); }
.cell--dark { background: var(--dark); color: var(--light); }
.cell--dark .kicker { color: var(--light-2); }
.cell--dark .copy { color: var(--light-2); }
.cell__body { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 4vw, 64px) var(--pad); }
.cell__body .pill { margin-top: 28px; }

.cell--photo { background: var(--dark-2); display: block; width: 100%; height: 100%; }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s var(--ease-out), filter .6s ease; }
.cell--photo::after { /* velo cálido para unir fotos de móvil con el resto */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(60, 30, 10, .06), rgba(30, 15, 5, .22));
  mix-blend-mode: multiply;
}
.cell--photo figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: #fff;
  padding: 6px 12px; border-radius: 999px; background: rgba(23, 18, 15, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cell--photo:hover img { transform: scale(1.06); }
  .cell--photo:hover figcaption { opacity: 1; transform: none; }
}

/* barco a línea */
.boat { position: absolute; right: clamp(16px, 2.4vw, 36px); bottom: clamp(12px, 2vw, 28px); width: clamp(110px, 10vw, 150px); fill: none; stroke: var(--ink); stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.boat path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.boat__bob { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 5.5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: rotate(-1.6deg) translateY(0); } to { transform: rotate(1.6deg) translateY(2px); } }
.boat__sea { animation: sea 4s ease-in-out infinite alternate; }
@keyframes sea { to { transform: translateX(-6px); } }

/* cuerda */

/* ---------- revelados al hacer scroll (solo con JS) ---------- */
.js .cell--photo img { clip-path: inset(100% 0 0 0); transform: scale(1.18); }
.js .cell--photo.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); transition: clip-path 1.25s var(--ease-io), transform 1.8s var(--ease-out), filter .6s ease; transition-delay: var(--d, 0s); }
.js .cell__body > * { opacity: 0; transform: translateY(16px); filter: blur(5px); }
.js .is-in .cell__body > * { opacity: 1; transform: none; filter: blur(0); transition: opacity .8s ease, transform 1s var(--ease-out), filter .8s ease; }
.js .is-in .cell__body > :nth-child(2) { transition-delay: .08s; }
.js .is-in .cell__body > :nth-child(3) { transition-delay: .16s; }
.js .is-in .cell__body > :nth-child(4) { transition-delay: .24s; }
.js .cell .kicker { --k: 0; }
.js .is-in .kicker { --k: 1; }
.js .is-in .cell__body > .pill { transition: opacity .8s ease .3s, transform 1s var(--ease-out) .3s, filter .8s ease .3s, border-color .3s ease, color .3s ease; }
.js .is-in .cell__body > .pill:active { transform: scale(.97); transition: transform .16s var(--ease-out); }
.js .boat path { stroke-dashoffset: 1; }
.js .is-in .boat path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-io) .3s; }


/* ---------- secciones completas ---------- */
section[id] { scroll-margin-top: 70px; }
.pillars { list-style: none; margin: 0; padding: clamp(40px, 5vw, 72px) var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(24px, 4vw, 64px); background: var(--paper); border-top: 1px solid var(--line-dark); }
.pillars li { display: grid; gap: 6px; align-content: start; }
.pillars__n { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.pillars b { font-weight: 400; font-size: 22px; line-height: 1.2; }
.pillars span:last-child { color: var(--ink-2); font-size: 16px; }

.carta { background: var(--dark); color: var(--light); padding: clamp(64px, 7vw, 110px) var(--pad); border-top: 1px solid rgba(241, 231, 218, .08); }
.carta__head { max-width: 640px; }
.carta .kicker, .carta .copy { color: var(--light-2); }
.carta .title { font-size: clamp(32px, 3.2vw, 48px); }
.dishes { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 28px); }
.dish figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--dark-2); }
.dish img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dish:hover img { transform: scale(1.06); } }
.dish__n { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; color: var(--gold); margin-top: 16px; }
.dish h3 { font-weight: 400; font-size: 21px; line-height: 1.2; margin: 6px 0 6px; }
.dish p:last-child { color: var(--light-2); font-size: 15px; line-height: 1.45; }
.dish--note > div { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 28px; border: 1px solid var(--line-light); border-radius: 4px; }
.dish--note h3 { margin: 0; }
.dish--note .pill { margin-top: 12px; }
.dish--note .kicker { color: var(--light-2); }

.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 16px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: ""; width: 18px; height: 1px; background: var(--gold); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }
.grid .cell--photo { cursor: zoom-in; }

.row--reservas .cell__body { padding-right: clamp(24px, 3vw, 48px); }
.row--reservas .copy { max-width: 46ch; }
.row--reservas .book { width: min(520px, 100%); }
.rope-photo { position: relative; margin: 0; overflow: hidden; background: #ede2d8; }
.rope-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }

.cell--dark .rows div { border-top-color: rgba(241, 231, 218, .14); }
.cell--dark .rows dt { color: var(--light-2); }
.cell--dark .rows a { color: var(--gold-2); }
.row--contacto .rows { width: 100%; max-width: 520px; margin-bottom: 28px; }
.map { position: relative; overflow: hidden; min-height: 320px; background: var(--dark-2); }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.map .pill { position: absolute; left: 50%; top: 50%; translate: -50% -50%; background: rgba(23, 18, 15, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s ease, transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal .kicker { --k: 0; } .js .reveal.is-in .kicker { --k: 1; }

/* ---------- FOOTER ---------- */
.foot { position: relative; overflow: hidden; background: var(--dark); color: var(--light); border-top: 1px solid rgba(241, 231, 218, .1); }
.foot__waves { position: absolute; right: 0; bottom: 0; width: min(62vw, 900px); height: 70%; pointer-events: none; }
.foot__waves path { fill: none; stroke: var(--gold); stroke-width: .8; opacity: .8; vector-effect: non-scaling-stroke; }
.foot__top {
  position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(24px, 3vw, 48px);
  padding: clamp(34px, 3.6vw, 52px) var(--pad);
}
.foot__brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.foot__club { font-size: 13px; color: var(--light-2); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(22px, 2.8vw, 44px); font-size: 15px; }
.foot__links a { text-decoration: none; opacity: .9; }
.foot__links a:first-child { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.foot__social { display: flex; gap: 14px; padding-inline: clamp(18px, 2.4vw, 36px); border-inline: 1px solid rgba(241, 231, 218, .16); }
.foot__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background-color .25s ease, transform .16s var(--ease-out); }
.foot__social a:active { transform: scale(.94); }
.foot__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.foot__social .fill { fill: currentColor; stroke: none; }
@media (hover: hover) and (pointer: fine) { .foot__social a:hover { background: rgba(241, 231, 218, .1); } .foot__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; } }
.news { display: flex; flex-direction: column; gap: 10px; width: min(260px, 100%); }
.news label { font-size: 13px; color: var(--light-2); }
.news__field { display: flex; align-items: center; height: 40px; border: 1px solid var(--line-light); border-radius: 999px; padding-left: 16px; transition: border-color .25s ease; }
.news__field:focus-within { border-color: var(--gold); }
.news input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--light); font: 14px var(--serif); }
.news input::placeholder { color: rgba(241, 231, 218, .5); }
.news button { width: 40px; height: 38px; display: grid; place-items: center; }
.news button:active { transform: scale(.92); }
.news__msg { font-family: var(--sans); font-size: 12px; color: var(--gold-2); min-height: 1em; }
.foot__bottom {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px;
  padding: 22px var(--pad) 26px; border-top: 1px solid rgba(241, 231, 218, .1);
  font-size: 12.5px; color: var(--light-2);
}
.foot__addr { flex: 1; }
.foot__legal { display: flex; gap: 26px; }
.foot__legal button { font-size: 12.5px; color: var(--light-2); transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .foot__legal button:hover { color: var(--light); } }

/* ---------- DIÁLOGOS ---------- */
.dlg {
  border: 0; padding: 0; margin: auto; max-width: min(560px, calc(100vw - 32px)); width: 100%;
  max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink); border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(14px) scale(.97);
  transition: opacity .3s ease, transform .4s var(--ease-out), overlay .4s allow-discrete, display .4s allow-discrete;
}
.dlg[open] { opacity: 1; transform: none; }
@starting-style { .dlg[open] { opacity: 0; transform: translateY(14px) scale(.97); } }
.dlg::backdrop { background: rgba(12, 9, 7, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease, overlay .3s allow-discrete, display .3s allow-discrete; }
.dlg[open]::backdrop { opacity: 1; }
@starting-style { .dlg[open]::backdrop { opacity: 0; } }
.dlg--wide { max-width: min(880px, calc(100vw - 32px)); }
.dlg--dark { background: var(--dark-2); color: var(--light); }
.dlg--dark .kicker, .dlg--dark .copy, .dlg--dark .note { color: var(--light-2); }
.dlg__panel { position: relative; padding: clamp(28px, 4vw, 48px); }
.dlg__panel .title { font-size: clamp(26px, 3vw, 34px); padding-right: 30px; }
.dlg__panel .copy { max-width: none; }
.dlg__panel > .pill { margin-top: 26px; }
.dlg__x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s ease, transform .16s var(--ease-out); }
.dlg__x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.dlg__x:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .dlg__x:hover { background: rgba(127, 110, 95, .16); } }



.book { margin-top: 22px; display: grid; gap: 14px; }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book label { display: grid; gap: 6px; font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); }
.book input, .book select {
  height: 46px; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: 12px; background: #fff;
  font: 16px var(--serif); color: var(--ink); width: 100%; min-width: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.book input:focus, .book select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 162, 114, .3); }
.book .is-bad { border-color: #b4472c; }
.book .pill { justify-self: start; margin-top: 6px; }
.book__msg { font-family: var(--sans); font-size: 13px; color: var(--ink-2); min-height: 1em; }

.rows { margin-top: 22px; display: grid; gap: 14px; }
.rows div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.rows dt { font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); padding-top: 3px; }
.rows dd { font-size: 15.5px; }

/* galería a pantalla completa */
.dlg--photo { max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; border-radius: 0; background: rgba(12, 9, 7, .96); color: var(--light); }
.gal { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; }
.gal .dlg__x { right: 18px; top: 18px; background: rgba(241, 231, 218, .08); }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: 0; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 64px 20px 10px; }
.gal__slide img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.gal__bar { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 20px 26px; }
.gal__cap { min-width: 220px; text-align: center; font-size: 16px; }
.gal__cap em { font-style: normal; font-family: var(--sans); font-size: 12px; color: var(--light-2); margin-left: 8px; }
.gal__nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: transform .16s var(--ease-out), background-color .2s ease; }
.gal__nav svg { width: 15px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.gal__nav:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .gal__nav:hover { background: rgba(241, 231, 218, .1); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 0;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--light);
  font-family: var(--sans); font-size: 13.5px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s ease, transform .4s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav { grid-template-columns: auto 1fr auto auto; gap: 14px; }
  .nav__links { display: none; }
  .nav__cta { grid-column: 3; }
  .burger { display: block; grid-column: 4; }
  .row { min-height: 420px; }
  .row--cocina, .row--eventos { grid-template-columns: 1fr 1fr; }
  .row--cocina > .cell--dark, .row--eventos > .cell--cream { grid-column: 1 / -1; min-height: 340px; }
  .row--cocina > .cell--dark { order: -1; }
  .row--cocina > .cell--photo, .row--eventos > .cell--photo { min-height: 340px; }
  .row--esencia, .row--reservas, .row--contacto { grid-template-columns: 1fr 1fr; }
  .row--galeria { grid-template-columns: 1fr; }
  .row--galeria .grid { min-height: 520px; }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .hero__inner { width: 70%; }
  .foot__top { grid-template-columns: 1fr auto; }
  .foot__links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .foot__social { border-inline: 0; padding: 0; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { padding: 14px 18px; }
  .nav__cta { display: none; }
  .brand__name { font-size: 20px; }
  .hero__media img { object-position: 62% 50%; }
  .hero__veil { background: linear-gradient(180deg, rgba(20, 12, 8, .55) 0%, rgba(20, 12, 8, .3) 40%, rgba(20, 12, 8, .2) 62%, rgba(20, 12, 8, .6) 100%); }
  .hero__inner { width: 100%; padding: 80px 20px 60px; }
  .hero__glow { left: 62%; width: 80vw; height: 80vw; }
  .hero__shimmer { display: none; }
  .mark__name { font-size: clamp(52px, 15vw, 72px); }
  .mark__row { gap: 14px; }
  .mark__row .rule { width: 34px; }
  .hero__scroll { display: none; }

  .row, .row--esencia, .row--cocina, .row--eventos, .row--galeria, .row--reservas, .row--contacto { grid-template-columns: 1fr; min-height: 0; }
  .row > * { min-height: 0 !important; }
  .row--cocina, .row--eventos { grid-template-columns: 1fr 1fr; }
  .row--cocina > .cell--photo, .row--eventos > .cell--photo { aspect-ratio: 3 / 4; }
  .rope-photo { height: 260px; }
  .rope-photo img { -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .row--galeria .grid { min-height: 0; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .row--contacto .map { height: 300px; }
  .dishes { gap: 26px 14px; }
  .dish h3 { font-size: 18px; }
  .carta { padding: 60px 18px 70px; }
  .cell--photo { aspect-ratio: 4 / 3.4; height: auto; }
  .row--galeria .grid { grid-template-rows: none; }
  .grid .cell--photo { aspect-ratio: auto; height: 100%; }
  .cell__body { padding: 44px 24px 48px; }
  .title { font-size: 31px; }
  .copy { font-size: 16px; }
  .cell--cream#esencia .cell__body { padding-bottom: 120px; }

  .foot__top { grid-template-columns: 1fr; justify-items: start; gap: 28px; }
  .foot__brand { align-items: flex-start; }
  .foot__links { grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .news { width: 100%; }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot__legal { flex-wrap: wrap; gap: 8px 20px; }
  .foot__waves { width: 100%; height: 40%; opacity: .7; }

  .dlg { border-radius: 20px 20px 0 0; margin: auto 0 0; max-width: 100vw; max-height: 92dvh; transform: translateY(100%); transition: opacity .2s ease, transform .5s var(--ease-drawer), overlay .5s allow-discrete, display .5s allow-discrete; }
  .dlg[open] { transform: none; }
  @starting-style { .dlg[open] { transform: translateY(100%); } }
  .dlg--photo { border-radius: 0; max-height: 100dvh; margin: 0; }
  .book__grid { grid-template-columns: 1fr 1fr; }
  .rows div { grid-template-columns: 1fr; gap: 2px; }
  .gal__cap { min-width: 0; font-size: 14px; }
}

/* ---------- accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero__motes, .hero__shimmer { display: none; }
  .js .cell--photo img { clip-path: none; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav::before { background: var(--dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cell--photo figcaption, .hero__cta, .map .pill { background: var(--dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.dish--note .kicker { white-space: normal; }
@media (max-width: 680px) { .dish--note > div { padding: 20px 16px; } .dish--note .pill { padding: 0 14px; gap: 8px; font-size: 14px; } }
