/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0e0d0b;
  --ink-soft: #17150f;
  --ink-line: rgba(246, 242, 234, 0.14);
  --ink-line-strong: rgba(246, 242, 234, 0.26);

  --paper: #f6f2ea;
  --paper-dim: #ece4d3;
  --charcoal: #17150f;
  --charcoal-soft: #4a453b;
  --line: rgba(23, 21, 15, 0.12);
  --line-strong: rgba(23, 21, 15, 0.22);

  --brass: #a9834f;
  --brass-soft: #d6b98a;

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius: 1px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--brass); }

button, input, select, textarea { font-family: inherit; font-size: 1rem; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 300;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.hide-mobile { display: inline-flex; }

/* ===== Editorial helpers ===== */
.num-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.num-eyebrow .num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--brass);
}
.num-eyebrow .label {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  font-weight: 500;
}
.section-dark .num-eyebrow { border-bottom-color: var(--ink-line); }
.section-dark .num-eyebrow .label { color: rgba(246,242,234,0.62); }

.display-sm { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 22ch; margin-bottom: 1.5rem; }
.display-md { font-size: clamp(2.4rem, 5.5vw, 4.6rem); max-width: 20ch; margin-bottom: 1.75rem; }
.section-title-dark { color: var(--paper); }

.lede {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--charcoal-soft);
  max-width: 46ch;
}
.lede-dark { color: rgba(246,242,234,0.68); }
.lede-center { max-width: 60ch; margin: 0 auto 3rem; }

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { color: var(--brass); border-color: var(--brass); }
.text-link--light { color: var(--paper); border-color: var(--ink-line-strong); }
.text-link--light:hover { color: var(--brass-soft); border-color: var(--brass-soft); }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-dark { background: var(--ink); color: var(--paper); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn-primary {
  background: var(--brass);
  color: var(--ink);
}
.btn-primary:hover { background: var(--brass-soft); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 242, 234, 0.4);
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(246, 242, 234, 0.08); }

.section:not(.section-dark):not(.hero) .btn-ghost,
.contact-text .btn-ghost { color: var(--charcoal); border-color: var(--line-strong); }
.section:not(.section-dark):not(.hero) .btn-ghost:hover { border-color: var(--charcoal); background: rgba(23,21,15,0.05); }

.btn-sm { padding: 0.7rem 1.5rem; font-size: 0.82rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 0.98rem; white-space: nowrap; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.1rem 0;
  background: rgba(14, 13, 11, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 242, 234, 0.08);
}
body.nav-open .site-header { background: transparent; backdrop-filter: none; border-color: transparent; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link { display: block; line-height: 0; }
.logo-img { height: 64px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 1.5rem; }

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  border: none;
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle-label { font-size: 0.82rem; letter-spacing: 0.06em; }
.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle-icon span {
  display: block;
  height: 1px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
body.nav-open .nav-toggle-icon span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body.nav-open .nav-toggle-icon span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ===== Fullscreen nav overlay ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--ink);
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body.nav-open { overflow: hidden; }
.nav-overlay-inner { width: 100%; padding-top: 6rem; padding-bottom: 4rem; }
.nav-list { display: flex; flex-direction: column; }
.nav-list li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--ink-line);
}
.nav-list li:first-child { border-top: 1px solid var(--ink-line); }
.nav-index { font-family: var(--font-serif); font-size: 1rem; color: var(--brass); width: 2ch; }
.nav-list a {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: var(--paper);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.nav-list a:hover { color: var(--brass-soft); padding-left: 0.5rem; }
.nav-overlay-foot {
  margin-top: 3rem;
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.nav-overlay-foot a {
  font-size: 0.9rem;
  color: rgba(246,242,234,0.65);
  border-bottom: 1px solid transparent;
}
.nav-overlay-foot a:hover { color: var(--paper); border-color: var(--ink-line-strong); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
  background: var(--ink);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,0.55) 0%, rgba(14,13,11,0.15) 40%, rgba(14,13,11,0.92) 100%);
}
.hero-content {
  position: relative;
  color: var(--paper);
  padding-top: 9rem;
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  font-weight: 400;
  max-width: 14ch;
}
.hero-foot {
  position: relative;
  color: var(--paper);
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-sub {
  max-width: 34ch;
  font-size: 1rem;
  color: var(--paper);
}
.hero-cta { display: none; gap: 1rem; flex-wrap: wrap; }

/* ===== Hero floating card ===== */
.hero-float-card {
  position: absolute;
  right: clamp(5.5rem, 6vw, 7rem);
  bottom: -2.5rem;
  z-index: 20;
  width: min(540px, calc(100% - 2.5rem));
  background: var(--paper);
  color: var(--charcoal);
  border-radius: 14px;
  padding: 2rem 2.5rem 2rem;
  box-shadow: 0 24px 60px rgba(14, 13, 11, 0.35);
}
.hero-float-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.hero-float-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  margin-bottom: 1.1rem;
}
.hero-float-lede {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  margin-bottom: 1.6rem;
}
.hero-float-actions {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}
.hero-float-actions .btn { flex: 1 1 0; padding-left: 1.2rem; padding-right: 1.2rem; }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--charcoal); background: rgba(23, 21, 15, 0.05); }

