/* ═══════════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════════ */
:root {
  --clay:        #B85C38;
  --clay-deep:   #8C3D22;
  --clay-pale:   #F0D5C8;
  --ink:         #130F0C;
  --ink-80:      rgba(19,15,12,.80);
  --ink-50:      rgba(19,15,12,.50);
  --ink-20:      rgba(19,15,12,.20);
  --ink-08:      rgba(19,15,12,.08);
  --parchment:   #F7F3EC;
  --linen:       #EDE8DF;
  --stone:       #9A8C82;
  --white:       #FDFAF6;
  --gold:        #C9A96E;

  --serif:  'Cormorant Garamond', 'Times New Roman', serif;
  --sans:   'DM Sans', system-ui, sans-serif;

  --ease:       cubic-bezier(.16,1,.3,1);
  --ease-in:    cubic-bezier(.4,0,1,1);
  --ease-out:   cubic-bezier(0,0,.2,1);

  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 10px;

  --wrap: 1280px;
  --gap:  clamp(24px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--parchment);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: none; background: none; cursor: pointer; padding: 0; }

.wrap {
  width: min(92%, var(--wrap));
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════
   TYPE SYSTEM
═══════════════════════════════════════════════ */
.t-display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.02em;
  color: var(--ink);
}
.t-display--xl  { font-size: clamp(3.5rem, 7vw, 8rem); }
.t-display--lg  { font-size: clamp(2.8rem, 5vw, 5.6rem); }
.t-display--md  { font-size: clamp(2rem, 3.5vw, 3.8rem); }
.t-display--sm  { font-size: clamp(1.5rem, 2.5vw, 2.4rem); }

.t-kicker {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .7;
  flex-shrink: 0;
}

.t-body {
  font-family: var(--sans);
  font-size: clamp(.875rem, 1.1vw, 1rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
}

.t-lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}

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

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0 28px;
  min-height: 52px;
  white-space: nowrap;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .3s;
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn--clay {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(184,92,56,.28), 0 2px 8px rgba(184,92,56,.16);
}
.btn--clay:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(184,92,56,.34), 0 4px 12px rgba(184,92,56,.2);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-20);
}
.btn--outline:hover {
  border-color: var(--clay);
  color: var(--clay);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}

.btn--sm { min-height: 44px; padding: 0 22px; font-size: .66rem; }
.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════
   CURSOR CUSTOM
═══════════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--clay);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, opacity .2s;
  top: 0; left: 0;
  mix-blend-mode: multiply;
}
.cursor--ring {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid rgba(184,92,56,.4);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s;
}
body:has(a:hover) .cursor--ring,
body:has(button:hover) .cursor--ring {
  width: 56px; height: 56px;
  border-color: var(--clay);
}

@media (hover: none) { .cursor, .cursor--ring { display: none; } }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.header--scrolled {
  background: rgba(247,243,236,.92);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 var(--ink-08);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__mark {
  width: 34px;
  height: auto;
  max-height: 22px;
  object-fit: contain;
  border-radius: 0;
  transition: opacity .3s;
}
.logo__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .02em;
  transition: color .3s;
}
.header--hero .logo__name { color: var(--white); }
.header--hero .logo__mark { filter: brightness(0) invert(1); opacity: .96; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  position: relative;
  transition: color .3s;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--clay);
  transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.header--scrolled .nav__link { color: var(--stone); }
.header--scrolled .nav__link:hover { color: var(--ink); }

.header__cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .3s, background .3s;
}
.hamburger:hover { background: rgba(255,255,255,.06); }
.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s, width .3s;
}
.hamburger--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger--open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.header--scrolled .hamburger { border-color: var(--ink-20); }
.header--scrolled .hamburger span { background: var(--ink); }

/* Mobile drawer */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  background: var(--parchment);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 90px 40px 48px;
  gap: 0;
  box-shadow: -24px 0 80px rgba(19,15,12,.15);
}
.drawer--open { transform: translateX(0); }
.drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,15,12,.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
  backdrop-filter: blur(4px);
}
.drawer__overlay--open { opacity: 1; pointer-events: all; }

.drawer__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink-20);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--stone);
  transition: all .3s;
}
.drawer__close:hover { border-color: var(--clay); color: var(--clay); }

.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-08);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ink);
  transition: color .3s, padding-left .3s;
}
.drawer__link span { font-size: .7rem; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.drawer__link:hover { color: var(--clay); padding-left: 6px; }
.drawer__cta {
  margin-top: 32px;
}
.drawer__tagline {
  margin-top: 24px;
  font-size: .75rem;
  color: var(--stone);
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  display: grid;
  overflow: hidden;
  background: var(--ink);
}

.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero__slide.active img {
  animation: kenBurns 9s ease forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.07); }
  to   { transform: scale(1.0); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(19,15,12,.76) 0%, rgba(19,15,12,.42) 55%, rgba(19,15,12,.08) 100%),
    linear-gradient(0deg, rgba(19,15,12,.74) 0%, transparent 52%);
}

/* Noise grain overlay */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 7vh, 90px);
  padding-top: 100px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(16px, 3vh, 28px);
}
.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
}
.hero__location {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.hero__headline {
  max-width: 900px;
  margin-bottom: clamp(20px, 3vh, 32px);
}
.hero__headline h1 {
  font-family: var(--serif);
  font-size: clamp(3.8rem, 8vw, 9rem);
  font-weight: 300;
  line-height: .95;
  color: var(--white);
  letter-spacing: -.025em;
}
.hero__headline h1 em {
  display: block;
  color: #E8C9B4;
  margin-top: .08em;
}

.hero__bottom {
  display: block;
}

/* Stats pill — glassmorphism */
.hero__data {
  position: absolute;
  bottom: clamp(32px, 5vh, 56px);
  right: clamp(28px, 4vw, 64px);
  z-index: 3;
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  overflow: hidden;
}
.hero__data-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  gap: 6px;
}
.hero__data-div {
  width: 1px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
  margin: 16px 0;
}
.hero__data-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--clay-pale);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__data-label {
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.hero__sub {
  font-family: var(--sans);
  font-size: clamp(.875rem, 1.2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin-bottom: 28px;
  text-shadow: 0 1px 24px rgba(19,15,12,.5);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero stats vertical */
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  min-width: 130px;
}
.hero__stat:last-child { border-bottom: none; }
.hero__stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--clay-pale);
  line-height: 1;
}
.hero__stat-label {
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-top: 4px;
}

