/* ============================================================
   Campestre La Térbola — page styles
   Editorial restraint. Typography + plano + map carry the page.
   No photo dependencies anywhere in the layout.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  /* Fluid: 16px @390 · 21px @1440 · 30px @2880 — keeps growing, no cap. */
  font-size: clamp(16px, 12px + 0.63vw, 34px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
section { scroll-margin-top: 64px; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   Typography primitives
   ============================================================ */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(11px, 6px + 0.63vw, 28px);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(13px, 6px + 0.83vw, 34px);
  letter-spacing: .04em;
  color: var(--ochre);
  font-feature-settings: 'tnum' 1;
}
.eyebrow__num::after {
  content: "—";
  margin-left: 10px;
  color: var(--rule-strong);
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
  text-wrap: balance;
}
.display-h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 128px);
  line-height: .96;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
}
.display-h2 {
  font-family: var(--serif);
  font-weight: 500;
  /* 34px @390 · 63px @1440 · 120px @2880 */
  font-size: clamp(34px, 6px + 3.96vw, 140px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.lede {
  font-family: var(--serif);
  font-weight: 400;
  /* 19px @390 · 27px @1440 · 46px @2880 */
  font-size: clamp(19px, 8px + 1.32vw, 54px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 58ch;
}
.body-p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
}

a { color: var(--ink); text-decoration: none; }
.link-u {
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color .15s ease;
}
.link-u:hover { text-decoration-color: var(--ink); }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ============================================================
   Layout containers
   ============================================================ */
.wrap-narrow { max-width: var(--col-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-mid    { max-width: var(--col-mid);    margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide   { max-width: var(--col-wide);   margin: 0 auto; padding: 0 var(--gutter); }

.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(48px, 5vw, 72px); }
.section-head .display-h2 { margin-top: 4px; max-width: 20ch; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 235, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--rule); }
.topbar__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.topbar__brand-mark { width: clamp(28px, 14px + 1.1vw, 56px); height: auto; }
.topbar__brand-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(14px, 8px + 0.69vw, 32px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.topbar__nav {
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: flex-end;
}
.topbar__nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(13px, 6px + 0.69vw, 30px);
  letter-spacing: .02em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .15s ease;
}
.topbar__nav a:hover { color: var(--ink); }

.topbar__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.topbar__toggle-line {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}
.topbar__toggle[aria-expanded="true"] .topbar__toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.topbar__toggle[aria-expanded="true"] .topbar__toggle-line:nth-child(2) {
  opacity: 0;
}
.topbar__toggle[aria-expanded="true"] .topbar__toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: min(82vh, 820px);
  padding: 0;
  background: #0a1626;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
@media (max-width: 760px) {
  .hero { min-height: min(70vh, 640px); }
  .hero__bg-img { object-position: center 50%; }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(10,22,38,.88) 0%, rgba(10,22,38,.55) 30%, rgba(10,22,38,.10) 62%, rgba(10,22,38,0) 100%),
    linear-gradient(to right, rgba(10,22,38,.35) 0%, rgba(10,22,38,0) 45%);
}
.hero__inner {
  position: relative;
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: clamp(96px, 14vh, 160px) var(--gutter) clamp(56px, 7vh, 96px);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: var(--paper);
}
.hero__eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(251, 247, 235, .85);
}
.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__title-small {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: .04em;
  color: rgba(251, 247, 235, .82);
}
.hero__title-big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(64px, 11.5vw, 340px);
  line-height: .88;
  letter-spacing: -0.03em;
  color: var(--paper);
  font-feature-settings: 'ss01' 1;
  text-shadow: 0 2px 32px rgba(0, 0, 0, .35);
}
.hero__tag {
  font-family: var(--serif);
  font-weight: 400;
  /* 21px @390 · 30px @1440 · 52px @2880 */
  font-size: clamp(21px, 8px + 1.53vw, 60px);
  line-height: 1.4;
  color: rgba(251, 247, 235, .92);
  margin: 12px 0 0;
  max-width: 30ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

/* Hero data strip */
.datastrip {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.datastrip__inner {
  max-width: var(--col-mid);
  margin: 0 auto;
  padding: clamp(28px, 3vw, 48px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.datastrip__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.datastrip__lbl {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(11px, 6px + 0.63vw, 28px);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.datastrip__val {
  font-family: var(--serif);
  font-weight: 500;
  /* 24px @390 · 38px @1440 · 64px @2880 */
  font-size: clamp(24px, 12px + 1.81vw, 74px);
  letter-spacing: -0.005em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.datastrip__val em {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .55em;
  letter-spacing: .04em;
  color: var(--ochre);
  margin-left: 4px;
}

/* ============================================================
   DEL FUNDADOR — voice / epigraph block
   ============================================================ */
.founder {
  padding: var(--pad-y) 0;
  background: var(--paper);
}
.founder__inner {
  max-width: var(--col-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
  text-align: left;
}
.founder__body {
  font-family: var(--serif);
  font-weight: 400;
  /* 21px @390 · 30px @1440 · 52px @2880 */
  font-size: clamp(21px, 8px + 1.53vw, 60px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
  max-width: 34ch;
  text-wrap: pretty;
}
.founder__cta-wrap { justify-content: flex-start; }
.founder__body em {
  font-style: italic;
  color: var(--ink);
}
.founder__cta-wrap {
  display: flex;
  justify-content: center;
  padding-top: 12px;
  margin-top: 8px;
}
.founder__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FBF6E9;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .28);
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
}
.founder__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .34);
  background: #22C25E;
  color: #FBF6E9;
}
.founder__cta svg { flex-shrink: 0; }

/* ============================================================
   EL LUGAR
   ============================================================ */
.lugar {
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--rule);
}
.lugar__inner {
  max-width: var(--col-mid);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
.lugar__head { display: flex; flex-direction: column; gap: 18px; }
.lugar__body {
  display: flex; flex-direction: column; gap: 22px;
  max-width: 60ch;
}
.lugar__body p {
  font-family: var(--serif);
  /* 19px @390 · 26px @1440 · 44px @2880 */
  font-size: clamp(19px, 8px + 1.25vw, 50px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================================
   EL FRACCIONAMIENTO — the plano, hero of the page
   ============================================================ */
.frac {
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.frac__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column;
  gap: 40px;
}
.frac__head { display: flex; flex-direction: column; gap: 16px; max-width: 46ch; }

.frac__filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 8px;
}
.chip {
  display: inline-flex; align-items: center;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--rule-strong);
  border-radius: 9999px;
  padding: 9px 16px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .06em;
  transition: all .18s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip__dot {
  width: 7px; height: 7px; border-radius: 9999px;
  display: inline-block; margin-right: 8px;
}

.frac__stage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.frac__planobox {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 16px;
}
.frac__planoframe {
  position: relative; width: 100%; overflow: hidden;
  background: var(--paper);
}
.frac__planoimg { width: 100%; height: auto; display: block; user-select: none; }
.frac__overlay { position: absolute; inset: 0; pointer-events: none; }
.hotspot {
  position: absolute; width: 26px; height: 26px; border-radius: 9999px;
  border: 1.5px solid var(--paper); cursor: pointer; pointer-events: auto;
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  padding: 0;
  transform: translate(-50%, -50%);
}
.hotspot__n {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 10px;
  color: var(--paper);
  letter-spacing: .02em;
  line-height: 1;
}
.frac__caption {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
  text-align: center;
  font-style: normal;
}
.frac__pdf {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.frac__pdf:hover { color: var(--ink); text-decoration-color: var(--ochre); }

/* Lot info panel */
.frac__panel { position: sticky; top: 88px; align-self: start; }
.lot-empty {
  border: 1px dashed var(--rule-strong);
  padding: 56px 28px;
  display: flex; flex-direction: column;
  gap: 14px; align-items: flex-start;
}
.lot-empty__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lot-empty p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0; max-width: 36ch;
}

.lot {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 24px;
}
.lot__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 24px;
}
.lot__top-lbl {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lot__n {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.lot__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid currentColor;
}
.lot__status-dot {
  width: 7px; height: 7px; border-radius: 9999px;
}

.lot__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.lot__spec {
  padding: 18px 0;
  display: flex; flex-direction: column; gap: 4px;
}
.lot__spec + .lot__spec { border-left: 1px solid var(--rule); padding-left: 24px; }
.lot__spec-lbl {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lot__spec-v {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.lot__spec-v em {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .5em;
  letter-spacing: .06em;
  color: var(--ochre);
  margin-left: 4px;
}
.lot__spec-help {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--leaf);
  font-weight: 500;
}

.lot__plans {
  display: flex; flex-direction: column; gap: 0;
}
.lot__plans-lbl {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.lot__plan-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
}
.lot__plan-k {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lot__plan-v {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lot__plan-n {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .04em;
  text-align: right;
}

.lot__actions {
  display: flex; gap: 10px; align-items: center;
  padding-top: 4px;
}
.lot__action {
  flex: 1;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  text-align: center;
  transition: background .15s ease, color .15s ease;
}
.lot__action:hover { background: transparent; color: var(--ink); }
.lot__action.is-secondary {
  background: transparent;
  color: var(--ink);
}
.lot__action.is-secondary:hover { background: var(--ink); color: var(--paper); }
.lot__close {
  width: 40px; height: 44px;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-size: 22px; line-height: 1;
  font-weight: 300;
  transition: border-color .15s ease;
}
.lot__close:hover { border-color: var(--ink); }
.lot__fineprint {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .04em;
  margin: 0;
  text-align: center;
  padding-top: 4px;
  border-top: 1px solid var(--rule);
}

/* ============================================================
   FICHA TÉCNICA (Detalles)
   ============================================================ */
.ficha {
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--rule);
}
.ficha__inner {
  max-width: var(--col-mid);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.ficha__list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--rule);
}
.ficha__row {
  display: grid;
  grid-template-columns: minmax(220px, 22%) 1fr;
  gap: 40px;
  padding: clamp(22px, 2vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.ficha__k {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(12px, 6px + 0.63vw, 28px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ficha__v {
  font-family: var(--serif);
  font-weight: 500;
  /* 20px @390 · 30px @1440 · 52px @2880 */
  font-size: clamp(20px, 8px + 1.53vw, 60px);
  color: var(--ink);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   PLANES DE PAGO
   ============================================================ */
.pagos {
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.pagos__inner {
  max-width: var(--col-mid);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pagos__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.pagos__table thead th {
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(12px, 6px + 0.63vw, 28px);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-strong);
}
.pagos__table thead th:last-child { text-align: right; }
.pagos__table tbody td {
  padding: clamp(22px, 2.2vw, 34px) 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  /* 20px @390 · 30px @1440 · 52px @2880 */
  font-size: clamp(20px, 8px + 1.53vw, 60px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  vertical-align: baseline;
}
.pagos__table tbody td.num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.pagos__table tbody td:last-child {
  text-align: right;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(14px, 6px + 0.69vw, 30px);
  color: var(--ink-3);
  letter-spacing: .04em;
}
.pagos__table tbody tr.is-featured td:first-child {
  font-weight: 600;
}
.pagos__table tbody tr.is-featured td.num { color: var(--ochre); }
.pagos__foot {
  font-family: var(--sans);
  font-size: clamp(14px, 6px + 0.63vw, 28px);
  color: var(--ink-3);
  letter-spacing: .02em;
  margin: 32px 0 0;
  max-width: 64ch;
  line-height: 1.6;
}

/* ============================================================
   UBICACIÓN
   ============================================================ */
.ubi {
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--rule);
}
.ubi__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column;
  gap: 56px;
}
.ubi__head { display: flex; flex-direction: column; gap: 16px; max-width: 46ch; }
.ubi__split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.ubi__mapfig {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.ubi__map {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 420px;
  display: block;
  border: 0;
  background: var(--paper);
  filter: saturate(.9) contrast(.98);
}
.ubi__mapcap {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
  text-align: center;
}
.ubi__mapcap-link {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.ubi__mapcap-link:hover { color: var(--ink); text-decoration-color: var(--ochre); }
.ubi__distfig { margin: 0; }
.ubi__distfig .eyebrow { margin-bottom: 18px; }
.ubi__dist {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--rule-strong);
}
.ubi__dist td {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}
.ubi__dist td:first-child {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ubi__dist td:nth-child(2) {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
  text-align: right;
  padding-right: 24px;
  white-space: nowrap;
}
.ubi__dist td:nth-child(3) {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .04em;
  text-align: right;
  white-space: nowrap;
  min-width: 100px;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}
.contacto__inner {
  max-width: var(--col-mid);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column;
  gap: 56px;
}
.contacto__head { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.contacto__head .eyebrow { color: rgba(251, 247, 235, .55); }
.contacto__head .display-h2 { color: var(--paper); }
.contacto__head .lede { color: rgba(251, 247, 235, .8); }
.contacto__people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid rgba(251, 247, 235, .14);
  padding-top: 40px;
}
.contacto__person { display: flex; flex-direction: column; gap: 18px; }
.contacto__person .eyebrow { color: rgba(251, 247, 235, .55); }
.contacto__name {
  font-family: var(--serif);
  font-weight: 500;
  /* 26px @390 · 36px @1440 · 60px @2880 */
  font-size: clamp(26px, 12px + 1.67vw, 68px);
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.contacto__links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(251, 247, 235, .14);
  padding-top: 18px;
}
.contacto__links a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 10px + 1.25vw, 52px);
  color: var(--paper);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color .15s ease;
}
.contacto__links a:hover { color: var(--ochre-2); }
.contacto__links .wa-link {
  font-size: clamp(14px, 6px + 0.69vw, 30px);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(251, 247, 235, .65);
  text-decoration: underline;
  text-decoration-color: rgba(251, 247, 235, .2);
  text-underline-offset: 4px;
}
.contacto__links .wa-link:hover { color: var(--paper); text-decoration-color: var(--ochre-2); }
.contacto__icon {
  width: 16px; height: 16px;
  opacity: .55;
}

.contacto__visit {
  border-top: 1px solid rgba(251, 247, 235, .14);
  padding-top: 32px;
  display: flex; flex-direction: column; gap: 8px;
  max-width: 56ch;
}
.contacto__visit .eyebrow { color: rgba(251, 247, 235, .55); }
.contacto__visit p {
  font-family: var(--serif);
  font-size: clamp(18px, 8px + 1.11vw, 46px);
  color: rgba(251, 247, 235, .85);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 56px 0 32px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.foot__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
}
.foot__brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.foot__brand img { width: 26px; height: auto; }
.foot__col {
  display: flex; flex-direction: column;
  gap: 4px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
}
.foot__col--right { text-align: right; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .topbar__inner { gap: 12px; flex-wrap: wrap; }
  .topbar__toggle { display: inline-flex; }
  .topbar__nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--rule);
    margin-top: 8px;
  }
  .topbar__nav.is-open { display: flex; }
  .topbar__nav a {
    font-size: 14px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--rule);
  }
  .topbar__nav a:last-child { border-bottom: 0; }

  .datastrip__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .lugar__inner { grid-template-columns: 1fr; gap: 32px; }

  .frac__stage { grid-template-columns: 1fr; gap: 32px; }
  .frac__panel { position: static; }

  .ubi__split { grid-template-columns: 1fr; gap: 40px; }

  .contacto__people { grid-template-columns: 1fr; gap: 32px; }

  .foot__inner { grid-template-columns: 1fr; gap: 16px; }
  .foot__col, .foot__col--right { text-align: left; }
}

@media (max-width: 560px) {
  .topbar__brand-text { font-size: 12px; letter-spacing: .12em; }
  .topbar__nav a { font-size: 13px; padding: 10px 4px; }

  .datastrip__inner { grid-template-columns: 1fr 1fr; }

  .lot { padding: 24px; }
  .lot__specs { grid-template-columns: 1fr; }
  .lot__spec + .lot__spec { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 18px; }

  .ficha__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }

  .pagos__table tbody td { font-size: 17px; padding: 16px 0; }
  .pagos__table tbody td:last-child { font-size: 12px; }

  .ubi__mapfig, .frac__planobox { padding: 16px; }
}

/* ============================================================
   PHOTO BANDS — full-bleed cinematic moments between sections
   ============================================================ */
.photoband {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  background: #0a1626;
  scroll-margin-top: 64px;
}
.photoband__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 21 / 9;
  max-height: 720px;
}
.photoband--plaza .photoband__img {
  aspect-ratio: 21 / 9;
  max-height: 620px;
  object-position: center 40%;
}
.photoband__cap {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 3vw, 40px);
  right: clamp(20px, 4vw, 48px);
  color: var(--paper);
  display: flex; flex-direction: column;
  gap: 6px;
  max-width: 620px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}
.photoband__cap-eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(251, 247, 235, .82);
}
.photoband__cap-body {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(18px, 1.9vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--paper);
}

/* ============================================================
   LUGAR — horizontal-scroll gallery after the two text columns
   ============================================================ */
.lugar__gallery {
  margin: clamp(56px, 8vw, 96px) auto 0;
  max-width: var(--col-wide);
  padding: 0 var(--gutter);
  width: 100%;
}
.lugar__gallery-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lugar__slide {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lugar__slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--cream);
}
.lugar__slide figcaption {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
  font-style: italic;
  padding: 0 2px;
}
@media (max-width: 760px) {
  .lugar__gallery-track {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--gutter);
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .lugar__gallery-track::-webkit-scrollbar { display: none; }
  .lugar__slide {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .lugar__slide img { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  .photoband__img { aspect-ratio: 4 / 3; max-height: 480px; }
  .photoband--plaza .photoband__img { aspect-ratio: 4 / 3; }
  .photoband__cap-body { font-size: 17px; }
  .lugar__photo img { aspect-ratio: 4 / 3; max-height: 480px; }
}

/* ============================================================
   EN OBRA — construction progress section
   ============================================================ */
.obra {
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.obra__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.obra__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 480px;
}
.obra__photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.obra__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--cream);
  min-height: 220px;
}
.obra__photo--main {
  grid-row: span 2;
}
.obra__photo--main img {
  min-height: 480px;
}
.obra__photo figcaption {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
  font-style: italic;
  padding: 0 4px;
}

@media (max-width: 960px) {
  .obra__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
  }
  .obra__photo--main {
    grid-row: span 1;
    grid-column: span 2;
  }
  .obra__photo--main img { min-height: 280px; aspect-ratio: 16 / 9; }
  .obra__photo:not(.obra__photo--main) img { aspect-ratio: 4 / 3; min-height: 200px; }
}

/* ============================================================
   FLOATING WHATSAPP CTA
   ============================================================ */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  background: #25D366;
  color: #FBF6E9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .38), 0 3px 10px rgba(0, 0, 0, .15);
  transition: transform .22s cubic-bezier(.22,.61,.36,1), opacity .3s ease, box-shadow .2s ease;
  opacity: 0;
  transform: translateY(20px) scale(.85);
  pointer-events: none;
}
.wa-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 34px rgba(37, 211, 102, .44), 0 4px 12px rgba(0, 0, 0, .18);
}
@media (min-width: 720px) {
  .wa-fab { right: 32px; bottom: 32px; width: 66px; height: 66px; }
}

