/* Luxury Vacation: versión de demostración (estática) de la portada. */
:root {
  --black: #0d0d0d; --white: #ffffff; --gold: #b8954a; --sand: #e6d9c0; --muted: #6b6558;
  --font-serif: "Cormorant Garamond"; --font-sans: "Inter"; --font-script: "Yellowtail";
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans), system-ui, sans-serif; color: var(--black); background: var(--white); line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-serif), Georgia, serif; font-weight: 500; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; background: var(--gold); color: var(--black); padding: 13px 26px; border: 0; border-radius: 2px; font-weight: 600; letter-spacing: .04em; cursor: pointer; font-size: .95rem; font-family: inherit; }
[id] { scroll-margin-top: 72px; }

/* Encabezado */
.header { position: sticky; top: 0; z-index: 40; background: rgba(13,13,13,.95); color: var(--white); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-serif), serif; font-size: 1.35rem; letter-spacing: .18em; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 26px; font-size: .88rem; }
.nav a:hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* Buscador */
.search { background: var(--white); color: var(--black); padding: 18px; border-radius: 4px; display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr auto; gap: 12px; align-items: end; }
.search label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.search select, .search input { width: 100%; padding: 11px 10px; border: 1px solid var(--sand); border-radius: 2px; font: inherit; background: var(--white); }

details { border-bottom: 1px solid var(--sand); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; color: var(--muted); }
.footer { background: var(--black); color: #b9b2a2; padding: 48px 0 28px; font-size: .88rem; }

@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 18px 20px; gap: 16px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1 / -1; }
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* Portada cinematográfica: paleta del atardecer de Cartagena */
:root {
  --noche: #150b26;
  --ocaso: #3b1e5c;
  --magenta: #e2558f;
  --oro: #d9b46a;
  --bruma: #eee8f2;
  --tinta: #24163a;
  --lila: #6e6480;
}
html.lenis { scroll-behavior: auto; }

/* Encabezado sobre el video */
.header.overlay { position: fixed; left: 0; right: 0; top: 0; background: linear-gradient(rgba(21, 11, 38, .55), rgba(21, 11, 38, 0)); transition: background-color .4s, backdrop-filter .4s; }
html[data-hero="off"] .header.overlay { background: rgba(21, 11, 38, .92); backdrop-filter: blur(12px); }
.header.overlay .logo span { color: var(--oro); }
.header.overlay .logo { white-space: nowrap; }
.header.overlay .nav a { white-space: nowrap; }
@media (max-width: 1200px) and (min-width: 861px) { .header.overlay .nav { gap: 18px; font-size: .82rem; } }
.header.overlay .nav a:hover { color: var(--oro); }

.hm a:focus-visible, .hm button:focus-visible, .hm input:focus-visible, .hm select:focus-visible, .hm textarea:focus-visible, .hm summary:focus-visible, .hm-track:focus-visible {
  outline: 2px solid var(--oro); outline-offset: 3px;
}

/* ---------- Vuelo ---------- */
.vuelo { position: relative; height: 850vh; background: var(--noche); color: #fff; }
.vuelo-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.vuelo-canvas, .vuelo-poster, .vuelo-poster img, .vuelo-shade, .vuelo-haze, .vuelo-knock { position: absolute; inset: 0; width: 100%; height: 100%; }
.vuelo-canvas { display: block; }
.vuelo-poster img { object-fit: cover; object-position: 30% 50%; }
.vuelo-shade { pointer-events: none; background: linear-gradient(to top, rgba(21, 11, 38, .78) 0%, rgba(21, 11, 38, 0) 48%), linear-gradient(to right, rgba(21, 11, 38, .5), rgba(21, 11, 38, 0) 58%); }
.vuelo-haze {
  opacity: 0; visibility: hidden; pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 62% 42%, rgba(255, 226, 206, .92), rgba(240, 176, 196, .78) 34%, rgba(160, 96, 168, .74) 66%, rgba(59, 30, 92, .9) 100%);
  backdrop-filter: blur(26px) saturate(1.2); -webkit-backdrop-filter: blur(26px) saturate(1.2);
}