/* Slide dots */
.hero__nav {
  position: absolute;
  bottom: clamp(24px, 4vh, 40px);
  right: clamp(24px, 4vw, 60px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.hero__nav-dot {
  width: 2px;
  height: 24px;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  cursor: pointer;
  transition: background .3s, height .3s;
  position: relative;
  overflow: hidden;
}
.hero__nav-dot.active {
  background: rgba(255,255,255,.15);
  height: 40px;
}
.hero__nav-dot-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: var(--clay);
  border-radius: 999px;
  transition: height 6s linear;
}
.hero__nav-dot.active .hero__nav-dot-fill { height: 100%; }

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: scrollBob 3s ease-in-out infinite;
}
.hero__scroll-cue span {
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}
.hero__scroll-cue svg { opacity: .3; }
@keyframes scrollBob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════════ */
.marquee-strip {
  background: var(--clay);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.marquee-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════
   STATEMENT / MANIFESTO
═══════════════════════════════════════════════ */
.manifesto {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--parchment);
  position: relative;
  overflow: hidden;
}
.manifesto::before { display: none; }

.manifesto__arch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
  user-select: none;
}
.manifesto__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.manifesto__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  padding-right: clamp(0px, 2vw, 32px);
}
.manifesto__kicker { margin-bottom: 0; }
.manifesto__h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.6vw, 6rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 0;
}
.manifesto__right {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 72vh, 720px);
  border-radius: clamp(12px, 1.2vw, 18px);
}
.manifesto__right::after {
  display: none;
}
.manifesto__body { font-size: clamp(.9rem, 1.1vw, 1.05rem); line-height: 1.85; color: var(--stone); font-weight: 300; }

/* Pillars row */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-08);
  margin-top: clamp(56px, 8vh, 96px);
  position: relative;
  z-index: 1;
}
.pillar {
  background: var(--parchment);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  transition: background .4s;
}
.pillar:hover { background: var(--linen); }
.pillar__num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--clay);
  margin-bottom: 16px;
}
.pillar__label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.pillar__desc {
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--stone);
}

/* ═══════════════════════════════════════════════
   MASTERPLAN REVEAL
═══════════════════════════════════════════════ */
.masterplan {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 600px;
  max-height: 1000px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: #0e0b09;
}

.masterplan__visual {
  position: absolute;
  inset: 0;
}
.masterplan__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* muestra el centro-derecha de la imagen: casas con arcos, albercas, arquitectura */
  object-position: 62% 42%;
  transform: scale(1.015);
  animation: none;
  will-change: auto;
}
@keyframes masterplan-breathe {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

/* velo SOLO en la franja inferior — la imagen respira en su 70% superior */
.masterplan__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(11,8,6,.92) 0%,
      rgba(11,8,6,.72) 18%,
      rgba(11,8,6,.28) 38%,
      rgba(11,8,6,.04) 56%,
      transparent     70%
    );
  pointer-events: none;
}

.masterplan__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  background-size: 220px;
  opacity: .5;
  pointer-events: none;
}

/* contenedor del texto: se ancla al fondo con padding generoso */
.masterplan__inner {
  position: relative;
  z-index: 2;
  /* se coloca en la fila inferior del grid */
  grid-row: 2;
  align-self: end;
  width: 100%;
  padding-bottom: clamp(52px, 7vh, 88px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 44px);
}

/* dentro del .wrap el texto tiene su padding horizontal estándar
   más un extra de indentación para separarlo del borde */
.masterplan__caption {
  max-width: 680px;
  padding-left: clamp(0px, 1.5vw, 24px); /* micro-indent extra sobre el wrap */
}

.masterplan__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: .9;
}
.masterplan__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: .6;
  flex-shrink: 0;
}

.masterplan__line {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.8vw, 7.6rem);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.025em;
  color: var(--white);
  text-shadow: 0 2px 32px rgba(11,8,6,.4);
}
.masterplan__line em {
  font-style: italic;
  color: var(--clay-pale);
  display: block;
}

