/* ============================================
   PUNTA HUAPI - Condominio Lago Ranco
   Premium Landing Page
   ============================================ */

:root {
  --green-deep: #0f1f33;
  --green-dark: #1a2d4a;
  --green-mid: #2c4a6e;
  --green-light: #3d6b8a;
  --green-pale: #a8c7d8;
  --gold: #c8a96e;
  --gold-light: #e0c992;
  --cream: #f5f1ea;
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-900: #1a1a1a;
  --gray-700: #444444;
  --gray-400: #999999;
  --gray-200: #e0e0e0;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--cream);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ---- SECTION TAG ---- */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 16px;
}
.section-tag--light { color: var(--gold-light); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--green-deep);
  margin-bottom: 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(15, 31, 51, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  padding: 10px 24px !important;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--green-deep) !important;
  border-color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(15, 31, 51, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 30, 0.5) 0%,
    rgba(10, 15, 30, 0.35) 40%,
    rgba(10, 15, 30, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
}

.hero-logo {
  height: 140px;
  width: auto;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s 0.1s forwards;
}

.hero-pre {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.hero-btn:hover {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}

.hero-btn--wa {
  background: #25D366;
  border-color: #25D366;
  color: var(--white);
}
.hero-btn--wa:hover {
  background: #1fb855;
  border-color: #1fb855;
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollPulse 2s infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================
   INTRO
   ============================================ */
.intro {
  padding: 120px 0;
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 { color: var(--green-deep); }

.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-700);
  font-weight: 300;
}

.intro-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.intro-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.intro-image:hover img { transform: scale(1.03); }

/* ============================================
   UBICACION
   ============================================ */
.ubicacion {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.ubicacion-bg {
  position: absolute;
  inset: 0;
}

.ubicacion-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.ubicacion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,51,0.92) 0%, rgba(26,45,74,0.88) 100%);
}

.ubicacion-content {
  position: relative;
  z-index: 2;
}

.ubicacion-content h2 {
  color: var(--white);
  max-width: 600px;
}

/* ---- ROUTE / CARTOGRAPHIC ---- */
.route {
  display: flex;
  align-items: flex-start;
  margin: 50px 0 60px;
  padding: 30px 0;
  position: relative;
}

.route-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.route-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: transparent;
  margin-bottom: 12px;
}

.route-dot--end {
  width: 20px;
  height: 20px;
  background: var(--gold-light);
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(224, 201, 146, 0.4);
}

.route-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}

.route-sublabel {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 4px;
  white-space: nowrap;
}

.route-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 12px;
  position: relative;
}

.route-segment--short { flex: 0.5; }

.route-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.route-time {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 10px;
  white-space: nowrap;
}

.route-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(224,201,146,0.5) 20%, rgba(224,201,146,0.5) 80%, transparent);
  position: absolute;
  top: 7px;
  left: 0;
}

.route-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    transparent,
    transparent 8px,
    rgba(224,201,146,0.3) 8px,
    rgba(224,201,146,0.3) 16px
  );
}

.ubicacion-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.ubi-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.ubi-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.ubi-card-icon {
  width: 40px; height: 40px;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.ubi-card-icon svg { width: 100%; height: 100%; }

.ubi-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.ubi-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}

/* ============================================
   TERRENO / FEATURES
   ============================================ */
.terreno {
  padding: 120px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.feature-img {
  height: 240px;
  overflow: hidden;
}

.feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-img img { transform: scale(1.08); }

.feature-body { padding: 28px 24px; }

.feature-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--green-deep);
  margin-bottom: 10px;
}

.feature-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
  font-weight: 300;
}

/* ============================================
   MASTERPLAN
   ============================================ */
.masterplan {
  padding: 120px 0;
  background: var(--cream);
}

.masterplan-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.masterplan-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.masterplan-image img {
  width: 100%;
  height: auto;
  display: block;
}

.masterplan-info h2 {
  color: var(--green-deep);
}

.masterplan-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
  font-weight: 300;
  margin-bottom: 16px;
}

.masterplan-stats {
  display: flex;
  gap: 40px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 6px;
}

