/* ══════════════════════════════════════════════
   HÁBITAT 39 — Design System & Landing CSS
   Paleta: crema/arena + verde olivo + marrón
   ══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --cream:        #F5EFE0;
  --cream-dark:   #EDE4CE;
  --sand:         #D9C9A8;
  --olive:        #6B7F4A;
  --olive-light:  #8A9E63;
  --olive-dark:   #4A5C30;
  --brown-dark:   #3D2B1F;
  --brown-mid:    #7A5C3E;
  --brown-light:  #A07850;
  --accent-warm:  #B88A4A;
  --white:        #FDFAF4;
  --text-main:    #2A1E14;
  --text-muted:   #7A6A56;
  --text-light:   #A89880;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  --nav-h:        72px;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(61,43,31,0.12);
  --shadow-lg:    0 12px 48px rgba(61,43,31,0.18);

  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILITIES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.section {
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
}
.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--brown-dark);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--olive-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(74,92,48,0.38);
}
.btn-primary:hover {
  background: var(--olive);
  box-shadow: 0 8px 28px rgba(74,92,48,0.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes scrollArrow {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.4; }
}

.animate-fade-up {
  animation: fadeUp 0.8s var(--ease) both;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.52s; }

/* ══════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(245,239,224,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(61,43,31,0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
  max-height: 48px;
  gap: 6px;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo img {
  display: block;
  max-height: 100% !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}
.navbar:not(.scrolled) .nav-logo img {
  filter: brightness(0) invert(1);
}
.navbar.scrolled .nav-logo img {
  filter: brightness(0);
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color 0.4s;
}
.nav-logo-text {
  color: var(--white);
  transition: color 0.4s;
}
.navbar.scrolled .nav-logo-text {
  color: var(--brown-dark);
}
.navbar.scrolled .logo-text { color: var(--brown-dark); }
.logo-accent { color: var(--olive-light); }
.navbar.scrolled .logo-accent { color: var(--olive-dark); }
.logo-tree { font-size: 1.1rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  list-style: none;
}
.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
}
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--olive);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a:hover { color: var(--olive-dark); }

.nav-cta {
  background: var(--olive-dark) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--olive) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--brown-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, #2A1E14 0%, #3D3020 40%, #4A5C30 100%);
}
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,14,8,0.55) 0%,
    rgba(30,22,14,0.48) 50%,
    rgba(20,14,8,0.72) 100%
  );
  z-index: 1;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: float var(--dur, 6s) ease-in-out var(--del, 0s) infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 5vw, 60px) 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive-light);
  position: relative;
}
.badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--olive-light);
  animation: pulse-ring 2s ease-out infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  max-width: 820px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 20px 36px;
  margin-top: 8px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.hero-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-arrow { animation: scrollArrow 2s ease-in-out infinite; }

/* ══════════════════════════════════════════════
   CONCEPTO
   ══════════════════════════════════════════════ */
.concepto {
  background: var(--cream-dark);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.concepto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive-dark), var(--olive-light), var(--accent-warm));
}
.concepto .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.concepto .section-subtitle { margin: 0 auto 3.5rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 1rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--olive-light);
}
.pillar-card.featured {
  background: var(--olive-dark);
  color: var(--white);
}
.pillar-card.featured .pillar-title,
.pillar-card.featured .pillar-desc,
.pillar-card.featured .pillar-list li { color: rgba(255,255,255,0.9); }

.pillar-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(107,127,74,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-card.featured .pillar-icon-wrap {
  background: rgba(255,255,255,0.15);
}
.pillar-icon {
  width: 32px;
  height: 32px;
  stroke: var(--olive-dark);
}
.pillar-card.featured .pillar-icon { stroke: rgba(255,255,255,0.85); }

.pillar-number {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--olive-light);
  line-height: 1;
  margin-bottom: 4px;
}
.pillar-card.featured .pillar-number { color: rgba(255,255,255,0.25); }
.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 8px;
}
.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pill {
  display: inline-block;
  background: rgba(107,127,74,0.15);
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
}
.pillar-card.featured .pillar-list li { gap: 6px; }