/* barra de stats: full width del wrap, 3 columnas equidistantes */
.masterplan__data {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0;
  width: 100%;
  max-width: 720px;
  padding-left: clamp(0px, 1.5vw, 24px);
}
.masterplan__datum {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: clamp(32px, 5vw, 80px);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.masterplan__datum:last-child { padding-right: 0; }

.masterplan__datum-n {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
}
.masterplan__datum-l {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(253,250,246,.42);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .masterplan {
    height: 88vh;
    min-height: 560px;
    max-height: 780px;
  }
  /* hacia la derecha para mostrar las casas con arcos y albercas */
  .masterplan__visual img {
    object-position: 74% 36%;
  }
  /* velo un poco más intenso en mobile para legibilidad */
  .masterplan__veil {
    background:
      linear-gradient(
        to top,
        rgba(11,8,6,.96) 0%,
        rgba(11,8,6,.82) 20%,
        rgba(11,8,6,.38) 42%,
        rgba(11,8,6,.06) 60%,
        transparent 74%
      );
  }
  .masterplan__caption { padding-left: 0; }
  .masterplan__line {
    font-size: clamp(2.8rem, 11vw, 4.8rem);
  }
  .masterplan__data {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    padding-left: 0;
  }
  .masterplan__datum {
    padding-right: 0;
    padding-top: 16px;
  }
  .masterplan__datum-n {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    letter-spacing: -.02em;
  }
  .masterplan__datum-l {
    font-size: .56rem;
    letter-spacing: .1em;
    white-space: normal;
    line-height: 1.4;
  }
}

@media (max-width: 420px) {
  .masterplan {
    height: 90vh;
    min-height: 580px;
  }
  .masterplan__visual img {
    object-position: 76% 34%;
  }
  .masterplan__eyebrow {
    font-size: .58rem;
    letter-spacing: .18em;
  }
  .masterplan__line {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
    line-height: .9;
  }
  .masterplan__datum-n { font-size: 1.35rem; }
  .masterplan__datum-l { font-size: .52rem; letter-spacing: .08em; }
  .masterplan__datum { padding-top: 13px; }
}

/* Solo visible en desktop — oculto en mobile y tablet */
.masterplan { display: none; }
@media (min-width: 1024px) { .masterplan { display: grid; } }

/* ═══════════════════════════════════════════════
   ARCHITECTURE SECTION
═══════════════════════════════════════════════ */
.arch {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.arch__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.arch__visual {
  position: relative;
  overflow: hidden;
}
.arch__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.arch__visual:hover img { transform: scale(1.04); }

.arch__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(40px, 5vw, 80px);
}
.arch__copy .t-kicker { color: var(--clay); margin-bottom: 24px; }
.arch__h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.arch__h2 em { color: #E8C9B4; }

.arch__body {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.95;
  color: rgba(255,255,255,.58);
  margin-bottom: 40px;
  max-width: 380px;
}

.arch__details {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.arch__detail {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.arch__detail:last-child { border-bottom: none; }
.arch__detail-n {
  font-family: var(--serif);
  font-size: .85rem;
  color: var(--clay);
  padding-top: 2px;
}
.arch__detail-body h4 {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-bottom: 4px;
}
.arch__detail-body p {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(255,255,255,.44);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   UNITS
═══════════════════════════════════════════════ */
.units {
  background: var(--parchment);
  padding-bottom: 0;
}
.units__header {
  padding: clamp(56px, 8vh, 96px) 0 0;
}
.units__h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 560px;
  margin: 20px 0 12px;
}
.units__sub { max-width: 480px; }

/* Tab bar */
.units__tabs {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border-bottom: 1px solid var(--ink-08);
  overflow-x: auto;
  scrollbar-width: none;
}
.units__tabs::-webkit-scrollbar { display: none; }
.u-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.u-tab:hover { color: var(--ink); }
.u-tab.active {
  color: var(--clay);
  border-bottom-color: var(--clay);
}
.u-badge {
  font-size: .6rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(184,92,56,.1);
  color: var(--clay);
  letter-spacing: .06em;
}
.u-badge--new {
  background: rgba(78,108,80,.1);
  color: #3A6640;
}

/* Unit panels */
.unit-panel { display: none; }
.unit-panel.active { display: block; }

.unit-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}

/* Gallery */
.unit-gal {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.unit-gal__main {
  position: relative;
  height: 580px;
  overflow: hidden;
  cursor: zoom-in;
}
.unit-gal__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), opacity .22s ease;
}
.unit-gal__main:hover img { transform: scale(1.04); }
.unit-gal__zoom {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.unit-gal__main:hover .unit-gal__zoom { opacity: 1; }

.unit-gal__thumbs {
  display: flex;
  gap: 3px;
  background: #0D0A08;
  padding: 3px;
}
.u-thumb {
  flex: 1;
  height: 72px;
  overflow: hidden;
  cursor: pointer;
  opacity: .45;
  transition: opacity .3s;
  position: relative;
}
.u-thumb.active { opacity: 1; }
.u-thumb:hover { opacity: .75; }
.u-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.u-thumb:hover img { transform: scale(1.06); }

/* Unit copy */
.unit-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(36px, 4vw, 64px) clamp(28px, 4vw, 60px);
  background: var(--white);
}
.unit-copy .t-kicker { margin-bottom: 20px; }
.unit-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.unit-price {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--clay);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 20px;
}
.unit-price sup {
  font-size: .45em;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--stone);
  margin-left: 4px;
}
.unit-desc { margin-bottom: 24px; }

.unit-concept {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--stone);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-08);
}

.unit-price-note {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: .75;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.unit-price-note::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--clay);
  opacity: .5;
  flex-shrink: 0;
}

/* Specs grid */
.unit-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink-08);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.unit-spec {
  background: var(--parchment);
  padding: 16px 18px;
}
.unit-spec__k {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 4px;
}
.unit-spec__v {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
}

/* Tipología — row featured, full width, tono diferente */
.unit-spec--tipo {
  grid-column: 1 / -1;
  background: var(--ink);
  padding: 20px 22px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.unit-spec--tipo .unit-spec__k {
  color: rgba(253,250,246,.35);
  flex-shrink: 0;
}
.unit-spec--tipo .unit-spec__v {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  letter-spacing: .01em;
}

/* Tags */
.unit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.u-tag {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.u-tag--avail { background: rgba(58,102,64,.1); color: #3A6640; }
.u-tag--build { background: rgba(154,140,130,.12); color: var(--stone); }
.u-tag--pre   { background: rgba(184,92,56,.08); color: var(--clay-deep); }

.unit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.unit-actions .btn--clay { flex: 1; }

.unit-footnote {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-08);
  font-size: .8rem;
  color: var(--stone);
  font-weight: 300;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   GALLERY / EDITORIAL
═══════════════════════════════════════════════ */
.editorial {
  background: var(--ink);
  padding: clamp(64px, 8vh, 100px) 0;
  position: relative;
}
.editorial__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 4vh, 52px);
  gap: 24px;
  flex-wrap: wrap;
}
.editorial__head-left { max-width: 560px; }
.editorial__head-left .t-kicker { color: var(--clay); margin-bottom: 16px; }
.editorial__h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -.02em;
}
.editorial__note {
  font-size: .8rem;
  font-weight: 300;
  color: rgba(255,255,255,.3);
  letter-spacing: .04em;
  text-align: right;
  max-width: 200px;
}

