:root {
  --ink: #f5f1e8;
  --ink-soft: rgba(245, 241, 232, .74);
  --ink-faint: rgba(245, 241, 232, .48);
  --forest-950: #031f12;
  --forest-900: #06331c;
  --forest-850: #0a3c25;
  --forest-800: #173e2a;
  --forest-700: #536b55;
  --botanical: #a2c945;
  --sage: #d0e089;
  --gold: #b59a61;
  --gold-bright: #dbc98f;
  --line: rgba(208, 224, 137, .2);
  --line-warm: rgba(219, 201, 143, .23);
  --glass: rgba(3, 31, 18, .76);
  --glass-strong: rgba(3, 24, 14, .92);
  --header-h: 76px;
  --nav-h: 78px;
  --radius-sm: 6px;
  --radius-md: 11px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.22, .8, .25, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; background: var(--forest-950); }
html { overflow: hidden; }
body {
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 1px solid var(--sage);
  outline-offset: 4px;
}
img, svg { display: block; }
button { border: 0; background: none; cursor: pointer; }
button:disabled { cursor: not-allowed; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 12px 18px; color: var(--forest-950); background: var(--ink); border-radius: 4px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  margin: 0; color: var(--sage); font-size: 9px; font-weight: 600;
  letter-spacing: .28em; line-height: 1.6; text-transform: uppercase;
}

.button {
  min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s var(--ease), box-shadow .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  color: #102014; background: linear-gradient(135deg, #f5f1e8, #d5c49b);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}
.button--primary:hover { box-shadow: 0 16px 42px rgba(0, 0, 0, .35), 0 0 0 1px rgba(245, 241, 232, .18); }
.button--ghost {
  color: var(--ink); border-color: rgba(245, 241, 232, .28); background: rgba(3, 31, 18, .2);
  backdrop-filter: blur(8px);
}
.button--ghost:hover { border-color: rgba(208, 224, 137, .55); background: rgba(3, 31, 18, .48); }

/* Intro */
.intro-gate {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; overflow: hidden;
  background: var(--forest-950); transition: opacity .8s var(--ease), visibility .8s;
}
.intro-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-gate__background { position: absolute; inset: -3%; }
.intro-gate__background img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82) brightness(.8) contrast(1.04);
  transform: scale(1.035); animation: introDrift 22s ease-in-out infinite alternate;
}
.intro-gate__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 65% 58%, transparent 0 22%, rgba(3, 20, 12, .12) 48%, rgba(2, 12, 7, .6) 100%),
    linear-gradient(90deg, rgba(2, 16, 9, .72), rgba(2, 16, 9, .24) 50%, rgba(2, 16, 9, .48));
}
.intro-gate__contours {
  position: absolute; inset: 0; opacity: .08;
  background-image: repeating-radial-gradient(ellipse at 50% 55%, transparent 0 46px, rgba(208, 224, 137, .28) 47px, transparent 48px 70px);
  mask-image: radial-gradient(circle at center, #000 0 35%, transparent 74%);
}
.intro-gate__content {
  position: relative; width: min(620px, calc(100vw - 40px)); padding: 38px 42px 36px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1px solid rgba(208, 224, 137, .16); border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(3, 31, 18, .7), rgba(3, 22, 13, .42));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38); backdrop-filter: blur(12px) saturate(.95);
}
.intro-gate__logo { width: 126px; height: 126px; margin-bottom: 16px; object-fit: contain; filter: drop-shadow(0 10px 28px rgba(0,0,0,.4)); }
.intro-gate h1 {
  margin: 13px 0 15px; max-width: 580px; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 70px); font-weight: 500; line-height: .98; letter-spacing: -.025em;
}
.intro-gate__copy { max-width: 540px; margin: 0; color: var(--ink-soft); line-height: 1.72; }
.intro-gate__actions { margin-top: 26px; display: flex; gap: 11px; }

/* App frame */
.app-shell {
  position: fixed; inset: 0; isolation: isolate;
  background: radial-gradient(circle at 55% 48%, #173e2a 0, #06331c 42%, #031f12 100%);
}
.app-shell[aria-hidden="true"] { visibility: hidden; }
.site-noise {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' 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='.65'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.edge-vignette {
  position: fixed; inset: 0; z-index: 88; pointer-events: none;
  box-shadow: inset 0 0 135px 28px rgba(1, 12, 7, .56);
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 120; height: var(--header-h);
  display: grid; grid-template-columns: minmax(220px, 260px) 1fr auto; align-items: center;
  padding: 0 22px 0 14px; border-bottom: 1px solid rgba(208, 224, 137, .12);
  background: linear-gradient(180deg, rgba(3, 25, 15, .94), rgba(3, 25, 15, .58) 72%, transparent);
  backdrop-filter: blur(9px);
}
.brand {
  width: 246px; height: 62px; display: flex; align-items: center; justify-content: flex-start;
  padding: 0; border: 0; background: none;
}
.brand picture { display: flex; align-items: center; justify-content: flex-start; width: 100%; height: 100%; }
.brand img {
  width: 238px; height: 54px; display: block; object-fit: contain; object-position: left center;
  transform: translateY(1px); transition: transform .32s var(--ease), filter .32s ease;
}
.brand:hover img { transform: translate(2px, 1px); filter: drop-shadow(0 0 15px rgba(208, 224, 137, .14)); }
.primary-nav {
  display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2vw, 32px);
}
.primary-nav__group { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 24px); }
.primary-nav__separator {
  width: 1px; height: 28px; background: linear-gradient(180deg, transparent, rgba(208, 224, 137, .22), transparent);
}
.primary-nav button, .primary-nav a {
  position: relative; padding: 16px 0; color: rgba(245, 241, 232, .64);
  font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: color .22s ease;
}
.primary-nav button::after, .primary-nav a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 8px; height: 1px;
  background: var(--sage); transition: left .22s ease, right .22s ease;
}
.primary-nav button:hover, .primary-nav a:hover, .primary-nav button.is-active { color: var(--ink); }
.primary-nav button.is-active::after, .primary-nav button:hover::after, .primary-nav a:hover::after { left: 0; right: 0; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.sound-control, .menu-control {
  width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(208, 224, 137, .2);
  border-radius: 50%; background: rgba(3, 31, 18, .34); backdrop-filter: blur(8px);
  transition: border-color .2s ease, background .2s ease;
}
.sound-control:hover, .menu-control:hover { border-color: rgba(208, 224, 137, .56); background: rgba(8, 55, 32, .64); }
.sound-control svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sound-control svg path:first-child { fill: var(--ink); stroke: none; }
.sound-control[aria-pressed="false"] .sound-wave { opacity: .18; }
.sound-control[aria-pressed="true"] .sound-wave--one { animation: soundPulse 1.4s infinite; }
.sound-control[aria-pressed="true"] .sound-wave--two { animation: soundPulse 1.4s .18s infinite; }
.contact-pill {
  height: 40px; padding: 0 15px; display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(208, 224, 137, .2); border-radius: 20px; background: rgba(3, 31, 18, .34);
  color: var(--ink-soft); font-size: 9px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.contact-pill:hover { border-color: rgba(208, 224, 137, .56); color: var(--ink); background: rgba(8, 55, 32, .64); }
.contact-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.menu-control { display: none; align-content: center; gap: 5px; }
.menu-control span { width: 17px; height: 1px; background: var(--ink); }

/* Experience and scenes */
.experience { position: fixed; inset: 0 0 var(--nav-h); overflow: hidden; }
.scene {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(1); transition: opacity .72s ease, transform .95s var(--ease), filter .95s ease;
}
.scene.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.scene.is-transition-target { visibility: visible; opacity: 0; pointer-events: none; }
.app-shell.is-scene-transitioning .scene { will-change: transform, opacity, filter; }
.app-shell.is-scene-transitioning .scene.is-transition-origin { visibility: visible; }
.app-shell[data-transition="out"].is-scene-transitioning .scene.is-transition-origin {
  opacity: .14; transform: translate3d(15%, 10%, 0) scale(.62); filter: blur(2.2px);
}
.app-shell[data-transition="out"].is-scene-transitioning .scene.is-transition-target {
  opacity: 1; transform: translate3d(-7%, -4%, 0) scale(1.14); filter: blur(0);
}
.app-shell[data-transition="in"].is-scene-transitioning .scene.is-transition-origin {
  opacity: .12; transform: translate3d(-10%, -7%, 0) scale(1.18); filter: blur(2.2px);
}
.app-shell[data-transition="in"].is-scene-transitioning .scene.is-transition-target {
  opacity: 1; transform: translate3d(12%, 8%, 0) scale(.74); filter: blur(0);
}
.camera-stage {
  position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab;
  background: radial-gradient(circle at 60% 48%, rgba(64, 82, 67, .3), transparent 46%), linear-gradient(145deg, #0a3c25, #031f12 70%);
}
.camera-stage.is-dragging { cursor: grabbing; }
.map-canvas {
  position: absolute; transform-origin: center; user-select: none; will-change: left, top, transform;
  backface-visibility: hidden; contain: layout paint style;
}
.map-canvas.is-animating { transition: left var(--camera-transition, 680ms) var(--ease), top var(--camera-transition, 680ms) var(--ease), transform var(--camera-transition, 680ms) var(--ease); }
.map-canvas picture, .map-canvas picture img { width: 100%; height: 100%; }
.map-canvas picture img {
  object-fit: fill; pointer-events: none;
  filter: brightness(1.08) saturate(.94) contrast(1.02);
}
.scene--location .map-canvas picture img, .scene--region .map-canvas picture img { filter: brightness(1.13) saturate(.92) contrast(1.02); }
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cloud {
  position: absolute; z-index: 4; pointer-events: none;
  background-position: center; background-repeat: no-repeat; background-size: contain;
  opacity: .17; filter: blur(.35px); will-change: transform;
}
.cloud--one {
  width: min(48vw, 780px); height: min(28vw, 440px); left: -15vw; top: 2vh;
  background-image: url("../imagenes/nubes/cloud-real-1.webp");
  animation: cloudDriftOne 72s linear infinite alternate;
}
.cloud--two {
  width: min(38vw, 620px); height: min(24vw, 390px); right: -13vw; bottom: 3vh;
  background-image: url("../imagenes/nubes/cloud-real-2.webp");
  animation: cloudDriftTwo 84s -18s linear infinite alternate;
}
.cloud--three {
  width: min(28vw, 460px); height: min(18vw, 300px); right: 12vw; top: -4vh;
  background-image: url("../imagenes/nubes/cloud-real-3.webp");
  animation: cloudDriftThree 96s -31s linear infinite alternate;
}

/* Retractable project summary */
.hero-copy {
  position: fixed; z-index: 105; left: 28px; top: 50%; width: min(410px, calc(100vw - 56px));
  padding: 27px 28px 25px; transform: translateY(-50%);
  border: 1px solid rgba(208, 224, 137, .16); border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(3, 31, 18, .82), rgba(3, 24, 14, .6));
  box-shadow: 0 22px 65px rgba(0, 0, 0, .3); backdrop-filter: blur(10px);
  transition: opacity .35s ease, transform .45s var(--ease), visibility .35s;
}
.hero-copy[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-32px, -50%); }
.hero-copy__close {
  position: absolute; top: 11px; right: 13px; width: 32px; height: 32px;
  color: var(--ink-faint); font-size: 25px; transition: color .2s ease, transform .2s ease;
}
.hero-copy__close:hover { color: var(--ink); }
.hero-copy__close.is-attention-close { animation: closeBeacon 2.4s ease-out 1; }
.hero-copy h2 {
  margin: 10px 0 12px; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 5vw, 70px); font-weight: 500; line-height: .91; letter-spacing: -.025em;
}
.hero-copy > p:not(.eyebrow) { max-width: 330px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.72; }
.leaf-mark { margin-right: 8px; color: var(--gold-bright); }
.ornament-line { width: 190px; height: 13px; margin: 0 0 15px; display: flex; align-items: center; }
.ornament-line::before, .ornament-line::after { content: ""; height: 1px; flex: 1; background: rgba(208, 224, 137, .32); }
.ornament-line span { width: 5px; height: 5px; margin: 0 10px; transform: rotate(45deg); background: var(--sage); }
.hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.info-toggle {
  position: fixed; z-index: 106; left: 0; top: 48%; min-height: 42px; padding: 0 14px 0 11px;
  display: flex; align-items: center; gap: 8px; border: 1px solid rgba(208, 224, 137, .24); border-left: 0;
  border-radius: 0 8px 8px 0; background: rgba(3, 31, 18, .82); color: var(--ink-soft);
  font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(9px);
  transition: opacity .25s ease, transform .32s var(--ease), visibility .25s, color .2s ease, box-shadow .2s ease;
}
.info-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.info-toggle.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-18px); }
.info-toggle:hover { color: var(--ink); background: rgba(8, 55, 32, .9); }
.info-toggle.is-attention { animation: infoBeacon 5.2s ease-in-out 1; }