/* ══════════════════════════════════════════════
   AMENIDADES
   ══════════════════════════════════════════════ */
.amenidades {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 5vw, 64px);
}
.amenidades::before {
  content: '39';
  font-family: var(--font-serif);
  font-size: 30vw;
  font-weight: 700;
  color: rgba(61,43,31,0.03);
  position: absolute;
  right: -5vw;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.amenidades .container { position: relative; z-index: 1; }
.amenidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}
.amenidad-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.5px solid var(--cream-dark);
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
  cursor: default;
}
.amenidad-card:hover {
  transform: translateY(-6px);
  border-color: var(--olive-light);
  box-shadow: var(--shadow);
}
.amenidad-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.amenidad-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--olive-dark);
}
.amenidad-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-dark);
}
.amenidad-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   MASTERPLAN
   ══════════════════════════════════════════════ */
.masterplan {
  background: var(--brown-dark);
  color: var(--white);
}
.masterplan .section-label { color: var(--olive-light); }
.masterplan .section-title { color: var(--white); }
.masterplan .section-subtitle { color: rgba(255,255,255,0.65); }

.masterplan-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .masterplan-container { grid-template-columns: 1fr; }
}

/* Topo cards */
.topo-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 2.5rem;
}
.topo-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: background 0.2s, border-color 0.2s;
}
.topo-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.topo-pct {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-svg {
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
  position: absolute;
  inset: 0;
}
.donut-ring {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 3;
}
.donut-seg {
  fill: none;
  stroke: var(--color, var(--olive-light));
  stroke-width: 3;
  stroke-dasharray: var(--dash, 50) 87.96;
  stroke-dashoffset: var(--offset, 0);
  stroke-linecap: round;
  transition: stroke-dasharray 1.2s var(--ease);
}
.topo-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.topo-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}
.topo-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* Lotes grid */
.lotes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.5rem;
}
.lote-card {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all 0.28s var(--ease);
}
.lote-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.lote-card.featured {
  border-color: var(--olive-light);
  background: rgba(107,127,74,0.18);
}
.lote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.lote-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-light);
  background: rgba(107,127,74,0.2);
  padding: 3px 10px;
  border-radius: 100px;
}
.lote-count {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.lote-size {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.lote-detail {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* Masterplan image */
.masterplan-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.masterplan-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: float 7s ease-in-out infinite;
}
.masterplan-img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}
.masterplan-placeholder {
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  text-align: center;
}
.masterplan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--olive-dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.mp-badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}
.mp-badge-label {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.masterplan-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  text-align: center;
}

/* ══════════════════════════════════════════════
   INVERSIÓN
   ══════════════════════════════════════════════ */
.inversion {
  background: var(--cream);
  position: relative;
}
.inversion .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.inversion .section-subtitle { margin: 0 auto 3rem; }

.inv-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  margin-bottom: 3.5rem;
}
.inv-metric {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1.5px solid var(--cream-dark);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  overflow: hidden;
}
.inv-metric:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.inv-metric.featured {
  background: var(--olive-dark);
  border-color: transparent;
  color: var(--white);
}
.inv-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(138,158,99,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.inv-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(107,127,74,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inv-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--olive-dark);
}
.inv-metric.featured .inv-icon {
  background: rgba(255,255,255,0.15);
}
.inv-metric.featured .inv-icon svg { stroke: rgba(255,255,255,0.85); }
.inv-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.inv-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.inv-metric.featured .inv-label { color: rgba(255,255,255,0.65); }
.inv-value {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1;
}
.inv-metric.featured .inv-value { color: var(--white); }
.inv-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}
.inv-metric.featured .inv-unit { color: rgba(255,255,255,0.6); }