/* Masonry-ish grid */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 340px 280px;
  gap: 6px;
}
.ed-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: #1A1410;
}
.ed-item:first-child {
  grid-row: 1 / 3;
}
.ed-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .4s;
  filter: brightness(.88) contrast(1.04);
}
.ed-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) contrast(1.02);
}
.ed-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(19,15,12,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: background .4s;
}
.ed-item:hover .ed-item__overlay { background: rgba(19,15,12,.35); }
.ed-item__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .4s, transform .4s var(--ease);
}
.ed-item:hover .ed-item__icon { opacity: 1; transform: scale(1); }
.ed-item__caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s, transform .4s var(--ease);
  text-align: left;
}
.ed-item:hover .ed-item__caption { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════
   LIFESTYLE
═══════════════════════════════════════════════ */
.lifestyle {
  background: var(--linen);
  padding: clamp(72px, 10vh, 120px) 0;
}
.lifestyle__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(56px, 7vh, 84px);
}
.lifestyle__head-right {
  padding-bottom: 8px;
  max-width: 480px;
}
.lifestyle__h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.02em;
  margin: 20px 0 0;
}
@media (max-width: 767px) {
  .lifestyle__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lifestyle__head-right { max-width: 100%; }
}

/* Feature list — editorial style */
.lifestyle-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lf-item {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink-08);
  transition: background .3s;
}
.lf-item:first-child { border-top: 1px solid var(--ink-08); }
.lf-item--highlighted {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 28px;
  border: 1px solid var(--ink-08) !important;
  border-left: 3px solid var(--clay) !important;
  margin: 8px -28px;
}
.lf-num {
  font-family: var(--serif);
  font-size: .82rem;
  font-style: italic;
  color: var(--clay);
  opacity: .75;
  padding-top: 5px;
}
.lf-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.3;
}
.lf-body {
  font-size: .88rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
}
.lf-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(58,102,64,.1);
  color: #3A6640;
}
.lf-badge--proj {
  background: rgba(154,140,130,.1);
  color: var(--stone);
}

/* ═══════════════════════════════════════════════
   TRUST
═══════════════════════════════════════════════ */
.trust {
  background: var(--parchment);
  padding: clamp(72px, 10vh, 120px) 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.trust__sticky {
  position: sticky;
  top: 100px;
}
.trust__sticky .t-kicker { margin-bottom: 24px; }
.trust__h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.trust__body { font-size: .95rem; line-height: 1.85; color: var(--stone); font-weight: 300; margin-bottom: 28px; }

.trust__note {
  background: rgba(184,92,56,.05);
  border: 1px solid rgba(184,92,56,.12);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.trust__note p {
  font-size: .82rem;
  line-height: 1.7;
  color: var(--stone);
}
.trust__note strong { color: var(--clay-deep); font-weight: 500; }

.trust__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink-08);
}
.trust-item:last-child { border-bottom: none; }
.trust-item__n {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
}
.trust-item__body h4 {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.trust-item__body p {
  font-size: .85rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   LOCATION
═══════════════════════════════════════════════ */
.location {
  background: var(--ink);
  padding: clamp(72px, 10vh, 120px) 0;
}
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.location__sticky {
  position: sticky;
  top: 100px;
}
.location__sticky .t-kicker { margin-bottom: 24px; }
.location__h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--parchment);
  margin-bottom: 20px;
}
.location__body { font-size: .95rem; line-height: 1.85; color: rgba(255,255,255,.62); font-weight: 300; margin-bottom: 32px; }

.loc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.loc-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.loc-list li::before { content: none; }
.loc-list li:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.loc-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.loc-list li strong {
  font-family: var(--serif);
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  font-weight: 400;
  font-style: italic;
  color: var(--parchment);
  letter-spacing: 0;
}
.loc-list li span {
  font-size: .8rem;
  font-weight: 300;
  color: rgba(255,255,255,.42);
  line-height: 1.5;
}

