/* ==========================================================================
   CATA GANA PROPIEDADES - CINEMATIC LIGHT BOUTIQUE DESIGN SYSTEM
   Engineered with fgcreatiboss.com scroll-scrubbed physics,
   styled in Cata Gana's official Light Luxury Palette (Champagne Sand & Rose Gold)
   ========================================================================== */

:root {
  /* Official Light Luxury Palette */
  --bg-champagne: #FAF8F5;          /* Warm Champagne Sand */
  --bg-surface: #FFFFFF;            /* Pure Niveous White */
  --bg-card: #FFFFFF;
  --bg-card-hover: #FDFBF8;

  /* Typography Colors */
  --text-primary: #111E2E;          /* Deep Slate / Sea Blue */
  --text-secondary: #4A5568;        /* Slate Gray */
  --text-muted: #718096;            /* Muted Gray */

  /* Brand Accents */
  --accent-rose: #C97A7A;           /* Delicate Rose Gold */
  --accent-rose-dark: #A85A5A;      /* Deep Rose Gold */
  --accent-rose-light: #F6EAEA;     /* Tint of Rose */
  --accent-rose-glow: rgba(201, 122, 122, 0.22);

  --accent-forest: #3E5245;         /* Countryside Olive Green */
  --accent-forest-light: #526C5B;
  --accent-forest-glow: rgba(62, 82, 69, 0.20);

  --accent-gold: #D4A373;           /* Warm Golden Details */
  --accent-gold-light: #F5DEB3;
  --accent-emerald: #10B981;

  /* Borders & Scrims */
  --border-subtle: rgba(17, 30, 46, 0.08);
  --border-strong: rgba(17, 30, 46, 0.14);
  --border-rose: rgba(201, 122, 122, 0.35);
  --border-gold: rgba(212, 163, 115, 0.35);

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(17, 30, 46, 0.05);
  --shadow-card: 0 20px 45px rgba(17, 30, 46, 0.08);
  --shadow-deep: 0 30px 70px rgba(17, 30, 46, 0.12);

  /* Unified Superfamily Typography (Plus Jakarta Sans) */
  --font-family-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: var(--font-family-base);
  --font-sans: var(--font-family-base);
  --font-mono: var(--font-family-base);

  /* Cinema Physics */
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.22s ease;
  --transition-smooth: all 0.42s var(--ease-cinema);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-champagne);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  background-color: var(--bg-champagne);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

img, video {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
   1. FLOATING LIGHT CINEMA HUD NAVIGATION (CONTAINED & ZERO OVERFLOW)
   ========================================================================== */
/* Global Top Scroll Progress Bar */
.cinema-global-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-gold), var(--accent-forest));
  z-index: 2000;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px var(--accent-rose-glow);
}

.light-cinema-nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1420px, calc(100vw - 24px));
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px 8px 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  box-shadow: 0 12px 35px rgba(17, 30, 46, 0.09);
  box-sizing: border-box;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hud-logo-svg {
  height: 32px;
  width: auto;
  overflow: visible;
  transition: opacity 0.2s ease;
}

.hud-logo-svg:hover {
  opacity: 0.9;
}

.hud-logo-title {
  font-family: var(--font-family-base);
  font-size: 23px;
  font-weight: 800;
  fill: #111E2E;
  letter-spacing: 0.14em;
}

.hud-logo-subtitle {
  font-family: var(--font-family-base);
  font-size: 10px;
  font-weight: 600;
  fill: #C97A7A;
  letter-spacing: 0.42em;
}

.brand-monogram-light {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-rose-dark));
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--accent-rose-glow);
  flex-shrink: 0;
}

.brand-title-light {
  display: flex;
  flex-direction: column;
}

.brand-title-light strong {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}

.brand-title-light span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-rose-dark);
}

.nav-chapters-light {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(17, 30, 46, 0.04);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}

.nav-chapters-light::-webkit-scrollbar {
  display: none;
}

.nav-link-cinema {
  padding: 6px 11px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link-cinema:hover {
  color: var(--text-primary);
  background: rgba(17, 30, 46, 0.06);
}

.nav-link-cinema.active {
  color: #FFFFFF;
  background: var(--accent-rose-dark);
  box-shadow: 0 2px 10px var(--accent-rose-glow);
}

.nav-actions-light {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(17, 30, 46, 0.05);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-back-home:hover {
  background: rgba(17, 30, 46, 0.10);
}

.btn-wa-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-rose-dark));
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-rose-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-wa-light:hover {
  transform: translateY(-1px);
  background: var(--accent-forest);
  color: #FFFFFF;
}

