/* ══════════════════════════════════════════════
   VALLE UTOPÍA — Glamping & Lodge · Pisco Elqui
   Estética: minimalismo de lujo, marfil + carbón + bronce
   ══════════════════════════════════════════════ */

:root {
  --ivory: #f7f4ee;
  --ivory-2: #efeae0;
  --ink: #1c1a16;
  --ink-soft: #55503f;
  --bronze: #9c7c45;
  --bronze-soft: #b99a63;
  --bronze-text: #7d6335; /* bronce oscurecido: 4.5:1+ sobre marfil para texto pequeño (WCAG AA) */
  --line: rgba(28, 26, 22, .16);
  --line-light: rgba(247, 244, 238, .14);
  --font-display: "Marcellus", serif;
  --font-body: "Mulish", sans-serif;
  --max: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: .01em; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.1rem; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, a, select, input { touch-action: manipulation; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip {
  position: fixed; left: 1rem; top: -60px; z-index: 500;
  background: var(--ink); color: var(--ivory); padding: .7rem 1.1rem; text-decoration: none; font-size: .85rem;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

.rule { display: block; width: 48px; height: 1px; background: var(--bronze); margin: 0 auto 1.4rem; }
.rule--light { background: var(--bronze-soft); }
.rule--left { margin-left: 0; }

/* ── Botones ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--ink); color: var(--ivory); }
.btn--solid:hover { background: var(--bronze); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--bronze); color: var(--bronze-text); }
.btn--gold { background: var(--bronze); color: var(--ivory); }
.btn--gold:hover { background: var(--bronze-soft); }
.btn--linelight { border: 1px solid rgba(247,244,238,.5); color: var(--ivory); text-transform: none; letter-spacing: .04em; }
.btn--linelight:hover { border-color: var(--bronze-soft); color: var(--bronze-soft); }
.btn--lg { padding: 1.05rem 2.4rem; }

/* ── Nav ─────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem 4vw;
  color: var(--ivory);
  transition: padding .35s ease, color .35s ease, box-shadow .35s ease;
}
.nav.is-scrolled { color: var(--ink); box-shadow: 0 1px 0 var(--line); padding-top: .7rem; padding-bottom: .7rem; }
/* Fondo y blur en un pseudo-elemento: backdrop-filter en .nav lo volvería contenedor
   del menú móvil (position: fixed) y el overlay quedaría recortado a la barra. */
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(247,244,238,.96); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s ease;
}
.nav.is-scrolled::before { opacity: 1; }
.nav__logo { height: 26px; width: auto; color: inherit; }
.nav:not(.is-scrolled) .nav__logo { filter: invert(1) brightness(2); }
.nav__brand { display: flex; align-items: center; }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; transition: color .2s, opacity .2s; }
.nav__links a:hover { color: var(--bronze); opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 1.4rem; }
.nav.is-scrolled .btn--solid { background: var(--ink); color: var(--ivory); }
.nav:not(.is-scrolled) .btn--solid { background: rgba(247,244,238,.14); border: 1px solid rgba(247,244,238,.55); backdrop-filter: blur(4px); }
.nav:not(.is-scrolled) .btn--solid:hover { background: var(--bronze); border-color: var(--bronze); }

.lang { display: flex; align-items: center; gap: .45rem; font-size: .78rem; letter-spacing: .1em; }
.lang span { opacity: .4; }
.lang button {
  background: none; border: 0; cursor: pointer; color: inherit;
  font: inherit; opacity: .55; padding: .2rem; min-height: 32px; transition: opacity .2s, color .2s;
}
.lang button:hover { opacity: 1; }
.lang button.is-active { opacity: 1; color: var(--bronze-soft); }
.nav.is-scrolled .lang button.is-active { color: var(--bronze-text); }

.nav__burger { display: none; position: relative; z-index: 110; background: none; border: 0; cursor: pointer; margin-left: auto; color: inherit; min-width: 44px; min-height: 44px; padding: 0 9px; }
.nav__burger span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 7px 0; transition: .3s; }
.nav__links.is-open ~ .nav__burger { color: var(--ink); }
.nav__links.is-open ~ .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__links.is-open ~ .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ── Hero ────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--ivory); }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: #23201a; margin: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media.img-fallback img { display: none; }
.hero__media.img-fallback { background: linear-gradient(180deg, #2b2620 0%, #23201a 100%); }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,14,.55) 0%, rgba(20,18,14,.34) 45%, rgba(20,18,14,.66) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 860px; min-width: 0; width: 100%; padding: 7rem 5vw 5rem; }
.hero__logo { height: 74px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 2rem; color: var(--ivory); filter: invert(1) brightness(2); }
.hero__eyebrow { letter-spacing: .42em; text-transform: uppercase; font-size: .72rem; margin-bottom: 1.3rem; color: var(--ivory); opacity: .92; text-shadow: 0 1px 12px rgba(20,18,14,.6); }
.hero__title { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 400; margin-bottom: 2.4rem; text-shadow: 0 2px 24px rgba(20,18,14,.35); }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn--line { border-color: rgba(247,244,238,.65); color: var(--ivory); }
.hero .btn--line:hover { border-color: var(--bronze-soft); color: var(--bronze-soft); }

/* Búsqueda rápida (escritorio) */
.hero__book {
  display: none; align-items: flex-end; gap: .8rem;
  max-width: 780px; margin: 0 auto; padding: 1rem 1.1rem;
  background: rgba(247,244,238,.95); color: var(--ink); text-align: left;
  box-shadow: 0 24px 60px rgba(10,9,7,.35);
}
.hb__f { flex: 1 1 0; min-width: 0; }
.hb__f--s { flex: 0 0 110px; }
.hero__book label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; margin-bottom: .3rem; }
.hero__book input, .hero__book select {
  width: 100%; height: 46px; padding: 0 .75rem;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: .95rem; font-weight: 400;
}
.hero__book input:focus, .hero__book select:focus { border-color: var(--bronze); outline: none; }
.hero__book .btn { height: 46px; white-space: nowrap; padding: 0 1.6rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; z-index: 2; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .2rem;
  color: rgba(247,244,238,.8); text-decoration: none; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  min-height: 44px; padding: .3rem .8rem;
}
.hero__scroll .ico { width: 22px; height: 22px; animation: nudge 2.4s ease-in-out infinite; }
.hero__scroll:hover { color: var(--bronze-soft); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ── Secciones ───────────────────────────── */
.section { padding: 6rem 5vw; max-width: var(--max); margin: 0 auto; }
.section--tinted { max-width: none; background: var(--ivory-2); }
.section--tinted > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--slim { padding-top: 3rem; padding-bottom: 3rem; }
.section__head { text-align: center; margin-bottom: 3.2rem; }
.section__lead { max-width: 600px; margin: 0 auto; color: var(--ink-soft); }
.section-eyebrow { letter-spacing: .34em; text-transform: uppercase; font-size: .72rem; color: var(--bronze-text); margin-bottom: .9rem; }
.section-note { margin-top: 2.4rem; text-align: center; color: var(--ink-soft); font-size: .9rem; }
.section-note a { color: var(--bronze-text); text-decoration: none; border-bottom: 1px solid transparent; }
.section-note a:hover { border-color: var(--bronze); }

/* ── Intro ───────────────────────────────── */
.intro { padding: 6.5rem 5vw; }
.intro__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; align-items: center; }
.intro__text > p:not(.section-eyebrow) { color: var(--ink-soft); max-width: 58ch; }
.badges { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.6rem; margin-top: 2.2rem; max-width: 520px; }
.badges li { display: flex; align-items: center; gap: .75rem; font-size: .92rem; font-weight: 400; }
.badges .ico { width: 22px; height: 22px; color: var(--bronze); }
.intro__media { position: relative; margin: 0; justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 16; max-height: 600px; overflow: hidden; background: var(--ivory-2); box-shadow: 0 30px 60px rgba(28,26,22,.16); }
.intro__media video { width: 100%; height: 100%; object-fit: cover; }
.intro__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(20,18,14,.6));
  color: var(--ivory); font-size: .8rem; letter-spacing: .08em;
}
.intro__vbtn {
  position: absolute; right: .6rem; top: .6rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(20,18,14,.5); color: var(--ivory); backdrop-filter: blur(4px);
}
.intro__vbtn:hover { background: rgba(20,18,14,.75); }