/* ── Loc props (left col stats) ── */
.loc-props {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.loc-prop {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.loc-prop__v {
  font-family: var(--serif);
  font-size: clamp(.92rem, 1.05vw, 1.02rem);
  font-weight: 400;
  color: var(--parchment);
  letter-spacing: 0;
}
.loc-prop__k {
  font-size: .76rem;
  font-weight: 300;
  color: rgba(255,255,255,.36);
  line-height: 1.5;
}
.loc-privacy {
  font-size: .76rem;
  font-weight: 300;
  color: rgba(255,255,255,.22);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ── Proximity display (right col) ── */
.loc-proximity {
  display: flex;
  flex-direction: column;
  gap: 44px;
  align-self: start;
  position: sticky;
  top: 100px;
}
.loc-group {
  display: flex;
  flex-direction: column;
}
.loc-group__label {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}
.loc-group__label + .loc-row { border-top: 1px solid rgba(255,255,255,.08); }
.loc-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.loc-row__time {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.75rem);
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
  padding-top: 3px;
  white-space: nowrap;
}
.loc-row__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.loc-row__place {
  font-size: clamp(.86rem, .94vw, .96rem);
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.35;
}
.loc-row__sub {
  font-size: .73rem;
  font-weight: 300;
  color: rgba(255,255,255,.32);
  line-height: 1.5;
}
.loc-note {
  font-size: .72rem;
  color: rgba(255,255,255,.18);
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 16px;
  line-height: 1.7;
  margin-top: -12px;
}
.map-placeholder-inner {
  text-align: center;
  color: rgba(255,255,255,.25);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.map-placeholder-inner svg { display: block; margin: 0 auto 12px; opacity: .2; }

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
.faq {
  background: var(--parchment);
  padding: clamp(72px, 10vh, 120px) 0;
}
.faq__layout {
  display: grid;
  grid-template-columns: .48fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.faq__sticky {
  position: sticky;
  top: 100px;
}
.faq__sticky .t-kicker { margin-bottom: 24px; }
.faq__h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.faq__note { font-size: .9rem; color: var(--stone); line-height: 1.75; font-weight: 300; max-width: 340px; }

.faq-list { display: flex; flex-direction: column; }
.faq-row { border-bottom: 1px solid var(--ink-08); }
.faq-row:first-child { border-top: 1px solid var(--ink-08); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  transition: color .3s;
}
.faq-q:hover { color: var(--clay); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ink-20);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-style: normal;
  color: var(--stone);
  flex-shrink: 0;
  transition: all .35s var(--ease);
}
.faq-row.open .faq-icon {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
  rotate: 45deg;
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .6s var(--ease), padding .4s;
  padding: 0;
}
.faq-a.open { max-height: 600px; padding-bottom: 28px; }
.faq-a p {
  font-size: .92rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.85;
  max-width: 640px;
  padding-left: 0;
  border-left: 2px solid var(--clay);
  padding-left: 20px;
}

/* ═══════════════════════════════════════════════
   VIVIR TIERRA VIVA · Sección fusionada
═══════════════════════════════════════════════ */
.vivir {
  background: var(--linen);
  overflow: hidden;
}

/* ── Header ── */
.vivir__header-wrap {
  padding-top: clamp(72px, 10vh, 120px);
  padding-bottom: clamp(48px, 6vh, 72px);
}
.vivir__header { max-width: 700px; }
.vivir__header .t-kicker { margin-bottom: 20px; }

.vivir__h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.vivir__h2 em { color: var(--clay); font-style: italic; }

.vivir__intro {
  font-size: clamp(.9rem, 1.1vw, 1.02rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--stone);
  max-width: 560px;
}

/* ── Benefit grid ── */
.vivir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: clamp(56px, 8vh, 96px);
}

/* ── Benefit card ── */
.vivir-card {
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
}
.vivir-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.vivir-card:hover {
  box-shadow: 0 16px 56px rgba(19,15,12,.1);
  transform: translateY(-5px);
  border-color: rgba(184,92,56,.18);
}
.vivir-card:hover::before { transform: scaleX(1); }

.vivir-card__icon {
  width: 46px;
  height: 46px;
  background: rgba(184,92,56,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clay);
  flex-shrink: 0;
  transition: background .35s, color .35s;
}
.vivir-card:hover .vivir-card__icon {
  background: rgba(184,92,56,.14);
}

.vivir-card__title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

.vivir-card__body {
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

/* ── Location dark panel ── */
.vivir-loc {
  background: var(--ink);
  padding: clamp(64px, 9vh, 112px) 0;
}

.vivir-loc__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

/* Left column */
.vivir-loc__left .t-kicker { color: var(--clay); }

.vivir-loc__h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.025em;
  color: var(--parchment);
  margin-bottom: 18px;
}

.vivir-loc__body {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,.52);
  margin-bottom: 28px;
  max-width: 380px;
}

.vivir-loc__props {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
}
.vivir-loc__prop {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vivir-loc__prop-v {
  font-family: var(--serif);
  font-size: clamp(.92rem, 1.05vw, 1.02rem);
  font-weight: 400;
  color: var(--parchment);
}
.vivir-loc__prop-k {
  font-size: .74rem;
  font-weight: 300;
  color: rgba(255,255,255,.32);
  line-height: 1.45;
}
.vivir-loc__privacy {
  font-size: .76rem;
  font-weight: 300;
  color: rgba(255,255,255,.2);
  font-style: italic;
  line-height: 1.7;
}

/* Right column: distances */
.vivir-loc__distances {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.vivir-dist-group { display: flex; flex-direction: column; }
.vivir-dist-label {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}
.vivir-dist-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: border-color .3s;
}
.vivir-dist-group .vivir-dist-row:first-of-type {
  border-top: 1px solid rgba(255,255,255,.07);
}
.vivir-dist-row:hover { border-bottom-color: rgba(255,255,255,.14); }

.vivir-dist-time {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.75rem);
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
  padding-top: 2px;
  white-space: nowrap;
}
.vivir-dist-info { display: flex; flex-direction: column; gap: 3px; }
.vivir-dist-place {
  font-size: clamp(.86rem, .95vw, .96rem);
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.3;
}
.vivir-dist-sub {
  font-size: .72rem;
  font-weight: 300;
  color: rgba(255,255,255,.3);
  line-height: 1.45;
}
.vivir-loc__note {
  font-size: .72rem;
  color: rgba(255,255,255,.18);
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 14px;
  line-height: 1.7;
  margin-top: -8px;
}

/* ── CTAs row ── */
.vivir__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: clamp(52px, 7vh, 80px) clamp(20px, 4vw, 60px);
  background: var(--linen);
}
.vivir__ctas .btn--outline { color: var(--ink); border-color: var(--ink-20); }
.vivir__ctas .btn--outline:hover { color: var(--clay); border-color: var(--clay); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .vivir-grid { grid-template-columns: repeat(2, 1fr); }
  .vivir-loc__inner { grid-template-columns: 1fr; gap: 48px; }
  .vivir-loc__body { max-width: 100%; }
}