/* LUXURY recortado: el fondo oscuro se multiplica con la ciudad y solo las letras dejan verla */
.vuelo-knock { display: grid; place-items: center; background: var(--noche); mix-blend-mode: multiply; opacity: .93; pointer-events: none; }
.knock-word { font-family: var(--font-serif), Georgia, serif; font-weight: 700; color: #fff; font-size: clamp(5rem, min(20vw, 40vh), 22rem); line-height: 1; letter-spacing: .015em; margin-top: -9vh; white-space: nowrap; }
.vuelo-script {
  position: absolute; left: 50%; top: calc(50% + clamp(1rem, min(4.4vw, 8vh), 5rem)); translate: -18% 0; rotate: -7deg;
  font-family: var(--font-script), cursive; font-size: clamp(3.2rem, 9vw, 9.5rem); line-height: 1; color: #ffe1ee;
  text-shadow: 0 0 4px #fff0f6, 0 0 14px #ff86b8, 0 0 34px var(--magenta), 0 0 70px rgba(226, 85, 143, .75);
}
.vuelo-tag { position: absolute; left: 50%; bottom: 13vh; translate: -50% 0; margin: 0; font-size: clamp(.95rem, 1.3vw, 1.1rem); letter-spacing: .03em; color: rgba(255, 255, 255, .86); text-align: center; width: max-content; max-width: 90vw; }
.vuelo-cue { position: absolute; left: 50%; bottom: 4.5vh; translate: -50% 0; margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .7); display: grid; justify-items: center; gap: 10px; }
.vuelo-cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Dónde va el vuelo */
.vuelo-rail { position: absolute; right: clamp(20px, 3vw, 44px); bottom: clamp(96px, 17vh, 190px); display: flex; flex-direction: row-reverse; gap: 16px; align-items: stretch; text-align: right; opacity: 0; visibility: hidden; font-size: .82rem; text-shadow: 0 1px 10px rgba(21, 11, 38, .6); }
.vuelo-rail-line { width: 1px; background: rgba(255, 255, 255, .22); position: relative; }
.vuelo-rail-fill { position: absolute; inset: 0; background: var(--oro); transform-origin: top; transform: scaleY(0); }
.vuelo-rail ol { list-style: none; display: grid; gap: 34px; margin: 0; padding: 0; }
.vuelo-rail li { color: rgba(255, 255, 255, .5); transition: color .4s; }
.vuelo-rail li.is-active { color: var(--oro); }
.vuelo-rail-now { display: none; }

/* Textos del vuelo */
.beat { position: absolute; left: clamp(20px, 9vw, 150px); bottom: clamp(96px, 17vh, 190px); max-width: min(640px, calc(100vw - 40px)); opacity: 0; visibility: hidden; pointer-events: none; }
.beat h2, .vuelo-final h2 { text-wrap: balance; font-family: var(--font-serif), Georgia, serif; font-weight: 500; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.01em; text-shadow: 0 2px 28px rgba(21, 11, 38, .55); }
.beat p { margin-top: 1rem; max-width: 38ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 14px rgba(21, 11, 38, .6); }
.beat-haze { left: 50%; top: 50%; bottom: auto; translate: -50% -50%; text-align: center; max-width: 90vw; }
.beat-haze h2 { color: var(--ocaso); font-style: italic; text-shadow: none; }