/* ==========================================================================
   2. SCROLL-SCRUBBED CINEMA STAGE ARCHITECTURE (LIGHT LUXURY)
   ========================================================================== */
.light-cinema-section {
  position: relative;
  width: 100%;
  background: var(--bg-champagne);
  scroll-margin-top: 84px;
}

section[id],
div[id].light-proof-deck,
div[id].light-cinema-track {
  scroll-margin-top: 84px;
}

.light-cinema-track {
  position: relative;
  width: 100%;
  min-height: 82vh;
  height: auto;
  margin-bottom: 0;
}

.light-sticky-viewport {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 82vh;
  overflow: hidden;
  background: var(--bg-champagne);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 80px;
  box-sizing: border-box;
}

.cinema-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: brightness(1.18) saturate(1.14) contrast(1.04);
  pointer-events: none;
}

/* Shaded luxury cinematic scrim: airy daylight balance while floating title card pops */
.light-feather-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(17, 30, 46, 0.04) 0%, rgba(17, 30, 46, 0.24) 100%),
    linear-gradient(180deg, rgba(17, 30, 46, 0.32) 0%, rgba(17, 30, 46, 0.03) 26%, rgba(17, 30, 46, 0.06) 68%, rgba(17, 30, 46, 0.48) 100%);
  pointer-events: none;
}

.light-stage-hud {
  position: relative;
  z-index: 4;
  width: min(1360px, calc(100vw - 48px));
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* Stage Top Bar (Ambient HUD Telemetry — Positioned Clearly Below Nav) */
.stage-top-bar {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1360px, calc(100vw - 48px));
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.stage-coords-pill,
.stage-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(17, 30, 46, 0.06);
}

.stage-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(17, 30, 46, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 177, 177, 0.42);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #F2C9C9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(17, 30, 46, 0.12);
}

.stage-ai-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.stage-mode-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-rose);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-rose-dark);
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 15px var(--accent-rose-glow);
}

.stage-mode-toggle:hover {
  background: var(--accent-rose);
  color: #FFFFFF;
}

.stage-mode-toggle.is-ambient {
  border-color: var(--accent-forest);
  color: var(--accent-forest);
}

.stage-mode-toggle.is-ambient:hover {
  background: var(--accent-forest);
  color: #FFFFFF;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.stage-quick-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.sq-metric {
  background: rgba(17, 30, 46, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

.sq-metric strong {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-primary);
  line-height: 1.1;
}

.sq-metric span {
  font-size: 10.5px;
  color: var(--text-muted);
}

.light-stage-title-card {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-rose);
  border-radius: 24px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 50px rgba(17, 30, 46, 0.12);
}

.light-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-rose-light);
  border: 1px solid var(--border-rose);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-rose-dark);
  font-weight: 700;
}