/* ===== Marquee ===== */
.marquee {
  background: var(--brass);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(14,13,11,0.15);
}
.marquee-track {
  display: inline-flex;
  gap: 0.9rem;
  padding: 0.7rem 0;
  animation: marquee 32s linear infinite;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.marquee-track span { white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== Split layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split--offset { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.split-lede { padding-top: 0.5rem; }
.split-text h2 { margin-bottom: 0; }

/* ===== Desarrollo (40/60) ===== */
.split--develop { grid-template-columns: 2fr 3fr; align-items: stretch; gap: clamp(1.5rem, 3vw, 2.5rem); }
.develop-card {
  background: var(--paper-dim);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.develop-card .lede { margin: 1.25rem 0 2rem; }
.develop-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.develop-stat {
  background: var(--paper);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}
.develop-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--brass);
  font-weight: 400;
}
.develop-stat-label { font-size: 0.8rem; color: var(--charcoal-soft); }
.develop-media { overflow: hidden; min-height: 22rem; }
.develop-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
  .develop-media { order: -1; min-height: 18rem; }
}

.bleed-img {
  margin: 0 clamp(-3rem, -4vw, -1.25rem) clamp(3.5rem, 7vw, 5rem);
}
.bleed-img img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }

.bleed-img--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
.bleed-img--pair img { aspect-ratio: 3/4; object-position: top; }
@media (max-width: 720px) {
  .bleed-img--pair { grid-template-columns: 1fr; }
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 2.25rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-right: 1rem;
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--brass); font-weight: 300; }
.stat-label { font-size: 0.85rem; color: var(--charcoal-soft); }

/* ===== Carrusel genérico (Amenidades / Interiores) ===== */
.carousel { position: relative; margin-top: 2.5rem; }
.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  scroll-padding: 0 clamp(1.25rem, 4vw, 3rem);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 1.25rem; }
.amenity-item, .carousel--single .interior-row { scroll-snap-align: start; scroll-snap-stop: always; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink-line-strong);
  background: rgba(246, 242, 234, 0.08);
  color: var(--paper);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.carousel-btn:hover { background: rgba(246, 242, 234, 0.18); }
.carousel-btn:disabled { opacity: 0.25; cursor: default; }
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }
.section:not(.section-dark) .carousel-btn { color: var(--charcoal); border-color: var(--line-strong); background: rgba(23,21,15,0.04); }
.section:not(.section-dark) .carousel-btn:hover { background: rgba(23,21,15,0.09); }