/* Timeline */
.inv-timeline {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1.5px solid var(--cream-dark);
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 2rem;
  text-align: left;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 3px solid var(--cream-dark);
  margin-bottom: 16px;
  transition: background 0.3s;
  flex-shrink: 0;
}
.timeline-item.active .tl-dot {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  box-shadow: 0 0 0 4px rgba(74,92,48,0.2);
}
.tl-content {
  text-align: center;
  padding: 0 12px;
}
.tl-phase {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
  margin-bottom: 6px;
}
.tl-content h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 6px;
}
.tl-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.timeline-connector {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--cream-dark);
  margin-top: 6px;
  position: relative;
  top: 0;
}

/* ══════════════════════════════════════════════
   CONTACTO
   ══════════════════════════════════════════════ */
.contacto {
  background: var(--cream-dark);
}
.contacto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive-dark), var(--olive-light), var(--accent-warm));
}
.contacto-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .contacto-container { grid-template-columns: 1fr; }
}

.contacto-text .section-subtitle { max-width: 100%; margin-bottom: 2rem; }
.contacto-reasons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reason-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.reason-icon {
  color: var(--olive-dark);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Form */
.contacto-form-wrap {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 28px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A6A56' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--cream);
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(107,127,74,0.15);
  background: var(--white);
}
.form-group input.error,
.form-group select.error { border-color: #C0392B; }
.form-error {
  font-size: 0.75rem;
  color: #C0392B;
  min-height: 16px;
}
.form-privacy {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-light);
  margin-top: 12px;
}
.form-privacy a {
  color: var(--olive-dark);
  text-decoration: underline;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}
.form-success svg { stroke: var(--olive-dark); }
.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--brown-dark);
}
.form-success p { font-size: 0.9rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.75);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 60px) 40px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-logo .logo-text { color: var(--white); font-size: 1.6rem; }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
  line-height: 1.6;
  max-width: 260px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 580px) {
  .footer-links { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--olive-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════════════
   INTERSECTION OBSERVER ANIMATIONS
   ══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hamburg { display: flex; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    background: rgba(245,239,224,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px 32px 32px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.38s var(--ease);
    box-shadow: 0 8px 32px rgba(61,43,31,0.12);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: var(--text-main) !important; padding: 12px 0; }
  .nav-cta { display: inline-flex; margin-top: 8px; }
  .nav-inner {
    padding: 0 16px;
  }
  .nav-logo {
    max-height: 40px;
  }
  .nav-logo img {
    max-height: 100% !important;
    max-width: 160px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
  }
  .hamburger {
    margin-left: auto;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 16px;
    width: 100%;
  }
  .hero-stat {
    padding: 0 8px;
    text-align: center;
  }
  .hero-stat:last-child {
    grid-column: span 2;
  }
  .hero-stat-divider { display: none; }

  .pillars-grid { grid-template-columns: 1fr; }
  .lotes-grid { grid-template-columns: 1fr; }
  .inv-metrics { grid-template-columns: 1fr; }
  .timeline-track { flex-direction: column; gap: 20px; }
  .timeline-connector { width: 2px; height: 30px; align-self: center; max-width: 2px; }
  .inv-timeline { padding: 28px 20px; }
  .contacto-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-content {
    padding-bottom: 90px;
  }
  .hero-ctas { flex-direction: column; width: 100%; gap: 12px; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .amenidades-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   IMÁGENES REALES DEL PROYECTO
   ══════════════════════════════════════════════ */

/* ── Concepto imagen ── */
.concepto-imagen-wrap {
  width: 100%;
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.concepto-imagen {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.6s var(--ease);
}
.concepto-imagen-wrap:hover .concepto-imagen {
  transform: scale(1.015);
}
.concepto-imagen-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(61,43,31,0.82) 0%, transparent 100%);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 24px 24px 18px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ── Topo imagen (bajo el masterplan visual) ── */
.topo-imagen-wrap {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}
.topo-imagen {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease);
}
.topo-imagen-wrap:hover .topo-imagen {
  transform: scale(1.02);
}
.topo-imagen-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(61,43,31,0.85) 0%, transparent 100%);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 20px 16px 12px;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ── Hero real bg fix ── */
.hero {
  background-size: cover !important;
  background-position: center center !important;
}
