/* =========================================================
   Meloneras Luxury Villa — v2
   Paleta de la casa: hueso de la fachada, tinta de las carpinterías,
   roble de los cabeceros, mostaza de las toallas, noche azul.
   ========================================================= */
:root {
  --bone: #f3eee6;
  --bone-2: #e9e1d4;
  --ink: #121416;
  --ink-2: #3b3f43;
  --mute: #8a8174;
  --oak: #a46f38;
  --gold: #d0a43f;
  --night: #0f1418;
  --night-2: #182027;
  --line: rgba(18, 20, 22, .14);
  --line-l: rgba(255, 255, 255, .18);

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --g: clamp(16px, 3.4vw, 48px);
  --max: 1440px;
  --sec: clamp(96px, 13vw, 200px);
  --e: cubic-bezier(.16, 1, .3, 1);
  --e2: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--g) * 2); margin-inline: auto; padding-inline: var(--g); }
.tnum { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.muted { color: var(--mute); }
.small { font-size: 14px; }

/* ---------- Tipografía ---------- */
.eyebrow { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--oak); margin-bottom: 26px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.h-l { font: 400 clamp(2.2rem, 4vw, 3.4rem)/1 var(--serif); letter-spacing: -.01em; margin-bottom: .5em; }
.h-xl { font: 400 clamp(3rem, 7vw, 6.6rem)/.95 var(--serif); letter-spacing: -.02em; margin-bottom: .4em; }
.h-xxl { font: 400 clamp(3.4rem, 9vw, 9rem)/.92 var(--serif); letter-spacing: -.025em; margin-bottom: .35em; }
.h-mega { font: 400 clamp(4.4rem, 17vw, 17rem)/.86 var(--serif); letter-spacing: -.035em; margin-bottom: .2em; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.35rem); line-height: 1.55; }
.lead--xl { font: 400 clamp(1.8rem, 3.4vw, 3rem)/1.18 var(--serif); letter-spacing: -.01em; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
[data-split] .w > span { display: inline-block; will-change: transform; }

/* ---------- Botones y enlaces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: background .4s var(--e), color .4s var(--e), border-color .4s var(--e), transform .4s var(--e); }
.btn:hover { transform: translateY(-2px); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--big { min-height: 64px; padding: 0 40px; font-size: 16px; }
.btn--dark { background: var(--ink); color: var(--bone); }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--pill { min-height: 44px; padding: 0 22px; font-size: 14px; }
.link-arrow { display: inline-flex; gap: 14px; align-items: center; font: 500 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid currentColor; }
.link-arrow span { transition: transform .5s var(--e); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Transición de página, grano, cursor ---------- */
.pt { position: fixed; inset: 0; z-index: 150; background: var(--night); display: grid; place-items: center; pointer-events: none; transform: translateY(101%); }
.pt span { font: italic 400 clamp(2.6rem, 6vw, 5rem)/1 var(--serif); color: var(--bone); opacity: 0; }
html.pt-in .pt { transform: none; }
html.pt-in .pt span { opacity: 1; }
.grain { position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-2%,-1%) } 100% { transform: translate(0,0) } }
.cursor { position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--bone); color: var(--ink); display: grid; place-items: center; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transform: scale(0); transition: transform .45s var(--e); mix-blend-mode: normal; }
.cursor.is-on { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Cabecera ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; padding-inline: var(--g); color: var(--ink); transition: transform .6s var(--e), background .5s var(--e), color .5s var(--e), height .5s var(--e); }
html.hd-dark .hd { color: #fff; }
.hd.is-solid { background: rgba(243, 238, 230, .9); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); color: var(--ink); height: 68px; box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-100%); }
.hd__brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.hd__m { font: 400 28px/1 var(--serif); }
.hd__s { font: 500 9.5px/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; margin-top: 6px; opacity: .8; }
.hd__nav { display: flex; gap: clamp(18px, 2.6vw, 44px); }
.hd__nav a { font-size: 14px; text-decoration: none; position: relative; opacity: .9; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .5s var(--e); }
.hd__nav a:hover::after, .hd__nav a[aria-current]::after { right: 0; }
.hd__end { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-size: 12.5px; letter-spacing: .1em; }
.lang a, .lang span { padding: 6px 7px; text-decoration: none; opacity: .55; }
.lang a:hover, .lang [aria-current] { opacity: 1; }
.hd .hd__book { background: var(--ink); color: var(--bone); }
html.hd-dark .hd:not(.is-solid) .hd__book { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hd__burger { display: none; align-items: center; gap: 10px; height: 44px; position: relative; }
.hd__burger span { position: absolute; left: 0; width: 24px; height: 1.5px; background: currentColor; transition: transform .5s var(--e); }
.hd__burger span:first-child { top: 17px; } .hd__burger span:nth-child(2) { top: 25px; }
.hd__burger b { font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding-left: 36px; }
.hd__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.hd__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 95; background: var(--night); color: var(--bone); display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--g) calc(32px + env(safe-area-inset-bottom)); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--e2); }
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; font: 400 clamp(3rem, 13vw, 5.5rem)/1.05 var(--serif); text-decoration: none; }
.menu__links a span { font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.menu__links a[aria-current] { font-style: italic; }
.menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html.menu-open .hd { color: var(--bone); background: transparent; box-shadow: none; }

/* ---------- Portada (inicio) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: #fff; overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s linear; }
.hero__video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,16,.45) 0%, rgba(8,12,16,0) 30%, rgba(8,12,16,.05) 55%, rgba(8,12,16,.7) 100%); }
.hero__content { position: absolute; left: var(--g); right: var(--g); bottom: clamp(96px, 14vh, 150px); }
.hero__title { font: 400 clamp(4.6rem, 17.5vw, 19rem)/.8 var(--serif); letter-spacing: -.045em; margin-bottom: clamp(18px, 3vh, 34px); }
.hero__title .line { display: block; }
.hero__title .line--it { font-style: italic; padding-left: .9em; font-size: .62em; letter-spacing: -.02em; margin-top: .06em; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero__sub { max-width: 36ch; margin: 0; font-size: clamp(1.02rem, 1.4vw, 1.25rem); line-height: 1.45; }
.hero__foot { position: absolute; left: var(--g); right: var(--g); bottom: 30px; display: flex; justify-content: space-between; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.hero__foot p { margin: 0; display: flex; align-items: center; gap: 12px; }
.hero__rating i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(208,164,63,.25); }
.hero__scroll i { width: 56px; height: 1px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: cue 2.4s var(--e) infinite; }
@keyframes cue { 0% { transform: translateX(-100%) } 60%, 100% { transform: translateX(100%) } }


/* ---------- Recorrido con scroll (portada) ---------- */
.journey { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--night); color: #fff; }
.journey__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.journey__poster, .journey__poster img, .journey__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journey__canvas { opacity: 0; transition: opacity .5s linear; }
.journey__canvas.is-ready { opacity: 1; }
.journey__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,12,16,.42) 0%, rgba(8,12,16,0) 28%, rgba(8,12,16,0) 50%, rgba(8,12,16,.62) 100%); }
.journey__intro { position: absolute; left: var(--g); right: var(--g); bottom: clamp(104px, 15vh, 160px); z-index: 2; }
.journey__caps { position: absolute; inset: 0; z-index: 2; pointer-events: none; margin: 0; padding: 0; list-style: none; }
.jcap { position: absolute; left: var(--g); right: var(--g); bottom: clamp(110px, 17vh, 170px); max-width: 760px; opacity: 0; visibility: hidden; transform: translateY(40px); transition: opacity .7s var(--e), transform 1s var(--e), visibility 0s linear .7s; }
.jcap.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--e), transform 1s var(--e), visibility 0s; }
.jcap__n { display: block; font: 500 11px/1 var(--sans); letter-spacing: .3em; color: var(--gold); margin-bottom: 16px; }
.jcap__t { font: 400 clamp(3.2rem, 9vw, 9rem)/.9 var(--serif); letter-spacing: -.03em; margin-bottom: 16px; text-shadow: 0 2px 40px rgba(0,10,20,.3); }
.jcap p { margin: 0; font-size: clamp(1rem, 1.4vw, 1.25rem); max-width: 36ch; text-shadow: 0 1px 20px rgba(0,10,20,.4); }
.journey__ui { position: absolute; left: var(--g); right: var(--g); bottom: 26px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.journey__ui p { margin: 0; display: flex; align-items: center; gap: 12px; }
.journey__hint i { width: 56px; height: 1px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.journey__hint i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: cue 2.4s var(--e) infinite; }
.journey__bar { position: absolute; left: 0; right: 0; bottom: -26px; height: 3px; background: rgba(255,255,255,.12); }
.journey__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
html:not(.anim) .journey__caps, html:not(.anim) .journey__bar { display: none; }
@media (max-width: 699px) {
  .journey__intro { bottom: 86px; }
  .journey__intro .hero__row .btn { display: none; }
  .jcap { bottom: 96px; }
  .journey__ui .hero__rating { display: none; }
}

/* ---------- Manifiesto y cifras ---------- */
.manifest { padding-block: var(--sec); }
.manifest__txt { font: 400 clamp(2rem, 4.6vw, 4.4rem)/1.12 var(--serif); letter-spacing: -.015em; max-width: 22ch; margin-bottom: clamp(64px, 9vw, 140px); }
[data-words] .wd { opacity: .14; transition: opacity .2s linear; }
html:not(.anim) [data-words] .wd { opacity: 1; }
.figs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.fig { padding: 28px 16px 24px 0; border-bottom: 1px solid var(--line); }
.fig__n { font: 400 clamp(4rem, 9vw, 8.5rem)/.85 var(--serif); letter-spacing: -.03em; margin: 0 0 14px; }
.fig__n small { font-size: .3em; letter-spacing: 0; color: var(--oak); margin-left: .15em; }
.fig__t { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Espacios (scroll horizontal) ---------- */
.spaces { padding-bottom: var(--sec); }
.spaces__head { margin-bottom: clamp(32px, 4vw, 56px); }
.spaces__pin { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.spaces__pin::-webkit-scrollbar { display: none; }
.spaces__track { display: flex; gap: clamp(14px, 2vw, 28px); padding-inline: var(--g); width: max-content; }
.space { position: relative; flex: 0 0 auto; width: min(78vw, 560px); scroll-snap-align: start; text-decoration: none; color: inherit; }
.space__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--bone-2); }
.space__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--e); }
.space:hover .space__media img { transform: scale(1.04); }
.space__cap { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding-top: 18px; }
.space__n { font: 500 11px/1.8 var(--sans); letter-spacing: .24em; color: var(--oak); grid-row: span 2; }
.space__t { font: 400 clamp(2rem, 3vw, 2.8rem)/1 var(--serif); }
.space__cap p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.space--end { width: min(60vw, 380px); display: grid; place-content: center; text-align: center; gap: 18px; border: 1px solid var(--line); aspect-ratio: 4 / 5; align-self: start; font: 400 clamp(1.8rem, 2.6vw, 2.4rem)/1.1 var(--serif); }
.space--end b { font: 300 3rem/1 var(--sans); transition: transform .6s var(--e); }
.space--end:hover b { transform: translateX(10px); }

