/* ==========================================================================
   CATA GANA PROPIEDADES — CAPA CINEMÁTICA (LANDING)
   Capa aditiva sobre styles.css (sitio publicado). No reemplaza estilos base:
   agrega apertura de cine, revelados sincronizados al scroll y la vitrina
   de propiedades en venta. Paleta clara oficial: Champagne · Rose Gold · Olivo.
   ========================================================================== */

:root {
  --cg-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --cg-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --cg-ink: #111E2E;
  --cg-rose: #C97A7A;
  --cg-rose-dark: #A85A5A;
  --cg-rose-soft: #F6EAEA;
  --cg-olive: #3E5245;
  --cg-sand: #FAF8F5;
  --cg-gold: #D4A373;
  --cg-mono: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   0. Barra de progreso de lectura (fina, rose gold)
   -------------------------------------------------------------------------- */
.cg-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cg-rose), var(--cg-gold));
  z-index: 1100;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   1. APERTURA DE CINE EN EL HERO
   -------------------------------------------------------------------------- */
.hero-section.cg-hero {
  height: 100svh;
  min-height: 640px;
}

/* Barras de letterbox deshabilitadas para no oscurecer la apertura */
.cg-letterbox {
  display: none !important;
}

/* El video del hero respira con el scroll con colores claros y cálidos */
.cg-hero .hero-bg {
  transform: scale(calc(1.01 + var(--hero-p, 0) * 0.08)) !important;
  will-change: transform;
}
.cg-hero .hero-overlay {
  background:
    radial-gradient(ellipse 58% 44% at 50% 48%, rgba(11, 21, 34, 0.36) 0%, rgba(11, 21, 34, 0.14) 62%, rgba(11, 21, 34, 0.04) 100%),
    linear-gradient(180deg, rgba(11, 21, 34, 0.42) 0%, rgba(11, 21, 34, 0.08) 38%, rgba(11, 21, 34, 0.12) 68%, rgba(11, 21, 34, 0.54) 100%) !important;
}
.cg-hero .hero-content-wrapper {
  padding: 20px 24px 36px !important;
  margin-top: 44px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 3;
}
.cg-hero .hero-badge {
  background-color: rgba(11, 21, 34, 0.72) !important;
  border: 1px solid rgba(226, 177, 177, 0.68) !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cg-badge-sep {
  color: #E2B1B1;
  font-weight: 700;
  opacity: 0.9;
}
#hero-live-zone {
  color: #F5D0D0;
  font-weight: 700;
  transition: opacity 0.32s ease;
}
.cg-hero .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.3vw, 3.85rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  color: #FFFFFF !important;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.92),
    0 8px 30px rgba(11, 21, 34, 0.95),
    0 0 56px rgba(11, 21, 34, 0.8) !important;
}
.cg-hero .hero-subtitle {
  color: #FFFFFF !important;
  font-weight: 500 !important;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 6px 24px rgba(11, 21, 34, 0.95) !important;
  font-size: 1.08rem !important;
  max-width: 780px !important;
  margin: 0 auto 28px !important;
}
.btn-hero-showroom {
  background-color: rgba(11, 21, 34, 0.68) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(226, 177, 177, 0.88) !important;
  backdrop-filter: blur(8px);
}
.btn-hero-showroom:hover {
  background-color: #FFFFFF !important;
  color: #111E2E !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   MULTI-DESTINATION CINEMATIC REEL IN HERO (Bucalemu, Llico, Paredones, Vichuquén)
   ========================================================================== */
.cg-hero-reel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0B1522;
}
.cg-reel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 1.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 6.2s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
  will-change: opacity, transform;
}
.cg-reel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.cg-reel-slide .hero-video-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(1.32) saturate(1.18) contrast(1.05);
}
.cg-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Live Location Indicator Pill */
.cg-live-loc-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  padding: 8px 18px !important;
  border-radius: 999px !important;
}
.cg-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E2B1B1;
  box-shadow: 0 0 0 4px rgba(226, 177, 177, 0.25);
  animation: cgLivePulse 2s infinite;
  flex-shrink: 0;
}
@keyframes cgLivePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