/* Map interaction */
.hotspot { cursor: pointer; outline: none; }
.hotspot__core {
  fill: var(--sage); stroke: rgba(3, 31, 18, .92); stroke-width: 2; filter: url(#pointGlow);
  transition: r .2s ease, filter .2s ease, fill .2s ease;
}
.hotspot:hover .hotspot__core, .hotspot:focus-visible .hotspot__core { r: 7; filter: url(#pointGlow); }
.hotspot--easements .hotspot__core { fill: var(--gold-bright); }

/* Story panel and video */
.story-panel {
  position: fixed; z-index: 108; top: calc(var(--header-h) + 22px); right: 24px; bottom: calc(var(--nav-h) + 22px);
  width: min(360px, calc(100vw - 48px)); padding: 25px 25px 21px; overflow: auto;
  border: 1px solid rgba(208, 224, 137, .18); border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(3, 31, 18, .91), rgba(3, 21, 13, .82));
  box-shadow: 0 26px 75px rgba(0, 0, 0, .35); backdrop-filter: blur(10px);
  transition: opacity .34s ease, transform .44s var(--ease), visibility .34s;
}
.story-panel[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(28px); }
.story-panel__close { position: absolute; top: 10px; right: 12px; width: 33px; height: 33px; color: var(--ink-faint); font-size: 25px; }
.story-panel__icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--sage); }
.story-panel__eyebrow { margin: 18px 0 7px; color: var(--sage); font-size: 8px; font-weight: 600; letter-spacing: .2em; }
.story-panel h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 36px; font-weight: 500; line-height: .96; }
.story-panel__copy { margin: 13px 0 16px; color: var(--ink-soft); font-size: 10px; line-height: 1.68; }
.story-panel__media {
  position: relative; aspect-ratio: 16 / 9; margin: 0 0 17px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 7px; background: #082617;
}
.photo-gallery, .video-module { position: absolute; inset: 0; transition: opacity .28s ease, visibility .28s; }
.photo-gallery[aria-hidden="true"], .video-module[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.photo-gallery picture, .photo-gallery img, .story-panel__media video { width: 100%; height: 100%; }
.photo-gallery img, .story-panel__media video { object-fit: cover; }
.story-panel__media-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,31,18,.02) 38%, rgba(3,20,12,.78)); }