/* ---------- Película ---------- */
.film { background: var(--night); color: var(--bone); padding-top: var(--sec); }
.film__head { margin-bottom: clamp(32px, 4vw, 56px); display: grid; gap: 0 48px; }
.film__head .eyebrow { grid-column: 1 / -1; }
.film__intro { color: #9aa5ad; max-width: 40ch; }
.film__screen { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.film__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.65) 100%); }
.film__bar { position: absolute; z-index: 2; left: var(--g); right: var(--g); bottom: 28px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.film__bar::-webkit-scrollbar { display: none; }
.film__ch { flex: 1 0 auto; min-width: 120px; text-align: left; color: rgba(255,255,255,.6); font: 400 15px/1.2 var(--sans); padding-top: 14px; position: relative; transition: color .4s; }
.film__ch span { display: block; font: 500 10px/1 var(--sans); letter-spacing: .22em; margin-bottom: 8px; color: var(--gold); }
.film__ch i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.film__ch i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.film__ch.is-on, .film__ch:hover { color: #fff; }

/* ---------- Cita ---------- */
.quote { position: relative; min-height: 110vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--night); }
.quote__media, .cta__media, .phero__media { position: absolute; inset: -12% 0; }
.quote__media img, .cta__media img, .phero__media img { width: 100%; height: 100%; object-fit: cover; }
.quote__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,12,16,.65), rgba(8,12,16,.15)); }
.quote__body { position: relative; z-index: 1; margin: 0 auto; }
.quote blockquote { margin: 0 0 32px; font: italic 400 clamp(2.6rem, 6.4vw, 6.6rem)/1 var(--serif); letter-spacing: -.02em; max-width: 16ch; }
.quote figcaption { font: 500 12px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.quote__tr { display: block; margin-top: 10px; text-transform: none; letter-spacing: 0; font: 400 15px/1.5 var(--sans); opacity: .8; max-width: 50ch; }
html[lang="es"] .quote__tr { display: none; }

/* ---------- Opiniones ---------- */
.reviews { padding-block: var(--sec); overflow: hidden; }
.reviews__head { display: grid; gap: 32px; align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.reviews__big { margin: 0; font: 400 clamp(9rem, 26vw, 24rem)/.75 var(--serif); letter-spacing: -.06em; }
.reviews__big small { font-size: .18em; color: var(--oak); letter-spacing: 0; }
.bars { margin-top: 28px; max-width: 520px; }
.bars li { display: grid; grid-template-columns: 9em 1fr 2.4em; gap: 14px; align-items: center; padding: 8px 0; font-size: 14px; }
.bars i { height: 1px; background: var(--line); position: relative; }
.bars i::after { content: ""; position: absolute; inset: -1px 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--v)); }
.bars b { font-weight: 500; text-align: right; }
.mq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 40px; }
.mq__track { display: flex; gap: 80px; width: max-content; animation: mq 60s linear infinite; }
.mq:hover .mq__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq__item { margin: 0; flex: 0 0 auto; max-width: 620px; }
.mq__item blockquote { margin: 0 0 14px; font: italic 400 clamp(1.6rem, 2.6vw, 2.4rem)/1.2 var(--serif); }
.mq__item figcaption { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }

/* ---------- Teaser zona / mosaico ---------- */
.teaser { display: grid; gap: clamp(32px, 5vw, 96px); align-items: center; padding-bottom: var(--sec); }
.teaser__media { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.teaser__media img, .mosaic img, .pic img { width: 100%; height: 100%; object-fit: cover; }
.zd { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; margin: 36px 0 40px; }
.zd li p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.zd__n { font: 400 clamp(2.8rem, 4.4vw, 4rem)/.9 var(--serif) !important; color: var(--ink) !important; margin: 0 !important; }
.zd__n small { font-size: .32em; color: var(--oak); margin-left: .2em; letter-spacing: .05em; }
.zd--big { border-top: 1px solid var(--line); padding-top: 32px; }
.mosaic { display: grid; gap: 12px; padding-bottom: var(--sec); grid-template-columns: 1fr 1fr; }
.mosaic a { display: block; overflow: hidden; }
.mosaic__a { grid-column: span 2; aspect-ratio: 16 / 10; }
.mosaic__b, .mosaic__c { aspect-ratio: 4 / 5; }
.mosaic__link { grid-column: span 2; justify-self: start; margin-top: 24px; overflow: visible !important; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.cta--short { min-height: 86vh; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,16,.25), rgba(8,12,16,.78)); }
.cta__body { position: relative; z-index: 1; padding-bottom: clamp(64px, 10vw, 140px); }
.cta__body .h-xxl { max-width: 13ch; }
.cta__body p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 40ch; margin-bottom: 32px; }
.price { font: 400 1.4rem/1.2 var(--serif); }
.price strong { font-size: 1.6em; font-weight: 400; }