@media (max-width: 767px) {
  .vivir-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: clamp(40px, 6vh, 64px);
  }
  .vivir__header-wrap { padding-top: clamp(52px, 8vh, 80px); padding-bottom: 36px; }
  .vivir-loc { padding: clamp(48px, 7vh, 72px) 0; }
  .vivir__ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .vivir__ctas .btn { text-align: center; }
  .vivir-dist-row { grid-template-columns: 64px 1fr; gap: 12px; }
  .vivir-dist-time { font-size: 1.1rem; }
  .vivir-loc__distances { gap: 28px; }
  .vivir-card { gap: 12px; }
}

@media (max-width: 420px) {
  .vivir-card { padding: 18px 16px; }
  .vivir__h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}

/* ═══════════════════════════════════════════════
   TRANSPARENCIA · Status rows
═══════════════════════════════════════════════ */
.cz-status {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}

.cz-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-08);
}
.cz-row:first-child { border-top: 1px solid var(--ink-08); }

.cz-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.cz-row--built .cz-dot { background: #3A6640; }
.cz-row--obra  .cz-dot { background: var(--clay); }
.cz-row--proj  .cz-dot { background: var(--stone); opacity: .35; }

.cz-row strong {
  display: block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .02em;
  margin-bottom: 3px;
}
.cz-row span {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   CLOSING CTA
═══════════════════════════════════════════════ */
.closing {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: clamp(96px, 14vh, 160px) 0;
}
.closing__visual {
  position: absolute;
  inset: 0;
  opacity: .24;
}
.closing__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.35);
}
.closing__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, var(--ink) 20%, rgba(19,15,12,.65) 100%);
}
.closing__grain {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.closing__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.closing__kicker { justify-content: center; color: var(--clay); margin-bottom: 24px; }
.closing__h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 7.2rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.closing__h2 em { display: block; color: #E8C9B4; margin-top: .06em; }
.closing__body {
  font-size: .95rem;
  font-weight: 300;
  color: rgba(255,255,255,.45);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 44px;
}
.closing__tally {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 36px auto 12px;
}
.closing__tally-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  transition: transform .3s;
}
.closing__tally-dot--sold {
  background: rgba(255,255,255,.18);
}
.closing__tally-dot--avail {
  background: var(--clay);
  box-shadow: 0 0 14px rgba(189,85,55,.5);
}
.closing__tally-labels {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}
.closing__tally-labels span { color: rgba(255,255,255,.35); }
.closing__tally-labels span:last-child { color: var(--clay); }
.closing__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.closing__proof {
  margin-top: 24px;
  font-size: .78rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.28);
  letter-spacing: .02em;
}

/* ═══════════════════════════════════════════════
   FORM
═══════════════════════════════════════════════ */
.form-sec {
  background: var(--linen);
  padding: clamp(72px, 10vh, 120px) 0;
}
.form-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.form-intro { position: sticky; top: 100px; }
.form-intro .t-kicker { margin-bottom: 24px; }
.form-intro h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.form-intro p { font-size: .95rem; line-height: 1.85; color: var(--stone); font-weight: 300; margin-bottom: 28px; }

.form-perks { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.form-perk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-08);
  font-size: .86rem;
  opacity: .82;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.4;
}
.form-perk:first-child { border-top: 1px solid var(--ink-08); }
.form-perk-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(58,102,64,.08);
  color: #3A6640;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-08);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: 0 24px 80px rgba(19,15,12,.07), 0 8px 24px rgba(19,15,12,.04);
}

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col--full { grid-column: 1/-1; }

.f-col label {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
}
.f-col input,
.f-col select,
.f-col textarea {
  background: var(--parchment);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: .9rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none;
  appearance: none;
}
.f-col select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A8C82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.f-col textarea { min-height: 90px; resize: none; }
.f-col input:focus,
.f-col select:focus,
.f-col textarea:focus {
  border-color: rgba(184,92,56,.35);
  box-shadow: 0 0 0 4px rgba(184,92,56,.07);
  background: var(--white);
}
.f-col input::placeholder,
.f-col textarea::placeholder { color: rgba(154,140,130,.6); }

.f-row + .f-col--full { margin-top: 0; }
.f-rows { display: flex; flex-direction: column; gap: 0; }

/* Radio pills — inline */
.f-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.f-pill { display: inline-flex; cursor: pointer; }
.f-pill input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.f-pill span {
  display: inline-block;
  padding: 14px 18px;
  border: 1px solid rgba(154,140,130,.22);
  border-radius: 999px;
  font-size: .78rem;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--stone);
  cursor: pointer;
  transition: all .28s cubic-bezier(.22,.61,.36,1);
  user-select: none;
  line-height: 1;
}
.f-pill:hover span { border-color: var(--clay); color: var(--ink); }
.f-pill input:checked + span {
  background: #C86A3A;
  color: #fff;
  border-color: #C86A3A;
  box-shadow: 0 4px 10px rgba(0,0,0,.04);
}

