/* ============================================================
   PENÍNSULA 8R — hoja de estilos
   Paleta: tinta marina / marfil cálido / champaña
   ============================================================ */

:root {
  --ink: #131a20;
  --ink-2: #1c252d;
  --ink-soft: #46525c;
  --paper: #f7f4ee;
  --paper-2: #efeadf;
  --gold: #b9995e;
  --sand: #eae0cc;
  --gold-soft: #cfb488;
  --line: rgba(19, 26, 32, 0.14);
  --line-light: rgba(247, 244, 238, 0.22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --pad: clamp(1.25rem, 5vw, 6rem);
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

section[id] { scroll-margin-top: 64px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  letter-spacing: 0.01em;
}

/* ---- idioma ---- */
html[data-lang="es"] .en { display: none !important; }
html[data-lang="en"] .es { display: none !important; }

/* ---- utilidades ---- */
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow b {
  font-weight: 400;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-right: 1.1em;
  padding-right: 1.1em;
  border-right: 1px solid currentColor;
  opacity: 0.75;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  color: var(--ink-soft);
  max-width: 34em;
  margin-top: 1.2rem;
}

.rule {
  display: block;
  width: 1px;
  height: 72px;
  background: var(--gold);
  margin: 3rem auto 0;
  opacity: 0.7;
}

/* ---- animación de entrada ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---- barra de progreso de lectura ---- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 70;
  background: transparent;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

/* ---- marca lateral vertical ---- */
.sidemark {
  position: fixed;
  right: 1.1rem;
  bottom: 8rem;
  z-index: 40;
  writing-mode: vertical-rl;
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) { .sidemark { display: none; } }

/* ---- animación de entrada del hero (al cargar) ---- */
.rise { opacity: 0; animation: riseUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.rise-1 { animation-delay: 0.35s; }
.rise-2 { animation-delay: 0.55s; }
.rise-3 { animation-delay: 0.85s; }
@keyframes riseUp {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}

/* modo estático para QA/capturas */
html.static { scroll-behavior: auto; }
html.static .reveal { opacity: 1; transform: none; transition: none; }
html.static .kenburns { animation: none; }
html.static .rise { opacity: 1; animation: none; }
html.static .marquee__track { animation: none; }
html.static .carousel__track { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .kenburns { animation: none !important; }
  .rise { opacity: 1; animation: none; }
  .marquee__track { animation: none; }
  .geo__marker em { animation: none; opacity: 0; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
  padding-top: env(safe-area-inset-top);
  color: #fff;
  transition: background 0.45s ease, color 0.45s ease, box-shadow 0.45s ease, height 0.45s ease;
}
.nav.is-solid {
  background: rgba(247, 244, 238, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  height: 64px;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.30em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.nav__brand span { color: var(--gold-soft); }
.nav.is-solid .nav__brand span { color: var(--gold); }

.nav__links {
  display: flex;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}
.nav__links a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.82;
  padding: 0.4rem 0;
  position: relative;
  transition: opacity 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s ease;
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { right: 0; }

.nav__right { display: flex; align-items: center; gap: 1.2rem; }

.lang {
  background: none;
  border: 0;
  color: inherit;
  font: 500 0.72rem var(--sans);
  letter-spacing: 0.14em;
  cursor: pointer;
  display: flex;
  gap: 0.45em;
  align-items: center;
  padding: 0.4rem 0;
}
.lang i { font-style: normal; opacity: 0.45; }
.lang span { opacity: 0.45; transition: opacity 0.3s; }
.lang span.on { opacity: 1; }
.lang span.on::after { content: ''; display: block; height: 1px; background: var(--gold); margin-top: 2px; }

.nav__cta {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  border: 1px solid currentColor;
  padding: 0.72em 1.5em;
  border-radius: 999px;
  opacity: 0.92;
  transition: all 0.35s ease;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; opacity: 1; }

.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}
.burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s ease, opacity 0.4s;
  color: inherit;
}
.burger.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---- menú móvil ---- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu__links a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--paper);
  text-decoration: none;
  padding: 0.35rem 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.06s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.12s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.18s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.24s; }
.menu__foot {
  position: absolute;
  bottom: calc(2rem + env(safe-area-inset-bottom));
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media, .hero__media video, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media video { z-index: 2; }
.hero__media img { z-index: 1; }
.hero__media.no-video video { display: none; }

.kenburns { animation: kb 26s ease-in-out infinite alternate; }
@keyframes kb {
  from { transform: scale(1); }
  to   { transform: scale(1.09) translate(-0.6%, -0.8%); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(13, 18, 22, 0.42) 0%, rgba(13, 18, 22, 0) 30%),
    linear-gradient(0deg, rgba(13, 18, 22, 0.62) 0%, rgba(13, 18, 22, 0) 52%);
}

.hero__content {
  position: relative;
  z-index: 4;
  padding: 0 var(--pad) clamp(5.5rem, 13vh, 8.5rem);
}
.hero__title {
  font-size: clamp(3.4rem, 9.7vw, 7.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.32rem, 2.6vw, 1.77rem);
  opacity: 0.92;
}
.hero .eyebrow { color: var(--gold-soft); margin-bottom: 1rem; font-size: 0.85rem; }

.hero__scroll {
  position: absolute;
  z-index: 4;
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: calc(clamp(2rem, 6vh, 3.4rem) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero__scroll i {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, #fff, transparent);
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__frame {
  position: absolute;
  inset: 18px;
  z-index: 4;
  border: 1px solid rgba(247, 244, 238, 0.28);
  pointer-events: none;
}
@media (max-width: 960px) { .hero__frame { display: none; } }

.hero__coords {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  bottom: calc(2.2rem + env(safe-area-inset-bottom));
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: rgba(247, 244, 238, 0.6);
}
@media (max-width: 540px) { .hero__coords { display: none; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding: 1.3rem 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: mq 30s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(19, 26, 32, 0.4);
  padding-right: 0.4em;
}
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================================
   MANIFIESTO
   ============================================================ */
.manifesto {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
  text-align: center;
  background: var(--paper);
}
.manifesto__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.4;
  max-width: 21em;
  margin: 0 auto;
  color: var(--ink-2);
}

/* ============================================================
   LA RESIDENCIA
   ============================================================ */
.residence {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 10vh, 8rem) var(--pad);
  background: var(--paper);
}
.residence__media img {
  width: 100%;
  height: clamp(420px, 72vh, 680px);
  object-fit: cover;
}

/* ============================================================
   FICHA TÉCNICA
   ============================================================ */
.specs {
  background: var(--paper);
  padding: 0 var(--pad) clamp(4.5rem, 10vh, 8rem);
}
.specs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.spec {
  padding: 2.2rem 1.6rem 2.4rem 0;
  border-bottom: 1px solid var(--line);
}
.spec__n {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.spec__n small { font-size: 0.5em; color: var(--gold); }
.spec__n--price { font-size: clamp(1.5rem, 2.6vw, 2.2rem); padding-top: 0.35em; }
.spec__l {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   BANDAS DE VIDEO
   ============================================================ */
.filmband {
  position: relative;
  background: var(--ink);
  color: #fff;
}
/* El recorrido se muestra íntegro: caja 16:9 exacta limitada a la altura de
   la ventana; en pantallas muy anchas se centra sobre la banda de tinta. */
.filmband__media {
  position: relative;
  width: min(100%, calc(92svh * 16 / 9));
  aspect-ratio: 16 / 9;
  margin-inline: auto;
}
.filmband__media video,
.filmband__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.filmband__media video { z-index: 2; }
.filmband__media img { z-index: 1; }
.filmband__media.no-video video { display: none; }
.filmband__caption {
  padding: clamp(1.5rem, 3vh, 2.2rem) var(--pad) clamp(2.2rem, 5vh, 3.4rem);
  max-width: 640px;
}
.filmband--right .filmband__caption { margin-left: auto; text-align: right; }
.filmband__line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.35;
}
.filmband .eyebrow { color: var(--gold-soft); margin-bottom: 0.8rem; }

.filmband__badge {
  position: absolute;
  z-index: 4;
  top: clamp(1rem, 2.6vh, 1.8rem);
  left: clamp(1rem, 2.6vw, 1.8rem);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.85);
  border: 1px solid rgba(247, 244, 238, 0.35);
  border-radius: 999px;
  padding: 0.6em 1.3em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.filmband__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.filmband--right .filmband__badge { left: auto; right: clamp(1rem, 2.6vw, 1.8rem); }

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery {
  background: var(--paper-2);
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}
.gallery__head { max-width: 720px; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 24vw, 300px);
  grid-auto-flow: dense;
  gap: clamp(0.6rem, 1.2vw, 1.2rem);
}
.g { overflow: hidden; cursor: pointer; position: relative; }
.g img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s;
}
.g:hover img { transform: scale(1.045); filter: brightness(1.05); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }

/* ============================================================
   AMENIDADES
   ============================================================ */
.amenities {
  background: var(--sand);
  color: var(--ink);
  padding: clamp(5rem, 12vh, 9rem) var(--pad) 0;
}
.amenities__head h2 { color: var(--ink); }
.amenities__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  margin: clamp(2.8rem, 7vh, 5rem) 0;
  max-width: 1080px;
}
.amenities__col h3 {
  font-size: 1.35rem;
  color: #8a6f3c;
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.amenities__col ul { list-style: none; }
.amenities__col li {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(19, 26, 32, 0.16);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.amenities__col li:first-child { border-top: 1px solid rgba(19, 26, 32, 0.16); }
.amenities__media { margin: 0 calc(-1 * var(--pad)); }
.amenities__media img {
  width: 100%;
  height: clamp(340px, 62vh, 620px);
  object-fit: cover;
}

/* ============================================================
   UBICACIÓN
   ============================================================ */
.location {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4.5rem, 11vh, 9rem) var(--pad);
  background: var(--paper);
}

.btn-line {
  display: inline-block;
  margin-top: 2.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 0.55em;
  border-bottom: 1px solid var(--gold);
  transition: color 0.3s, border-color 0.3s;
}
.btn-line:hover { color: var(--gold); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(5.5rem, 13vh, 10rem) var(--pad);
}
.contact h2 { color: var(--paper); }
.contact__lead {
  max-width: 34em;
  margin: 1.4rem auto 2.8rem;
  color: rgba(247, 244, 238, 0.75);
  font-size: 1.02rem;
}
.btn-solid {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 0.9em 2.2em;
  border-radius: 999px;
  transition: background 0.4s, color 0.4s;
}
.btn-solid:hover { background: var(--gold); color: var(--ink); }
.contact__meta {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 238, 0.55);
}
.contact__meta a { color: var(--gold-soft); text-decoration: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(247, 244, 238, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem var(--pad) calc(1.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer__brand { font-family: var(--serif); letter-spacing: 0.3em; color: rgba(247, 244, 238, 0.8); }
.footer__brand em { color: var(--gold-soft); font-style: normal; }
.footer__coords { color: rgba(201, 173, 122, 0.65); letter-spacing: 0.3em; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 17, 21, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img {
  max-width: min(92vw, 1500px);
  max-height: 86svh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(247, 244, 238, 0.85);
  font-family: var(--serif);
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2;
}
.lightbox__close:hover, .lightbox__nav:hover { color: var(--gold-soft); }
.lightbox__close { top: calc(1rem + env(safe-area-inset-top)); right: 1.4rem; font-size: 2.6rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 3.4rem; padding: 1rem; }
.lightbox__nav--prev { left: 0.6rem; }
.lightbox__nav--next { right: 0.6rem; }
.lightbox__count {
  position: absolute;
  bottom: calc(1.4rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: rgba(247, 244, 238, 0.7);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }

  .residence, .location { grid-template-columns: 1fr; gap: 2.5rem; }
  .geo { order: 2; }
  .residence__media img { height: clamp(300px, 52vh, 460px); }

  .specs__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 30vw, 240px); }
  .amenities__cols { grid-template-columns: 1fr; gap: 2.5rem; }
  .filmband--right .filmband__caption { margin-left: 0; text-align: left; }
  .footer { flex-direction: column; text-align: center; gap: 0.6rem; }
}

@media (max-width: 540px) {
  .specs__grid { grid-template-columns: 1fr 1fr; }
  .spec { padding: 1.6rem 0.8rem 1.8rem 0; }
  .hero__content { padding-bottom: 7rem; }
  .hero__scroll { display: none; }
  .g--wide { grid-column: span 2; }
  .g--tall { grid-row: span 1; }
  .lightbox__nav { display: none; }
}

/* ============================================================
   PRECIO (banda de la ficha)
   ============================================================ */
.specs__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.4rem 0 0.5rem;
}
.price__main .spec__l { margin-top: 0.8rem; display: block; }
.price__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  text-align: right;
}
.price__row {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink);
}
.price__row small { font-size: 0.62em; color: var(--gold); letter-spacing: 0.05em; }
.price__row i { font-style: normal; color: var(--gold); padding: 0 0.25em; }
.price__row--hoa {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 700px) {
  .specs__price { flex-direction: column; align-items: flex-start; }
  .price__meta { align-items: flex-start; text-align: left; }
}

/* ============================================================
   CARRUSEL DE AMENIDADES
   ============================================================ */
.carousel {
  position: relative;
  margin: 0 calc(-1 * var(--pad));
  overflow: hidden;
}
.carousel__track {
  display: flex;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel__slide {
  flex: 0 0 100%;
  position: relative;
  margin: 0;
}
.carousel__slide img {
  width: 100%;
  height: clamp(340px, 64vh, 640px);
  object-fit: cover;
}
.carousel__slide figcaption {
  position: absolute;
  left: var(--pad);
  bottom: 1.6rem;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(16, 22, 28, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(247, 244, 238, 0.3);
  color: var(--paper);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel__nav:hover { background: var(--gold); border-color: var(--gold); }
.carousel__nav--prev { left: clamp(1rem, 2.5vw, 2rem); }
.carousel__nav--next { right: clamp(1rem, 2.5vw, 2rem); }
.carousel__dots {
  position: absolute;
  right: var(--pad);
  bottom: 1.7rem;
  display: flex;
  gap: 0.55rem;
}
.carousel__dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.carousel__dots button.on { background: var(--gold-soft); transform: scale(1.35); }
@media (max-width: 700px) { .carousel__nav { display: none; } }

/* ============================================================
   WHATSAPP
   ============================================================ */
.contact__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.btn-solid--wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.btn-solid--wa svg { color: var(--gold-soft); }
.btn-solid--wa:hover svg { color: inherit; }
.wa-float {
  position: fixed;
  right: clamp(1.1rem, 3vw, 2rem);
  bottom: calc(clamp(1.1rem, 3vw, 2rem) + env(safe-area-inset-bottom));
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--gold-soft);
  border: 1px solid rgba(201, 173, 122, 0.5);
  box-shadow: 0 12px 34px rgba(19, 26, 32, 0.3);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, background 0.3s;
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--gold); color: var(--ink); }

/* ============================================================
   MAPA SATELITAL (componente compartido de las landings)
   ============================================================ */
.amenities .eyebrow { color: #8a6f3c; }
.geo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3.1;
  background: #0a1622;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.geo__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) brightness(0.88) contrast(1.04);
  transform-origin: 59% 55%;
}
.geo__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 52% at 59% 55%, rgba(10, 44, 80, 0) 0%, rgba(10, 44, 80, 0.18) 60%, rgba(6, 20, 36, 0.52) 100%),
    linear-gradient(to top, rgba(6, 16, 28, 0.55), rgba(6, 16, 28, 0.08) 34%, rgba(6, 16, 28, 0.22));
}
.geo__label, .geo__sea, .geo__marker { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); }
.geo__label {
  transform: translate(var(--dx, 8px), var(--dy, -6px));
  font-size: clamp(0.5rem, 0.85vw, 0.66rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  padding-left: 0.7rem;
}
.geo__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}
.geo__sea {
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.6vw, 1.25rem);
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 6px rgba(0, 10, 20, 0.6);
  white-space: nowrap;
}
.geo__marker { transform: translate(-50%, -50%); z-index: 3; }
.geo__marker i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 2px rgba(6, 16, 28, 0.55), 0 0 14px rgba(216, 179, 106, 0.9);
}
.geo__marker em {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  animation: geoPing 2.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
@keyframes geoPing {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
  75%, 100% { transform: translate(-50%, -50%) scale(6.5); opacity: 0; }
}
.geo__marker b {
  position: absolute;
  left: 50%;
  top: calc(50% + 12px);
  transform: translateX(-50%);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.58rem, 0.9vw, 0.7rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
  padding-left: 0.34em;
  white-space: nowrap;
}
.geo__attr {
  position: absolute;
  right: 0.7rem;
  bottom: 3.2rem;
  z-index: 4;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.34);
}
.map__link {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  background: rgba(10, 18, 28, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.map__link:hover { color: var(--gold-soft); }
@media (max-width: 940px) { .geo { aspect-ratio: 4/3.4; } }
html.static .geo__marker em { animation: none; }