/* ---- Amenidades: 2 por pantalla ---- */
.amenity-item { flex: 0 0 calc(50% - 0.625rem); }
.amenity-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1.1rem;
}
.amenity-item figcaption { max-width: 34ch; }
.amenity-index { display: block; font-family: var(--font-serif); color: var(--brass); font-size: 0.9rem; margin-bottom: 0.6rem; }
.amenity-item h3 { font-size: 1.15rem; color: var(--paper); margin-bottom: 0.4rem; font-weight: 400; }
.amenity-item p { font-size: 0.86rem; color: rgba(246,242,234,0.62); }

/* ---- Amenidades: cuadrícula con ficha clicable ---- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.amenity-card { background: var(--ink-soft); overflow: hidden; }
.amenity-grid--framed .amenity-card { border: 1px solid var(--ink-line-strong); border-radius: 14px; }
.amenity-grid--shadow .amenity-card {
  border-radius: 14px;
  background: var(--ink-line);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(246, 242, 234, 0.06);
}

.amenity-card-imgbtn {
  display: block;
  position: relative;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: transparent;
}
.amenity-card-imgbtn img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.amenity-card-imgbtn:hover img, .amenity-card-imgbtn:focus-visible img { transform: scale(1.04); }
.amenity-card-imgbtn::after {
  content: "⤢";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 13, 11, 0.55);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.amenity-card-imgbtn:hover::after, .amenity-card-imgbtn:focus-visible::after { opacity: 1; transform: scale(1); }

.amenity-card-body { padding: 1.5rem 1.5rem 1.75rem; }
.amenity-card-index { display: block; font-family: var(--font-serif); color: var(--brass); font-size: 0.9rem; margin-bottom: 0.5rem; }
.amenity-card-title { display: block; font-size: 1.1rem; color: var(--paper); margin-bottom: 0.4rem; font-weight: 400; font-family: var(--font-serif); }
.amenity-card-text { font-size: 0.86rem; color: rgba(246, 242, 234, 0.62); }

@media (max-width: 980px) {
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .amenity-grid { grid-template-columns: 1fr; }
}

/* ---- Lightbox (galería en pantalla completa) ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(14, 13, 11, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
body.lightbox-open { overflow: hidden; }

.lightbox-stage { position: relative; width: min(1100px, 84vw); max-height: 86vh; }
.lightbox-img { width: 100%; max-height: 86vh; object-fit: contain; display: block; margin: 0 auto; }
.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(14,13,11,0) 0%, rgba(14,13,11,0.85) 60%, rgba(14,13,11,0.96) 100%);
  color: var(--paper);
  padding: 3rem 1.75rem 1.5rem;
}
.lightbox-caption-index { display: block; font-family: var(--font-serif); color: var(--brass-soft); font-size: 0.85rem; margin-bottom: 0.35rem; }
.lightbox-caption-text { font-size: 0.95rem; max-width: 60ch; }

.lightbox-close, .lightbox-nav {
  border-radius: 50%;
  border: 1px solid rgba(246, 242, 234, 0.3);
  background: rgba(246, 242, 234, 0.06);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
  flex-shrink: 0;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(246, 242, 234, 0.16); }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  z-index: 2;
  width: 44px; height: 44px;
  font-size: 1.4rem;
  line-height: 1;
}
.lightbox-nav { width: 52px; height: 52px; font-size: 1.6rem; margin: 0 1rem; }

@media (max-width: 720px) {
  .lightbox-nav { margin: 0 0.4rem; width: 40px; height: 40px; font-size: 1.3rem; }
  .lightbox-close { width: 38px; height: 38px; top: 1rem; right: 1rem; }
  .lightbox-caption { padding: 2rem 1.1rem 1.1rem; }
}

/* ---- Modal de planta arquitectónica (imagen + ficha del departamento) ---- */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(14, 13, 11, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.plan-modal.is-open { opacity: 1; visibility: visible; }

.plan-modal-inner {
  width: min(1440px, 96vw);
  max-height: 94vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
}
.plan-modal-media { background: var(--paper-dim); display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 3vw, 3rem); }
.plan-modal-img { width: 100%; height: auto; object-fit: contain; }
.plan-modal-info { padding: clamp(1.75rem, 3vw, 3rem) clamp(1.75rem, 3vw, 3rem); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.plan-modal-price { font-family: var(--font-serif); font-size: 1.6rem; color: var(--brass-soft); font-weight: 400; margin-bottom: 0.75rem; }
.plan-modal-title { font-size: 1.4rem; margin-bottom: 1.25rem; color: var(--paper); font-weight: 400; }
.plan-modal-list { margin-bottom: 1.75rem; }
.plan-modal-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ink-line);
  color: rgba(246, 242, 234, 0.68);
  font-size: 0.92rem;
}
.plan-modal-list li:first-child { padding-top: 0; }