/* Interactive 4-Destination Selector Bar at Bottom of Hero */
.cg-hero-destinations {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 4;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  opacity: calc(1 - var(--hero-p, 0) * 2);
}
.cg-dest-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px 14px;
  background: rgba(11, 21, 34, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}
.cg-dest-pill:hover {
  background: rgba(11, 21, 34, 0.82);
  border-color: rgba(226, 177, 177, 0.68);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.cg-dest-pill.is-active {
  background: rgba(11, 21, 34, 0.86);
  border-color: #E2B1B1;
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}
.cg-dest-num {
  font-family: var(--cg-mono);
  font-size: 11px;
  font-weight: 700;
  color: #E2B1B1;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(226, 177, 177, 0.16);
}
.cg-dest-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cg-dest-info strong {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cg-dest-info small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.74);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cg-dest-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.cg-dest-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C97A7A, #E2B1B1);
}
.cg-dest-pill.is-active .cg-dest-fill {
  width: 100%;
  transition: width var(--reel-duration, 4800ms) linear;
}
@media (max-width: 900px) {
  .cg-hero-destinations {
    grid-template-columns: repeat(2, 1fr);
    bottom: 14px;
    gap: 8px;
  }
  .cg-dest-pill {
    padding: 9px 12px 12px;
  }
}
.cg-hero-meta {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7) !important;
  font-weight: 600 !important;
}
.cg-hero .hero-content-wrapper {
  opacity: calc(1 - var(--hero-p, 0) * 1.4);
  transform: translateY(calc(var(--hero-p, 0) * -80px));
  will-change: transform, opacity;
}

/* Titular palabra por palabra */
.cg-hero .hero-title,
.cg-hero .hero-subtitle,
.cg-hero .hero-actions,
.cg-hero .hero-badge {
  animation: none !important;
  opacity: 1;
}
.cg-hero .hero-title { font-weight: 500; }
.cg-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0 0.03em 0.1em;
}
.cg-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--cg-ease);
  transition-delay: calc(0.9s + var(--i, 0) * 0.08s);
}
.cg-ready .cg-word > span { transform: translateY(0); }
.cg-hero .hero-title em {
  font-style: italic;
  color: #F2C9C9;
}

.cg-fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--cg-ease), transform 1.1s var(--cg-ease);
  transition-delay: var(--d, 1.4s);
}
.cg-ready .cg-fade-in { opacity: 1; transform: none; }

/* Telemetría del territorio, abajo del hero */
.cg-hero-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: var(--cg-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  opacity: calc(1 - var(--hero-p, 0) * 2);
}
.cg-hero-meta .cg-places span + span::before {
  content: '·';
  margin: 0 10px;
  color: var(--cg-rose);
}
.cg-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cg-scroll-cue i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
  transform-origin: top;
  animation: cgCue 2.2s var(--cg-ease-io) infinite;
}
@keyframes cgCue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* --------------------------------------------------------------------------
   2. REVELADOS SINCRONIZADOS AL SCROLL (toda la landing)
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--cg-ease), transform 1.1s var(--cg-ease);
  transition-delay: calc(var(--stagger, 0) * 0.09s);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Imágenes que se revelan con cortina */
.cg-curtain {
  position: relative;
  overflow: hidden;
}
.cg-curtain::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cg-sand);
  transform-origin: right;
  transition: transform 1.3s var(--cg-ease-io);
  z-index: 3;
}
.cg-curtain.is-in::after { transform: scaleX(0); }

/* --------------------------------------------------------------------------
   3. VITRINA DE PROPIEDADES EN VENTA
   -------------------------------------------------------------------------- */
.cg-showcase {
  position: relative;
  background: var(--cg-sand);
  padding: 120px 0 0;
}

.cg-showcase-intro {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}
.cg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--cg-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cg-rose-dark);
  margin-bottom: 20px;
}
.cg-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--cg-rose);
}
.cg-display {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--cg-ink);
}
.cg-display em {
  font-style: italic;
  color: var(--cg-rose-dark);
}
.cg-showcase-intro p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 480px;
}