/* ── Alojamientos ────────────────────────── */
.rooms { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.room { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.room:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(28,26,22,.1); }
.room__media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory-2); }
.room__zoom, .gallery__btn, .exp-photo__btn {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
}
.room__zoom:focus-visible, .gallery__btn:focus-visible, .exp-photo__btn:focus-visible { outline-offset: -4px; outline-color: var(--ivory); }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room:hover .room__media img { transform: scale(1.04); }
.room__media.img-fallback img { display: none; }
.room__media.img-fallback { background: linear-gradient(135deg, #e8e1d2, #d5c9b2); }
.room__cap {
  position: absolute; left: 1rem; top: 1rem; pointer-events: none;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(247,244,238,.95); color: var(--ink);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: .45rem .75rem;
}
.room__cap .ico { width: 16px; height: 16px; color: var(--bronze-text); }
.room__body { display: flex; flex-direction: column; flex: 1; padding: 1.8rem 1.7rem 1.9rem; }
.room__tag { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: .45rem; font-weight: 600; }
.room h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.room__desc { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.3rem; }
.amen { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
.amen li { display: flex; align-items: flex-start; gap: .6rem; font-size: .87rem; line-height: 1.45; font-weight: 400; }
.amen .ico { width: 18px; height: 18px; color: var(--bronze); margin-top: 1px; }
.rates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-top: auto; margin-bottom: 1.4rem; }
.rate { padding: .85rem 1rem .9rem; }
.rate + .rate { border-left: 1px solid var(--line); }
.rate span { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: .15rem; }
.rate strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.rate small { font-size: .78rem; color: var(--ink-soft); }
.rate--pref { background: rgba(156,124,69,.08); }
.rate--pref span { color: var(--bronze-text); }
.room__actions { display: flex; align-items: center; gap: .6rem 1.4rem; flex-wrap: wrap; }
.room__actions .btn { padding: .8rem 1.8rem; }
.link-wa {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  color: var(--bronze-text); text-decoration: none;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.link-wa .ico { width: 18px; height: 18px; }
.link-wa:hover { color: var(--ink); }

/* ── Experiencias (noche) ────────────────── */
.section--night { max-width: none; position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); }
.section--night::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 8% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 35% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 84%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 57% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 66% 48%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 70%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 38%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 14% 90%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 92%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 46%, #fff 50%, transparent 51%);
  background-size: 640px 520px;
}
.section--night > * { position: relative; max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--night .section-eyebrow { color: var(--bronze-soft); }
.exp-layout { display: grid; grid-template-columns: .85fr 1.6fr; gap: 2.4rem; align-items: stretch; }
.exp-photo { position: relative; margin: 0; min-height: 440px; overflow: hidden; background: #2a2620; }
.exp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.exp-photo:hover img { transform: scale(1.04); }
.exp-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.2rem 1rem; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(10,9,7,.75));
  font-family: var(--font-display); font-size: 1.05rem;
}
.exp-photo.img-fallback img { display: none; }
.exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.exp { padding: 1.9rem 1.8rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .3s; }
.exp:hover { background: rgba(185,154,99,.08); }
.exp .ico { width: 28px; height: 28px; color: var(--bronze-soft); margin-bottom: 1rem; }
.exp h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.exp p { color: rgba(247,244,238,.74); font-size: .92rem; }

/* ── Split ───────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.split__text p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.split__text strong { color: var(--ink); font-weight: 600; }
.split__img { height: 420px; overflow: hidden; margin: 0; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__img--dine img { object-position: center 30%; }
.split__img.img-fallback img { display: none; }
.split__img.img-fallback { background: linear-gradient(135deg, #e8e1d2, #cbbfa6); }
.split__map { height: 380px; overflow: hidden; border: 1px solid var(--line); }
.split__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.12); }

/* ── Galería (mosaico) ───────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 10px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--ivory-2); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .3s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure.img-fallback img { display: none; }
.gallery figure.img-fallback { background: linear-gradient(135deg, #e8e1d2, #d5c9b2); }

/* ── Visor de fotos ──────────────────────── */
.lb {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; padding: 4.5rem 5.5rem 2rem;
  background: rgba(14,13,10,.95);
  animation: fadeIn .2s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 9rem); object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb__cap { color: rgba(247,244,238,.82); font-size: .9rem; text-align: center; padding-top: 1rem; max-width: 62ch; }
.lb__count { position: absolute; top: 1.5rem; left: 1.6rem; color: rgba(247,244,238,.7); font-size: .78rem; letter-spacing: .22em; font-variant-numeric: tabular-nums; }
.lb__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(247,244,238,.08); color: var(--ivory); border: 1px solid rgba(247,244,238,.28);
  transition: background .2s, border-color .2s;
}
.lb__btn:hover { background: rgba(247,244,238,.18); border-color: rgba(247,244,238,.6); }
.lb__btn .ico { width: 22px; height: 22px; }
.lb__close { top: 1rem; right: 1rem; }
.lb__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ── Políticas ───────────────────────────── */
.policies { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.policies div { padding: 1.8rem 1.4rem; text-align: center; }
.policies div + div { border-left: 1px solid var(--line); }
.policies .ico { width: 24px; height: 24px; color: var(--bronze); margin: 0 auto .7rem; display: block; }
.policies h4 { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: .5rem; font-family: var(--font-body); font-weight: 600; }
.policies p { color: var(--ink-soft); font-size: .9rem; }

/* ── CTA ─────────────────────────────────── */
.cta { padding: 7.5rem 5vw; background: var(--ink); color: var(--ivory); text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 2.4rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────── */
.footer { padding: 3.2rem 5vw 2.6rem; text-align: center; background: var(--ink); color: var(--ivory); border-top: 1px solid var(--line-light); }
.footer__logo { height: 34px; width: auto; margin: 0 auto 1.2rem; filter: invert(1) brightness(2); }
.footer__addr { color: rgba(247,244,238,.7); font-size: .88rem; margin-bottom: 1.2rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: center; margin-bottom: 1.2rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: rgba(247,244,238,.72); text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.footer__links .ico { width: 17px; height: 17px; }
.footer__links a:hover { color: var(--bronze-soft); }
.footer__legal { color: rgba(247,244,238,.55); font-size: .78rem; }

/* ── Barra de reserva móvil ──────────────── */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: none; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(247,244,238,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(28,26,22,.08);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mbar.is-on { transform: none; }
.mbar__txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mbar__from { font-size: .82rem; color: var(--ink-soft); }
.mbar__from strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.mbar__sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; }
.mbar .btn { padding: .75rem 1.4rem; flex: none; }

/* ── Reveal ──────────────────────────────── */
/* Solo se ocultan si hay JS (clase .js en <html>); sin JS la página queda visible */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.rooms .room.reveal:nth-child(2), .exp-grid .exp:nth-child(2) { transition-delay: .08s; }
.rooms .room.reveal:nth-child(3), .exp-grid .exp:nth-child(3) { transition-delay: .04s; }
.rooms .room.reveal:nth-child(4), .exp-grid .exp:nth-child(4) { transition-delay: .12s; }
.exp-grid .exp:nth-child(5) { transition-delay: .08s; }
.exp-grid .exp:nth-child(6) { transition-delay: .16s; }

/* ── Responsive ──────────────────────────── */
@media (min-width: 761px) {
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem; }
  .hero__book { display: flex; }
  .hero__actions { display: none; }
  .hero__scroll { display: flex; }
}
@media (max-width: 1000px) {
  .exp-layout { grid-template-columns: 1fr; }
  .exp-photo { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .intro__grid { grid-template-columns: 1fr; gap: 3rem; }
  .intro__media { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
}
/* El menú completo necesita ~1200px: se compacta antes y pasa a hamburguesa bajo 1100px. */
@media (max-width: 1280px) {
  .nav { gap: 1.2rem; padding-left: 3vw; padding-right: 3vw; }
  .nav__links { gap: 1.2rem; }
  .nav__links a { letter-spacing: .1em; }
  .nav__right { gap: .9rem; }
}
@media (max-width: 1100px) {
  .nav__links {
    position: fixed; inset: 0; background: rgba(247,244,238,.98); color: var(--ink);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; font-size: 1rem;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__burger { display: block; }
  .nav__right { margin-left: auto; }
}
@media (max-width: 760px) {
  .nav__cta { display: none; }
  .policies div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .intro { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .mbar { display: flex; }
  body.has-mbar #vuChat { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .room__body { padding: 1.5rem 1.3rem 1.6rem; }
  .room__actions .btn { flex: 1 1 100%; }
  .exp-grid { grid-template-columns: 1fr; }
  .lb { padding: 4rem .6rem 1.4rem; }
  .lb__prev, .lb__next { top: auto; bottom: 1rem; transform: none; }
  .lb__prev { left: calc(50% - 60px); }
  .lb__next { right: calc(50% - 60px); }
  .lb__fig img { max-height: calc(100svh - 12rem); }
}
@media (max-width: 420px) {
  .amen { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .nav { gap: .7rem; }
  .nav__logo { height: 22px; }
  .lang { gap: .25rem; }
}

/* ── Chatbot ─────────────────────────────── */
#vuChat { position: fixed; right: 22px; bottom: 22px; z-index: 200; font-family: var(--font-body); transition: bottom .3s var(--ease); }
.chat__fab {
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--ivory);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(247,244,238,.28), 0 10px 30px rgba(28,26,22,.3);
  transition: background .3s, transform .3s;
}
.chat__fab:hover { background: var(--bronze); transform: translateY(-2px); }
.chat__panel {
  position: absolute; right: 0; bottom: 68px;
  width: min(360px, calc(100vw - 44px)); height: 460px;
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(28,26,22,.22);
}
.chat__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.1rem; background: var(--ink); color: var(--ivory);
  font-family: var(--font-display); font-size: 1rem;
}
.chat__head button { background: none; border: 0; color: inherit; font-size: 1.4rem; cursor: pointer; line-height: 1; min-width: 44px; min-height: 44px; }
.chat__msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--ivory); }
.chat__msg { max-width: 85%; padding: .6rem .9rem; font-size: .9rem; line-height: 1.5; white-space: pre-line; }
.chat__msg--bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.chat__msg--user { background: var(--ink); color: var(--ivory); align-self: flex-end; }
.chat__wa { display: inline-block; margin-top: .5rem; color: var(--bronze-text); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.chat__form { display: flex; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; border: 0; padding: .9rem 1rem; font: inherit; font-size: 16px; outline: none; background: #fff; }
.chat__form input:focus-visible { box-shadow: inset 0 -2px 0 var(--bronze); }
input::placeholder, textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.chat__form button { border: 0; background: var(--bronze); color: #fff; padding: 0 1.1rem; cursor: pointer; font-size: 1rem; min-width: 44px; }
.chat__form button:hover { background: var(--ink); }

/* ── Reserva (modal) ─────────────────────── */
.bk__overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(28,26,22,.55); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 4vh 4vw;
  animation: fadeIn .2s ease-out;
}
.bk__modal {
  position: relative; background: var(--ivory);
  width: min(640px, 100%); max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 2.4rem 2.2rem;
  animation: rise .28s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bk__modal h3 { font-size: 1.6rem; margin-bottom: 1.4rem; padding-right: 2.5rem; }
.bk__close { position: absolute; top: .7rem; right: .8rem; width: 44px; height: 44px; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--ink-soft); }
.bk__close:hover { color: var(--ink); }
.bk__label { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-text); margin: 1.1rem 0 .35rem; font-weight: 600; }
.bk__modal input, .bk__modal select, .bk__modal textarea {
  width: 100%; min-height: 44px; padding: .65rem .8rem; font: inherit; font-size: 16px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); outline: none;
}
.bk__modal input:focus, .bk__modal select:focus, .bk__modal textarea:focus { border-color: var(--bronze); }
.bk__modal [aria-invalid="true"] { border-color: #a4322a; }
.bk__row { display: flex; gap: .9rem; }
.bk__row > div { flex: 1; min-width: 0; }
.bk__services { display: flex; flex-direction: column; gap: .5rem; }
.bk__svc { display: flex; align-items: center; gap: .8rem; justify-content: space-between; background: #fff; border: 1px solid var(--line); padding: .55rem .8rem; }
.bk__svc label { display: flex; align-items: center; gap: .55rem; font-size: .92rem; flex: 1; cursor: pointer; min-height: 32px; }
.bk__svc input[type="checkbox"] { width: 18px; min-height: 18px; height: 18px; accent-color: var(--bronze); }
.bk__svc em { font-style: normal; color: var(--ink-soft); font-size: .82rem; margin-left: auto; }
.bk__svc select { width: 92px; min-height: 36px; padding: .35rem .4rem; font-size: .85rem; }
.bk__summary { margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.bk__summary h4 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: .6rem; font-family: var(--font-body); font-weight: 600; }
.bk__line { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--ink-soft); padding: .2rem 0; }
.bk__line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk__line--total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .6rem; color: var(--ink); font-weight: 600; }
.bk__fine { font-size: .78rem; color: var(--ink-soft); margin-top: .8rem; }
.bk__avail { margin-top: 1rem; padding: .75rem .9rem; border-left: 3px solid var(--bronze); background: #f3ecdf; color: var(--ink); font-size: .88rem; font-weight: 400; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.bk__avail span { flex-basis: 100%; }
.bk__alt { min-height: 40px; padding: .45rem .8rem; border: 1px solid var(--bronze); background: #fff; color: var(--bronze-text); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.bk__alt:hover { background: var(--bronze); color: #fff; }
.bk__actions .btn[disabled] { opacity: .45; cursor: not-allowed; }
.bk__error { margin-top: 1rem; padding: .7rem .9rem; border-left: 3px solid #a4322a; background: #f8e9e6; color: #7a2119; font-size: .88rem; font-weight: 400; }
.bk__actions { display: flex; gap: .8rem; margin-top: 1.3rem; flex-wrap: wrap; }
.bk__actions .btn { flex: 1; text-align: center; font-family: var(--font-body); }

@media (max-width: 560px) {
  .bk__row { flex-direction: column; gap: 0; }
  .bk__modal { padding: 2rem 1.3rem 1.6rem; }
  .bk__overlay { padding: 0; place-items: end center; }
  .bk__modal { max-height: 94svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Aviso al volver de MercadoPago */
.pago-aviso {
  position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 200;
  width: min(34rem, calc(100% - 2rem)); display: flex; gap: .75rem; align-items: flex-start;
  background: var(--ink); color: var(--ivory); padding: 1rem 1.1rem; border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28); font-size: .95rem; line-height: 1.45;
}
.pago-aviso p { margin: 0; flex: 1; }
.pago-aviso--error { border-left: 4px solid #c9694f; }
.pago-aviso button { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