/* ---------- Cabecera de páginas interiores ---------- */
.phero { position: relative; height: 92vh; height: 92svh; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,16,.35) 0%, rgba(8,12,16,0) 35%, rgba(8,12,16,.7) 100%); }
.phero__body { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vw, 110px); }
.phero__body .h-xxl { max-width: 14ch; }
.phero__sub { max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin: 0; }
.phead { padding-top: clamp(150px, 20vh, 220px); padding-bottom: 48px; }
.phead .lead { max-width: 48ch; color: var(--ink-2); }

/* ---------- Villa ---------- */
.facts { padding-block: clamp(64px, 8vw, 120px) 0; }
.facts__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; }
.facts__nav a { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.facts__nav a:hover { border-color: currentColor; }
.chapter { display: grid; gap: clamp(28px, 4vw, 72px); padding-top: var(--sec); scroll-margin-top: 60px; }
.chapter__head { align-self: start; }
.chapter__n { font: 400 clamp(5rem, 9vw, 9rem)/.8 var(--serif); color: var(--oak); margin: 0 0 18px; font-style: italic; }
.chapter__t { font: 400 clamp(2.8rem, 5vw, 5rem)/.95 var(--serif); letter-spacing: -.02em; margin-bottom: 24px; }
.chapter__p { color: var(--ink-2); max-width: 44ch; font-size: clamp(1rem, 1.2vw, 1.12rem); }
.chapter__media { display: grid; gap: 12px; }
.pic { margin: 0; overflow: hidden; cursor: zoom-in; background: var(--bone-2); }
.pic--hero { aspect-ratio: 3 / 2; }
.pic-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.pic-row .pic { aspect-ratio: 4 / 5; }
.pic-row--3 .pic:first-child, .pic-row--4 .pic:first-child { grid-column: span 2; aspect-ratio: 3 / 2; }
.pic-row--4 .pic:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.amen { padding-block: var(--sec); }
.amen__grid { display: grid; gap: 0 40px; margin-top: 24px; }
.amen__col { padding: 26px 0 32px; border-top: 1px solid var(--ink); }
.amen__col h3 { font: 400 2rem/1 var(--serif); margin-bottom: 18px; }
.amen__col li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.amen__lang { margin-top: 28px; font: italic 400 1.5rem/1.3 var(--serif); color: var(--mute); }

/* ---------- Galería ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.chip { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.chip sup { font-size: 10px; margin-left: 6px; color: var(--mute); }
.chip.is-on { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip.is-on sup { color: var(--gold); }
.gallery { padding-bottom: var(--sec); }
.g { columns: 1; column-gap: 12px; }
.g__item { break-inside: avoid; margin-bottom: 12px; }
.g__item.is-out { display: none; }
.g__btn { display: block; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; background: var(--bone-2); }
.g__btn img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--e), opacity .6s; }
.g__item--t .g__btn img { aspect-ratio: 4 / 5; }
.g__btn:hover img { transform: scale(1.04); }

/* ---------- Zona ---------- */
.area { display: grid; gap: 48px; padding-block: var(--sec) clamp(48px, 6vw, 96px); }
.area-list { display: grid; gap: 0 56px; padding-bottom: var(--sec); }
.near { padding: 26px 0; border-top: 1px solid var(--ink); }
.near h3 { font: 400 2rem/1 var(--serif); margin-bottom: 16px; }
.near li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; }
.near li i { border-bottom: 1px dotted rgba(18,20,22,.3); transform: translateY(-4px); }
.near b { font-weight: 500; white-space: nowrap; }
.map { padding-bottom: var(--sec); }
.map__box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.map__box > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.map__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; text-align: center; padding: 24px; }
.map__ui .small { opacity: .8; margin: 0; }