.plan-modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(246, 242, 234, 0.3);
  background: rgba(246, 242, 234, 0.06);
  color: var(--paper);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.plan-modal-close:hover { background: rgba(246, 242, 234, 0.16); }

@media (max-width: 800px) {
  .plan-modal-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .plan-modal-close { width: 38px; height: 38px; top: 1rem; right: 1rem; }
}

/* ---- Interiores: mosaico ---- */
.interior-mosaic {
  columns: 3 260px;
  column-gap: 1.5rem;
  margin-top: 1rem;
}
.interior-mosaic-item {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 10px;
}
.interior-mosaic-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.interior-mosaic-imgbtn {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: transparent;
}
.interior-mosaic-imgbtn:hover img, .interior-mosaic-imgbtn:focus-visible img { transform: scale(1.04); }
.interior-mosaic-imgbtn::after {
  content: "⤢";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 13, 11, 0.55);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.interior-mosaic-imgbtn:hover::after, .interior-mosaic-imgbtn:focus-visible::after { opacity: 1; transform: scale(1); }
.interior-mosaic-item--tall img { aspect-ratio: 3/4; }
.interior-mosaic-item--tall2 img { aspect-ratio: 4/5; }
.interior-mosaic-item--square img { aspect-ratio: 1/1; }
.interior-mosaic-item--wide img { aspect-ratio: 4/3; }

.interior-mosaic-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, rgba(14,13,11,0) 0%, rgba(14,13,11,0.72) 55%, rgba(14,13,11,0.92) 100%);
  color: var(--paper);
}
.interior-mosaic-caption h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.35rem; }
.interior-mosaic-caption p { font-size: 0.82rem; color: rgba(246, 242, 234, 0.75); max-width: 32ch; }

@media (max-width: 980px) { .interior-mosaic { columns: 2 220px; } }
@media (max-width: 560px) { .interior-mosaic { columns: 1; } }

@media (max-width: 720px) {
  .amenity-item { flex: 0 0 100%; }
  .carousel--single .interior-row { grid-template-columns: 1fr; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.2rem; }
}

/* ===== Departamentos ===== */
.plan-select { margin-top: 2.5rem; }
.plan-tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink-line);
  margin-bottom: 2.5rem;
}
.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-line);
  padding: 1.25rem 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.25s var(--ease);
  opacity: 0.55;
}
.tab-btn.is-active { opacity: 1; }
.tab-btn-title { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--paper); font-weight: 400; }
.tab-btn-price { font-size: 0.85rem; color: var(--brass-soft); }

.plan-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.plan-img {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  background: var(--paper-dim);
  cursor: zoom-in;
}
.plan-img img { width: 100%; aspect-ratio: 1080/780; object-fit: contain; }
.plan-img-zoom {
  position: absolute;
  right: 1.1rem; bottom: 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.plan-img:hover .plan-img-zoom,
.plan-img:focus-visible .plan-img-zoom { opacity: 1; transform: translateY(0); }
.plan-price { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 1.25rem; }
.plan-price strong { font-family: var(--font-serif); font-size: 1.6rem; color: var(--brass-soft); font-weight: 400; }
.plan-price span { font-size: 0.82rem; color: rgba(246,242,234,0.55); }
.plan-info h3 { font-size: 1.4rem; margin-bottom: 1.25rem; color: var(--paper); font-weight: 400; }
.plan-info ul { margin-bottom: 1.75rem; }
.plan-info li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ink-line);
  color: rgba(246,242,234,0.68);
  font-size: 0.92rem;
}
.plan-info li:first-child { padding-top: 0; }