/* ---- 3A. LLICO: panel que se expande a pantalla completa con el scroll ---- */
.cg-feature-track {
  position: relative;
  height: 260vh;
}
.cg-feature-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cg-feature-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--cg-ink);
  /* --fp: progreso 0→1 controlado por JS. Inset 8vw/12vh → 0 (pantalla completa) */
  clip-path: inset(
    calc((1 - var(--fp, 0)) * 12vh)
    calc((1 - var(--fp, 0)) * 8vw)
    calc((1 - var(--fp, 0)) * 12vh)
    calc((1 - var(--fp, 0)) * 8vw)
    round calc((1 - var(--fp, 0)) * 28px)
  );
  will-change: clip-path;
}
.cg-feature-frame video,
.cg-feature-frame .cg-feature-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.18 - var(--fp, 0) * 0.18));
  filter: brightness(1.18) saturate(1.12) contrast(1.04);
  will-change: transform;
}
.cg-feature-frame::after {
  display: none !important;
}

.cg-feature-copy {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1300px) / 2 + 24px));
  top: 50%;
  transform: translateY(-50%);
  max-width: 600px;
  color: #FFFFFF;
}
.cg-feature-copy .cg-eyebrow { color: #F2C9C9; }
.cg-feature-copy .cg-eyebrow::before { background: #F2C9C9; }

/* Cada línea entra sincronizada con el progreso del panel */
.cg-sync {
  opacity: clamp(0, calc((var(--fp, 0) - var(--at, 0.5)) * 6), 1);
  transform: translateY(calc(clamp(0, calc(1 - (var(--fp, 0) - var(--at, 0.5)) * 6), 1) * 28px));
}

.cg-feature-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cg-feature-copy h3 em {
  font-style: italic;
  color: #F2C9C9;
}
.cg-feature-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 26px;
}
.cg-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  margin-bottom: 30px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.cg-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: #FFFFFF;
}
.cg-stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--cg-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.cg-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.cg-price {
  font-family: var(--cg-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}
.cg-price small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.cg-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 100px;
  background: var(--cg-rose);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(201, 122, 122, 0.35);
  transition: transform 0.4s var(--cg-ease), background 0.4s var(--cg-ease), box-shadow 0.4s var(--cg-ease);
}
.cg-btn:hover {
  transform: translateY(-2px);
  background: var(--cg-rose-dark);
  box-shadow: 0 14px 36px rgba(168, 90, 90, 0.42);
}
.cg-btn svg { transition: transform 0.4s var(--cg-ease); }
.cg-btn:hover svg { transform: translate(3px, -3px); }
.cg-btn.ghost {
  background: transparent;
  color: var(--cg-ink);
  border: 1.5px solid rgba(17, 30, 46, 0.18);
  box-shadow: none;
}
.cg-btn.ghost:hover {
  background: var(--cg-ink);
  color: #FFFFFF;
  border-color: var(--cg-ink);
}

/* Marcador de esquina tipo HUD de cine */
.cg-feature-hud {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1300px) / 2 + 24px));
  bottom: 34px;
  font-family: var(--cg-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  line-height: 1.9;
}
.cg-feature-hud b {
  color: #F2C9C9;
  font-weight: 600;
}
.cg-rec {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #E66A6A;
  animation: cgRec 1.6s infinite;
  vertical-align: middle;
}
@keyframes cgRec { 50% { opacity: 0.25; } }

/* ---- 3B. PARCELAS: díptico editorial ---- */
.cg-parcels {
  max-width: 1300px;
  margin: 0 auto;
  padding: 120px 24px 130px;
}
.cg-parcels-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}
.cg-parcels-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cg-ink);
  max-width: 640px;
}
.cg-parcels-head h3 em { font-style: italic; color: var(--cg-rose-dark); }
.cg-parcels-head p {
  max-width: 380px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Legacy styles removed for pure Light Boutique diptych architecture */

/* Cinta de cierre de la vitrina */
.cg-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(17, 30, 46, 0.08);
  border-bottom: 1px solid rgba(17, 30, 46, 0.08);
  background: #FFFFFF;
  padding: 22px 0;
}
.cg-marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: cgMarquee 38s linear infinite;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cg-ink);
  white-space: nowrap;
}
.cg-marquee-track span::after {
  content: '✦';
  margin-left: 56px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--cg-rose);
}
@keyframes cgMarquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   3C. SHOWCASE EXPANDED VIEWPORT & EDITORIAL DIPTYCH (MATCHING INDEX.HTML)
   -------------------------------------------------------------------------- */