/* House card selectors */
.f-card-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
.f-card-pill { display: flex; cursor: pointer; }
.f-card-pill input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.f-card-pill__inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid rgba(154,140,130,.2);
  border-radius: 14px;
  transition: all .28s cubic-bezier(.22,.61,.36,1);
  cursor: pointer;
  background: var(--parchment);
}
.f-card-pill__num {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  transition: color .28s ease;
}
.f-card-pill__desc {
  font-size: .72rem;
  font-weight: 300;
  color: var(--stone);
  letter-spacing: .01em;
  line-height: 1.45;
}
.f-card-pill:hover .f-card-pill__inner { border-color: rgba(200,106,58,.4); background: var(--white); }
.f-card-pill input:checked + .f-card-pill__inner {
  border-color: #C86A3A;
  background: rgba(200,106,58,.05);
  box-shadow: 0 4px 12px rgba(200,106,58,.1);
}
.f-card-pill input:checked + .f-card-pill__inner .f-card-pill__num { color: #C86A3A; }

/* Global premium transitions */
.f-col input, .f-col select, .f-col textarea, .form-submit {
  transition: all .28s cubic-bezier(.22,.61,.36,1);
}

/* Form mini note */
.form-mini-note {
  font-size: .82rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.65;
  text-align: center;
  margin-bottom: 18px;
  opacity: .65;
}

.f-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 18px;
  font-size: .82rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.5;
}
.f-check input[type=checkbox] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid rgba(154,140,130,.4);
  border-radius: 4px;
  background: var(--parchment);
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}
.f-check input[type=checkbox]:checked {
  background: var(--clay);
  border-color: var(--clay);
}
.f-check input[type=checkbox]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(42deg);
}
.f-check a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }

.form-submit {
  font-size: .78rem;
  min-height: 56px;
  letter-spacing: .1em;
  padding: 18px 24px;
}
.f-note {
  text-align: center;
  margin-top: 14px;
  font-size: .78rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
}
.f-note a { color: var(--clay); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: #0E0B09;
  padding: 52px 0 36px;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 28px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__brand img { width: 34px; height: auto; max-height: 20px; object-fit: contain; border-radius: 0; filter: none; opacity: .72; }
.footer__brand span { font-family: var(--serif); font-size: 1.1rem; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.footer__tagline { font-size: .8rem; color: rgba(255,255,255,.2); line-height: 1.7; }

.footer__nav-title {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  margin-bottom: 16px;
}
.footer__nav-links { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-links a {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(255,255,255,.35);
  transition: color .3s;
}
.footer__nav-links a:hover { color: rgba(255,255,255,.75); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .72rem;
  color: rgba(255,255,255,.18);
  gap: 16px;
}
.footer__bottom a { transition: color .3s; }
.footer__bottom a:hover { color: rgba(255,255,255,.45); }

/* ═══════════════════════════════════════════════
   STICKY MOBILE BAR
═══════════════════════════════════════════════ */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247,243,236,.95);
  backdrop-filter: blur(20px) saturate(150%);
  border-top: 1px solid var(--ink-08);
  gap: 8px;
}
.sticky-bar .btn { flex: 1; min-height: 50px; font-size: .68rem; }

/* ═══════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════ */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(10,8,6,.95);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.lb.open { display: flex; }
.lb img {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  cursor: default;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  display: block;
  margin: auto;
}
.lb__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.7);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s;
}
.lb__close:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.rv.on { opacity: 1; transform: none; }
.rv--delay-1 { transition-delay: .1s; }
.rv--delay-2 { transition-delay: .2s; }
.rv--delay-3 { transition-delay: .3s; }
.rv--delay-4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .manifesto__inner,
  .arch__grid,
  .unit-layout,
  .trust__grid,
  .location__grid,
  .faq__layout,
  .form-grid { grid-template-columns: 1fr; }

  .hero__data { bottom: 24px; right: 24px; border-radius: 14px; }
  .hero__data-item { padding: 16px 22px; }
  .hero__data-num { font-size: 1.6rem; }

  .trust__sticky, .location__sticky, .loc-proximity, .form-intro, .faq__sticky { position: static; }
  .arch__copy { padding: 48px 32px; }
  .manifesto__h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
  .manifesto__right { border-radius: clamp(10px, 1.5vw, 16px); min-height: clamp(360px, 56vw, 560px); }
  .manifesto__right::after { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .editorial-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ed-item:first-child { grid-row: auto; grid-column: 1/-1; }
  .ed-item:first-child { min-height: 360px; }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .lf-item { grid-template-columns: 40px 1fr; }
  .lf-body { display: none; }
  .lf-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .map-frame { aspect-ratio: 16/9; }
}

@media (max-width: 720px) {
  .manifesto__arch { display: none; }
  .hero__headline h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 0; }
  .hero__stat { padding: 8px 16px 8px 0; }
  .hero__data { bottom: 20px; right: 16px; border-radius: 12px; }
  .hero__data-item { padding: 14px 18px; gap: 4px; }
  .hero__data-num { font-size: 1.4rem; }
  .hero__data-label { font-size: .54rem; letter-spacing: .16em; }

  .pillars { grid-template-columns: 1fr 1fr; }
  .editorial-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ed-item:first-child { min-height: 280px; }
  .ed-item { min-height: 220px; }

  .lf-item { display: block; padding: 20px 0; }
  .lf-item--highlighted { margin: 8px 0; padding: 20px; }
  .lf-num { margin-bottom: 6px; }
  .lf-body { display: block; margin-top: 6px; }

  .unit-layout { grid-template-columns: 1fr; }
  .unit-gal__main { height: 280px; }
  .unit-copy { padding: 28px 20px; }
  .unit-actions { flex-direction: column; }
  .unit-actions .btn { width: 100%; }
  .u-thumb { height: 54px; }

  .units__tabs { gap: 0; }
  .u-tab { padding: 14px 16px; }

  .f-row { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .sticky-bar {
    display: flex;
    transform: translateY(calc(100% + 10px));
    opacity: 0;
    pointer-events: none;
    transition: transform .5s cubic-bezier(0.16,1,0.3,1), opacity .4s ease;
  }
  .sticky-bar.bar--visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .footer { padding-bottom: max(90px, calc(72px + env(safe-area-inset-bottom, 0px))); }

  .closing__actions { flex-direction: column; align-items: stretch; }
  .closing__actions .btn { text-align: center; }
  .hero__nav { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }

  /* Manifesto: ocultar col derecha vacía en mobile */
  .manifesto__right { display: none; }

  /* Hero: clearance para sticky bar */
  .hero__inner {
    padding-bottom: max(88px, calc(72px + env(safe-area-inset-bottom, 0px)));
  }
}

