/* =========================================================
   Vista Verde · Juana Díaz, Puerto Rico
   Hoja de estilos principal
   ========================================================= */

/* ---------- Fuentes (autoalojadas) ---------- */
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-sc-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-sc-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --monte: #143A2B;
  --monte-900: #0D2A1F;
  --monte-800: #10311F;
  --monte-700: #1F4E3A;
  --monte-600: #2B5F47;
  --brote: #A4C639;
  --brote-300: #C5DD7C;
  --vellum: #F0F2EA;
  --papel: #F8F9F4;
  --grafito: #1C2621;
  --pizarra: #56635A;
  --linea: #D3D9CC;
  --linea-dark: rgba(255, 255, 255, .16);
  --arena: #D6C4A4;
  --asfalto: #3A3F3C;
  --concreto: #D4D0C4;
  --siembra: #6F9150;

  --font-display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Semi Condensed", "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 64px;
  --section-pad: clamp(84px, 11vw, 150px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 900px) { :root { --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--grafito);
  background: var(--vellum);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--brote); color: var(--monte-900); }
:focus-visible { outline: 3px solid var(--brote); outline-offset: 3px; border-radius: 4px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--brote); color: var(--monte-900); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.45em;
  font: 600 1rem/1.1 var(--font-cond); letter-spacing: .01em;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 40px; padding: .55em 1.1em; font-size: .95rem; }