.cg-showcase {
  position: relative;
  width: 100%;
  background: var(--cg-sand);
  padding-top: 80px;
}

.cg-showcase-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 56px;
}

.cg-showcase-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.cg-feature-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 30, 46, 0.22) 0%, rgba(17, 30, 46, 0.03) 38%, rgba(17, 30, 46, 0.62) 100%),
    linear-gradient(90deg, rgba(17, 30, 46, 0.42) 0%, rgba(17, 30, 46, 0.05) 55%, rgba(17, 30, 46, 0.22) 100%);
  pointer-events: none;
}

/* Top HUD Telemetry on Llico Flagship */
.cg-feature-hud-top {
  position: absolute;
  top: 32px;
  left: max(24px, calc((100vw - 1320px) / 2 + 24px));
  right: max(24px, calc((100vw - 1320px) / 2 + 24px));
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.cg-hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--cg-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cg-rose-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.cg-hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E66A6A;
  box-shadow: 0 0 6px #E66A6A;
  animation: cgRec 1.6s infinite;
}

.cg-hud-coords {
  font-family: var(--cg-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* AI Video Transparency Badges */
.cg-hero-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 21, 34, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 177, 177, 0.35);
  color: #F2C9C9;
  border-radius: 100px;
  padding: 4px 12px;
  font-family: var(--cg-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

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

.cg-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(17, 30, 46, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 177, 177, 0.38);
  border-radius: 100px;
  padding: 5px 12px;
  font-family: var(--cg-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #F2C9C9;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

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

.cg-ai-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(201, 122, 122, 0.12);
  border: 1px solid rgba(201, 122, 122, 0.40);
  border-radius: 100px;
  padding: 5px 12px;
  font-family: var(--cg-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #A85A5A;
  margin-bottom: 12px;
  width: fit-content;
}

.cg-ai-badge-card svg {
  flex-shrink: 0;
  stroke: #C97A7A;
}

/* Bottom HUD & Editorial Panel on Llico Flagship */
.cg-feature-hud-bottom {
  position: absolute;
  bottom: 36px;
  left: max(24px, calc((100vw - 1320px) / 2 + 24px));
  right: max(24px, calc((100vw - 1320px) / 2 + 24px));
  z-index: 3;
}

.cg-feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: flex-end;
}

.cg-feature-info {
  color: #FFFFFF;
}

.cg-feature-eyebrow {
  font-family: var(--cg-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F2C9C9;
  margin-bottom: 8px;
}

.cg-feature-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.cg-feature-summary {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
  margin-bottom: 20px;
}

.cg-feature-summary strong {
  color: #FFFFFF;
}

.cg-feature-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cg-metric {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
}

.cg-metric-val {
  font-family: var(--cg-mono);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
}

.cg-metric-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 3px;
}

.cg-feature-cta-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(201, 122, 122, 0.35);
  box-shadow: 0 16px 45px rgba(17, 30, 46, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cg-price-tag {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cg-price-label {
  font-family: var(--cg-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #718096;
}

.cg-price-amount {
  font-family: var(--cg-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--cg-ink);
}

.cg-price-note {
  font-size: 11.5px;
  color: var(--cg-rose-dark);
  font-weight: 600;
}

.cg-btn-cinema {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--cg-rose), var(--cg-rose-dark));
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(201, 122, 122, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cg-btn-cinema:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 90, 90, 0.45);
  color: #FFFFFF;
}

.cg-btn-cinema svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.22s ease;
}

.cg-btn-cinema:hover svg {
  transform: translateX(3px);
}

.cg-btn-ghost-light {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(17, 30, 46, 0.04);
  border: 1px solid rgba(17, 30, 46, 0.12);
  color: var(--cg-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

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

/* Diptych Section */
.cg-diptych-wrapper {
  padding: 80px 0 100px;
}

.cg-diptych-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

.cg-diptych-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cg-diptych-grid.cg-triptych-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cg-parcel-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(17, 30, 46, 0.08);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(17, 30, 46, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cg-parcel-card.cg-parcel-card--featured {
  border: 2px solid var(--cg-rose);
  box-shadow: 0 22px 54px rgba(201, 122, 122, 0.18), 0 6px 20px rgba(17, 30, 46, 0.06);
}

.cg-parcel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(17, 30, 46, 0.10);
}

.cg-parcel-media {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #E2E8F0;
  flex-shrink: 0;
}

.cg-parcel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.cg-parcel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.cg-parcel-slide.is-active {
  opacity: 1;
}

.cg-parcel-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 30, 46, 0.25) 0%, rgba(17, 30, 46, 0) 50%, rgba(17, 30, 46, 0.45) 100%);
  pointer-events: none;
}

.cg-parcel-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
  flex-wrap: wrap;
}