/* ============================================================
   SCROLL-TRIGGERED ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Photo hover zoom for gallery + progress + plaza */
.lugar__slide img,
.obra__photo img {
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.lugar__slide:hover img,
.obra__photo:hover img {
  transform: scale(1.04);
}
.lugar__slide,
.obra__photo {
  overflow: hidden;
}

/* ============================================================
   DESKTOP TYPE SCALE
   The base sizes are mobile-first (16px). Laptops sit at 1024–1512px
   logical width (a Retina MacBook reports 1440), so the scale-up MUST
   start here — not at 1600 — or laptop screens keep the tiny mobile
   sizes. Three tiers: laptop / large / xlarge.
   ============================================================ */
/* ============================================================
   DESKTOP STRUCTURE ONLY
   All font sizes are fluid clamp(px + vw) declared at their source
   above, so they scale continuously from phone to ultrawide and never
   hit a ceiling. This block carries structure/spacing only — no
   font-size overrides, or they'd re-cap the fluid scale.
   ============================================================ */
@media (min-width: 900px) {
  .topbar__inner { padding: clamp(18px, 1.4vw, 34px) var(--gutter); }

  .lot { padding: clamp(28px, 2.2vw, 56px); gap: clamp(22px, 1.6vw, 40px); }

  .hotspot {
    width: clamp(26px, 1.6vw, 44px);
    height: clamp(26px, 1.6vw, 44px);
  }
  .hotspot__n { font-size: clamp(10px, 0.55vw, 17px); }

  .ubi__dist td { padding: clamp(18px, 1.3vw, 34px) 0; }
}