/* ---------- Reservar ---------- */
.book { display: grid; gap: 48px; padding-top: clamp(150px, 20vh, 220px); padding-bottom: var(--sec); align-items: end; }
.book__l .lead { max-width: 46ch; color: var(--ink-2); }
.book__card { background: #fff; box-shadow: 0 30px 80px -40px rgba(18,20,22,.35); }
.book__img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.book__img img { width: 100%; height: 100%; object-fit: cover; }
.book__in { padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; }
.book__score { margin: 0; font-size: 15px; }
.book__score strong { font: 400 2.2rem/1 var(--serif); margin-right: 8px; }
.book__in .btn { width: 100%; }
.times, .rules, .faq, .revs, .manage { padding-bottom: clamp(72px, 9vw, 140px); }
.times__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.time { padding: 28px 20px 0 0; }
.time + .time { padding-left: 24px; border-left: 1px solid var(--line); }
.time__v { font: 400 clamp(2.4rem, 6vw, 5.4rem)/1 var(--serif); letter-spacing: -.02em; margin: 0 0 12px; white-space: nowrap; }
.rules__list li { padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); position: relative; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.rules__list li:first-child { border-top: 1px solid var(--line); }
.rules__list li::before { content: ""; position: absolute; left: 0; top: 31px; width: 20px; height: 1px; background: var(--oak); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 26px 56px 26px 0; font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.2 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(currentColor, currentColor) center/16px 1px no-repeat, linear-gradient(currentColor, currentColor) center/1px 16px no-repeat; transition: transform .5s var(--e); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 56px 26px 0; color: var(--ink-2); max-width: 70ch; }
.revs { display: grid; gap: 14px; }
.rev { margin: 0; padding: 32px; background: #fff; }
.rev__s { margin: 0 0 12px; font: 400 2rem/1 var(--serif); }
.rev__s small { font-size: .5em; color: var(--oak); }
.rev__t { font: italic 400 1.6rem/1.2 var(--serif); margin-bottom: 12px; }
.rev blockquote { margin: 0 0 16px; color: var(--ink-2); }
.rev figcaption { font-size: 13px; color: var(--mute); }
.manage .lead { max-width: 52ch; }

/* ---------- Pie ---------- */
.ft { background: var(--night); color: var(--bone); padding-top: var(--sec); overflow: hidden; }
.ft__top { display: grid; gap: 48px; padding-bottom: 64px; }
.ft__big { display: inline-block; font: 400 clamp(2.4rem, 6vw, 5.6rem)/1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line-l); padding-bottom: 10px; transition: border-color .4s; }
.ft__big:hover { border-color: var(--gold); }
.ft__nav { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ft__nav a { text-decoration: none; opacity: .8; }
.ft__nav a:hover { opacity: 1; }
.ft__word { margin: 0; font: 400 clamp(5rem, 24vw, 26rem)/.78 var(--serif); letter-spacing: -.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(243,238,230,.22); white-space: nowrap; user-select: none; }
.ft__bottom { display: grid; gap: 8px; padding-block: 36px calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-l); font-size: 13px; color: #9a958c; }
.ft__bottom p { margin: 0; }
.ft__bottom a { color: var(--bone); }

/* ---------- Barra móvil ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; background: rgba(243,238,230,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 999px; box-shadow: 0 12px 40px -12px rgba(0,0,0,.35); transform: translateY(150%); transition: transform .6s var(--e); }
.mbar.is-on { transform: none; }
.mbar p { margin: 0; font-size: 13px; color: var(--ink-2); }
.mbar strong { font: 400 1.35rem/1 var(--serif); color: var(--ink); margin-right: 4px; }

/* ---------- Visor ---------- */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,13,16,.97); color: #fff; }
.lb[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lb::backdrop { background: rgba(10,13,16,.9); }
.lb__fig { grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lb__fig img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
.lb__cap { font-size: 14px; color: #b9c1c7; text-align: center; max-width: 70ch; }
.lb__nav, .lb__close { width: 72px; height: 72px; font: 300 30px/1 var(--sans); opacity: .7; }
.lb__nav:hover, .lb__close:hover { opacity: 1; }
.lb__prev { grid-column: 1; grid-row: 1; } .lb__next { grid-column: 3; grid-row: 1; }
.lb__close { position: absolute; top: 8px; right: 8px; font-size: 40px; z-index: 2; }

/* ---------- Animación de entrada (solo con JS + GSAP) ---------- */
html.anim [data-reveal-img] { clip-path: inset(100% 0 0 0); }
html.anim [data-fade] { opacity: 0; transform: translateY(24px); }

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
  .figs { grid-template-columns: repeat(4, 1fr); }
  .fig + .fig { padding-left: 22px; border-left: 1px solid var(--line); }
  .g { columns: 2; }
  .amen__grid { grid-template-columns: repeat(2, 1fr); }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .revs { grid-template-columns: repeat(2, 1fr); }
  .ft__top { grid-template-columns: 1fr auto; align-items: end; }
  .ft__bottom { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: 2fr 1fr 1fr; }
  .mosaic__a { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
  .mosaic__b, .mosaic__c { aspect-ratio: 4 / 5; }
  .mosaic__link { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .film__head { grid-template-columns: 1fr auto; align-items: end; }
  .reviews__head { grid-template-columns: auto 1fr; gap: 80px; }
  .teaser { grid-template-columns: 7fr 5fr; }
  .chapter { grid-template-columns: 4fr 8fr; }
  .chapter:nth-child(even) { grid-template-columns: 8fr 4fr; }
  .chapter:nth-child(even) .chapter__head { order: 2; }
  .chapter__head { position: sticky; top: 110px; }
  .g { columns: 3; }
  .amen__grid { grid-template-columns: repeat(4, 1fr); }
  .area { grid-template-columns: 7fr 5fr; align-items: end; gap: 96px; }
  .area-list { grid-template-columns: repeat(4, 1fr); }
  .book { grid-template-columns: 6fr 5fr; gap: 80px; }
  .revs { grid-template-columns: repeat(4, 1fr); }
  .ft__bottom { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  /* scroll horizontal fijado */
  html.anim .spaces__pin { overflow: visible; height: 100vh; display: flex; align-items: center; }
  html.anim .spaces__track { will-change: transform; }
  html.anim .space { width: min(36vw, 600px); }
  html.anim .space--end { width: min(26vw, 380px); }
}
@media (max-width: 1100px) {
  .hd__nav, .hd__end .lang { display: none; }
  .hd__burger { display: inline-flex; }
}
@media (max-width: 699px) {
  .hd { height: 68px; }
  .hd__book { display: none; }
  .hd__m { font-size: 24px; }
  .hero__title .line--it { padding-left: .4em; }
  .hero__row .btn { display: none; }
  .hero__foot { bottom: 24px; }
  .hero__content { bottom: 84px; }
  .hero__scroll { display: none !important; }
  .ft { padding-bottom: 80px; }
  .lb[open] { grid-template-columns: 48px 1fr 48px; }
  .lb__nav { width: 48px; }
  .time__v { font-size: 2.1rem; }
}
@media (min-width: 700px) { .mbar { display: none; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__video { display: none; }
  .grain { display: none; }
  html.anim [data-reveal-img], html.anim [data-fade] { clip-path: none; opacity: 1; transform: none; }
  [data-words] .wd { opacity: 1 !important; }
}