.cg-badge-exclusiva {
  background: rgba(201, 122, 122, 0.95);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--cg-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cg-badge-surface {
  background: rgba(17, 30, 46, 0.88);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--cg-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.cg-parcel-price-float {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 30, 46, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  z-index: 2;
  text-align: right;
}

.cg-parcel-price-float .lbl {
  display: block;
  font-family: var(--cg-mono);
  font-size: 9.5px;
  color: #718096;
  text-transform: uppercase;
}

.cg-parcel-price-float .val {
  display: block;
  font-family: var(--cg-mono);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--cg-ink);
}

.cg-parcel-body {
  position: static !important;
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.cg-parcel-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cg-mono);
  font-size: 11px;
  color: var(--cg-rose-dark);
  margin-bottom: 8px;
}

.cg-parcel-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cg-ink);
  margin-bottom: 10px;
  line-height: 1.2;
}

.cg-parcel-desc {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.cg-parcel-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.cg-spec-chip {
  background: #FAF8F5;
  border: 1px solid rgba(17, 30, 46, 0.07);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-align: left;
  line-height: 1.35;
}

.cg-spec-chip strong {
  color: var(--cg-rose-dark);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  display: block;
}

.cg-parcel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(17, 30, 46, 0.08);
  padding-top: 16px;
  margin-top: auto;
}

.cg-link-cinema {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--cg-rose-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cg-link-cinema:hover {
  color: var(--cg-olive);
}

.cg-link-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201, 122, 122, 0.12);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.cg-link-arrow svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.cg-link-cinema:hover .cg-link-arrow {
  transform: translateX(3px);
}

.cg-mid-portal-wrap {
  margin-top: 36px;
  margin-bottom: -24px;
}

.cg-portal-banner {
  background: linear-gradient(135deg, #FAF8F5, #FFFFFF);
  border: 1px solid rgba(201, 122, 122, 0.32);
  border-radius: 24px;
  padding: 32px 38px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 12px 35px rgba(17, 30, 46, 0.04);
}

.cg-portal-text h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cg-ink);
  margin-bottom: 6px;
}

.cg-portal-text p {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. CERTEZA JURÍDICA & CONFIGURADOR OFF-GRID EN LANDING PRINCIPAL
   -------------------------------------------------------------------------- */
.cg-legal-banner {
  background: #FFFFFF;
  border: 1px solid rgba(17, 30, 46, 0.08);
  border-radius: 24px;
  padding: 28px 32px;
  margin-top: 32px;
  box-shadow: 0 12px 35px rgba(17, 30, 46, 0.05);
}

.cg-legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.cg-legal-pill-box {
  background: #FAF8F5;
  border: 1px solid rgba(17, 30, 46, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.cg-legal-pill-box .val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--cg-ink);
}

.cg-legal-pill-box .sub {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* Configurador Llave en Mano en Landing */
.cg-offgrid-section {
  background: #FFFFFF;
  border: 1px solid rgba(17, 30, 46, 0.09);
  border-radius: 28px;
  padding: 36px;
  margin-top: 42px;
  box-shadow: 0 20px 50px rgba(17, 30, 46, 0.06);
}

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

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

.cg-lot-card-btn {
  background: #FAF8F5;
  border: 1.5px solid rgba(17, 30, 46, 0.09);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-family-base);
}

.cg-lot-card-btn:hover {
  border-color: rgba(201, 122, 122, 0.45);
  background: #FFFFFF;
}

.cg-lot-card-btn.is-active {
  background: #F6EAEA;
  border-color: #A85A5A;
  box-shadow: 0 8px 20px rgba(201, 122, 122, 0.14);
}

.cg-lot-card-btn .t-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #111E2E;
}