/* Búsqueda al final del vuelo */
.vuelo-final { position: absolute; left: clamp(20px, 9vw, 150px); bottom: clamp(36px, 10vh, 110px); width: min(920px, calc(100vw - 40px)); opacity: 0; visibility: hidden; }
.vuelo-final h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.vuelo-final > p { margin: .6rem 0 1.4rem; color: rgba(255, 255, 255, .88); font-size: 1.05rem; text-shadow: 0 1px 14px rgba(21, 11, 38, .6); }
.vuelo-final .search { background: rgba(21, 11, 38, .5); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; color: #fff; padding: 16px; }
.vuelo-final .search label { text-transform: none; letter-spacing: 0; font-size: .8rem; color: rgba(255, 255, 255, .72); }
.vuelo-final .search select, .vuelo-final .search input { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; color: #fff; color-scheme: dark; }
.vuelo-final .search option { color: #111; }
.vuelo-final .search .btn { background: var(--oro); color: var(--noche); border-radius: 8px; padding: 12px 28px; height: 46px; }
.vuelo-final .search .btn:hover { background: #e6c584; }
.vuelo-final .search > * { min-width: 0; }

/* ---------- Secciones ---------- */
.hm-sec { padding: clamp(80px, 11vw, 150px) 0; }
.hm-wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.hm-h2 { font-family: var(--font-serif), Georgia, serif; font-weight: 500; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.01em; max-width: 17ch; }
.hm-h3 { font-family: var(--font-serif), Georgia, serif; font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; }
.hm-lead { margin-top: 1.1rem; font-size: 1.0625rem; line-height: 1.65; max-width: 50ch; }
.hm-note { margin-top: .9rem; font-size: .85rem; color: rgba(238, 232, 242, .6); }
.hm-btn { display: inline-block; margin-top: 2rem; background: var(--oro); color: var(--noche); padding: 15px 28px; border-radius: 8px; font-weight: 600; }
.hm-btn:hover { background: #e6c584; }
.hm-textlink { display: inline-block; margin-top: 2rem; color: var(--oro); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Propiedades */
.hm-props { background: var(--noche); color: var(--bruma); padding-bottom: clamp(64px, 8vw, 110px); }
.hm-props .hm-lead { color: rgba(238, 232, 242, .78); }
.hm-props-head .hm-h2 { max-width: 21ch; }
.hm-props-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hm-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-cats button { border: 1px solid rgba(217, 180, 106, .5); color: var(--oro); padding: 9px 18px; border-radius: 999px; font-size: .9rem; transition: background-color .25s, color .25s; }
.hm-cats button:hover, .hm-cats button[aria-pressed="true"] { background: var(--oro); color: var(--noche); }
.hm-gal { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.hm-gal-nav { width: min(1200px, calc(100% - 40px)); margin: 0 auto 18px; display: flex; justify-content: flex-end; gap: 10px; }
.hm-gal-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(238, 232, 242, .3); background: none; color: var(--bruma); display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s; }
.hm-gal-nav button:hover { background: var(--bruma); color: var(--noche); }
.hm-track {
  --edge: max(20px, calc((100vw - 1200px) / 2));
  list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 29vw, 370px); gap: 24px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; overscroll-behavior-y: auto; scroll-snap-type: x mandatory; padding: 0 var(--edge) 8px; scroll-padding-inline: var(--edge); scrollbar-width: none;
}
.hm-track::-webkit-scrollbar { display: none; }
.hm-track li { scroll-snap-align: start; }
.hm-prop { display: grid; gap: 6px; color: var(--bruma); }
.hm-prop-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; margin-bottom: 12px; background: var(--ocaso); }
.hm-prop-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hm-prop:hover .hm-prop-img img { transform: scale(1.04); }
.hm-prop-cat { font-size: .82rem; color: var(--oro); }
.hm-prop h3 { font-size: 1.65rem; line-height: 1.15; }
.hm-prop-meta { font-size: .92rem; color: rgba(238, 232, 242, .7); }
.hm-prop-price { font-size: .95rem; font-weight: 600; }

/* Cómo reservar */
.hm-steps { background: var(--bruma); color: var(--tinta); }
.hm-steplist { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; position: relative; }
.hm-steplist::before { content: ""; position: absolute; left: 0; right: 0; top: 2.1rem; height: 1px; background: rgba(59, 30, 92, .22); }
.hm-steplist li { position: relative; }
.hm-n { display: inline-block; position: relative; padding-right: 14px; background: var(--bruma); font-family: var(--font-serif), Georgia, serif; font-style: italic; font-size: 3.6rem; line-height: 1.1; color: var(--magenta); }
.hm-steplist h3 { margin-top: 18px; font-size: 1.6rem; }
.hm-steplist p { margin-top: 8px; color: var(--lila); font-size: .98rem; line-height: 1.6; max-width: 30ch; }

/* Experiencias */
.hm-exp { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--ocaso); color: var(--bruma); }
.hm-exp-img { position: relative; min-height: 560px; }
.hm-exp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-exp-text { padding: clamp(64px, 8vw, 120px) clamp(24px, 6vw, 96px); align-self: center; }
.hm-exp .hm-lead { color: rgba(238, 232, 242, .8); }
.hm-explist { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.hm-explist li { padding: 18px 0; border-top: 1px solid rgba(238, 232, 242, .16); }
.hm-explist li:last-child { border-bottom: 1px solid rgba(238, 232, 242, .16); }
.hm-explist h3 { font-size: 1.5rem; }
.hm-explist a:hover h3 { color: var(--oro); }
.hm-explist p { margin-top: 4px; font-size: .95rem; color: rgba(238, 232, 242, .72); }

/* Confianza */
.hm-trust { background: var(--bruma); color: var(--tinta); }
.hm-trust .hm-lead { color: var(--lila); }
.hm-trust-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.hm-trustlist { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; margin: 0; }
.hm-trustlist div { border-top: 2px solid var(--oro); padding-top: 20px; }
.hm-trustlist dt { font-family: var(--font-serif), Georgia, serif; font-size: 1.6rem; line-height: 1.15; font-weight: 500; }
.hm-trustlist dd { margin: 10px 0 0; color: var(--lila); line-height: 1.6; }

/* Propietarios */
.hm-owners { display: grid; grid-template-columns: 1fr 1fr; background: var(--noche); color: var(--bruma); }
.hm-owners-text { padding: clamp(72px, 9vw, 140px) clamp(24px, 6vw, 96px); align-self: center; justify-self: end; max-width: 640px; }
.hm-owners .hm-lead { color: rgba(238, 232, 242, .8); }
.hm-owners-img { position: relative; min-height: 560px; }
.hm-owners-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Preguntas y contacto */
.hm-help { background: #f7f3f9; color: var(--tinta); }
.hm-help-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.hm-faq { margin-top: 2rem; }
.hm-faq details { border-bottom: 1px solid rgba(59, 30, 92, .16); padding: 0; }
.hm-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--font-serif), Georgia, serif; font-size: 1.4rem; font-weight: 500; line-height: 1.25; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; font-family: var(--font-sans), sans-serif; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--magenta); transition: transform .3s; }
.hm-faq details[open] summary::after { transform: rotate(45deg); }
.hm-faq details p { margin: -6px 0 22px; color: var(--lila); max-width: 60ch; }
.hm-contact { background: #fff; padding: clamp(28px, 4vw, 44px); border-radius: 16px; border: 1px solid rgba(59, 30, 92, .1); }
.hm-contact .hm-lead { color: var(--lila); margin-bottom: 1.4rem; }
.hm-contact form { display: grid; gap: 12px; }
.hm-contact input, .hm-contact textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(59, 30, 92, .2); border-radius: 8px; font: inherit; background: #fff; color: var(--tinta); }
.hm-contact .btn { background: var(--noche); color: #fff; border-radius: 8px; padding: 14px 24px; justify-self: start; }
.hm-contact .btn:hover { background: var(--ocaso); }
.hm ~ .footer { background: var(--noche); }

@media (max-width: 960px) {
  .hm-steplist { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .hm-steplist::before { display: none; }
  .hm-exp, .hm-owners, .hm-trust-grid, .hm-help-grid { grid-template-columns: 1fr; }
  .hm-exp-img, .hm-owners-img { min-height: 62vw; }
  .hm-owners-text { justify-self: start; }
  .hm-owners-img { order: -1; }
}

@media (max-width: 640px) {
  .knock-word { font-size: 22vw; letter-spacing: 0; margin-top: -10vh; }
  .vuelo-script { top: calc(50% - 3vh); translate: -30% 0; }
  .vuelo-tag { bottom: 22vh; }
  .vuelo-rail { top: 78px; bottom: auto; translate: none; left: 20px; right: auto; }
  .header.overlay .logo { font-size: 1.1rem; letter-spacing: .14em; }
  .vuelo-rail-line, .vuelo-rail ol { display: none; }
  .vuelo-rail-now { display: flex; align-items: center; gap: 8px; margin: 0; color: rgba(255, 255, 255, .9); }
  .vuelo-rail-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--oro); }
  .beat { left: 20px; bottom: 13vh; }
  .beat-haze { left: 50%; bottom: auto; }
  .vuelo-final { left: 16px; bottom: 24px; width: calc(100vw - 32px); }
  .vuelo-final > p { margin-bottom: 1rem; }
  .vuelo-final .search { padding: 12px; gap: 10px; }
  .vuelo-final .search > div:first-child { grid-column: 1 / -1; }
  .vuelo-final .search .btn { grid-column: auto; }
  .hm-steplist { grid-template-columns: 1fr; row-gap: 34px; }
  .hm-n { font-size: 2.8rem; }
  .hm-steplist h3 { margin-top: 6px; }
  .hm-trustlist { grid-template-columns: 1fr; gap: 32px; }
  .hm-props-head { align-items: flex-start; }
  .hm-gal-nav { display: none; }
  .hm-track { grid-auto-columns: 78vw; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .vuelo-cue::after { animation: none; }
  .hm-prop-img img, .hm-faq summary::after { transition: none; }
}

/* Celulares y tabletas: sin desenfoque de fondo sobre el video (es lo que más frena el scroll). */
@media (pointer: coarse) {
  .vuelo-haze {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: radial-gradient(ellipse 75% 65% at 62% 42%, rgba(255, 228, 210, .97), rgba(242, 182, 200, .95) 34%, rgba(166, 102, 172, .95) 66%, rgba(59, 30, 92, .98) 100%);
  }
  .vuelo-final .search { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(21, 11, 38, .82); }
  .header.overlay { transition: background-color .4s; }
  html[data-hero="off"] .header.overlay { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(21, 11, 38, .97); }
}

/* ---------- Solo en la demostración ---------- */
.hm-cats button { background: none; font-family: inherit; line-height: inherit; cursor: pointer; }
.hm-prop { cursor: default; }
.hm-empty { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0; color: rgba(238, 232, 242, .78); }
.demo-msg { margin-top: 12px; font-size: .9rem; line-height: 1.5; }
.vuelo-final .demo-msg { color: rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(21, 11, 38, .6); }
.hm-contact .demo-msg { color: var(--ocaso); }
.footer .logo { color: #fff; margin-bottom: 10px; }
.footer p + p { margin-top: 10px; }
.foot-demo { color: rgba(238, 232, 242, .6); }