.light-stage-headline {
  font-family: var(--font-family-base);
  font-size: clamp(1.8rem, 2.9vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
}

.light-stage-headline em,
h1 em, h2 em, h3 em, h4 em {
  font-style: normal;
  font-weight: 300;
  color: var(--accent-rose-dark);
}

.light-stage-sub {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.light-stage-telemetry {
  display: none !important;
}

.telemetry-top-light {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

.telemetry-pct-light {
  color: var(--accent-rose-dark);
  font-weight: 700;
}

.telemetry-track-light {
  width: 100%;
  height: 6px;
  background: rgba(17, 30, 46, 0.08);
  border-radius: 100px;
  overflow: hidden;
}

.telemetry-fill-light {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-gold));
  transition: width 0.05s linear;
}

.telemetry-lbls-light {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   3. ARCHITECTURAL PROOF DECKS (LIGHT LUXURY — COMPACT CONNECTED FLOW)
   ========================================================================== */
.light-proof-deck {
  position: relative;
  z-index: 5;
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 24px 24px;
}

/* ==========================================================================
   4. MACROLOTE DIGITAL MASTERPLAN (ELEVATED EXECUTIVE HUD)
   ========================================================================== */
.masterplan-card-light {
  background: var(--bg-surface);
  border: 1.5px solid rgba(201, 122, 122, 0.38);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 68px rgba(17, 30, 46, 0.12), 0 4px 18px rgba(201, 122, 122, 0.10);
}

.masterplan-top-bar-light {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 36px;
  background: linear-gradient(135deg, #111E2E 0%, #1B2D45 100%);
  border-bottom: 2px solid rgba(201, 122, 122, 0.45);
  color: #FFFFFF;
}

.masterplan-headline-group-light h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.masterplan-headline-group-light h3 em {
  color: #E2B1B1;
  font-weight: 300;
  font-style: normal;
}

.masterplan-headline-group-light p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.masterplan-price-pill-light {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(226, 177, 177, 0.55);
  border-radius: 18px;
  padding: 12px 22px;
  backdrop-filter: blur(10px);
}

.masterplan-price-val-light {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.masterplan-price-sub-light {
  font-size: 11.5px;
  font-weight: 600;
  color: #E2B1B1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* 4-Way Tab Bar */
.masterplan-tabs-light {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #F4EFE6;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px;
  gap: 8px;
}

.tab-btn-master-light {
  padding: 14px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: 14px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab-btn-master-light .tab-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.tab-btn-master-light:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-primary);
}

.tab-btn-master-light.active {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: rgba(201, 122, 122, 0.45);
  box-shadow: 0 6px 18px rgba(17, 30, 46, 0.08);
}

.tab-btn-master-light.active .tab-idx {
  color: var(--accent-rose-dark);
  opacity: 1;
}

/* Tab Stage Body */
.masterplan-body-light {
  padding: 34px 32px;
  background: #FFFFFF;
}

.masterplan-panel-light {
  display: none;
  animation: fadeInLight 0.35s ease;
}

.masterplan-panel-light.active {
  display: block;
}

@keyframes fadeInLight {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.masterplan-grid-light {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.masterplan-media-frame-light {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(17, 30, 46, 0.08);
}

.masterplan-media-frame-light img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-cinema);
}

.masterplan-media-frame-light:hover img {
  transform: scale(1.04);
}

.masterplan-media-frame-light .tag-over {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent-rose-dark);
  border: 1px solid var(--border-rose);
  font-weight: 700;
}

/* Financial Calculator HUD */
.calc-financial-deck-light {
  background: #FAF8F5;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-row-light {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13.5px;
}

.calc-row-light .lbl {
  color: var(--text-secondary);
}

.calc-row-light .val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
}

.calc-row-light.highlight {
  border-bottom: none;
  background: rgba(62, 82, 69, 0.10);
  border: 1px solid rgba(62, 82, 69, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
}

.calc-row-light.highlight .val {
  color: var(--accent-forest);
  font-size: 18px;
}

/* 15-Photo Strip */
.llico-photo-strip-light {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.llico-thumb-light {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: all 0.22s ease;
}

.llico-thumb-light:hover {
  border-color: var(--accent-rose);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--accent-rose-glow);
}

.llico-thumb-light img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Promo Video Showcase Card */
.promo-video-showcase {
  margin-top: 32px;
  background: linear-gradient(135deg, #FAF8F5, #FFFFFF);
  border: 1px solid var(--border-rose);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.promo-video-player {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   5. PARCELAS RADAR & 3 INDEPENDENT PROPERTY CARDS (LIGHT LUXURY)
   ========================================================================== */
.parcelas-radar-light {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.radar-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.parcelas-stack-light {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.parcela-independent-card {
  background: #FAF8F5;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.parcela-independent-card:hover {
  border-color: var(--border-rose);
  box-shadow: var(--shadow-soft);
}

/* Flagship Featured Card: Cielos de Newen Parcela 9 ($17.000.000) */
.parcela-independent-card.parcela-card-featured {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF5F2 100%);
  border: 2px solid var(--accent-rose);
  box-shadow: 0 22px 54px rgba(201, 122, 122, 0.16), 0 4px 16px rgba(17, 30, 46, 0.06);
  position: relative;
}

.parcela-featured-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #111E2E 0%, #1B2D45 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid rgba(226, 177, 177, 0.45);
}

.parcela-owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(17, 30, 46, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}

.parcela-detail-deck-light {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.parcela-gallery-box-light {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-card);
}

.parcela-gallery-box-light img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parcela-carousel-ctrls-light {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.btn-carousel-light {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.btn-carousel-light:hover {
  background: var(--accent-rose);
  color: #FFFFFF;
}

.parcela-specs-grid-light {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.spec-chip-light {
  background: #FAF8F5;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-chip-light strong {
  color: var(--text-primary);
}

/* Buttons */
.btn-cinema-main-rose {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-rose-dark));
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--accent-rose-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cinema-main-rose:hover {
  transform: translateY(-2px);
  background: var(--accent-forest);
  color: #FFFFFF;
}

.btn-cinema-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  background: rgba(17, 30, 46, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-cinema-ghost-dark:hover {
  background: rgba(17, 30, 46, 0.08);
}

/* ==========================================================================
   6. LIGHTBOX MODAL (BULLETPROOF ULTRA-RESPONSIVE FULLSCREEN VIEWER)
   ========================================================================== */
.cinema-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(17, 30, 46, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
  cursor: pointer;
}

.lightbox-content-box {
  position: relative;
  max-width: 94vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.lightbox-content-box img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
  transition: opacity 0.12s ease;
  user-select: none;
}

.lightbox-caption {
  margin-top: 14px;
  font-family: var(--font-family-base);
  font-size: 13.5px;
  font-weight: 500;
  color: #FFFFFF;
  text-align: center;
  max-width: 820px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 100px;
  cursor: default;
  line-height: 1.4;
}

.lightbox-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  z-index: 10;
  cursor: pointer;
}

.lightbox-close-btn:hover {
  background: var(--accent-rose);
  transform: scale(1.08);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #FFFFFF;
  font-size: 24px;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  z-index: 10;
  cursor: pointer;
}

.lightbox-nav-btn:hover {
  background: var(--accent-rose);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn.prev { left: 16px; }
.lightbox-nav-btn.next { right: 16px; }

/* ==========================================================================
   TERRITORIAL ECOSYSTEM BAR (SHOWROOM INTERACTION & UNIFIED MENUS)
   ========================================================================== */
.territorial-ecosystem-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
  position: sticky;
  top: 60px;
  z-index: 900;
  box-shadow: 0 4px 18px rgba(17, 30, 46, 0.04);
}

.eco-bar-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.eco-bar-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.eco-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.eco-pills-row::-webkit-scrollbar {
  display: none;
}

.eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(17, 30, 46, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.eco-pill:hover,
.eco-pill.is-active {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.eco-pill-sector {
  background: rgba(201, 122, 122, 0.10);
  border-color: rgba(201, 122, 122, 0.35);
  color: var(--accent-rose-dark);
}

.eco-pill-sector:hover {
  background: var(--accent-rose);
  color: #FFFFFF;
}

/* ==========================================================================
   7. FOOTER LIGHT BOUTIQUE
   ========================================================================== */
.footer-cinema-light {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 24px 38px;
  color: var(--text-secondary);
}

.footer-inner-light {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-bottom-light {
  max-width: 1360px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   STRATEGIC INVESTOR PILLARS & LIFESTYLE DECKS (LIGHT LUXURY)
   Pure SVG Iconography — Zero Emojis
   ========================================================================== */
.pillars-section-light {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.pillars-header-block {
  margin-bottom: 32px;
}

.pillars-header-block h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.pillars-header-block p {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 820px;
  line-height: 1.65;
}

.investor-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card-light {
  background: #FAF8F5;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.pillar-card-light:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  border-color: rgba(201, 122, 122, 0.4);
  box-shadow: 0 14px 32px rgba(17, 30, 46, 0.08);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(201, 122, 122, 0.12);
  border: 1px solid rgba(201, 122, 122, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent-rose-dark);
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pillar-card-light:hover .pillar-icon-box {
  background: var(--accent-rose);
  color: #FFFFFF;
  transform: scale(1.05);
}

.pillar-card-light h4 {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pillar-card-light p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================================================
   INNOVATIVE PHOTO SEQUENCE GALLERY (LEICA CONTACT STRIP ARCHITECTURE)
   ========================================================================== */
.chapter-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.masterplan-photostrip-wrap {
  padding: 0 32px 32px;
}

.seq-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seq-stage-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border-subtle);
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.seq-stage-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.seq-stage-scrim {
  display: none;
}

.seq-top-meta {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.seq-tag-pill {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(17, 30, 46, 0.12);
  padding: 4px 11px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.seq-count-pill {
  background: rgba(17, 30, 46, 0.88);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.seq-bottom-caption {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: 3;
  background: #111E2E;
  color: #FFFFFF;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.seq-caption-text {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.94);
}

.seq-expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 4px 10px;
  border-radius: 100px;
  color: #FFFFFF;
  text-transform: uppercase;
  white-space: nowrap;
}

.seq-controls-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  background: #FAF8F5;
  border-top: 1px solid var(--border-subtle);
}

.seq-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 11px;
  background: #FFFFFF;
  border: 1px solid rgba(17, 30, 46, 0.14);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.seq-ctrl-btn:hover {
  background: var(--accent-rose-light);
  border-color: var(--accent-rose);
  color: var(--accent-rose-dark);
}

/* Scrub Timeline Strip */
.seq-filmstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 6px;
}

.seq-thumb-cell {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(17, 30, 46, 0.10);
  cursor: pointer;
  background: #E2E8F0;
  transition: all 0.2s ease;
}

.seq-thumb-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.seq-thumb-num {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(17, 30, 46, 0.82);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 5px;
  line-height: 1.2;
}

.seq-thumb-cell:hover img {
  transform: scale(1.08);
}

.seq-thumb-cell.is-active {
  border-color: var(--accent-rose-dark);
  box-shadow: 0 2px 10px var(--accent-rose-glow);
}

.seq-thumb-cell.is-active .seq-thumb-num {
  background: var(--accent-rose-dark);
}

/* Vector SVG Specs Grid */
.specs-svg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 22px;
}

.spec-svg-item {
  background: #FAF8F5;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.spec-svg-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-rose-dark);
  display: grid;
  place-items: center;
}

.spec-svg-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spec-svg-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1120px) {
  .light-cinema-nav {
    width: calc(100vw - 16px);
    padding: 8px 12px;
    gap: 8px;
  }
  .btn-back-home span {
    display: none;
  }
  .masterplan-grid-light, .parcela-detail-deck-light, .promo-video-showcase {
    grid-template-columns: 1fr;
  }
  .investor-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner-light {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .masterplan-tabs-light {
    grid-template-columns: repeat(2, 1fr);
  }
  .llico-photo-strip-light {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  /* --- BARRA SUPERIOR COMPACTA Y CUADRADA EN CELULAR --- */
  .light-cinema-nav {
    top: 8px;
    width: calc(100vw - 16px);
    border-radius: 16px;
    flex-wrap: wrap;
    padding: 7px 10px;
    gap: 6px;
  }

  .nav-brand-cluster {
    gap: 6px;
  }

  .nav-logo-light {
    height: 30px;
  }

  .btn-back-home {
    padding: 5px 9px;
    font-size: 11px;
  }

  .nav-actions-light .btn-dossier-light {
    padding: 5px 9px;
    font-size: 10.5px;
  }

  .btn-wa-light {
    padding: 6px 11px;
    font-size: 11px;
  }

  .nav-chapters-light {
    order: 3;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding: 3px 4px;
    border-radius: 10px;
    justify-content: flex-start;
  }

  .nav-link-cinema {
    font-size: 10.5px;
    padding: 5px 9px;
  }

  /* --- ACTO I & ACTO II: ENCUADRE CINEMÁTICO 16:9 CUADRADO EN MÓVIL --- */
  .light-cinema-track {
    height: auto !important;
    padding: 12px 12px 8px !important;
  }

  #track-llico {
    padding-top: 86px !important;
  }

  #recorrido-llico {
    margin-top: 24px !important;
    padding-top: 0 !important;
  }

  .light-sticky-viewport {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    width: 100% !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(201, 122, 122, 0.36) !important;
    box-shadow: 0 14px 36px rgba(17, 30, 46, 0.10) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .stage-top-bar {
    order: 1;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #111E2E !important;
    padding: 8px 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stage-coords-pill {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #FFFFFF !important;
    font-size: 10px !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    line-height: 1.35 !important;
  }

  .stage-mode-pill,
  .stage-mode-toggle {
    display: none !important;
  }

  .stage-ai-pill {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(226, 177, 177, 0.40) !important;
    padding: 4px 8px !important;
    font-size: 8.5px !important;
    letter-spacing: 0.03em !important;
    color: #F2C9C9 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .stage-ai-pill svg {
    width: 10px !important;
    height: 10px !important;
  }

  .cinema-video-el {
    order: 2;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    display: block !important;
  }

  .light-feather-scrim {
    display: none !important;
  }

  .light-stage-hud {
    order: 3;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 14px 18px !important;
    background: #FFFFFF !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .light-stage-telemetry {
    display: none !important;
  }

  .light-stage-title-card {
    order: 1;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .light-stage-badge {
    font-size: 9.5px !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  .light-stage-headline {
    font-size: 1.32rem !important;
    line-height: 1.22 !important;
    margin-bottom: 8px !important;
  }

  .light-stage-sub {
    font-size: 13px !important;
    line-height: 1.55 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    margin-bottom: 12px !important;
    min-height: auto !important;
  }

  .seq-filmstrip {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
    padding: 4px 0 !important;
    scrollbar-width: none !important;
  }

  .seq-filmstrip::-webkit-scrollbar {
    display: none !important;
  }

  .seq-thumb-cell {
    flex: 0 0 54px !important;
    height: 44px !important;
  }

  .stage-quick-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 10px !important;
    padding-top: 12px !important;
  }

  .sq-metric {
    background: #FAF8F5;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 8px 10px;
  }

  .sq-metric strong {
    font-size: 15px !important;
  }

  .chapter-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .chapter-cta-row .btn-cinema-main-rose,
  .chapter-cta-row .btn-cinema-ghost-dark {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* --- PRESENTACIONES: MASTERPLAN, PARCELAS & DOSSIER LEGAL --- */
  .light-proof-deck {
    padding: 12px 12px 16px !important;
  }

  .pillars-section-light,
  .parcelas-radar-light {
    padding: 20px 15px !important;
    border-radius: 22px !important;
  }

  .masterplan-card-light {
    border-radius: 22px !important;
  }

  .masterplan-top-bar-light {
    padding: 18px 16px !important;
    gap: 14px !important;
  }

  .masterplan-price-pill-light {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
  }

  .masterplan-price-val-light {
    font-size: 18px !important;
  }

  .masterplan-tabs-light {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 8px !important;
    background: #EFECE6 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
  }

  .tab-btn-master-light {
    padding: 10px 10px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(17, 30, 46, 0.08) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
  }

  .tab-btn-master-light.active {
    background: #FFFFFF !important;
    border-color: var(--accent-rose-dark) !important;
    box-shadow: 0 4px 12px rgba(201, 122, 122, 0.16) !important;
  }

  .tab-btn-master-light .tab-idx {
    font-size: 9px !important;
  }

  .masterplan-body-light {
    padding: 18px 15px !important;
  }

  .masterplan-media-frame-light {
    min-height: 220px !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 16px !important;
  }

  .masterplan-photostrip-wrap {
    padding: 0 15px 20px !important;
  }

  .parcela-independent-card {
    padding: 18px 15px !important;
    border-radius: 20px !important;
  }

  .parcela-featured-ribbon {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    padding: 6px 10px;
  }

  .parcela-owner-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .parcela-price-banner-light {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
  }

  .parcela-price-banner-light > div:last-child {
    text-align: left !important;
    padding-top: 6px;
    border-top: 1px solid rgba(201, 122, 122, 0.2);
    width: 100%;
  }

  .footer-bottom-light {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-actions-light .btn-dossier-light {
    display: none;
  }
  .investor-pillars-grid {
    grid-template-columns: 1fr;
  }
  .specs-svg-grid,
  .parcela-specs-grid-light {
    grid-template-columns: 1fr;
  }
  .llico-photo-strip-light {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .seq-top-meta {
    top: 8px;
    left: 8px;
    right: 8px;
  }
  .seq-tag-pill {
    font-size: 8.5px;
    padding: 3px 8px;
    max-width: 68%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .seq-controls-bar {
    grid-template-columns: 1fr 1fr;
    padding: 8px 10px;
  }
  .seq-ctrl-btn {
    font-size: 11px;
    padding: 8px 8px;
  }
  .seq-thumb-num {
    font-size: 8px;
    padding: 1px 4px;
  }
  .calc-row-light {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .roi-slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .offgrid-addon-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .addon-price-badge {
    margin-left: 34px;
  }
  .offgrid-summary-panel {
    position: relative;
    top: auto;
    padding: 20px 18px;
    border-radius: 18px;
  }
}

/* ==========================================================================
   MODULAR COMPONENTS: CERTEZA JURÍDICA, SIMULADOR ROI & CONFIGURADOR OFF-GRID
   100% Unified Plus Jakarta Sans Hierarchy
   ========================================================================== */

/* 1. Dossier de Certeza Jurídica & Benchmark Competitivo */
.legal-certainty-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-card);
  margin-top: 28px;
}

.legal-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}

.legal-header-row h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.legal-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62, 82, 69, 0.08);
  border: 1px solid rgba(62, 82, 69, 0.25);
  color: var(--accent-forest);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 999px;
}

.registry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.registry-item {
  background: var(--bg-champagne);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition-fast);
}

.registry-item:hover {
  border-color: var(--border-rose);
  background: #FFFFFF;
  box-shadow: var(--shadow-soft);
}

.registry-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-rose-dark);
}

.registry-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.registry-sub {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Benchmark Comparison Strip */
.benchmark-compare-box {
  background: #111E2E;
  color: #FFFFFF;
  border-radius: 22px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.benchmark-col h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E2B1B1;
  margin-bottom: 6px;
}

.benchmark-col p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.benchmark-stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
}

.benchmark-stat-card.highlight {
  background: linear-gradient(135deg, rgba(201, 122, 122, 0.25), rgba(17, 30, 46, 0.9));
  border-color: rgba(226, 177, 177, 0.45);
}

.benchmark-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-bottom: 4px;
}

.benchmark-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
}

.benchmark-stat-note {
  font-size: 11.5px;
  color: #E2B1B1;
  font-weight: 500;
}

/* 2. Interactive Developer ROI Simulator (Llico Tab 4) */
.roi-simulator-box {
  background: var(--bg-champagne);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.roi-slider-val {
  font-weight: 800;
  color: var(--accent-rose-dark);
  background: var(--accent-rose-light);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
}

.roi-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(17, 30, 46, 0.14);
  outline: none;
  cursor: pointer;
}

.roi-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-rose-dark);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(17, 30, 46, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.roi-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

/* 3. Configurador Interactivo "Terreno + Habilitación Llave en Mano (Off-Grid)" */
.offgrid-configurator-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-card);
  margin-top: 32px;
}

.offgrid-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.offgrid-step-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-rose-dark);
  margin-bottom: 12px;
  display: block;
}

.offgrid-lot-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.offgrid-lot-btn {
  background: var(--bg-champagne);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offgrid-lot-btn:hover {
  border-color: var(--border-rose);
  background: #FFFFFF;
}

.offgrid-lot-btn.is-selected {
  background: var(--accent-rose-light);
  border-color: var(--accent-rose-dark);
  box-shadow: 0 8px 20px rgba(201, 122, 122, 0.15);
}

.offgrid-lot-btn .lot-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.offgrid-lot-btn .lot-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-rose-dark);
}

.offgrid-lot-btn .lot-meta {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.offgrid-addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offgrid-addon-item {
  background: var(--bg-champagne);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.offgrid-addon-item:hover {
  border-color: var(--border-rose);
  background: #FFFFFF;
}

.offgrid-addon-item.is-checked {
  background: #FFFFFF;
  border-color: var(--accent-forest);
  box-shadow: 0 8px 22px rgba(62, 82, 69, 0.10);
}

.addon-check-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.addon-checkbox-ui {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--border-strong);
  background: #FFFFFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-fast);
  color: transparent;
}

.offgrid-addon-item.is-checked .addon-checkbox-ui {
  background: var(--accent-forest);
  border-color: var(--accent-forest);
  color: #FFFFFF;
}

.addon-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.addon-info p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.addon-price-badge {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--accent-forest);
  background: rgba(62, 82, 69, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.offgrid-summary-panel {
  background: #111E2E;
  color: #FFFFFF;
  border-radius: 24px;
  padding: 28px;
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offgrid-summary-panel h4 {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.offgrid-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.offgrid-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.offgrid-sum-row strong {
  color: #FFFFFF;
  font-weight: 700;
}

.offgrid-total-box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 4px;
}

.offgrid-total-lbl {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E2B1B1;
}

.offgrid-total-val {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

@media (max-width: 1024px) {
  .registry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benchmark-compare-box,
  .offgrid-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .registry-grid,
  .offgrid-lot-options {
    grid-template-columns: 1fr;
  }
  .legal-certainty-card,
  .offgrid-configurator-card {
    padding: 22px 18px;
  }
}

/* ==========================================================================
   MOBILE HARDENING (360-430px): sin desbordes, menu y logo contenidos
   ========================================================================== */
@media (max-width: 900px) {
  html, body { max-width: 100vw; overflow-x: hidden; }
  img, video, svg, iframe, table { max-width: 100%; }
  main, section, article, div { min-width: 0; }

  .light-cinema-nav {
    left: 8px !important;
    transform: none !important;
    width: calc(100vw - 16px) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255,255,255,0.98) !important;
    flex-wrap: wrap !important;
    padding: 6px 10px !important;
  }
  .light-cinema-nav .hud-logo-svg,
  .light-cinema-nav .nav-logo-light svg,
  .light-cinema-nav .brand-cluster svg { height: 28px !important; max-width: 150px; }
  .nav-actions-light { display: flex; gap: 6px; flex-wrap: nowrap; margin-left: auto; }
  .nav-actions-light .btn-back-home,
  .nav-actions-light .btn-wa-light { padding: 6px 9px !important; font-size: 10.5px !important; white-space: nowrap; }
  .nav-chapters-light { overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; }
  body { padding-top: 0; }
  body > main, .territory-hero { scroll-margin-top: 110px; }
  .territory-hero { padding-top: 130px !important; }

  /* Dropdown Sectores: panel fijo a ancho de pantalla */
  .nav-dropdown-menu {
    position: fixed !important;
    left: 8px !important; right: 8px !important;
    top: 112px !important;
    transform: none !important;
    min-width: 0 !important; width: auto !important;
    max-height: 70vh; overflow-y: auto;
  }
  .nav-item-dropdown:hover .nav-dropdown-menu,
  .nav-item-dropdown:focus-within .nav-dropdown-menu { opacity: 0; visibility: hidden; pointer-events: none; }
  .nav-item-dropdown.is-open .nav-dropdown-menu { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }

  /* Barra territorial del showroom */
  .territorial-ecosystem-bar { position: static !important; padding: 8px 10px; margin-top: 96px; }
  .eco-bar-inner { flex-direction: column; align-items: stretch; gap: 6px; }
  .eco-pills-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }

  /* Escenas, metricas, tarjetas, simuladores */
  .stage-quick-metrics { grid-template-columns: repeat(2, 1fr) !important; }
  .light-stage-hud, .light-stage-title-card, .masterplan-grid-light,
  .investor-pillars-grid, .parcela-detail-deck-light, .roi-simulator-box,
  .offgrid-configurator-card, .legal-certainty-card { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
  .masterplan-grid-light, .parcela-detail-deck-light, .investor-pillars-grid,
  .sheet-layout-grid, .sheet-header-grid, .territory-grid { grid-template-columns: 1fr !important; }
  .light-stage-headline { font-size: clamp(1.5rem, 7vw, 2rem) !important; overflow-wrap: anywhere; }
  .chapter-cta-row { flex-direction: column; align-items: stretch; }
  .chapter-cta-row a, .chapter-cta-row button { justify-content: center; text-align: center; width: 100%; }
  .legal-header-row { flex-direction: column; align-items: flex-start; }
  .seq-controls-bar { flex-wrap: wrap; }
  .lightbox-nav-btn.prev { left: 6px; } .lightbox-nav-btn.next { right: 6px; }
  .lightbox-caption { font-size: 12px; max-width: 94vw; border-radius: 14px; }
}

/* ===== MOBILE FIX 2: header en una fila, fotos dentro de tarjeta, textos sin cortar ===== */
@media (max-width: 900px) {
  .light-cinema-nav { align-items: center !important; row-gap: 6px !important; }
  .light-cinema-nav .brand-cluster, .light-cinema-nav .nav-brand-cluster { flex: 0 0 auto !important; }
  .light-cinema-nav .hud-logo-svg, .light-cinema-nav .nav-logo-light svg { height: 26px !important; max-width: 118px !important; }
  .nav-actions-light { flex: 1 1 0 !important; justify-content: flex-end !important; min-width: 0; flex-wrap: nowrap !important; }
  .nav-actions-light a[href*="captacion-chat"] { display: none !important; }
  .nav-actions-light .btn-back-home span { display: none !important; }
  .nav-actions-light .btn-back-home { width: 34px; height: 34px; padding: 0 !important; justify-content: center; flex: 0 0 auto; }
  .nav-actions-light .btn-wa-light { flex: 0 1 auto; min-width: 0; }
  .nav-chapters-light { flex: 1 0 100% !important; order: 3; }

  /* Fotos y marcos nunca mas anchos que su tarjeta */
  .masterplan-media-frame-light, .masterplan-grid-light > *, .masterplan-panel-light,
  .masterplan-photostrip-wrap, .seq-gallery-container, .seq-stage-box, .parcela-independent-card {
    width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
  .masterplan-media-frame-light { overflow: hidden; }
  .masterplan-media-frame-light img, .seq-stage-img { width: 100% !important; height: auto; object-fit: cover; }
  .masterplan-photostrip-wrap { padding-left: 0; padding-right: 0; }

  /* Textos largos: que envuelvan en lugar de cortarse */
  .stage-coords-pill, .stage-coords-pill span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  .masterplan-photostrip-wrap span { letter-spacing: 0.03em !important; font-size: 11px !important; }
  .light-stage-badge { white-space: normal; text-align: left; line-height: 1.35; }
  .stage-top-bar { flex-wrap: wrap !important; }
}

/* ===== MOBILE FIX 3: barra superior NO fija (no tapa contenido), tira deslizable ===== */
@media (max-width: 900px) {
  .light-cinema-nav {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: calc(100% - 16px) !important;
    margin: 8px auto 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 14px rgba(17,30,46,0.08) !important;
  }
  .nav-chapters-light {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .nav-chapters-light > * { flex: 0 0 auto; scroll-snap-align: start; }
  .nav-dropdown-menu { top: 64px !important; z-index: 100000 !important; }

  /* Quitar los espacios que compensaban la barra fija */
  .territory-hero { padding-top: 36px !important; }
  .territorial-ecosystem-bar { margin-top: 8px !important; }
  #track-llico { padding-top: 12px !important; }
  .sheet-container { padding-top: 16px !important; }
  .cinema-global-progress { z-index: 2000; }
  section[id], div[id].light-proof-deck, div[id].light-cinema-track { scroll-margin-top: 12px; }
}