/* ===== Tour 360 ===== */
.tour-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  margin-top: 2.5rem;
}
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ===== Ubicación ===== */
.split--map { align-items: stretch; margin-top: 0.5rem; }
.location-list { margin: 1.5rem 0 2rem; }
.location-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.4rem;
  color: rgba(246,242,234,0.7);
  font-size: 0.95rem;
}
.location-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.1rem;
  width: 6px; height: 1px;
  background: var(--brass);
}
.map-embed { overflow: hidden; min-height: 520px; border: 1px solid var(--ink-line); filter: grayscale(0.3) contrast(1.05); }
.map-embed iframe { width: 100%; height: 100%; min-height: 520px; border: none; }

/* ===== Contacto ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact-layout--centered {
  grid-template-columns: 1fr;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.contact-layout--centered .lede { margin: 0 auto; }
.contact-layout--centered .contact-direct { align-items: center; }
.contact-layout--centered .contact-link { width: 100%; max-width: 22rem; align-items: center; text-align: center; }

/* Dos recuadros: botones a la izquierda, texto a la derecha */
.contact-layout--split { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
.contact-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-box--actions { align-items: stretch; }
.contact-box--actions .contact-direct { width: 100%; max-width: 22rem; margin: 0 auto; }
.contact-box.contact-text { justify-content: center; }

.contact-text h2 { margin-bottom: 1.1rem; }
.contact-direct { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--ink-line);
  transition: border-color 0.25s var(--ease);
}
.contact-link:hover { border-color: var(--brass); }
.contact-link span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brass-soft); }
.contact-link strong { font-weight: 400; font-size: 1.05rem; font-family: var(--font-serif); color: var(--paper); }

.contact-link--onlight { border-color: var(--line-strong); }
.contact-link--onlight:hover { border-color: var(--brass); }
.contact-link--onlight span { color: var(--brass); }
.contact-link--onlight strong { color: var(--charcoal); }

.section-contact { padding-top: clamp(6rem, 12vw, 10rem); padding-bottom: clamp(6rem, 12vw, 10rem); }
.section-contact .contact-text h2 { margin-bottom: 1.5rem; }
.section-contact .lede { margin-bottom: 0.5rem; }
.section-contact .contact-direct { margin-top: 3rem; gap: 1.5rem; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--paper); padding: 3rem 0; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brands { display: flex; align-items: center; gap: 1.5rem; }
.footer-logo { height: 40px; width: auto; }
.footer-rs21-badge {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s var(--ease);
}
.footer-rs21-badge:hover { opacity: 0.85; }
.footer-logo--rs21 { height: 46px; }
.footer-copy { font-size: 0.8rem; color: rgba(246,242,234,0.5); }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.85rem; color: rgba(246,242,234,0.75); }
.footer-links a:hover { color: var(--brass-soft); }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 90;
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .split, .plan-layout, .contact-layout, .split--offset { grid-template-columns: 1fr; }
  .split-img { order: -1; }
  .amenity-item { flex: 0 0 78%; }
  .hide-mobile { display: none; }
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }

  .interior-row, .interior-row--reverse { grid-template-columns: 1fr; }
  .interior-row--reverse .interior-img { order: 0; }

  .amenity-item { flex: 0 0 88%; }
  .tab-btn { flex-direction: column; align-items: flex-start; gap: 0.3rem; }

  .invest-stats { gap: 2rem; }

  .hero-float-card {
    position: relative;
    right: auto; left: auto; bottom: auto;
    width: auto;
    margin: 2rem 1.25rem 2.5rem;
    padding: 1.75rem;
  }
}

@media (max-width: 480px) {
  .amenity-item { flex: 0 0 92%; }
  .hero-title { max-width: 12ch; }
}