.cg-lot-card-btn .t-price {
  font-size: 15px;
  font-weight: 800;
  color: #A85A5A;
}

.cg-lot-card-btn .t-meta {
  font-size: 11.5px;
  color: #4A5568;
}

.cg-addon-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cg-addon-row {
  background: #FAF8F5;
  border: 1.5px solid rgba(17, 30, 46, 0.09);
  border-radius: 16px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.cg-addon-row:hover {
  border-color: rgba(201, 122, 122, 0.45);
  background: #FFFFFF;
}

.cg-addon-row.is-active {
  background: #FFFFFF;
  border-color: #3E5245;
  box-shadow: 0 8px 22px rgba(62, 82, 69, 0.10);
}

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

.cg-addon-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid rgba(17, 30, 46, 0.2);
  background: #FFFFFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: transparent;
  transition: all 0.2s ease;
}

.cg-addon-row.is-active .cg-addon-check {
  background: #3E5245;
  border-color: #3E5245;
  color: #FFFFFF;
}

.cg-addon-text h5 {
  font-size: 14px;
  font-weight: 700;
  color: #111E2E;
  margin-bottom: 3px;
}

.cg-addon-text p {
  font-size: 12.5px;
  color: #4A5568;
  line-height: 1.45;
}

.cg-addon-price {
  font-size: 13px;
  font-weight: 800;
  color: #3E5245;
  background: rgba(62, 82, 69, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

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

.cg-offgrid-summary h4 {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.cg-sum-lines {
  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);
}

.cg-sum-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
}

.cg-sum-line strong {
  color: #FFFFFF;
  font-weight: 700;
}

.cg-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

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

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

/* --------------------------------------------------------------------------
   5. RESPONSIVE (100% MOBILE & TABLET CINEMA ARCHITECTURE AT END OF FILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cg-showcase-intro { grid-template-columns: 1fr; gap: 20px; }
  .cg-feature-grid { grid-template-columns: 1fr; }
  .cg-diptych-grid,
  .cg-diptych-grid.cg-triptych-grid { grid-template-columns: 1fr; }
  .cg-diptych-header { flex-direction: column; align-items: flex-start; }
  .cg-portal-banner { flex-direction: column; align-items: flex-start; }
  .cg-stats { grid-template-columns: repeat(2, auto); gap: 18px 28px; }
  .cg-legal-grid { grid-template-columns: repeat(2, 1fr); }
  .cg-offgrid-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* --- 5.1 HERO CINEMA EN CELULAR: PANTALLA COMPLETA FLUIDA CON VIDEO CONTINUO --- */
  .hero-section.cg-hero {
    position: relative !important;
    height: auto !important;
    min-height: 100svh !important;
    padding: 82px 14px 20px !important;
    background: #0B1522 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 14px !important;
    overflow: hidden !important;
  }

  .cg-hero .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: 0 !important;
  }

  .cg-hero .hero-overlay {
    background:
      radial-gradient(ellipse 90% 65% at 50% 40%, rgba(11, 21, 34, 0.50) 0%, rgba(11, 21, 34, 0.22) 65%, rgba(11, 21, 34, 0.12) 100%),
      linear-gradient(180deg, rgba(11, 21, 34, 0.58) 0%, rgba(11, 21, 34, 0.18) 35%, rgba(11, 21, 34, 0.76) 100%) !important;
  }

  .cg-hero .hero-content-wrapper {
    position: relative !important;
    z-index: 3 !important;
    margin: auto 0 !important;
    padding: 10px 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    text-align: center !important;
  }

  .cg-hero-badge-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
  }

  .cg-live-loc-badge {
    font-size: 10.5px !important;
    letter-spacing: 0.06em !important;
    padding: 5px 12px !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
  }

  .cg-hero-ai-pill {
    font-size: 9px !important;
    padding: 4px 10px !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    line-height: 1.25 !important;
  }

  .cg-hero .hero-title {
    font-size: clamp(1.75rem, 6.6vw, 2.25rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
  }

  .cg-hero .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.52 !important;
    margin-bottom: 18px !important;
  }

  .cg-hero .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
  }

  .cg-hero .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 16px !important;
    font-size: 0.88rem !important;
  }

  .cg-hero-destinations {
    position: relative !important;
    z-index: 3 !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cg-dest-pill {
    padding: 9px 10px !important;
    border-radius: 12px !important;
    background: rgba(11, 21, 34, 0.74) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .cg-dest-pill.is-active {
    background: rgba(11, 21, 34, 0.90) !important;
    border-color: #E2B1B1 !important;
    transform: none !important;
  }

  .cg-dest-info strong {
    font-size: 11.5px !important;
  }

  .cg-dest-info small {
    font-size: 9.5px !important;
  }

  .cg-mid-portal-wrap {
    margin-top: 24px;
    margin-bottom: 0;
  }

  /* --- 5.2 ESCENARIO INSIGNIA LLICO (74 HA) EN CELULAR: ENCUADRE PANORÁMICO --- */
  .cg-showcase {
    padding-top: 52px !important;
  }

  .cg-showcase-intro {
    margin-bottom: 24px !important;
    padding: 0 16px !important;
  }

  .cg-feature-track {
    height: auto !important;
    padding: 0 14px !important;
  }

  .cg-feature-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  .cg-feature-frame {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    clip-path: none !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #111E2E !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1.5px solid rgba(201, 122, 122, 0.38) !important;
    box-shadow: 0 20px 48px rgba(17, 30, 46, 0.18) !important;
    transform: none !important;
  }

  .cg-feature-hud-top {
    order: 1;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 10px 14px !important;
    background: #0B1522 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .cg-hud-pill {
    font-size: 10px !important;
    padding: 5px 11px !important;
  }

  .cg-hud-coords {
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
  }

  .cg-ai-badge {
    font-size: 8.5px !important;
    padding: 4px 9px !important;
    white-space: nowrap !important;
  }

  .cg-feature-frame video,
  .cg-feature-frame .cg-feature-poster {
    order: 2;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 220px !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    transform: none !important;
    display: block !important;
  }

  .cg-feature-scrim {
    display: none !important;
  }

  .cg-feature-hud-bottom {
    order: 3;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 20px 16px 18px !important;
    background: linear-gradient(180deg, #111E2E 0%, #16263A 100%) !important;
  }

  .cg-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  .cg-feature-title {
    font-size: 1.45rem !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  .cg-feature-summary {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
  }

  .cg-feature-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .cg-metric {
    padding: 10px 12px !important;
    text-align: left !important;
  }

  .cg-metric-val {
    font-size: 15px !important;
  }

  .cg-feature-cta-panel {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }

  .cg-price-amount {
    font-size: 21px !important;
  }

  /* --- 5.3 TARJETAS DE PARCELAS Y BANNERS EN CELULAR --- */
  .cg-diptych-wrapper {
    padding: 44px 14px 56px !important;
  }

  .cg-parcel-media {
    height: auto !important;
    min-height: 210px !important;
    aspect-ratio: 16 / 10 !important;
  }

  .cg-parcel-body {
    padding: 20px 18px 22px !important;
    text-align: left !important;
  }

  .cg-parcel-specs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .cg-parcel-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .cg-parcel-footer .cg-link-cinema {
    justify-content: space-between !important;
    width: 100% !important;
    background: #FAF8F5;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(201, 122, 122, 0.25);
  }

  .cg-parcel-footer > a:last-child {
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: #111E2E !important;
    color: #FFFFFF !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
  }

  .cg-portal-banner {
    padding: 22px 18px !important;
    margin-top: 28px !important;
    border-radius: 20px !important;
  }

  .cg-portal-banner .cg-btn-cinema {
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .cg-hud-coords {
    display: none !important;
  }
  .cg-legal-grid,
  .cg-lot-grid {
    grid-template-columns: 1fr !important;
  }
  .cg-offgrid-section,
  .cg-legal-banner {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }
  .cg-addon-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .cg-addon-price {
    align-self: flex-start !important;
    margin-left: 34px !important;
  }
  .cg-offgrid-summary {
    padding: 20px 18px !important;
    border-radius: 18px !important;
  }
  .cg-sum-total {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .cg-sum-total .val {
    font-size: 22px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .cg-fade-in, .cg-word > span { transition: none !important; opacity: 1 !important; transform: none !important; }
  .cg-letterbox { display: none; }
  .cg-marquee-track, .cg-parcel .cg-kb img.on { animation: none !important; }
}