.photo-gallery__open {
  position: absolute; z-index: 3; left: 10px; top: 10px; min-height: 32px; padding: 0 10px;
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(245,241,232,.32); border-radius: 16px;
  background: rgba(3,31,18,.62); color: var(--ink); font-size: 7px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(7px);
}
.photo-gallery__open:hover { border-color: rgba(208,224,137,.6); background: rgba(3,31,18,.86); }
.photo-gallery__open svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.photo-gallery__meta {
  position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 9px;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  color: rgba(245,241,232,.88); font-size: 7px; line-height: 1.35;
}
.photo-gallery__meta span:first-child { max-width: 72%; }
.photo-gallery__meta span:last-child { color: var(--sage); white-space: nowrap; }
.photo-gallery__controls {
  position: absolute; z-index: 3; right: 8px; top: 8px; display: flex; gap: 5px;
}
.photo-gallery__controls[hidden] { display: none; }
.photo-gallery__controls button {
  width: 31px; height: 31px; display: grid; place-items: center;
  border: 1px solid rgba(245,241,232,.27); border-radius: 50%;
  background: rgba(3,31,18,.56); color: var(--ink);
  transition: background .2s ease, border-color .2s ease;
}
.photo-gallery__controls button:hover { background: rgba(3,31,18,.82); border-color: rgba(208,224,137,.55); }
.video-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 5px; text-align: center; }
.video-play > span { width: 38px; height: 38px; display: grid; place-items: center; padding-left: 2px; border: 1px solid rgba(245,241,232,.55); border-radius: 50%; font-size: 13px; }
.video-play b { font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.video-play small { color: var(--ink-faint); font-size: 8px; }
.video-play:disabled { opacity: .84; }
.video-play.is-playing > span { font-size: 0; }
.video-play.is-playing > span::after { content: "Ⅱ"; font-size: 13px; }
.video-fullscreen { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(245,241,232,.25); border-radius: 4px; background: rgba(3,31,18,.54); }
.video-fullscreen svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.video-fullscreen:disabled { opacity: .35; }
.story-panel__facts { margin: 0; }
.story-panel__facts div { min-height: 37px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(208, 224, 137, .1); }
.story-panel__facts dt { color: var(--ink-faint); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.story-panel__facts dd { margin: 0; color: var(--ink); font-size: 9px; text-align: right; }
.story-panel__disclaimer { color: var(--ink-faint); font-size: 8px; line-height: 1.55; }
.story-panel__cta { min-height: 40px; margin-top: 10px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--sage); font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.lot-legend {
  position: fixed; z-index: 106; left: 22px; bottom: calc(var(--nav-h) + 18px);
  width: min(360px, calc(100vw - 44px)); padding: 13px 15px;
  border: 1px solid rgba(208, 224, 137, .14); border-radius: 7px;
  background: rgba(3, 31, 18, .72); backdrop-filter: blur(8px);
  transition: opacity .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.lot-legend p { margin: 0 0 5px; color: var(--ink-faint); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.lot-legend__current {
  display: block; margin-bottom: 9px; color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px; font-weight: 500; line-height: 1;
}
.lot-legend__states { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.lot-legend span { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 8px; }
.lot-legend small { display: block; margin-top: 8px; color: var(--ink-faint); font-size: 7px; line-height: 1.5; }
.status-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }
.status-dot--available { border: 1px solid rgba(245,241,232,.45); background: rgba(162,201,69,.15); }
.status-dot--reserved { background: var(--gold-bright); box-shadow: 0 0 8px rgba(219,201,143,.45); }
.status-dot--sold { background: var(--gold); box-shadow: 0 0 8px rgba(181,154,97,.3); }
.status-dot--selected { background: var(--sage); box-shadow: 0 0 8px rgba(208,224,137,.65); }
.lot-legend[data-current-status="available"] {
  border-color: rgba(162,201,69,.46); background: rgba(7,50,29,.86);
  box-shadow: 0 0 28px rgba(162,201,69,.08);
}
.lot-legend[data-current-status="reserved"] {
  border-color: rgba(219,201,143,.55); background: rgba(55,47,22,.88);
  box-shadow: 0 0 28px rgba(219,201,143,.1);
}
.lot-legend[data-current-status="sold"] {
  border-color: rgba(181,154,97,.58); background: rgba(47,38,25,.9);
  box-shadow: 0 0 28px rgba(181,154,97,.12);
}
.lot-legend[data-current-status="available"] .lot-legend__current { color: var(--sage); }
.lot-legend[data-current-status="reserved"] .lot-legend__current { color: var(--gold-bright); }
.lot-legend[data-current-status="sold"] .lot-legend__current { color: #c9b58b; }
.app-shell[data-scene="location"] .lot-legend,
.app-shell[data-scene="region"] .lot-legend { opacity: 0; pointer-events: none; }

.camera-controls {
  position: fixed; z-index: 107; right: 22px; bottom: calc(var(--nav-h) + 18px); display: flex; flex-direction: column;
  border: 1px solid rgba(208, 224, 137, .16); border-radius: 7px; overflow: hidden; background: rgba(3, 31, 18, .68); backdrop-filter: blur(8px);
}
.camera-controls button { width: 40px; height: 39px; display: grid; place-items: center; border-bottom: 1px solid rgba(208,224,137,.12); color: var(--ink-soft); font-size: 20px; }
.camera-controls button:last-child { border-bottom: 0; }
.camera-controls button:hover { color: var(--ink); background: rgba(83,107,85,.25); }
.camera-controls svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.map-hint { position: fixed; z-index: 104; left: 50%; bottom: calc(var(--nav-h) + 18px); transform: translateX(-50%); margin: 0; color: rgba(245,241,232,.44); font-size: 8px; letter-spacing: .07em; }

/* Dynamic bottom navigation */
.section-nav {
  position: fixed; z-index: 125; inset: auto 0 0; height: var(--nav-h); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(208, 224, 137, .16); background: linear-gradient(180deg, rgba(3, 31, 18, .9), rgba(3, 24, 14, .98));
  backdrop-filter: blur(10px);
}
.section-nav button {
  position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-right: 1px solid rgba(208, 224, 137, .09); color: rgba(245,241,232,.54);
  transition: color .22s ease, background .22s ease;
}
.section-nav button:last-child { border-right: 0; }
.section-nav button::before { content: ""; position: absolute; left: 24%; right: 24%; top: -1px; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform .24s ease; }
.section-nav button:hover, .section-nav button.is-active { color: var(--ink); background: rgba(83,107,85,.13); }
.section-nav button.is-active::before { transform: scaleX(1); }
.section-nav__icon { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(208,224,137,.18); border-radius: 50%; }
.section-nav__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.section-nav button.is-active .section-nav__icon { color: var(--sage); border-color: rgba(208,224,137,.5); box-shadow: 0 0 18px rgba(162,201,69,.12); }
.section-nav b { display: block; font-size: 9px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.section-nav small { display: block; margin-top: 3px; color: var(--ink-faint); font-size: 7px; letter-spacing: .04em; }
.section-nav button.is-entering {
  animation: sectionNavEntrance .95s var(--ease) both;
  animation-delay: calc(var(--entry-index, 0) * 85ms);
}
@keyframes sectionNavEntrance {
  0% { opacity: 0; transform: translateY(18px); }
  58% { opacity: 1; transform: translateY(-3px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Menu */
.menu-panel {
  position: fixed; z-index: 300; inset: 0; padding: 24px; display: flex; flex-direction: column;
  background: linear-gradient(145deg, #031f12, #03140c);
  transition: opacity .35s ease, visibility .35s;
}
.menu-panel[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.menu-panel__header { display: flex; justify-content: space-between; align-items: center; }
.menu-panel__header img { width: 220px; height: 60px; object-fit: contain; object-position: left center; }
.menu-panel__header button { width: 42px; height: 42px; color: var(--ink-soft); font-size: 30px; }
.menu-panel nav { margin: auto 0; display: grid; }
.menu-panel nav button, .menu-panel nav a { padding: 13px 0; text-align: left; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(38px, 9vw, 68px); line-height: .98; }
.menu-panel__note { margin: 0; color: var(--ink-faint); font-size: 9px; }

/* Project document */
.project-document {
  position: fixed; z-index: 310; inset: 0; overflow: auto;
  background: linear-gradient(135deg, rgba(3,31,18,.99), rgba(3,20,12,.985));
  transition: opacity .4s ease, visibility .4s;
}
.project-document[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.project-document__close { position: fixed; z-index: 2; top: 20px; right: 24px; width: 46px; height: 46px; color: var(--ink-soft); font-size: 31px; }
.project-document__inner { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 104px 0 85px; }
.project-document h2 { max-width: 760px; margin: 17px 0 15px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(54px, 8vw, 98px); font-weight: 500; line-height: .89; }
.project-document__lead { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.78; }
.document-grid { margin: 60px 0 38px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.document-grid article { padding: 26px 22px 31px; border-right: 1px solid var(--line); }
.document-grid article:last-child { border-right: 0; }
.document-grid article span { color: var(--sage); font-size: 9px; letter-spacing: .16em; }
.document-grid h3 { margin: 22px 0 10px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 29px; font-weight: 500; }
.document-grid p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.72; }
.document-notice { margin-bottom: 29px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(0,0,0,.12); }
.document-notice strong { color: var(--sage); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.document-notice p { margin: 7px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.document-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.noscript-content { position: fixed; inset: 0; z-index: 999; display: grid; place-content: center; padding: 30px; background: var(--forest-950); text-align: center; }

/* Inner pages */
.inner-page { overflow: auto; background: var(--forest-950); }
.inner-page html, .inner-page body { overflow: auto; }
.inner-header {
  position: sticky; top: 0; z-index: 30; height: 76px; display: grid; grid-template-columns: minmax(220px, 260px) 1fr auto; align-items: center;
  padding: 0 24px 0 14px; border-bottom: 1px solid var(--line); background: rgba(3,31,18,.94); backdrop-filter: blur(10px);
}
.inner-header__brand { width: 246px; height: 62px; display: flex; align-items: center; }
.inner-header__brand img { width: 238px; height: 54px; object-fit: contain; object-position: left center; transform: translateY(1px); }
.inner-header nav { display: flex; justify-content: center; gap: 30px; }
.inner-header nav a { color: var(--ink-soft); font-size: 9px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.inner-header nav a:hover, .inner-header nav a[aria-current="page"] { color: var(--ink); }
.inner-header__cta { min-height: 38px; padding: 0 15px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 20px; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.page-main { min-height: calc(100vh - 76px); }
.page-hero { position: relative; min-height: 52vh; display: grid; align-items: end; overflow: hidden; padding: 90px max(28px, 7vw) 70px; background: linear-gradient(145deg, #0a3c25, #031f12 76%); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: url("../imagenes/mapas/mapa-reserva.webp"); background-size: cover; background-position: center; filter: brightness(.7) saturate(.75); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,31,18,.9), rgba(3,31,18,.28) 66%, rgba(3,31,18,.72)); }
.page-hero__content { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { margin: 14px 0 16px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(58px, 9vw, 112px); font-weight: 500; line-height: .86; }
.page-hero p:not(.eyebrow) { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.78; }
.page-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 76px 0; }
.page-section__heading { display: grid; grid-template-columns: 1fr minmax(280px, 520px); gap: 50px; align-items: end; margin-bottom: 40px; }
.page-section h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(44px, 6vw, 76px); font-weight: 500; line-height: .92; }
.page-section__heading p { margin: 0; color: var(--ink-soft); line-height: 1.75; }
.lots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.lot-card { min-height: 290px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(145deg, rgba(10,60,37,.42), rgba(3,31,18,.5)); }
.lot-card__number { font-family: "Cormorant Garamond", Georgia, serif; font-size: 58px; line-height: .9; }
.lot-card__status { margin-top: 9px; color: var(--sage); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.lot-card dl { margin: 28px 0 24px; }
.lot-card dl div { min-height: 34px; display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid rgba(208,224,137,.1); }
.lot-card dt { color: var(--ink-faint); font-size: 8px; text-transform: uppercase; }
.lot-card dd { margin: 0; font-size: 10px; }
.lot-card__actions { margin-top: auto; display: flex; gap: 8px; }
.lot-card__actions .button { flex: 1; padding: 0 12px; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.editorial-card { min-height: 270px; padding: 30px 27px; border-right: 1px solid var(--line); }
.editorial-card:last-child { border-right: 0; }
.editorial-card span { color: var(--sage); font-size: 9px; letter-spacing: .16em; }
.editorial-card h3 { margin: 35px 0 12px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; font-weight: 500; }
.editorial-card p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.75; }
.investment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.investment-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.investment-card h3 { margin: 0 0 22px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 36px; font-weight: 500; }
.investment-card dl { margin: 0; }
.investment-card dl div { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(208,224,137,.1); }
.investment-card dt { color: var(--ink-faint); font-size: 9px; text-transform: uppercase; }
.investment-card dd { margin: 0; font-size: 11px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy p { color: var(--ink-soft); line-height: 1.75; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: var(--ink-faint); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.contact-form .field-wide, .contact-form .button, .contact-form .form-status { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 46px; padding: 12px 13px; border: 1px solid rgba(208,224,137,.18); border-radius: 6px; color: var(--ink); background: rgba(0,0,0,.16); outline: none; text-transform: none; letter-spacing: 0; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--sage); }
.form-status { min-height: 18px; margin: 0; color: var(--sage); font-size: 9px; line-height: 1.5; }
.consent { display: flex !important; grid-template-columns: 18px 1fr; align-items: start; color: var(--ink-soft) !important; letter-spacing: 0 !important; line-height: 1.55; text-transform: none !important; }
.consent input { width: 16px; min-height: 16px; margin: 1px 0 0; }
.site-footer { padding: 34px max(24px, 6vw); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 8px; letter-spacing: .08em; }

@keyframes introDrift { from { transform: scale(1.035) translate3d(-.4%, -.3%, 0); } to { transform: scale(1.075) translate3d(.6%, .5%, 0); } }
@keyframes soundPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes cloudDriftOne { from { transform: translate3d(-12%, 8%, 0) scale(.94); } to { transform: translate3d(28%, -15%, 0) scale(1.08); } }
@keyframes cloudDriftTwo { from { transform: translate3d(18%, 12%, 0) scale(.92); } to { transform: translate3d(-26%, -13%, 0) scale(1.05); } }
@keyframes cloudDriftThree { from { transform: translate3d(12%, 9%, 0) scale(.94); } to { transform: translate3d(-22%, -12%, 0) scale(1.04); } }
@keyframes infoBeacon {
  0%, 100% { transform: translateX(0) scale(1); color: var(--ink-soft); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
  24% { transform: translateX(1px) scale(1.018); color: var(--ink); box-shadow: 0 0 0 1px rgba(208,224,137,.22), 0 0 22px rgba(208,224,137,.15); }
  48% { transform: translateX(0) scale(1); color: var(--ink-soft); box-shadow: 0 0 0 8px rgba(208,224,137,0); }
  72% { transform: translateX(1px) scale(1.012); color: var(--gold-bright); box-shadow: 0 0 16px rgba(219,201,143,.13); }
}
@keyframes closeBeacon { 0% { transform: scale(1); color: var(--ink-faint); } 25% { transform: scale(1.12); color: var(--gold-bright); } 60% { transform: scale(1); color: var(--ink); } 100% { transform: scale(1); color: var(--ink-faint); } }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 205px 1fr auto; padding-right: 16px; }
  .brand { width: 198px; }
  .brand img { width: 194px; height: 48px; }
  .primary-nav { gap: 14px; }
  .primary-nav__group { gap: 14px; }
  .story-panel { width: 330px; right: 16px; }
  .lot-legend { left: 16px; }
  .camera-controls { right: 16px; }
  .document-grid { grid-template-columns: repeat(2, 1fr); }
  .document-grid article:nth-child(2) { border-right: 0; }
  .document-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; --nav-h: 72px; }
  .site-header { grid-template-columns: 178px 1fr auto; padding: 0 12px 0 8px; }
  .brand { width: 172px; height: 54px; }
  .brand img { width: 168px; height: 46px; }
  .primary-nav { display: none; }
  .contact-pill { width: 40px; padding: 0; justify-content: center; }
  .contact-pill span { display: none; }
  .menu-control { display: grid; }
  .hero-copy { left: 18px; width: min(385px, calc(100vw - 36px)); padding: 24px; }
  .hero-copy h2 { font-size: clamp(50px, 12vw, 69px); }
  .story-panel { top: auto; left: 12px; right: 12px; bottom: calc(var(--nav-h) + 10px); width: auto; max-height: 55vh; padding: 20px; }
  .story-panel[aria-hidden="true"] { transform: translateY(22px); }
  .story-panel__icon { display: none; }
  .story-panel h3 { font-size: 31px; }
  .story-panel__media { max-width: 320px; }
  .lot-legend, .map-hint { display: none; }
  .camera-controls { right: 12px; bottom: calc(var(--nav-h) + 12px); flex-direction: row; }
  .camera-controls button { width: 38px; height: 37px; border-bottom: 0; border-right: 1px solid var(--line); }
  .camera-controls button:last-child { border-right: 0; }
  .section-nav { overflow-x: auto; grid-template-columns: repeat(5, minmax(132px, 1fr)); }
  .section-nav button { gap: 8px; }
  .section-nav__icon { width: 27px; height: 27px; }
  .intro-gate__content { padding: 30px 22px 28px; }
  .intro-gate__logo { width: 104px; height: 104px; }
  .intro-gate h1 { font-size: clamp(42px, 12vw, 60px); }
  .intro-gate__actions { width: 100%; flex-direction: column; }
  .intro-gate__actions .button { width: 100%; }
  .cloud { opacity: .22; }
  .document-grid { grid-template-columns: 1fr; }
  .document-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .document-grid article:last-child { border-bottom: 0; }
  .inner-header { grid-template-columns: 178px 1fr auto; padding: 0 12px 0 8px; }
  .inner-header__brand { width: 172px; height: 54px; }
  .inner-header__brand img { width: 168px; height: 46px; }
  .inner-header nav { display: none; }
  .page-section__heading { grid-template-columns: 1fr; gap: 18px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .editorial-card:last-child { border-bottom: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .site-header { grid-template-columns: 154px 1fr auto; }
  .brand { width: 150px; }
  .brand img { width: 146px; height: 42px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-copy { top: auto; bottom: calc(var(--nav-h) + 12px); transform: none; }
  .hero-copy[aria-hidden="true"] { transform: translateY(22px); }
  .info-toggle { top: auto; bottom: calc(var(--nav-h) + 16px); }
  .section-nav { grid-template-columns: repeat(5, 118px); justify-content: start; }
  .section-nav small { display: none; }
  .section-nav b { font-size: 8px; }
  .story-panel { max-height: 62vh; }
  .project-document__inner { width: calc(100% - 32px); padding-top: 86px; }
  .project-document h2 { font-size: 53px; }
  .document-actions { display: grid; }
  .inner-header { grid-template-columns: 154px 1fr auto; }
  .inner-header__brand { width: 150px; }
  .inner-header__brand img { width: 146px; height: 42px; }
  .inner-header__cta { width: 40px; padding: 0; justify-content: center; font-size: 0; }
  .inner-header__cta::after { content: "→"; font-size: 14px; }
  .page-hero { min-height: 48vh; padding: 80px 22px 52px; }
  .page-section { width: calc(100% - 32px); padding: 58px 0; }
  .lots-grid, .investment-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .contact-form .field-wide, .contact-form .button, .contact-form .form-status { grid-column: 1; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.inner-page-root { overflow: auto; }
.inner-page code { color: var(--sage); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.inner-mobile-nav { display: none; }
@media (max-width: 860px) {
  .inner-mobile-nav {
    position: sticky; top: 66px; z-index: 29; height: 44px; display: flex; overflow-x: auto;
    border-bottom: 1px solid var(--line); background: rgba(3,31,18,.96); scrollbar-width: none;
  }
  .inner-mobile-nav::-webkit-scrollbar { display: none; }
  .inner-mobile-nav a {
    min-width: 102px; display: grid; place-items: center; color: var(--ink-faint);
    font-size: 8px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  }
  .inner-mobile-nav a[aria-current="page"] { color: var(--sage); background: rgba(83,107,85,.13); }
}

/* V6 brand and transition overrides */
.brand { width: 280px; gap: 10px; }
.brand__mark { width: 48px; height: 56px; object-fit: contain; }
.brand__type { display: grid; gap: 3px; text-align: left; }
.brand__type strong { color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: .11em; line-height: 1; }
.brand__type small { max-width: 190px; color: var(--ink-faint); font-size: 6.5px; font-weight: 500; letter-spacing: .15em; line-height: 1.35; text-transform: uppercase; }
.scene { transition: opacity .72s ease, filter .72s ease; transform: none !important; }
.scene.is-transition-target { opacity: 0; visibility: visible; }
.app-shell.is-scene-transitioning .scene.is-transition-origin { opacity: 0; filter: blur(1.5px); transform: none !important; }
.app-shell.is-scene-transitioning .scene.is-transition-target { opacity: 1; filter: none; transform: none !important; }
@media (max-width: 860px) { .brand { width: 185px; } .brand__mark { width: 40px; height: 48px; } .brand__type strong { font-size: 15px; } .brand__type small { font-size: 5.4px; max-width: 130px; } }
@media (max-width: 560px) { .brand { width: 160px; gap: 7px; } .brand__mark { width: 36px; height: 44px; } .brand__type strong { font-size: 13px; } .brand__type small { display: none; } }

.brand img.brand__mark { width: 48px; height: 56px; object-fit: contain; object-position: center; }
.menu-brand { display: flex; align-items: center; gap: 10px; }
.menu-brand > img { width: 48px !important; height: 56px !important; object-fit: contain; }
.menu-brand > span { display: grid; gap: 3px; }
.menu-brand strong { font-size: 18px; letter-spacing: .11em; }
.menu-brand small { max-width: 190px; color: var(--ink-faint); font-size: 6px; letter-spacing: .15em; line-height: 1.35; text-transform: uppercase; }
@media (max-width: 860px) { .brand img.brand__mark { width: 40px; height: 48px; } }
@media (max-width: 560px) { .brand img.brand__mark { width: 36px; height: 44px; } }

/* =========================================================
   V9 · mapa full-screen, pulsaciones suaves y entradas escalonadas
   ========================================================= */
.map-utility-stack {
  position: fixed;
  z-index: 109;
  left: 0;
  top: 43%;
  display: grid;
  gap: 8px;
}
.map-utility-stack .info-toggle,
.map-utility-stack .explore-toggle {
  position: static;
  transform: none;
}
.explore-toggle {
  min-height: 44px;
  padding: 0 15px 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(219, 201, 143, .3);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(135deg, rgba(48, 42, 23, .9), rgba(3, 31, 18, .88));
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  transition: color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s var(--ease), opacity .25s ease;
}
.explore-toggle.is-attention { animation: exploreBeacon 5.2s ease-in-out 1; }
.explore-toggle:hover,
.explore-toggle[aria-pressed="true"] {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(82, 69, 34, .94), rgba(8, 55, 32, .94));
  box-shadow: 0 0 26px rgba(219, 201, 143, .18);
}
.explore-toggle__icon { width: 18px; text-align: center; font-size: 11px; }
.app-shell:not([data-scene="map"]) .explore-toggle { opacity: 0; visibility: hidden; pointer-events: none; }

.map-scene-backdrop {
  display: none;
  position: absolute;
  inset: -5%;
  overflow: hidden;
  opacity: .7;
  filter: blur(26px) brightness(.43) saturate(.72);
  transform: scale(1.08);
}
.map-scene-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.scene--map .camera-stage {
  cursor: default;
  background: #031f12;
}
.scene--map .camera-stage.is-pan-enabled,
.scene--map .camera-stage.is-pan-enabled.is-dragging { cursor: default; }
.scene--map .map-canvas {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.scene--map .map-canvas picture img { filter: brightness(1.02) saturate(.96) contrast(1.04); }

.hotspot__core { r: 6; }
.hotspot:hover .hotspot__core,
.hotspot:focus-visible .hotspot__core,
.hotspot.is-active .hotspot__core {
  r: 8;
  fill: var(--gold-bright);
  stroke: rgba(3,31,18,.95);
  stroke-width: 2.6;
  filter: url(#pointGlow);
}
.hotspot--patio .hotspot__core,
.hotspot--cave .hotspot__core { fill: var(--gold-bright); }

.story-panel__stage {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 9px;
  border: 1px solid rgba(219,201,143,.24);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(74,60,25,.16);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}
.story-panel__stage[hidden] { display: none; }
.story-panel__cta { color: var(--gold-bright); }
.lot-legend__states--single { display: block; }
.lot-legend__states--single span { font-size: 8px; line-height: 1.5; }

.drag-tutorial {
  position: absolute;
  z-index: 12;
  left: 50%;
  top: 50%;
  min-width: 260px;
  padding: 13px 17px 13px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(245,241,232,.2);
  border-radius: 10px;
  background: rgba(3,24,14,.82);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  transition: opacity .35s ease, visibility .35s, transform .45s var(--ease);
}
.drag-tutorial.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -42%);
}
.drag-tutorial > span:last-child { display: grid; gap: 4px; }
.drag-tutorial strong { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.drag-tutorial small { color: var(--ink-faint); font-size: 8px; }
.drag-tutorial__gesture {
  position: relative;
  width: 46px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(208,224,137,.18);
  border-radius: 8px;
  overflow: hidden;
}
.drag-tutorial__gesture::before {
  content: "";
  width: 15px;
  height: 19px;
  border: 1.5px solid var(--sage);
  border-radius: 8px 8px 6px 6px;
  transform: translate(7px, 5px) rotate(-12deg);
  animation: dragHand 1.8s var(--ease) infinite;
}
.drag-tutorial__gesture i {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208,224,137,.72), transparent);
  animation: dragTrail 1.8s var(--ease) infinite;
}

.app-shell[data-scene="map"] .section-nav { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.app-shell[data-scene="location"] .section-nav,
.app-shell[data-scene="region"] .section-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.app-shell[data-scene="location"] .lot-legend,
.app-shell[data-scene="region"] .lot-legend { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes exploreBeacon {
  0%, 100% { transform: translateX(0) scale(1); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
  28% { transform: translateX(1px) scale(1.018); box-shadow: 0 0 0 1px rgba(219,201,143,.22), 0 0 22px rgba(219,201,143,.14); }
  56% { transform: translateX(0) scale(1); box-shadow: 0 0 0 8px rgba(219,201,143,0); }
  78% { transform: translateX(1px) scale(1.012); box-shadow: 0 0 16px rgba(219,201,143,.12); }
}
@keyframes dragHand {
  0%, 100% { transform: translate(9px, 6px) rotate(-12deg); opacity: .65; }
  50% { transform: translate(-9px, -5px) rotate(-12deg); opacity: 1; }
}
@keyframes dragTrail {
  0%, 100% { transform: translateX(9px); opacity: .2; }
  50% { transform: translateX(-9px); opacity: .9; }
}

@media (max-width: 900px) {
  html, body { overflow: auto; }
  .app-shell {
    position: relative;
    min-height: 100svh;
    overflow-y: auto;
    padding-bottom: var(--nav-h);
  }
  .experience {
    position: relative;
    inset: auto;
    min-height: calc(100svh - var(--nav-h));
    padding: calc(var(--header-h) + 58svh + 18px) 16px 96px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    overflow: visible;
  }
  .scene {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: auto;
    height: 58svh;
  }
  .map-utility-stack {
    position: absolute;
    top: calc(var(--header-h) + 18px);
    left: 0;
  }
  .hero-copy,
  .story-panel {
    position: relative;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    max-height: none;
    transform: none;
  }
  .hero-copy { grid-column: 1; padding: 24px; }
  .story-panel { grid-column: 2; padding: 22px; overflow: visible; }
  .hero-copy[aria-hidden="true"],
  .story-panel[aria-hidden="true"] {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
  }
  .hero-copy h2 { font-size: clamp(45px, 8vw, 64px); }
  .story-panel__media { max-width: none; }
  .lot-legend {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    width: auto;
  }
  .camera-controls {
    position: absolute;
    top: calc(var(--header-h) + 58svh - 50px);
    right: 12px;
    bottom: auto;
    flex-direction: row;
  }
  .map-hint {
    position: absolute;
    top: calc(var(--header-h) + 58svh - 28px);
    bottom: auto;
  }
  .section-nav { overflow-x: auto; }
  .app-shell[data-scene="map"] .section-nav { grid-template-columns: repeat(7, minmax(126px, 1fr)); }
  .app-shell[data-scene="location"] .section-nav,
  .app-shell[data-scene="region"] .section-nav { grid-template-columns: repeat(5, minmax(132px, 1fr)); }
  .drag-tutorial { top: 48%; }
}

@media (max-width: 640px) {
  .experience {
    padding: calc(var(--header-h) + 48svh + 74px) 12px 94px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .scene { height: 48svh; }
  .map-utility-stack {
    top: calc(var(--header-h) + 48svh + 10px);
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .map-utility-stack .info-toggle,
  .map-utility-stack .explore-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    border-left: 1px solid rgba(208,224,137,.24);
    border-radius: 8px;
  }

  .app-shell:not([data-scene="map"]) .map-utility-stack { grid-template-columns: 1fr; }
  .app-shell:not([data-scene="map"]) .map-utility-stack .info-toggle { grid-column: 1; }
  .hero-copy,
  .story-panel,
  .lot-legend { grid-column: 1; }
  .hero-copy h2 { font-size: clamp(43px, 14vw, 58px); }
  .hero-copy > p:not(.eyebrow), .story-panel__copy { font-size: 12px; }
  .story-panel h3 { font-size: 36px; }
  .camera-controls { top: calc(var(--header-h) + 48svh - 48px); }
  .map-hint { display: none; }
  .drag-tutorial { min-width: min(280px, calc(100vw - 30px)); }
  .section-nav small { display: none; }
}

/* V10 · mayor luminosidad del botón Información, conservando el ritmo */
.info-toggle {
  border-color: rgba(208,224,137,.36);
  background: rgba(3,42,23,.9);
  color: rgba(244,239,229,.88);
  box-shadow: 0 10px 28px rgba(0,0,0,.2), 0 0 12px rgba(208,224,137,.08);
}
.info-toggle.is-attention { animation: infoBeaconV10 5.2s ease-in-out 1; }
@keyframes infoBeaconV10 {
  0%, 100% { transform: translateX(0) scale(1); color: rgba(244,239,229,.88); background: rgba(3,42,23,.9); box-shadow: 0 10px 28px rgba(0,0,0,.2), 0 0 12px rgba(208,224,137,.08); }
  24% { transform: translateX(1px) scale(1.022); color: #fffdf5; background: rgba(13,75,43,.96); box-shadow: 0 0 0 1px rgba(208,224,137,.46), 0 0 32px rgba(208,224,137,.3), 0 12px 30px rgba(0,0,0,.22); }
  48% { transform: translateX(0) scale(1); color: var(--ink); background: rgba(5,52,29,.94); box-shadow: 0 0 0 10px rgba(208,224,137,0), 0 0 18px rgba(208,224,137,.16); }
  72% { transform: translateX(1px) scale(1.014); color: var(--gold-bright); background: rgba(25,67,39,.95); box-shadow: 0 0 24px rgba(219,201,143,.24); }
}

/* =========================================================
   V11 · panel informativo unificado y referencias cartográficas
   ========================================================= */
.hero-copy,
.info-toggle { display: none !important; }

.map-utility-stack {
  top: 47%;
}

.story-panel {
  left: auto;
  right: 24px;
  width: min(402px, calc(100vw - 48px));
  padding: 0;
  overflow: hidden;
}
.app-shell[data-scene="map"] .story-panel,
.app-shell[data-scene="location"] .story-panel {
  left: auto;
  right: 24px;
}
.app-shell[data-scene="region"] .story-panel {
  left: 24px;
  right: auto;
}
.app-shell[data-scene="region"] .story-panel[aria-hidden="true"] {
  transform: translateX(-28px);
}

.story-panel__scroll {
  width: 100%;
  height: 100%;
  padding: 30px 30px 72px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(208,224,137,.38) rgba(245,241,232,.05);
}
.story-panel__scroll::-webkit-scrollbar { width: 7px; }
.story-panel__scroll::-webkit-scrollbar-track { background: rgba(245,241,232,.04); }
.story-panel__scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(208,224,137,.38);
  background-clip: padding-box;
}
.story-panel__scroll:focus-visible {
  outline: 1px solid rgba(208,224,137,.55);
  outline-offset: -5px;
}
.story-panel__icon {
  width: 43px;
  height: 43px;
}
.story-panel__eyebrow {
  margin-top: 20px;
  font-size: 9px;
}
.story-panel h2 {
  max-width: 340px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 4.25vw, 66px);
  font-weight: 500;
  line-height: .89;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.story-panel__copy {
  margin: 18px 0 20px;
  font-size: 11px;
  line-height: 1.78;
}
.story-panel__facts {
  margin: 4px 0 28px;
}
.story-panel__facts div {
  min-height: 43px;
}
.story-panel__facts dt { font-size: 8px; }
.story-panel__facts dd { max-width: 58%; font-size: 9px; line-height: 1.4; }
.story-panel__section-label {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.story-panel__media {
  min-height: 210px;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
}
.story-panel__disclaimer {
  margin: 0 0 4px;
  font-size: 8px;
  line-height: 1.65;
}
.story-panel__cta {
  min-height: 48px;
  margin-top: 12px;
  font-size: 8px;
}

.story-panel__scroll-cue {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  padding: 28px 26px 14px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 8px;
  color: rgba(245,241,232,.82);
  background: linear-gradient(180deg, rgba(3,21,13,0), rgba(3,21,13,.94) 62%);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s;
}
.story-panel__scroll-cue.is-visible {
  opacity: 1;
  visibility: visible;
}
.story-panel__scroll-cue svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: storyScrollArrow 2.2s ease-in-out infinite;
}
.story-panel__scroll-cue.is-demonstrating svg {
  animation-duration: 1.05s;
}

.app-shell[data-scene="region"] .section-nav {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@keyframes storyScrollArrow {
  0%, 100% { transform: translateY(-2px); opacity: .55; }
  50% { transform: translateY(4px); opacity: 1; }
}

@media (max-width: 900px) {
  .story-panel,
  .app-shell[data-scene="map"] .story-panel,
  .app-shell[data-scene="location"] .story-panel,
  .app-shell[data-scene="region"] .story-panel {
    grid-column: 1 / -1;
    left: auto;
    right: auto;
    width: 100%;
    height: min(70svh, 680px);
    max-height: none;
  }
  .story-panel__scroll { padding: 28px 28px 70px; }
  .story-panel h2 { max-width: 620px; font-size: clamp(49px, 8vw, 70px); }
  .story-panel__copy { max-width: 680px; font-size: 12px; }
  .map-utility-stack {
    grid-template-columns: minmax(210px, 320px);
  }
  .app-shell[data-scene="region"] .section-nav {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }
}

@media (max-width: 640px) {
  .map-utility-stack,
  .app-shell:not([data-scene="map"]) .map-utility-stack {
    grid-template-columns: 1fr;
  }
  .story-panel { height: min(72svh, 650px); }
  .story-panel__scroll { padding: 25px 22px 68px; }
  .story-panel h2 { font-size: clamp(45px, 14vw, 62px); }
  .story-panel__copy { font-size: 12px; }
  .story-panel__media { min-height: 190px; }
  .app-shell[data-scene="region"] .section-nav {
    grid-template-columns: repeat(4, 142px);
  }
}

/* =========================================================
   V12 · entrada emocional y panel regional unificado a la derecha
   ========================================================= */
.intro-gate {
  display: block;
  background: #010805;
}
.intro-gate__background {
  inset: 0;
  opacity: 0;
  animation: introForestReveal 3.4s var(--ease) .15s forwards;
}
.intro-gate__background img {
  filter: saturate(.68) brightness(.52) contrast(1.1);
  transform: scale(1.09);
  transform-origin: 65% 50%;
  animation: introForestDrift 26s ease-in-out .2s infinite alternate;
}
.intro-gate__shade {
  background:
    linear-gradient(90deg, rgba(1,8,5,.99) 0%, rgba(1,9,5,.94) 28%, rgba(1,10,6,.67) 58%, rgba(1,8,5,.54) 100%),
    linear-gradient(180deg, rgba(1,8,5,.7), rgba(1,8,5,.12) 44%, rgba(1,8,5,.9));
}
.intro-gate__contours {
  opacity: .055;
  mask-image: linear-gradient(90deg, transparent 0, #000 32%, #000 100%);
}
.intro-gate__number {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: clamp(54px, 9vh, 118px);
  color: rgba(245,241,232,.055);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(180px, 32vw, 520px);
  font-weight: 500;
  line-height: .62;
  letter-spacing: -.08em;
  user-select: none;
}
.intro-gate__content {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100vw - 64px));
  min-height: 100svh;
  margin: 0;
  padding: clamp(40px, 7vh, 88px) 0 clamp(82px, 10vh, 120px) max(32px, 7vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.intro-gate__brandline {
  margin-bottom: clamp(34px, 6vh, 66px);
  display: flex;
  align-items: center;
  gap: 13px;
  opacity: 0;
  animation: introTextRise .9s var(--ease) .45s forwards;
}
.intro-gate__brandline img { width: 44px; height: 52px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); }
.intro-gate__brandline span { display: grid; gap: 4px; }
.intro-gate__brandline strong { font-size: 18px; font-weight: 600; letter-spacing: .13em; }
.intro-gate__brandline small { color: var(--ink-faint); font-size: 6px; letter-spacing: .18em; text-transform: uppercase; }
.intro-gate__content > .eyebrow {
  opacity: 0;
  animation: introTextRise .9s var(--ease) .72s forwards;
}
.intro-gate h1 {
  max-width: 820px;
  margin: 14px 0 22px;
  font-size: clamp(66px, 9.7vw, 142px);
  line-height: .78;
  letter-spacing: -.045em;
  text-wrap: balance;
  opacity: 0;
  animation: introTextRise 1.1s var(--ease) .86s forwards;
}
.intro-gate h1 span,
.intro-gate h1 em { display: block; }
.intro-gate h1 em { color: #e7d8aa; font-weight: 400; }
.intro-gate__copy {
  max-width: 650px;
  margin: 0;
  color: rgba(245,241,232,.76);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.75;
  opacity: 0;
  animation: introTextRise 1s var(--ease) 1.05s forwards;
}
.intro-gate__promise {
  width: min(700px, 100%);
  margin-top: clamp(25px, 4vh, 42px);
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid rgba(208,224,137,.18);
  opacity: 0;
  animation: introTextRise 1s var(--ease) 1.18s forwards;
}
.intro-gate__promise span {
  color: var(--ink-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.05;
}
.intro-gate__actions {
  margin-top: clamp(30px, 5vh, 52px);
  opacity: 0;
  animation: introTextRise 1s var(--ease) 1.32s forwards;
}
.intro-gate__primary {
  box-shadow: 0 15px 42px rgba(0,0,0,.34), 0 0 34px rgba(219,201,143,.14);
  animation: introPrimaryBreath 7.8s ease-in-out 2.8s infinite;
}
.intro-gate__footer {
  position: absolute;
  z-index: 3;
  left: max(32px, 7vw);
  right: max(26px, 4vw);
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(245,241,232,.44);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  animation: introTextRise .9s var(--ease) 1.48s forwards;
}
@keyframes introForestReveal { to { opacity: 1; } }
@keyframes introForestDrift { from { transform: scale(1.09) translate3d(0,0,0); } to { transform: scale(1.13) translate3d(-1.2%, -.7%, 0); } }
@keyframes introTextRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes introPrimaryBreath {
  0%, 72%, 100% { transform: translateY(0) scale(1); box-shadow: 0 15px 42px rgba(0,0,0,.34), 0 0 20px rgba(219,201,143,.1); }
  82% { transform: translateY(-2px) scale(1.018); box-shadow: 0 17px 46px rgba(0,0,0,.38), 0 0 38px rgba(219,201,143,.28); }
  91% { transform: translateY(0) scale(1); }
}

/* La lectura contextual mantiene la misma posición en las tres escalas. */
.app-shell[data-scene="region"] .story-panel {
  left: auto;
  right: 24px;
}
.app-shell[data-scene="region"] .story-panel[aria-hidden="true"] {
  transform: translateX(28px);
}

@media (max-width: 900px) {
  .intro-gate__content {
    width: min(760px, calc(100vw - 38px));
    padding-left: 28px;
    padding-right: 22px;
  }
  .intro-gate__footer { left: 28px; }
  .app-shell[data-scene="region"] .story-panel { left: auto; right: auto; }
}
@media (max-width: 620px) {
  .intro-gate__content {
    width: 100%;
    padding: 30px 20px 90px;
    justify-content: center;
  }
  .intro-gate__brandline { margin-bottom: 36px; }
  .intro-gate h1 { font-size: clamp(58px, 19vw, 88px); }
  .intro-gate__promise { grid-template-columns: 1fr; gap: 9px; }
  .intro-gate__promise span { font-size: 20px; }
  .intro-gate__actions { width: 100%; flex-direction: column; }
  .intro-gate__actions .button { width: 100%; }
  .intro-gate__footer { left: 20px; right: 20px; bottom: 18px; }
  .intro-gate__footer span:last-child { display: none; }
  .intro-gate__number { right: 4px; bottom: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-gate__background, .intro-gate__background img, .intro-gate__brandline,
  .intro-gate__content > .eyebrow, .intro-gate h1, .intro-gate__copy,
  .intro-gate__promise, .intro-gate__actions, .intro-gate__footer,
  .intro-gate__primary { opacity: 1; transform: none; animation: none !important; }
}

/* =========================================================
   V13 · entrada centrada, panel contextual retraíble y CTA mapa
   ========================================================= */
.intro-gate[data-intro-version="v14"] {
  padding: clamp(28px, 5vh, 58px) clamp(20px, 4vw, 56px);
  background: #010905;
}
.intro-gate[data-intro-version="v14"] .intro-gate__background {
  inset: -3%;
  opacity: 0;
  animation: introV13Background 2.8s var(--ease) .45s forwards;
}
.intro-gate[data-intro-version="v14"] .intro-gate__shade {
  background:
    radial-gradient(circle at 50% 48%, rgba(3,31,18,.12), rgba(1,8,5,.68) 58%, rgba(1,5,3,.94) 100%),
    linear-gradient(180deg, rgba(1,7,4,.74), rgba(1,7,4,.34) 48%, rgba(1,7,4,.82));
}
.intro-gate[data-intro-version="v14"] .intro-gate__content {
  width: min(720px, calc(100vw - 40px));
  min-height: auto;
  max-height: calc(100svh - clamp(96px, 14vh, 160px));
  margin: auto;
  padding: clamp(24px, 4vh, 44px) clamp(18px, 4vw, 44px);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.intro-gate[data-intro-version="v14"] .intro-gate__brandline {
  margin-bottom: clamp(18px, 3vh, 30px);
  justify-content: center;
  text-align: left;
  animation-delay: .7s;
}
.intro-gate[data-intro-version="v14"] .intro-gate__content > .eyebrow { animation-delay: .9s; }
.intro-gate[data-intro-version="v14"] h1 {
  max-width: 700px;
  margin: 12px auto 18px;
  font-size: clamp(52px, 8vw, 102px);
  line-height: .84;
  text-align: center;
  animation-delay: 1.05s;
}
.intro-gate[data-intro-version="v14"] .intro-gate__copy {
  max-width: 580px;
  margin-inline: auto;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.68;
  text-align: center;
  animation-delay: 1.24s;
}
.intro-gate[data-intro-version="v14"] .intro-gate__promise {
  width: min(620px, 100%);
  margin-top: clamp(18px, 3vh, 30px);
  padding-top: 14px;
  gap: 10px;
  text-align: center;
  animation-delay: 1.42s;
}
.intro-gate[data-intro-version="v14"] .intro-gate__promise span { font-size: clamp(16px, 1.6vw, 21px); }
.intro-gate[data-intro-version="v14"] .intro-gate__actions {
  margin-top: clamp(20px, 3.5vh, 34px);
  justify-content: center;
  animation-delay: 1.62s;
}
.intro-gate[data-intro-version="v14"] .intro-gate__footer {
  left: 50%;
  right: auto;
  bottom: clamp(14px, 2.5vh, 26px);
  width: min(700px, calc(100vw - 40px));
  justify-content: center;
  transform: translateX(-50%);
  animation: introV13Footer .9s var(--ease) 1.82s forwards;
}
.intro-gate[data-intro-version="v14"] .intro-gate__footer span + span::before { content: "·"; margin: 0 12px 0 2px; }
.intro-gate[data-intro-version="v14"] .intro-gate__number { left: 50%; right: auto; bottom: 9%; transform: translateX(-50%); font-size: clamp(150px, 25vw, 380px); opacity: .5; }
@keyframes introV13Background { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes introV13Footer { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* El mapa abre limpio: el panel aparece solo al elegir una zona o iniciar el recorrido. */
.story-panel[aria-hidden="true"], .story-panel.is-collapsed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(32px);
}

/* Explorar mapa es la acción principal de la escena inicial. */
.map-utility-stack {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.explore-toggle {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(219,201,143,.48);
  border-radius: 27px;
  background: linear-gradient(135deg, rgba(91,75,34,.9), rgba(5,44,25,.94));
  box-shadow: 0 16px 38px rgba(0,0,0,.28), 0 0 30px rgba(219,201,143,.16);
  font-size: 9px;
}
.explore-toggle:hover,
.explore-toggle[aria-pressed="true"] {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 0 42px rgba(219,201,143,.28);
}

@media (max-width: 620px) {
  .intro-gate[data-intro-version="v14"] { padding: 22px 14px 66px; }
  .intro-gate[data-intro-version="v14"] .intro-gate__content { width: 100%; max-height: none; padding: 24px 12px; }
  .intro-gate[data-intro-version="v14"] .intro-gate__brandline { margin-bottom: 22px; }
  .intro-gate[data-intro-version="v14"] h1 { font-size: clamp(48px, 16vw, 76px); }
  .intro-gate[data-intro-version="v14"] .intro-gate__promise { grid-template-columns: 1fr; gap: 6px; }
  .intro-gate[data-intro-version="v14"] .intro-gate__actions { width: min(420px, 100%); }
  .intro-gate[data-intro-version="v14"] .intro-gate__footer { bottom: 12px; }
  .map-utility-stack { left: 12px; top: auto; bottom: calc(var(--nav-h) + 18px); transform: none; }
  .explore-toggle { min-height: 48px; padding-inline: 16px; }
}

/* =========================================================
   V14 · depuración de la portada
   ========================================================= */
.intro-gate__promise--line {
  width: min(420px, 78%);
  min-height: 1px;
  margin: 3px auto 0;
  padding: 0;
  display: block;
  border-top: 1px solid rgba(213,223,154,.28);
}
.intro-gate__promise--line::before,
.intro-gate__promise--line::after { display: none; }
.intro-gate[data-intro-version="v14"] .intro-gate__footer { justify-content: center; }
.intro-gate[data-intro-version="v14"] .intro-gate__promise--line {
  width: min(420px, 78%);
  min-height: 1px;
  margin: clamp(18px, 3vh, 28px) auto 0;
  padding: 0;
  display: block;
  border-top: 1px solid rgba(213,223,154,.28);
}

/* =========================================================
   V16 · portada móvil panorámica sin espacio muerto
   La imagen sigue excediendo el viewport y conserva paneo/zoom.
   ========================================================= */
.section-nav {
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav button { scroll-snap-align: start; }
.section-nav b { font-size: 9.5px; }
.section-nav small { font-size: 7.5px; }

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .app-shell {
    position: fixed;
    inset: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .experience {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: var(--nav-h);
    left: 0;
    min-height: 0;
    padding: 0;
    display: block;
    overflow: hidden;
  }

  .scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .map-utility-stack,
  .app-shell:not([data-scene="map"]) .map-utility-stack {
    position: fixed;
    z-index: 108;
    top: auto;
    right: 14px;
    bottom: calc(var(--nav-h) + 14px + env(safe-area-inset-bottom));
    left: 14px;
    width: auto;
    display: grid;
    grid-template-columns: 1fr;
    transform: none;
  }

  .map-utility-stack .explore-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .camera-controls {
    position: fixed;
    z-index: 108;
    top: auto;
    right: 14px;
    bottom: calc(var(--nav-h) + 76px + env(safe-area-inset-bottom));
    flex-direction: row;
  }

  .map-hint {
    position: fixed;
    z-index: 106;
    top: auto;
    bottom: calc(var(--nav-h) + 78px + env(safe-area-inset-bottom));
  }

  .story-panel,
  .app-shell[data-scene="map"] .story-panel,
  .app-shell[data-scene="location"] .story-panel,
  .app-shell[data-scene="region"] .story-panel {
    position: fixed;
    z-index: 110;
    top: calc(var(--header-h) + 12px);
    right: 12px;
    bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    height: auto;
    max-height: none;
    grid-column: auto;
    transform: translateY(18px);
  }

  .story-panel[aria-hidden="false"] {
    transform: translateY(0);
  }

  .story-panel__scroll {
    height: 100%;
    max-height: 100%;
    padding: 28px 28px 76px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .app-shell:has(.story-panel[aria-hidden="false"]) .map-utility-stack,
  .app-shell:has(.story-panel[aria-hidden="false"]) .camera-controls,
  .app-shell:has(.story-panel[aria-hidden="false"]) .map-hint {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .lot-legend {
    position: fixed;
    z-index: 107;
    right: 14px;
    bottom: calc(var(--nav-h) + 78px + env(safe-area-inset-bottom));
    left: 14px;
    width: auto;
  }

  .section-nav {
    padding-bottom: env(safe-area-inset-bottom);
    -webkit-overflow-scrolling: touch;
  }

  .app-shell[data-scene="map"] .section-nav {
    grid-template-columns: repeat(7, minmax(126px, 1fr));
  }

  .app-shell[data-scene="location"] .section-nav,
  .app-shell[data-scene="region"] .section-nav {
    grid-template-columns: repeat(5, minmax(132px, 1fr));
  }

  .drag-tutorial {
    top: 50%;
  }
}

@media (max-width: 640px) {
  .map-utility-stack,
  .app-shell:not([data-scene="map"]) .map-utility-stack {
    right: 12px;
    bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom));
    left: 12px;
  }

  .camera-controls {
    top: auto;
    right: 12px;
    bottom: calc(var(--nav-h) + 72px + env(safe-area-inset-bottom));
  }

  .story-panel,
  .app-shell[data-scene="map"] .story-panel,
  .app-shell[data-scene="location"] .story-panel,
  .app-shell[data-scene="region"] .story-panel {
    top: calc(var(--header-h) + 8px);
    right: 8px;
    bottom: calc(var(--nav-h) + 8px + env(safe-area-inset-bottom));
    left: 8px;
  }

  .story-panel__scroll {
    padding: 24px 20px 70px;
  }

  .story-panel h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .section-nav b {
    font-size: 9px;
  }

  .app-shell[data-scene="region"] .section-nav {
    grid-template-columns: repeat(4, 142px);
  }
}

/* V16.2 · salida explícita del panel informativo */
.story-panel__close {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244,239,229,.26);
  border-radius: 50%;
  background: rgba(2,23,13,.74);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.story-panel__close:hover,
.story-panel__close:focus-visible {
  border-color: var(--line-strong);
  background: rgba(17,74,49,.92);
  transform: scale(1.04);
}
.story-panel[aria-hidden="true"] .story-panel__close {
  visibility: hidden;
  pointer-events: none;
}