@media (max-width: 520px) {
  .hero__data { display: none; }
}

/* ═══════════════════════════════════════════════
   MOBILE OPTIMIZADO · Refinements
═══════════════════════════════════════════════ */

/* Touch: ocultar cursor custom — no aplica en pantallas táctiles */
@media (hover: none) and (pointer: coarse) {
  .cursor, .cursor--ring { display: none !important; }
}

/* Sticky bar: safe area (iPhone home indicator) */
.sticky-bar { padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)); }

@media (max-width: 767px) {
  /* Secciones: padding vertical más compacto en mobile */
  .manifesto, .trust, .lifestyle, .location, .faq, .closing, .form-sec {
    padding-top: clamp(56px, 8vh, 80px);
    padding-bottom: clamp(56px, 8vh, 80px);
  }
  .architecture { padding: clamp(48px, 7vh, 72px) 0; }

  /* Hero sub: más corto en mobile */
  .hero__sub { font-size: .88rem; line-height: 1.6; max-width: 320px; }

  /* Marquee: más lento aún en mobile (menos scroll = más tiempo expuesto) */
  .marquee-track { animation-duration: 65s; }

  /* Manifesto: tipografía ajustada */
  .manifesto__h2 { font-size: clamp(2.6rem, 9vw, 4.2rem); }
  .manifesto__body { font-size: .9rem; }

  /* Pillars: card padding reducido + desc oculto en mobile (demasiado texto en 2 cols) */
  .pillar { padding: 20px 16px; overflow: hidden; }
  .pillar__num { font-size: 1.7rem; white-space: nowrap; overflow: hidden; }
  .pillar__desc { display: none; }
  .pillar__label { margin-bottom: 0; }

  /* Architecture: text padding */
  .arch__copy { padding: 36px 20px; }

  /* Unidades: tab font más pequeño */
  .u-tab { font-size: .72rem; letter-spacing: .1em; }

  /* Gallery: head centrado en mobile */
  .editorial__head { flex-direction: column; gap: 16px; align-items: center; text-align: center; }
  .editorial__head-left { max-width: 100%; }

  /* Trust: items padding */
  .trust-item { padding: 20px 0; gap: 16px; }
  .trust-item__n { font-size: 1.9rem; }
  .trust-item__body h4 { font-size: .88rem; }
  .trust__h2 { font-size: clamp(2rem, 7vw, 3rem); }

  /* Lifestyle: list title más grande en mobile (compensar sans que fue sustituido) */
  .lf-title { font-size: 1rem; }

  /* Location: textos sobre fondo oscuro */
  .location__h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .loc-row { grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; }
  .loc-row__time { font-size: 1.1rem; }
  .loc-proximity { gap: 32px; }

  /* FAQ: h2 y q ajustados */
  .faq__h2 { font-size: clamp(1.8rem, 6.5vw, 2.8rem); }
  .faq-q { font-size: .97rem; padding: 20px 0; }
  .faq-a p { padding-left: 14px; max-width: 100%; }

  /* Closing: H2 y tally */
  .closing__h2 { font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .closing__tally { margin: 24px auto 10px; }
  .closing__body { font-size: .9rem; max-width: 100%; }

  /* Form: card y perks */
  .form-card { padding: 24px 18px; }
  .form-perk { font-size: .82rem; padding: 12px 0; }
  .form-intro h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .f-note { font-size: .76rem; }

  /* Footer: más compacto */
  .footer__brand span { font-size: 1rem; }
}

@media (max-width: 400px) {
  /* Pantallas muy pequeñas (iPhone SE, etc.) */
  .closing__h2 { font-size: 2.5rem; letter-spacing: -.02em; }
  .u-tab { padding: 10px 11px; font-size: .68rem; }
  .unit-copy { padding: 22px 16px; }
  .form-card { padding: 20px 16px; }
  .hero__headline h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .lifestyle__h2 { font-size: 2.4rem; }
}

/* ═══════════════════════════════════════════════
   PRINT / REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════
   LANG SWITCHER
═══════════════════════════════════════════════ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.lang-switch__btn {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  padding: 6px 7px;
  border-radius: 4px;
  transition: color .3s, background .3s;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}
.lang-switch__btn:hover {
  color: rgba(255,255,255,.85);
}
.lang-switch__btn--active {
  color: var(--clay-pale) !important;
}
.lang-switch__sep {
  font-size: .52rem;
  color: rgba(255,255,255,.18);
  font-weight: 300;
  letter-spacing: 0;
  user-select: none;
  pointer-events: none;
  padding: 0 1px;
}
/* Scrolled header overrides */
.header--scrolled .lang-switch__btn { color: var(--stone); }
.header--scrolled .lang-switch__btn:hover { color: var(--ink); }
.header--scrolled .lang-switch__btn--active { color: var(--clay) !important; }
.header--scrolled .lang-switch__sep { color: var(--ink-20); }

/* Drawer version */
.drawer .lang-switch {
  justify-content: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-08);
}
.drawer .lang-switch__btn {
  color: var(--stone);
  font-size: .66rem;
  padding: 9px 13px;
}
.drawer .lang-switch__btn:hover { color: var(--clay); }
.drawer .lang-switch__btn--active { color: var(--clay) !important; }
.drawer .lang-switch__sep { color: var(--ink-20); }


/* Performance overrides — Tierra Viva */
@media (max-width: 900px), (hover: none) {
  .cursor, .cursor--ring { display:none !important; }
  .hero__data, .btn--ghost, .header--scrolled, .drawer__overlay { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
  .hero__slide.active img { animation:none !important; transform:none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.001ms !important; }
}