/* ============================================
   MASTERPLAN INTERACTIVO
   ============================================ */
.masterplan-section {
  padding: 100px 0 80px;
  background: var(--green-deep);
}

.masterplan-header {
  text-align: center;
  margin-bottom: 50px;
}

.masterplan-header h2 {
  color: var(--white);
}

.masterplan-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.map-container {
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 1464px;
  aspect-ratio: 1464 / 1240;
}

.map-wrapper img.bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.masterplan-bottom {
  text-align: center;
  padding: 50px 0 0;
}

.masterplan-bottom .masterplan-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}

.masterplan-bottom .stat-number { color: var(--white); }
.masterplan-bottom .stat-label { color: rgba(255,255,255,0.5); }

/* ---- HOTSPOTS ---- */
.hotspot {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}
.hotspot:hover { transform: scale(1.12); }

.hotspot-circle {
  position: relative;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: pulse-ring 2.2s ease-out infinite;
}
.hotspot-ring:nth-child(2) { animation-delay: 0.6s; }

.hotspot-core {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  border: 2.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 24px rgba(196,162,101,0.35), 0 4px 12px rgba(0,0,0,0.5);
}

.hotspot-icon {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  margin-left: 2px;
}

.hotspot-info { margin-top: 6px; text-align: center; pointer-events: none; }
.hotspot-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 2px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.6);
}
.hotspot-size {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  margin-top: 1px;
}
.hotspot-cta {
  font-size: 8px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  margin-top: 3px;
  opacity: 0.7;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---- SOLD MARKERS ---- */
.sold-marker {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.sold-marker-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sold-marker-dot svg {
  width: 10px;
  height: 10px;
  stroke: rgba(255,255,255,0.3);
  fill: none;
  stroke-width: 2;
}

.sold-marker-info {
  margin-top: 4px;
  text-align: center;
}

.sold-marker-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.sold-marker-status {
  font-size: 7px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  margin-top: 1px;
}

/* ---- VIDEO MODAL ---- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 26, 0);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.5s ease;
}
.modal-overlay.active {
  background: rgba(10, 15, 26, 0.93);
  pointer-events: all;
}

.modal-content {
  position: relative;
  width: 0;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease;
  opacity: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  border: 2px solid rgba(196, 162, 101, 0.3);
}
.modal-overlay.active .modal-content {
  width: 920px;
  height: 520px;
  opacity: 1;
}

.modal-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.modal-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 20px 28px;
  background: linear-gradient(to bottom, rgba(15,31,51,0.85) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.modal-title {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 3px;
}
.modal-subtitle {
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 2px;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,162,101,0.5);
  background: rgba(15,31,51,0.6);
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  backdrop-filter: blur(8px);
}
.modal-close:hover { background: rgba(196,162,101,0.3); }

.modal-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 28px;
  background: linear-gradient(to top, rgba(15,31,51,0.85) 0%, transparent 100%);
  display: flex;
  gap: 32px;
  z-index: 2;
}
.modal-stat {
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 1px;
}
.modal-stat strong {
  color: var(--gold);
  font-weight: 600;
}

/* ============================================
   PARALLAX BREAK
   ============================================ */
.parallax-break {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-break video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.55);
}

.parallax-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
}

.parallax-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}

.parallax-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}

/* ============================================
   GALERIA
   ============================================ */
.galeria {
  padding: 120px 0 80px;
  background: var(--green-deep);
}

.galeria .section-tag { color: var(--gold-light); }
.galeria h2 { color: var(--white); }

.galeria-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin-bottom: 50px;
}

.mosaic {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mosaic-row {
  display: flex;
  gap: 6px;
}

.mosaic-row--full .mosaic-item { flex: 1; }
.mosaic-row--full .mosaic-item img { height: 500px; }

.mosaic-row--2 .mosaic-item { flex: 1; }
.mosaic-row--2 .mosaic-item img { height: 420px; }

.mosaic-row--3 .mosaic-item { flex: 1; }
.mosaic-row--3 .mosaic-item img { height: 360px; }

.mosaic-item {
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.mosaic-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s;
  z-index: 1;
}

.mosaic-item:hover::after {
  background: rgba(0,0,0,0.2);
}

.mosaic-item img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.mosaic-item:hover img {
  transform: scale(1.04);
}

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 40px;
  padding: 10px;
  transition: opacity 0.3s;
  z-index: 10;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 0.7; }