.btn--primary { background: var(--brote); color: var(--monte-900); }
.btn--primary:hover { background: var(--brote-300); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { border-color: var(--monte); color: var(--monte); }
.btn--outline:hover { background: var(--monte); color: #fff; }
.btn--dark { background: var(--monte); color: #fff; }
.btn--dark:hover { background: var(--monte-700); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn__icon { width: 20px; height: 20px; flex: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); background: transparent; color: #fff;
  cursor: pointer; transition: background-color .25s, border-color .25s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  color: #fff;
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(240, 242, 234, .9);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  color: var(--grafito);
  box-shadow: 0 1px 0 var(--linea);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: inline-flex; flex-direction: column; align-items: stretch; text-decoration: none; flex: none; }
.brand__text { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .16em; line-height: 1; padding-left: .08em; }
.brand__swoosh { width: 100%; height: 7px; margin-top: 5px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.7vw, 30px); }
.site-nav a {
  position: relative; padding: 8px 0;
  font: 500 .98rem/1 var(--font-cond); letter-spacing: .015em; text-decoration: none;
  opacity: .88; transition: opacity .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; border-radius: 2px;
  background: var(--brote); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.site-nav a:hover, .site-nav a[aria-current="true"] { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav__contact { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.btn-present {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 1.5px solid currentColor; background: transparent; cursor: pointer;
  font: 600 .95rem/1 var(--font-cond); opacity: .92; transition: background-color .25s, color .25s, opacity .25s;
}
.btn-present svg { width: 20px; height: 20px; }
.btn-present:hover { opacity: 1; background: rgba(164, 198, 57, .18); }
.btn-present[aria-pressed="true"] { background: var(--brote); border-color: var(--brote); color: var(--monte-900); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.nav-toggle__bars { display: grid; gap: 7px; width: 24px; margin: 0 auto; }
.nav-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
.nav-open .nav-toggle__bars span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle__bars span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--brote); transform-origin: 0 50%; transform: scaleX(0); }

.site-nav a, .btn, .btn-present { white-space: nowrap; }
@media (max-width: 1399px) {
  .site-header__cta { display: none; }
  .site-nav__contact { display: inline; }
}
@media (max-width: 1299px) {
  .btn-present { width: 40px; padding: 0; justify-content: center; }
  .btn-present span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    background: var(--monte-900); color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .site-nav a { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.2; letter-spacing: 0; padding: 6px 0; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease-out); }
  .site-nav a::after { bottom: 4px; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .site-nav a { opacity: 1; transform: none; }
  .nav-open .site-nav a:nth-child(2) { transition-delay: .04s; }
  .nav-open .site-nav a:nth-child(3) { transition-delay: .08s; }
  .nav-open .site-nav a:nth-child(4) { transition-delay: .12s; }
  .nav-open .site-nav a:nth-child(5) { transition-delay: .16s; }
  .nav-open .site-nav a:nth-child(6) { transition-delay: .2s; }
  .nav-open .site-nav a:nth-child(7) { transition-delay: .24s; }
  .site-nav__contact { display: inline; }
  .site-header__actions { margin-left: auto; }
  .nav-open.site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 899px) { .btn-present { display: none; } }
body.nav-locked { overflow: hidden; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--monte-900); color: #fff; pointer-events: none;
  animation: intro-out .9s var(--ease-inout) 1.05s forwards;
}
.intro__mark { display: grid; justify-items: stretch; gap: 10px; }
.intro__word { font-family: var(--font-display); font-size: clamp(1.4rem, 3.2vw, 2.1rem); letter-spacing: .32em; padding-left: .32em; opacity: 0; animation: fade-in .7s ease .1s forwards; }
.intro__swoosh { width: 100%; height: 14px; clip-path: inset(0 100% 0 0); animation: wipe-in .8s var(--ease-inout) .35s forwards; }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes wipe-in { to { clip-path: inset(0 0 0 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--monte-900); isolation: isolate; }
.hero__media { position: absolute; inset: -2px 0 0; z-index: -2; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 64% 58%; transform: scale(1.14); animation: hero-settle 3s var(--ease-out) 1.1s forwards; }
@keyframes hero-settle { to { transform: scale(1.02); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 42, 31, .9) 0%, rgba(13, 42, 31, .62) 34%, rgba(13, 42, 31, .08) 68%, rgba(13, 42, 31, 0) 100%),
    linear-gradient(0deg, rgba(13, 42, 31, .82) 0%, rgba(13, 42, 31, 0) 48%),
    linear-gradient(180deg, rgba(13, 42, 31, .5) 0%, rgba(13, 42, 31, 0) 22%);
}
.hero__content { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(88px, 13vh, 140px); }
.hero__place {
  font: 500 clamp(1rem, .9rem + .4vw, 1.2rem)/1.3 var(--font-cond); letter-spacing: .02em; color: var(--brote-300);
  margin-bottom: clamp(10px, 1.6vw, 18px);
  opacity: 0; animation: rise-in .9s var(--ease-out) 1.25s forwards;
}
.hero__title {
  display: flex; flex-wrap: wrap; column-gap: .28em;
  font-family: var(--font-display); font-size: clamp(3.5rem, 1rem + 7.8vw, 8.75rem); line-height: .9; letter-spacing: .035em;
  margin-left: -.04em;
}
.hero__word { display: inline-flex; overflow: hidden; padding-bottom: .04em; }
.hero__word > span { display: inline-block; transform: translateY(105%); animation: letter-up 1.1s var(--ease-out) forwards; animation-delay: calc(1.15s + var(--i) * 55ms); }
@keyframes letter-up { to { transform: translateY(0); } }
.hero__swoosh {
  width: min(78vw, 640px); height: clamp(14px, 2.2vw, 26px); margin-top: clamp(8px, 1.4vw, 16px);
  clip-path: inset(0 100% 0 0); animation: wipe-in 1.3s var(--ease-inout) 1.75s forwards;
}
.hero__lead {
  max-width: 34ch; margin: clamp(22px, 3vw, 34px) 0 0;
  font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.42; color: rgba(255, 255, 255, .92);
  opacity: 0; animation: rise-in 1s var(--ease-out) 2s forwards;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3.4vw, 38px); opacity: 0; animation: rise-in 1s var(--ease-out) 2.2s forwards; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__cue {
  position: absolute; right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 12px;
  font: 500 .9rem/1 var(--font-cond); letter-spacing: .04em; color: rgba(255, 255, 255, .8); text-decoration: none;
  opacity: 0; animation: fade-in 1s ease 2.6s forwards;
}
.hero__cue i { position: relative; display: block; width: 1px; height: 54px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: #fff; animation: cue 2.6s var(--ease-inout) 3s infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }
@media (max-width: 640px) {
  .hero__media img { object-position: 70% 60%; }
  .hero__shade { background: linear-gradient(0deg, rgba(13, 42, 31, .94) 0%, rgba(13, 42, 31, .7) 46%, rgba(13, 42, 31, .15) 75%, rgba(13, 42, 31, .45) 100%); }
  .hero__cue { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: var(--section-pad); }
.section--rule { padding-top: 0; }
.section--rule > .container {
  padding-top: var(--section-pad);
  background: linear-gradient(var(--linea), var(--linea)) no-repeat center top / calc(100% - var(--gutter) * 2) 1px;
}
.section--paper { background: var(--papel); }
.section--dark { background: var(--monte); color: #E7EDE5; }
.section--deep { background: var(--monte-900); color: #E7EDE5; }

.section-head { display: grid; gap: 22px 48px; margin-bottom: clamp(44px, 6vw, 80px); }
@media (min-width: 960px) {
  .section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .section-head > .section-title { grid-column: 1 / span 7; }
  .section-head > .section-head__aside { grid-column: 8 / span 5; }
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.15rem); line-height: 1.04; letter-spacing: -.005em;
  max-width: 17ch; text-wrap: balance;
}
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.26rem); line-height: 1.58; max-width: 58ch; }
.lead + .lead { margin-top: .9em; }
.lead--muted { color: var(--pizarra); }
.section--dark .lead, .section--deep .lead { color: rgba(231, 237, 229, .84); }
.note { font-size: .92rem; color: var(--pizarra); }
.section--dark .note, .section--deep .note { color: rgba(231, 237, 229, .62); }

/* Etiqueta de bloque (como en el plano) */
.block-tag {
  display: inline-grid; place-items: center; width: 1.75em; height: 1.75em; flex: none;
  font: 600 .95rem/1 var(--font-cond); border-radius: 3px;
  background: var(--monte); color: #fff;
}
.section--dark .block-tag { background: #fff; color: var(--monte); }

/* ---------- Revelados (solo con JS) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--delay, 0s); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
/* El recorte se aplica a los hijos: un clip-path en el propio elemento impide que IntersectionObserver lo detecte. */
.reveal-ready [data-reveal="wipe"] { opacity: 1; transform: none; }
.reveal-ready [data-reveal="wipe"] > :first-child { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-inout); }
.reveal-ready [data-reveal="wipe"] > :not(:first-child) { opacity: 0; transition: opacity .8s ease .9s; }
.reveal-ready [data-reveal="wipe"].is-in > :first-child { clip-path: inset(0 0 0 0); }
.reveal-ready [data-reveal="wipe"].is-in > :not(:first-child) { opacity: 1; }

/* ---------- Proyecto: datos ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 56px); margin: 0; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { display: flex; flex-direction: column; border-top: 1px solid var(--linea); padding: 24px 0 34px; }
.fact__value {
  order: -1; margin: 0;
  font: 600 clamp(2.7rem, 1.7rem + 3.2vw, 4.6rem)/1 var(--font-cond);
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.012em; color: var(--monte);
  white-space: nowrap;
}
.fact__unit { font-size: .42em; font-weight: 500; letter-spacing: 0; margin-left: .22em; color: var(--monte-600); }
.fact__approx { font-weight: 500; font-size: .62em; margin-right: .06em; vertical-align: .18em; color: var(--monte-600); }
.fact__label { margin-top: 14px; font: 600 1.06rem/1.3 var(--font-sans); }
.fact__note { margin: 4px 0 0; color: var(--pizarra); font-size: .97rem; line-height: 1.45; }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .fact { padding: 18px 0 22px; }
  .fact__value { font-size: 2.75rem; }
  .fact__label { margin-top: 8px; }
}

/* ---------- Ubicación ---------- */
.location { display: grid; gap: 48px; }
@media (min-width: 1000px) { .location { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); align-items: start; } }
.location__text .section-title { margin-bottom: 28px; }
.location__text > p { max-width: 54ch; }

.road-sign { display: inline-block; margin: 14px 0 8px; padding: 6px; border-radius: 12px; background: var(--monte); color: #fff; box-shadow: 0 24px 40px -28px rgba(20, 58, 43, .75); }
.road-sign__inner { display: grid; gap: 2px; padding: 16px 26px 18px 20px; border: 2px solid rgba(255, 255, 255, .92); border-radius: 7px; }
.road-sign__route { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.route-shield { padding: 6px 9px 5px; border-radius: 4px; background: #fff; color: var(--grafito); font: 600 1rem/1 var(--font-cond); letter-spacing: .02em; }
.road-sign__km { font: 600 1.55rem/1 var(--font-cond); letter-spacing: .01em; }
.road-sign__place { font: 600 1.55rem/1.1 var(--font-cond); }
.road-sign__town { font: 500 1.05rem/1.3 var(--font-cond); color: rgba(255, 255, 255, .82); }

.distances { list-style: none; margin: 28px 0 10px; }
.distances li { display: grid; grid-template-columns: 6.2rem 1fr; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--linea); }
.distances li:last-child { border-bottom: 1px solid var(--linea); }
.distances__value { font: 600 2rem/1 var(--font-cond); color: var(--monte); font-variant-numeric: tabular-nums; }
.distances__value small { font-size: .5em; font-weight: 500; margin-left: 4px; color: var(--monte-600); }
.location .note { margin-bottom: 26px; }

.map { position: relative; overflow: hidden; min-width: 0; border-radius: 10px; aspect-ratio: 4 / 3.6; background: #DDE3D6; box-shadow: 0 40px 70px -50px rgba(20, 58, 43, .7); }
.map::before {
  content: "Juana Díaz, Puerto Rico"; position: absolute; inset: 0; display: grid; place-items: center; padding-top: 70px;
  font: 600 1.05rem/1.2 var(--font-cond); color: var(--monte-600);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11.2a6.5 6.5 0 1 1 13 0C18.5 14.8 12 21 12 21z' fill='%23143A2B'/%3E%3Ccircle cx='12' cy='9.8' r='2.4' fill='%23A4C639'/%3E%3C/svg%3E") no-repeat center calc(50% - 18px),
    repeating-linear-gradient(0deg, rgba(20, 58, 43, .05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(20, 58, 43, .05) 0 1px, transparent 1px 48px),
    #DDE3D6;
}
@media (max-width: 999px) { .map { aspect-ratio: 1 / 1.02; } }
@media (min-width: 1000px) { .map { position: sticky; top: calc(var(--header-h) + 32px); } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: saturate(.9) contrast(1.02); }
.map.is-active iframe { pointer-events: auto; }
.map__activate {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  padding: 12px 20px; border: 0; border-radius: 999px; background: var(--monte); color: #fff;
  font: 600 .98rem/1 var(--font-cond); cursor: pointer; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
  transition: opacity .3s, transform .3s var(--ease-out);
}
.map__activate:hover { background: var(--monte-700); }
.map.is-active .map__activate, .reveal-ready .map.is-active .map__activate { opacity: 0; pointer-events: none; transform: translate(-50%, 10px); }
.map__types { position: absolute; left: 14px; bottom: 18px; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(248, 249, 244, .96); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.map__types button { border: 0; background: transparent; padding: 8px 13px; border-radius: 999px; font: 600 .88rem/1 var(--font-cond); color: var(--grafito); cursor: pointer; }
.map__types button[aria-pressed="true"] { background: var(--monte); color: #fff; }
@media (max-width: 560px) {
  .map__activate { left: auto; right: 12px; transform: none; bottom: 12px; padding: 11px 16px; }
  .map.is-active .map__activate { transform: translateY(10px); }
  .map__types { left: 12px; bottom: 12px; }
}

/* ---------- Plano maestro (recorrido) ---------- */
.plan { --container: 1440px; --stage-top: clamp(96px, calc(50vh - 310px), 220px); overflow: clip; }
.plan .section-head { margin-bottom: clamp(24px, 4vw, 48px); }
.plan__tour { position: relative; display: grid; }
@media (min-width: 1024px) {
  .plan__tour { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 72px); }
  .plan__stage { grid-column: 2; grid-row: 1; }
  .plan__steps { grid-column: 1; grid-row: 1; }
}
.plan__stage { position: sticky; top: var(--stage-top); align-self: start; z-index: 3; }
@media (max-width: 1023px) {
  .plan__stage { top: var(--header-h); margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 12px; background: var(--monte); box-shadow: 0 18px 24px -18px rgba(0, 0, 0, .55); }
}

.plan-figure { margin: 0; }
.plan-figure__canvas { position: relative; aspect-ratio: 1536 / 1024; overflow: hidden; border-radius: 8px; background: #0B2219; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8); }
.plan-figure__canvas picture, .plan-figure__canvas img { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-figure__canvas img { object-fit: cover; }
.plan-figure__base { filter: brightness(.46) saturate(.6); transition: filter .7s; }
.plan-figure__glow { position: absolute; inset: 0; filter: drop-shadow(0 0 1.2px rgba(255, 255, 255, .95)) drop-shadow(0 0 14px rgba(164, 198, 57, .7)); transition: opacity .5s; }
.plan-figure__spot { -webkit-clip-path: var(--spot, inset(0)); clip-path: var(--spot, inset(0)); transition: clip-path 1.05s var(--ease-inout), -webkit-clip-path 1.05s var(--ease-inout); }
.plan-figure__hit { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.plan-figure__hit polygon { fill: transparent; stroke: transparent; cursor: pointer; transition: fill .25s, stroke .25s; }
.plan-figure__hit polygon:hover, .plan-figure__hit polygon:focus-visible { fill: rgba(197, 221, 124, .16); stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-dasharray: 10 7; outline: none; }
.plan-figure__techwrap { opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.plan-figure__tech { background: #fff; object-fit: contain !important; }
.plan-figure.is-tech .plan-figure__techwrap { opacity: 1; visibility: visible; }
.plan-figure.is-tech .plan-figure__glow,
.plan-figure.is-tech .plan-figure__hit,
.plan-figure.is-tech .plan-chip { opacity: 0; visibility: hidden; }

.plan-chip {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); z-index: 2;
  display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; border-radius: 8px;
  background: var(--papel); color: var(--grafito); white-space: nowrap; pointer-events: none;
  font: 600 .95rem/1.1 var(--font-cond);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .6);
  transform: translate(-50%, calc(-100% - 12px));
  opacity: 0;
  transition: left 1.05s var(--ease-inout), top 1.05s var(--ease-inout), opacity .35s, transform .35s;
}
.plan-figure.is-ready .plan-chip { opacity: 1; }
.plan-figure.is-ready .plan-chip.is-swapping { opacity: 0; }
.plan-chip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; background: var(--papel); transform: translate(-50%, -5px) rotate(45deg); border-radius: 2px; }
.plan-chip.is-below { transform: translate(-50%, 12px); }
.plan-chip.is-below::after { top: 0; transform: translate(-50%, -5px) rotate(45deg); }
.plan-chip__tag { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 3px; background: var(--monte); color: #fff; font-size: .9rem; }
.plan-chip__tag:empty { width: 10px; height: 10px; margin-left: 4px; border-radius: 50%; background: var(--brote); box-shadow: 0 0 0 3px rgba(164, 198, 57, .3); }
@media (max-width: 560px) { .plan-chip { font-size: .82rem; padding: 5px 9px 5px 6px; } .plan-chip__tag { width: 20px; height: 20px; } }

.plan-figure__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 14px; }
.plan-progress { flex: 1 1 220px; min-width: 0; }
.plan-progress__label { display: flex; gap: 10px; align-items: baseline; margin: 0 0 8px; font: 500 .95rem/1.2 var(--font-cond); color: rgba(231, 237, 229, .7); }
.plan-progress__label b { font-weight: 600; color: #fff; }
.plan-progress__name { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-progress__track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.plan-progress__track span { display: block; height: 100%; width: 100%; background: var(--brote); transform-origin: 0 50%; transform: scaleX(var(--p, .125)); transition: transform .8s var(--ease-inout); }
.plan-figure__tools { display: flex; align-items: center; gap: 8px; }
.segmented { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.segmented button { border: 0; background: transparent; color: rgba(255, 255, 255, .8); padding: 9px 14px; border-radius: 999px; font: 600 .92rem/1 var(--font-cond); cursor: pointer; transition: background-color .25s, color .25s; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--monte); }
@media (max-width: 1023px) {
  .plan-figure__bar { margin-top: 10px; }
  .plan-progress__label { margin-bottom: 6px; font-size: .88rem; }
  .icon-btn { width: 38px; height: 38px; }
  .segmented button { padding: 8px 11px; font-size: .86rem; }
}

.plan__steps { list-style: none; counter-reset: none; }
.plan-step { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; max-width: 46ch; opacity: .28; transition: opacity .6s; }
.plan-step:first-child { min-height: 64vh; justify-content: flex-start; padding-top: 0; }
.plan-step:last-child { min-height: 70vh; }
.plan-step.is-active { opacity: 1; }
.plan-step__title { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.1; margin-bottom: 14px; color: #fff; }
.plan-step__title .block-tag { font-size: 1.05rem; }
.plan-step__metric { margin: -4px 0 14px; font: 600 1.4rem/1.1 var(--font-cond); color: var(--brote-300); font-variant-numeric: tabular-nums; }
.plan-step p { color: rgba(231, 237, 229, .86); }
.plan-step__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--linea-dark); font: 500 1rem/1.2 var(--font-cond); color: rgba(231, 237, 229, .75); }
.plan-step__facts b { font-weight: 600; font-size: 1.5rem; color: #fff; margin-right: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .plan-step { min-height: 58vh; justify-content: flex-start; padding-block: 30px 40px; max-width: 60ch; }
  .plan-step:first-child { min-height: 50vh; padding-top: 28px; }
  .plan-step:last-child { min-height: 46vh; }
}

/* ---------- Solares ---------- */
.lots-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: start; }
@media (min-width: 1100px) { .lots-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 72px; } }
.lots { --sq: clamp(22px, 2.5vw, 34px); display: grid; grid-template-columns: repeat(2, max-content); gap: 36px clamp(28px, 4.5vw, 64px); align-items: start; }
@media (min-width: 700px) and (max-width: 1099px) { .lots { grid-template-columns: repeat(4, max-content); --sq: clamp(18px, 2.4vw, 26px); } }
.lot-group__head { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 1.02rem/1 var(--font-cond); color: var(--pizarra); white-space: nowrap; }
.lot-group__head b { font-weight: 600; font-size: 1.35rem; color: var(--grafito); margin-right: 3px; font-variant-numeric: tabular-nums; }
.lot-group__pct { margin-left: 4px; padding: 4px 7px; border-radius: 4px; background: rgba(20, 58, 43, .07); color: var(--monte-600); font-weight: 600; font-size: .88rem; }
.lot-grid { display: grid; grid-template-columns: repeat(var(--cols), var(--sq)); gap: 5px; }
.lot {
  position: relative; width: var(--sq); height: var(--sq); padding: 0; border: 0; border-radius: 3px;
  display: grid; place-items: center; background: var(--monte); color: rgba(255, 255, 255, .72);
  font: 600 .66rem/1 var(--font-cond); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.lot:hover, .lot:focus-visible, .lot.is-active { background: var(--brote); color: var(--monte-900); transform: scale(1.12); z-index: 1; }
.reveal-ready .lots .lot { opacity: 0; transform: scale(.3); transition: opacity .45s ease, transform .6s var(--ease-out), background-color .2s, color .2s; transition-delay: calc(var(--n) * 12ms); }
.reveal-ready .lots.is-in .lot { opacity: 1; transform: none; }
.reveal-ready .lots.is-in .lot:hover, .reveal-ready .lots.is-in .lot.is-active { transform: scale(1.12); transition-delay: 0s; }
.lots__readout { grid-column: 1 / -1; margin: 2px 0 0; padding-top: 16px; border-top: 1px solid var(--linea); font: 500 1.05rem/1.4 var(--font-cond); color: var(--pizarra); }
.lots__readout b { color: var(--grafito); font-weight: 600; }
@media (max-width: 560px) {
  .lots { --sq: 19px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .lot { font-size: 0; }
  .lot-grid { gap: 4px; }
  .lot-group__head { flex-wrap: wrap; white-space: normal; gap: 6px 8px; font-size: .95rem; }
  .lot-group__pct { margin-left: 0; }
}
@media (max-width: 370px) { .lots { --sq: 17px; gap: 24px 14px; } }

.lot-typical { margin: 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 24px; align-items: center; }
@media (min-width: 1100px) { .lot-typical { grid-template-columns: 1fr; gap: 18px; padding: 28px; border-radius: 12px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--linea); } }
@media (max-width: 480px) { .lot-typical { grid-template-columns: 1fr; } .lot-typical svg { max-width: 240px; } }
.lot-typical svg { width: 100%; height: auto; overflow: visible; }
.lot-typical__title { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; margin-bottom: 8px; }
.lot-typical figcaption p:not(.lot-typical__title) { color: var(--pizarra); font-size: 1rem; }
.lt-dim line { stroke: var(--monte); stroke-width: 1.3; }
.lt-dim text, .lt-street-text { font: 600 15px var(--font-cond); fill: var(--monte); text-anchor: middle; }
.lt-line { fill: none; stroke: var(--monte); stroke-width: 2.5; }
.lt-area { font: 600 38px var(--font-cond); fill: var(--monte); text-anchor: middle; }
.lt-sub { font: 500 16px var(--font-cond); fill: var(--pizarra); text-anchor: middle; }
.lt-street { fill: var(--asfalto); }
.lt-street-line { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 10 8; opacity: .8; }
.reveal-ready [data-draw] .lt-line { stroke-dasharray: 730; stroke-dashoffset: 730; transition: stroke-dashoffset 1.6s var(--ease-inout) .2s; }
.reveal-ready [data-draw] .lt-fill, .reveal-ready [data-draw] .lt-area, .reveal-ready [data-draw] .lt-sub { opacity: 0; transition: opacity .8s ease 1.2s; }
.reveal-ready [data-draw] .lt-dim { opacity: 0; transition: opacity .7s ease 1.5s; }
.reveal-ready [data-draw].is-in .lt-line { stroke-dashoffset: 0; }
.reveal-ready [data-draw].is-in .lt-fill, .reveal-ready [data-draw].is-in .lt-area, .reveal-ready [data-draw].is-in .lt-sub, .reveal-ready [data-draw].is-in .lt-dim { opacity: 1; }

/* ---------- Residencia ---------- */
.zoomable { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.zoomable img { width: 100%; transition: transform 1.2s var(--ease-out); }
.zoomable:hover img { transform: scale(1.025); }
.zoomable__hint {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; background: rgba(13, 42, 31, .78); color: #fff;
  font: 600 .92rem/1 var(--font-cond); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.zoomable__hint svg { width: 18px; height: 18px; }
.residence-hero { margin: 0 0 clamp(64px, 9vw, 120px); }
.residence-hero .zoomable { aspect-ratio: 1536 / 862; }
.residence-hero .zoomable img { height: 100%; object-fit: cover; }
.residence-hero figcaption { margin-top: 14px; font-size: .95rem; color: var(--pizarra); max-width: 70ch; }

.floorplan { display: grid; gap: 44px; align-items: start; }
@media (min-width: 1000px) { .floorplan { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 88px); } }
.floorplan__media { position: relative; border-radius: 10px; box-shadow: 0 40px 70px -50px rgba(20, 58, 43, .7); max-width: 600px; }
.floorplan__media .zoomable--plain { cursor: zoom-in; }
.floorplan__media .zoomable--plain:hover img { transform: none; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; z-index: 1; }
.pin::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--brote); box-shadow: 0 0 0 3px rgba(13, 42, 31, .88), 0 4px 10px rgba(0, 0, 0, .4); transition: transform .3s var(--ease-out), background-color .3s, box-shadow .3s; }
.pin:hover::before, .pin.is-active::before { transform: scale(1.25); background: #fff; box-shadow: 0 0 0 3px var(--monte), 0 0 0 9px rgba(164, 198, 57, .45); }
.pin__label {
  position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translate(-50%, 6px);
  padding: 7px 11px; border-radius: 6px; background: var(--monte-900); color: #fff; white-space: nowrap;
  font: 600 .88rem/1 var(--font-cond); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease-out);
}
.pin:hover .pin__label, .pin:focus-visible .pin__label, .pin.is-active .pin__label { opacity: 1; transform: translate(-50%, 0); }
.pin:hover, .pin.is-active, .pin:focus-visible { z-index: 3; }

.floorplan__title { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 18px; }
.rooms { list-style: none; display: grid; grid-template-columns: 1fr; column-gap: 32px; margin-bottom: 22px; }
@media (min-width: 620px) { .rooms { grid-template-columns: 1fr 1fr; } }
.room {
  display: grid; gap: 3px; width: 100%; padding: 13px 0 15px 16px; text-align: left;
  border: 0; border-top: 1px solid var(--linea); background: transparent; cursor: pointer; position: relative;
}
.room::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--linea); transition: background-color .25s, transform .25s; }
.room__name { font: 600 1.04rem/1.25 var(--font-sans); transition: color .25s; }
.room__desc { font-size: .95rem; line-height: 1.4; color: var(--pizarra); }
.room:hover::before, .room.is-active::before { background: var(--brote); transform: scale(1.5); }
.room.is-active .room__name, .room:hover .room__name { color: var(--monte); }

/* ---------- Infraestructura ---------- */
.xsection { padding: clamp(18px, 3vw, 36px); border-radius: 14px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(18px, 3vw, 30px); }
.tab { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .26); background: transparent; color: #fff; font: 600 .98rem/1 var(--font-cond); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.tab:hover { border-color: rgba(255, 255, 255, .6); }
.tab[aria-selected="true"] { background: var(--brote); border-color: var(--brote); color: var(--monte-900); }
.xsection__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 6px; }
.xsection__total { margin: 0; font: 600 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--font-cond); color: #fff; font-variant-numeric: tabular-nums; }
.xsection__name { margin: 0; font: 500 1.05rem/1.3 var(--font-cond); color: rgba(231, 237, 229, .72); }
.xsection__scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; margin-inline: -6px; padding-inline: 6px; scrollbar-width: thin; }
.xsection__svg { width: 100%; min-width: 780px; height: auto; overflow: visible; }
.xsection__hint { display: none; margin: 6px 0 0; font-size: .85rem; color: rgba(231, 237, 229, .55); }
@media (max-width: 820px) { .xsection__hint { display: block; } }
.xsection__desc { margin: 18px 0 0; max-width: 72ch; color: rgba(231, 237, 229, .86); }

.xs-seg { transform-box: fill-box; transform-origin: 50% 100%; }
.xs-acera { fill: #CAC6B8; }
.xs-siembra { fill: #6F9150; }
.xs-rodaje { fill: #3A3F3C; }
.xs-isleta { fill: #7FA35C; }
.xs-curb { fill: #E4E1D6; }
.xs-soil { fill: rgba(255, 255, 255, .06); }
.xs-ground { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.xs-tick, .xs-dimline { stroke: rgba(255, 255, 255, .6); stroke-width: 1.2; fill: none; }
.xs-dimtext { font: 600 15px var(--font-cond); fill: #fff; text-anchor: middle; font-variant-numeric: tabular-nums; }
.xs-totaltext { font: 600 17px var(--font-cond); fill: var(--brote-300); text-anchor: middle; }
.xs-label { font: 500 14px var(--font-cond); fill: rgba(231, 237, 229, .82); text-anchor: middle; }
.xs-lane { stroke: #fff; stroke-width: 2; stroke-dasharray: 14 12; opacity: .75; }
.xs-center { stroke: #E9C547; stroke-width: 2; stroke-dasharray: 14 10; }
.xs-arrow { fill: rgba(255, 255, 255, .85); }
.xs-tree-trunk { stroke: #4E3B2A; stroke-width: 3; }
.xs-tree-top { fill: #8DB35A; }
.xs-palm { stroke: #8DB35A; stroke-width: 3; fill: none; stroke-linecap: round; }
.xs-pipe { fill: none; stroke: var(--brote-300); stroke-width: 2; stroke-dasharray: 5 4; }
.xs-pipetext { font: 500 13px var(--font-cond); fill: var(--brote-300); }
.xs-booth { fill: #F1EEE3; stroke: rgba(0, 0, 0, .25); }
.xs-seg, .xs-fade { animation: none; }
.xsection.is-drawn .xs-seg { animation: seg-rise .8s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 70ms); }
.xsection.is-drawn .xs-fade { animation: fade-in .7s ease both; animation-delay: calc(.35s + var(--d, 0) * 60ms); opacity: 0; }
.xsection.is-drawn .xs-draw { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw .9s var(--ease-inout) forwards; animation-delay: .45s; }
@keyframes seg-rise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.infra-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0 44px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 720px) { .infra-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .infra-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.infra-item { display: grid; grid-template-columns: 34px 1fr; gap: 0 16px; padding: 22px 0 28px; border-top: 1px solid var(--linea-dark); }
.infra-item svg { width: 32px; height: 32px; color: var(--brote); }
.infra-item h3 { font: 600 1.15rem/1.25 var(--font-sans); color: #fff; margin: 4px 0 6px; }
.infra-item p { color: rgba(231, 237, 229, .78); font-size: 1rem; line-height: 1.5; }

/* ---------- Ficha técnica ---------- */
.spec-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .spec-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .spec-layout__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.spec-layout__head .section-title { margin-bottom: 20px; }
.spec-layout__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.spec { margin: 0; border-bottom: 1px solid var(--linea); }
.spec__row { display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr); gap: 4px 32px; padding: 15px 0; border-top: 1px solid var(--linea); }
.spec dt { font: 600 1rem/1.4 var(--font-cond); color: var(--pizarra); }
.spec dd { margin: 0; font-size: 1.03rem; line-height: 1.5; }
@media (max-width: 640px) { .spec__row { grid-template-columns: 1fr; padding: 13px 0; } }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 104px); align-items: start; } }
.contact__intro .section-title { margin-bottom: 22px; }
.contact__place { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--linea-dark); }
.contact__label { font: 600 1rem/1.2 var(--font-cond); color: var(--brote-300); margin-bottom: 8px; }
.contact__place p:not(.contact__label) { color: rgba(231, 237, 229, .86); }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.contact__links a { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem/1.2 var(--font-cond); color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 3px; transition: border-color .25s; }
.contact__links a:hover { border-color: var(--brote); }
.contact__links svg { width: 18px; height: 18px; color: var(--brote); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: clamp(22px, 3.4vw, 40px); border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 .98rem/1.2 var(--font-cond); color: rgba(231, 237, 229, .9); }
.field__optional { font-weight: 500; color: rgba(231, 237, 229, .55); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 8px;
  font: 400 1.02rem/1.4 var(--font-sans); color: #fff;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .22);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23C5DD7C' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: var(--grafito); background: #fff; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brote); background-color: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(164, 198, 57, .25); }
.field__error { display: none; margin: 0; font-size: .9rem; color: #F2B8A8; }
.field.is-invalid input, .field.is-invalid select { border-color: #E69A86; }
.field.is-invalid .field__error { display: block; }
.form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form__privacy { margin: 0; font-size: .92rem; color: rgba(231, 237, 229, .6); }
.form__status { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-weight: 500; }
.form__status[data-state="ok"] { color: var(--brote-300); }
.form__status[data-state="error"] { color: #F2B8A8; }

/* ---------- Pie ---------- */
.site-footer { background: var(--monte-900); color: rgba(231, 237, 229, .7); padding: 0 0 44px; font-size: .95rem; }
.site-footer__inner {
  display: grid; gap: 14px 48px; padding-top: 44px;
  background: linear-gradient(var(--linea-dark), var(--linea-dark)) no-repeat center top / calc(100% - var(--gutter) * 2) 1px;
}
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: auto 1fr; } .site-footer__legal, .site-footer__copy { grid-column: 2; } }
.site-footer__brand { display: inline-flex; flex-direction: column; color: #fff; width: max-content; }
.site-footer__brand .brand__text { font-size: 1.5rem; }
.site-footer__brand .brand__swoosh { height: 9px; }
.site-footer__address { margin: 0; color: #fff; font: 500 1.05rem/1.4 var(--font-cond); }
.site-footer__legal { margin: 0; max-width: 80ch; font-size: .88rem; }
.site-footer__copy { margin: 0; font-size: .88rem; color: rgba(231, 237, 229, .5); }

/* ---------- Modo presentación ---------- */
.present-hud {
  position: fixed; left: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(13, 42, 31, .92); color: #fff; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(160%); transition: transform .55s var(--ease-out); pointer-events: none;
}
.is-presenting .present-hud { transform: none; pointer-events: auto; }
.present-hud button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .2s; }
.present-hud button:hover { background: rgba(255, 255, 255, .12); }
.present-hud button svg { width: 22px; height: 22px; }
.present-hud__label { display: flex; align-items: baseline; gap: 8px; min-width: 13.5rem; margin: 0; padding: 0 10px; font: 500 .98rem/1 var(--font-cond); white-space: nowrap; }
.present-hud__label b { font-weight: 600; font-size: 1.15rem; color: var(--brote); font-variant-numeric: tabular-nums; }
.present-hud__of { color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
.present-hud__sep { width: 1px; height: 24px; margin: 0 4px; background: rgba(255, 255, 255, .18); }
.is-presenting .site-nav, .is-presenting .site-header__cta { display: none; }
.is-presenting .section:not(.plan) { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 28px) 64px; }
.is-presenting .section--rule > .container { padding-top: 0; background: none; }
.is-presenting .plan { padding-top: calc(var(--header-h) + 28px); }
.is-presenting .section-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.is-presenting .hero__cue { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 95; max-width: min(92vw, 520px); margin: 0;
  padding: 13px 18px; border-radius: 10px; background: var(--papel); color: var(--grafito); text-align: center;
  font: 500 1rem/1.4 var(--font-cond); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55);
  opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease-out);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Visor de imágenes ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #08170F; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 23, 15, .92); }
.lightbox[open] { display: block; animation: fade-in .3s ease; }
.lightbox__stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.lightbox__stage.is-dragging { cursor: grabbing; }
.lightbox__img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; will-change: transform; }
.lightbox__bar { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 3vw, 28px); background: linear-gradient(180deg, rgba(8, 23, 15, .9), rgba(8, 23, 15, 0)); }
.lightbox__caption { margin: 0; font: 500 1rem/1.3 var(--font-cond); color: rgba(255, 255, 255, .85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__tools { display: flex; gap: 6px; flex: none; }
.lightbox__tools button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(8, 23, 15, .6); color: #fff; cursor: pointer; }
.lightbox__tools button:hover { background: rgba(255, 255, 255, .14); }
.lightbox__tools svg { width: 20px; height: 20px; }
.lightbox__help { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(8, 23, 15, .7); font: 500 .9rem/1.2 var(--font-cond); color: rgba(255, 255, 255, .7); white-space: nowrap; pointer-events: none; }
@media (max-width: 560px) { .lightbox__caption { display: none; } .lightbox__help { font-size: .8rem; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero__word > span, .hero__place, .hero__lead, .hero__actions, .hero__cue { transform: none !important; opacity: 1 !important; }
  .hero__swoosh { clip-path: none !important; }
  .hero__media img { transform: none !important; }
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .reveal-ready .lots .lot { opacity: 1 !important; transform: none !important; }
}

/* ---------- Impresión ---------- */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .intro, .present-hud, .toast, .lightbox, .hero__cue, .map, .plan__stage, .form, .skip-link, .btn, .icon-btn, .nav-toggle, .xsection__hint { display: none !important; }
  .section, .section--dark, .section--deep, .section--paper { background: #fff !important; color: #000 !important; padding: 18pt 0 !important; min-height: 0 !important; }
  .section--dark *, .section--deep * { color: #000 !important; }
  .hero { min-height: 0; color: #000; background: #fff; }
  .hero__media, .hero__shade { display: none; }
  .hero__word > span, .hero__place, .hero__lead { opacity: 1 !important; transform: none !important; color: #000 !important; }
  .plan-step { min-height: 0 !important; opacity: 1 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .spec-layout__head { position: static; }
  body.print-ficha main > section:not(#ficha), body.print-ficha .site-footer { display: none !important; }
  body.print-ficha #ficha { padding-top: 0 !important; }
  body.print-ficha #ficha .spec-layout__head::before { content: "VISTA VERDE"; display: block; margin-bottom: 6pt; font-family: var(--font-display); font-size: 13pt; letter-spacing: .18em; }
  body.print-ficha .spec-layout { display: block; }
  body.print-ficha .spec__row { break-inside: avoid; }
}

/* ---------- Selector de idioma ---------- */
.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1.5px solid currentColor; opacity: .92; }
.lang button { min-width: 36px; height: 32px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; font: 600 .86rem/1 var(--font-cond); letter-spacing: .04em; transition: background-color .25s, color .25s; }
.lang button:hover { background: rgba(164, 198, 57, .18); }
.lang button[aria-pressed="true"] { background: var(--brote); color: var(--monte-900); }
@media (max-width: 420px) { .lang button { min-width: 32px; height: 30px; padding: 0 7px; } }