.lightbox-close { top: 20px; right: 30px; font-size: 48px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 56px; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 56px; }

/* ============================================
   VIDEO
   ============================================ */
.video-section {
  padding: 120px 0;
  background: var(--white);
  text-align: center;
}

.video-sub {
  font-size: 16px;
  color: var(--gray-700);
  font-weight: 300;
  margin-bottom: 50px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ============================================
   SITIOS
   ============================================ */
.sitios {
  padding: 120px 0;
  background: var(--cream);
  text-align: center;
}

.sitios-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.sitios-icon {
  width: 48px; height: 48px;
  color: var(--green-mid);
  margin: 0 auto 20px;
}

.sitios-icon svg { width: 100%; height: 100%; }

.sitios-detail h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.sitios-detail p {
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 300;
  line-height: 1.6;
}

.sitios-cta { margin-top: 40px; }

.sitios-cta p {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,45,74,0.3);
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 4px;
  margin-top: 20px;
}
.btn--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.contacto-bg {
  position: absolute;
  inset: 0;
}
.contacto-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.contacto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(15,31,51,0.85) 100%);
}

.contacto-content {
  position: relative;
  z-index: 2;
}

.contacto-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
}

.contacto-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 50px;
  max-width: 500px;
}

.contacto-info {
  display: flex;
  gap: 40px;
  align-items: center;
}

.contacto-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.2);
}

.contacto-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacto-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 20px;
}

.contacto-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.contacto-link:hover { color: var(--gold-light); }

.contacto-card--address {
  margin-top: 8px;
}
.contacto-card--address p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ============================================
   FORMULARIO
   ============================================ */
.formulario-section {
  padding: 120px 0;
  background: var(--white);
  text-align: center;
}

.formulario-section h2 {
  color: var(--green-deep);
}

.formulario-wrapper {
  max-width: 700px;
  margin: 40px auto 0;
  min-height: 500px;
}

.galeria-cta {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-deep);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

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

  .ubicacion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .mosaic-row--full .mosaic-item img { height: 350px; }
  .mosaic-row--2 .mosaic-item img { height: 300px; }
  .mosaic-row--3 .mosaic-item img { height: 250px; }

  .sitios-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacto-info {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .navbar { padding: 16px 20px; }
  .navbar.scrolled { padding: 12px 20px; }

  .hero-title { font-size: 2.5rem; }
  .hero-logo { height: 100px; }

  .mosaic-row--2, .mosaic-row--3 { flex-direction: column; }
  .mosaic-row--full .mosaic-item img { height: 250px; }
  .mosaic-row--2 .mosaic-item img { height: 250px; }
  .mosaic-row--3 .mosaic-item img { height: 220px; }

  .parallax-break { height: 50vh; }

  .ubicacion, .contacto { padding: 100px 0; }

  /* Masterplan mobile */
  .sold-marker-dot { width: 14px; height: 14px; }
  .sold-marker-dot svg { width: 7px; height: 7px; }
  .sold-marker-name { font-size: 7px; }
  .sold-marker-status { font-size: 5px; }
  .hotspot-circle { width: 40px; height: 40px; }
  .hotspot-core { width: 26px; height: 26px; }
  .hotspot-icon { width: 10px; height: 10px; }
  .hotspot-name { font-size: 10px; letter-spacing: 1px; }
  .hotspot-size { font-size: 8px; }
  .hotspot-cta { font-size: 6px; }

  .modal-overlay.active .modal-content {
    width: 95vw;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .modal-title { font-size: 18px; }
  .modal-subtitle { font-size: 10px; }
  .modal-footer { gap: 16px; padding: 12px 16px; }
  .modal-stat { font-size: 9px; }
  .modal-header { padding: 12px 16px; }

  .masterplan-bottom .masterplan-stats {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
}
