/* ==========================================
   OMBELLE RESIDENCES - Premium Landing Page
   Design System: Luxury Real Estate Dark
   Fonts: Cinzel (headings) + Josefin Sans (body)
   Palette: Deep Charcoal, Champagne Gold, Pearl White
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

/* ====== CSS CUSTOM PROPERTIES ====== */
:root {
  --gold: #C9A96E;
  --gold-light: #DFC18A;
  --gold-dark: #A07C45;
  --charcoal: #0D0D0D;
  --charcoal-mid: #161616;
  --charcoal-light: #1E1E1E;
  --charcoal-card: #252525;
  --pearl: #F5F0E8;
  --pearl-mid: #ECE7DD;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #7A7A7A;
  --text-light: #E8E2D9;
  --text-on-dark: rgba(255,255,255,0.85);
  --white: #FFFFFF;
  --border-light: rgba(201, 169, 110, 0.2);
  --border-dark: rgba(255,255,255,0.08);
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(201, 169, 110, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-gold: 0 0 30px rgba(201, 169, 110, 0.2);
  --shadow-dark: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.15);
  --transition-fast: 150ms ease;
  --transition-med: 300ms ease;
  --transition-slow: 600ms ease;
  --max-width: 1280px;
  --nav-height: 80px;
}

/* ====== RESET & BASE ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Josefin Sans', sans-serif;
  background-color: var(--charcoal);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4 { font-family: 'Cinzel', serif; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); font-weight: 600; letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 500; letter-spacing: 0.02em; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: 0.03em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

em { font-style: italic; color: var(--gold); }

p { line-height: 1.8; }

/* ====== CONTAINER ====== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition-med);
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 30px rgba(201, 169, 110, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-full { width: 100%; justify-content: center; }

/* ====== SECTIONS ====== */
.section { padding: clamp(4rem, 8vw, 8rem) 0; }
.section-dark { background-color: var(--charcoal); }
.section-light { background-color: var(--pearl); }

/* Anchor offset: compensate for fixed navbar */
section[id] { scroll-margin-top: calc(var(--nav-height) + 20px); }

.section-tag {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold);
}

.tag-gold { color: var(--gold); border-color: var(--gold); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-header-light { text-align: center; max-width: 720px; margin: 0 auto 4rem; }

.section-title { color: var(--text-primary); margin-bottom: 1.25rem; }
.title-light { color: var(--white); }

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

.subtitle-light { color: rgba(255,255,255,0.65); }

.section-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ====== ANIMATIONS ====== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition-med), box-shadow var(--transition-med), padding var(--transition-med);
  padding: 1.25rem 0;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  padding: 0.75rem 0;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand { display: flex; align-items: center; position: relative; }

.nav-brand a {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.footer-brand a {
  display: inline-flex;
  cursor: pointer;
}

/* Default logo (transparent) — visible on hero */
.nav-logo-default {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity var(--transition-med);
}

/* White logo — hidden until scrolled */
.nav-logo-scrolled {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity var(--transition-med);
  pointer-events: none;
}

/* Swap on scroll */
.navbar.scrolled .nav-logo-default { opacity: 0; pointer-events: none; }
.navbar.scrolled .nav-logo-scrolled { opacity: 1; pointer-events: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
  cursor: pointer;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: var(--charcoal) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4) !important;
  transform: translateY(-1px) !important;
  color: var(--charcoal) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-med);
  border-radius: 2px;
}

/* ====== MOBILE MENU ====== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-slow) cubic-bezier(0.77,0,0.175,1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 2rem; }

.mobile-link {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.mobile-link:hover { color: var(--gold); }
.mobile-cta { color: var(--gold) !important; }

.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.mobile-close:hover { color: var(--gold); }

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 0;
  padding-bottom: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  padding-top: var(--nav-height);
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-subtitle strong { color: var(--gold); font-weight: 600; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Stat row: number + unit on same line, label below */
.stat { display: flex; flex-direction: column; }

.stat-top {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  line-height: 1;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-unit {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}

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

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ====== URGENCY BANNER ====== */
.urgency-banner {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  flex-wrap: wrap;
  text-align: center;
}

.urgency-banner svg { flex-shrink: 0; }

.urgency-cta {
  background: var(--charcoal);
  color: var(--gold);
  padding: 0.35rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  transition: background var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.urgency-cta:hover { background: #222; }

/* ====== PROYECTO SECTION ====== */
.proyecto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.proyecto-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.proyecto-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.proyecto-img-wrapper:hover .proyecto-img { transform: scale(1.03); }

.proyecto-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proyecto-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.proyecto-info .section-title { color: var(--white); }
.proyecto-info .section-body { color: rgba(255,255,255,0.65); }

.proyecto-highlights { display: flex; flex-direction: column; gap: 1.25rem; margin: 0.5rem 0 1.5rem; width: 100%; }

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--charcoal-light);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-med);
}

.highlight-item:hover { border-color: var(--gold); }

.highlight-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.highlight-item div:last-child { display: flex; flex-direction: column; gap: 0.15rem; }
.highlight-item strong { color: var(--white); font-size: 0.95rem; font-weight: 600; }
.highlight-item span { color: var(--text-muted); font-size: 0.85rem; }

/* ====== GALLERY ====== */
.section-gallery { padding: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: 60% 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
  height: 600px;
}

.gallery-large {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ====== RESIDENCIAS SECTION ====== */
.residencias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.residencia-card {
  background: var(--white);
  border: 1px solid var(--pearl-mid);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: box-shadow var(--transition-med), border-color var(--transition-med), transform var(--transition-med);
  cursor: default;
}

.residencia-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.residencia-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}

.residencia-card h3 { color: var(--text-primary); margin-bottom: 0.75rem; }

.residencia-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

.residencia-card-highlight {
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-mid));
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
}

.residencia-card-highlight:hover { border-color: var(--gold); }

.residencia-price-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.residencia-price {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.residencia-card-highlight p { color: rgba(255,255,255,0.5); font-size: 0.88rem; }

/* ====== AMENIDADES SECTION ====== */
.amenidades-section {
  position: relative;
  padding: clamp(5rem, 10vw, 10rem) 0;
}

.amenidades-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.amenidades-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.amenidades-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.88);
}

.amenidades-inner {
  position: relative;
  z-index: 1;
}

.amenidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: background var(--transition-med), border-color var(--transition-med), transform var(--transition-med);
  cursor: default;
}

.glass-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.amenidad-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,169,110,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.amenidad-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.amenidad-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.amenidad-card strong { color: var(--gold); }

/* ====== EQUIPO SECTION ====== */
.equipo-visual {
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.equipo-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.equipo-img-large {
  width: 100%;
  height: auto;
  display: block;
}

.equipo-img-mobile {
  width: 100%;
  height: auto;
  display: none;
}

.equipo-branding-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  text-align: center;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border-light);
}

/* ====== HOTSPOTS ====== */
.hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
}

.hotspot-pulse {
  width: 100%;
  height: 100%;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px rgba(201,169,110,0.8);
}

.hotspot-pulse::after {
  content: '';
  position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.hotspot-tooltip {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(13,13,13,0.96);
  border: 1px solid var(--border-light);
  color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  width: 260px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
  z-index: 10;
}

/* Puente invisible para no perder el hover al mover el mouse al tooltip */
.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: -35px;
  left: 0;
  right: 0;
  height: 35px;
}

.hotspot:hover .hotspot-tooltip,
.hotspot-tooltip:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Modificadores para el contenido dentro del tooltip oscuro */
.hotspot-tooltip .realtor-mini-header { border-bottom-color: rgba(255,255,255,0.1); margin-bottom: 0.75rem; padding-bottom: 0.5rem; }
.hotspot-tooltip .realtor-mini-header h3 { color: var(--gold); font-size: 1rem; }
.hotspot-tooltip .realtor-lic { color: var(--white); font-weight: 400; font-size: 0.7rem; }
.hotspot-tooltip .realtor-desc { color: rgba(255,255,255,0.7); white-space: normal; line-height: 1.4; font-size: 0.82rem; margin-bottom: 1rem; }
.hotspot-tooltip .realtor-socials a { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }
.hotspot-tooltip .realtor-socials a:hover { background: var(--gold); color: var(--charcoal); }

.realtors-list-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.realtor-mini-card {
  background: var(--white);
  border: 1px solid var(--pearl-mid);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.realtor-mini-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.realtor-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}

.realtor-mini-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pearl-mid);
}

.realtor-mini-header h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.realtor-lic {
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.realtor-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.realtor-socials {
  display: flex;
  gap: 0.75rem;
}

.realtor-socials a {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--pearl-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.realtor-socials a:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.equipo-cta-container {
  display: flex;
  justify-content: center;
}

/* ====== ASESORA SECTION ====== */
.asesora-section { background: var(--pearl); }

.asesora-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 6rem;
  align-items: center;
}

.asesora-media { display: flex; flex-direction: column; gap: 1.5rem; }

.asesora-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.asesora-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

.asesora-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s ease;
}

.asesora-img-frame:hover .asesora-img { transform: scale(1.03); }

.asesora-socials { display: flex; flex-direction: column; gap: 0.75rem; }

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--pearl-mid);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  background: var(--white);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,169,110,0.04);
}

.asesora-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.asesora-info .section-title { color: var(--text-primary); }
.asesora-info .section-body { color: var(--text-secondary); font-style: italic; border-left: 3px solid var(--gold); padding-left: 1.25rem; }

.asesora-badges { display: flex; flex-direction: column; gap: 0.75rem; margin: 0.5rem 0 1.5rem; }

.asesora-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.asesora-badge svg { color: var(--gold); flex-shrink: 0; }

/* ====== CTA / LEAD FORM SECTION ====== */
.section-cta-dark {
  background: linear-gradient(135deg, var(--charcoal-mid) 0%, var(--charcoal) 100%);
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 5rem;
  align-items: center;
}

.cta-info { display: flex; flex-direction: column; gap: 1.25rem; }
.cta-info .section-title { color: var(--white); }
.cta-info .section-body { color: rgba(255,255,255,0.6); font-size: 1.05rem; }

.cta-features { display: flex; flex-direction: column; gap: 0.75rem; }

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.cta-feature svg { color: var(--gold); flex-shrink: 0; }

.glass-card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
}

.form-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lead-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select { cursor: pointer; }

.form-group input::placeholder { color: rgba(255,255,255,0.3); }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
}

.form-group select option { background: #1e1e1e; color: var(--white); }

.form-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 0.25rem;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  color: var(--gold);
}

.form-success h4 { color: var(--white); font-size: 1.2rem; }
.form-success p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

/* ====== FOOTER ====== */
.footer {
  background: var(--charcoal-mid);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.9rem; line-height: 1.7; }

.footer-links h4,
.footer-contact h4,
.footer-location h4 {
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact p { color: rgba(255,255,255,0.45); font-size: 0.9rem; line-height: 1.8; }

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

.footer-socials a:hover {
  background: rgba(201,169,110,0.15);
  color: var(--gold);
  border-color: var(--gold);
}

.footer-location p { color: rgba(255,255,255,0.45); font-size: 0.9rem; line-height: 1.8; }

.footer-disclaimer {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.25) !important;
  margin-top: 1rem;
  line-height: 1.6 !important;
  font-style: italic;
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.75rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}

.footer-bottom p a {
  display: inline;
  vertical-align: middle;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom p a:hover { color: var(--gold); }

.footer-bottom-links { display: flex; gap: 1.5rem; }

.footer-bottom-links a {
  color: rgba(255,255,255,0.25);
  font-size: 0.82rem;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer-bottom-links a:hover { color: var(--gold); }

/* Bizmasoft credit */
.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.25);
  font-size: 0.82rem;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-credit a:hover { color: var(--gold); }

.bizmasoft-logo {
  display: inline-block;
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  vertical-align: middle;
  margin-left: 2px;
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.footer-credit a:hover .bizmasoft-logo {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(400%) hue-rotate(5deg) brightness(95%);
}

/* ====== REVEAL ANIMATIONS ON SCROLL ====== */

/* Active Nav Link */
.nav-links a.active { color: var(--gold); }

/* ====== RESPONSIVE ====== */

/* ---- Tablet landscape / Small desktop ---- */
@media (max-width: 1100px) {
  .proyecto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .proyecto-img { height: 420px; }
  .asesora-grid { grid-template-columns: 1fr; gap: 3rem; }
  .asesora-img { height: 400px; }
  .cta-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cta-form-wrapper { max-width: 600px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Tablet portrait ---- */
@media (max-width: 900px) {
  .residencias-grid { grid-template-columns: 1fr 1fr; }
  .amenidades-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .gallery-large { grid-row: span 1; }
  .gallery-item img { height: 280px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .asesora-grid { grid-template-columns: 1fr; }
  
  .equipo-img-large { display: none; }
  .equipo-img-mobile { display: block; }

  /* Ajustes Compactos de Hotspots para Móvil - Sin Recortes */
  .hotspot-tooltip {
    width: clamp(220px, 85vw, 260px);
    padding: 1.15rem;
  }
  .hotspot-tooltip .realtor-desc {
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
  }

  .hotspot-left .hotspot-tooltip { 
    left: 0; 
    transform: translateX(-15px) translateY(-10px); 
  }
  .hotspot-left:hover .hotspot-tooltip,
  .hotspot-left .hotspot-tooltip:hover { 
    transform: translateX(-15px) translateY(0); 
  }

  .hotspot-center .hotspot-tooltip { 
    left: 50%; 
    transform: translateX(-50%) translateY(-10px); 
  }
  .hotspot-center:hover .hotspot-tooltip,
  .hotspot-center .hotspot-tooltip:hover { 
    transform: translateX(-50%) translateY(0); 
  }
  
  .hotspot-right .hotspot-tooltip { 
    left: auto; 
    right: 0; 
    transform: translateX(15px) translateY(-10px); 
  }
  .hotspot-right:hover .hotspot-tooltip,
  .hotspot-right .hotspot-tooltip:hover { 
    transform: translateX(15px) translateY(0); 
  }

  .mobile-link { font-size: 1.35rem; }
}

/* ---- Mobile (≤600px) ---- */
@media (max-width: 600px) {
  :root { --nav-height: 64px; }

  /* Nav */
  .navbar { padding: 0.75rem 0; }
  .nav-inner { padding: 0 1.25rem; gap: 0; }
  .nav-logo-default, .nav-logo-scrolled { height: 36px; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { align-items: flex-end; padding-bottom: 3rem; }
  .hero-content { padding: var(--nav-height) 1.25rem 0; }
  .hero-badge { font-size: 0.68rem; padding: 0.4rem 0.9rem; margin-bottom: 1.25rem; }
  .hero-title { margin-bottom: 1rem; }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    align-items: start;
    margin-bottom: 2rem;
  }
  .stat-number { font-size: 2rem; }
  .stat-unit { font-size: 1.1rem; }
  .stat-divider { display: none; }
  .stat:nth-child(5) { grid-column: span 2; justify-self: start; }

  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; padding: 0.9rem 1.5rem; font-size: 0.8rem; }
  .hero-scroll-indicator { display: none; }

  /* Urgency banner */
  .urgency-banner {
    padding: 0.75rem 1rem;
    font-size: 0.72rem;
    gap: 0.5rem;
    letter-spacing: 0.04em;
  }
  .urgency-cta { padding: 0.3rem 0.75rem; font-size: 0.75rem; }

  /* Sections */
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }
  .section-subtitle { font-size: 1rem; }
  .proyecto-img { height: 280px; }
  .proyecto-badge { font-size: 0.72rem; padding: 0.5rem 0.85rem; left: 1rem; bottom: 1rem; }
  .proyecto-highlights { gap: 0.85rem; }
  .highlight-item { padding: 1rem; }
  .highlight-icon { width: 36px; height: 36px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 3px;
  }
  .gallery-large { grid-row: span 1; }
  .gallery-item img { height: 220px; }

  /* Residencias */
  .residencias-grid { grid-template-columns: 1fr; gap: 1rem; }
  .residencia-card { padding: 1.5rem 1.25rem; }
  .residencia-card-icon { width: 48px; height: 48px; margin-bottom: 1rem; }
  .residencia-price { font-size: 1.9rem; }

  /* Amenidades */
  .amenidades-grid { grid-template-columns: 1fr; gap: 1rem; }
  .glass-card { padding: 1.5rem 1.25rem; }
  .amenidad-icon { width: 44px; height: 44px; margin-bottom: 1rem; }

  /* Asesora */
  .asesora-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .asesora-img { height: 340px; }
  .asesora-socials { flex-direction: column; }
  .social-link { width: 100%; }
  .asesora-badges { gap: 0.6rem; }
  .asesora-badge { font-size: 0.85rem; }

  /* CTA Form */
  .section-cta-dark { padding: 3.5rem 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .glass-card-dark { padding: 1.75rem 1.25rem; }
  .form-title { font-size: 1.1rem; margin-bottom: 1.5rem; }
  .cta-features { gap: 0.5rem; }
  .btn-full { padding: 0.95rem 1.5rem; font-size: 0.82rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 3.5rem 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-logo { height: 38px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-bottom p { white-space: normal; overflow: visible; text-overflow: unset; }
  .footer-bottom-links { gap: 1rem; }
  .footer-socials a { width: 36px; height: 36px; }

  /* Mobile menu */
  .mobile-link { font-size: 1.2rem; }
}

/* ====== SHORT VIEWPORT FIXES (height-based) ====== */

/* Landscape phones and short mobile screens */
@media (max-height: 768px) and (max-width: 900px) {
  .hero {
    min-height: calc(100vh + 2rem);
    padding-bottom: 2.5rem;
  }

  .hero-content {
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero-badge { margin-bottom: 0.85rem; font-size: 0.7rem; padding: 0.35rem 0.9rem; }

  .hero-title { margin-bottom: 0.75rem; }

  .hero-subtitle {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .stat-number { font-size: 1.7rem; }
  .stat-unit   { font-size: 1rem; }
  .stat-label  { font-size: 0.7rem; }
  .stat-divider { height: 36px; }

  .hero-ctas { gap: 0.6rem; }
  .hero-ctas .btn { padding: 0.75rem 1.2rem; font-size: 0.78rem; }
}

/* Very short screens (landscape iPhone SE, etc.) */
@media (max-height: 500px) {
  .hero-badge { display: none; }

  .hero-subtitle { display: none; }

  .hero-stats { gap: 0.75rem; margin-bottom: 1rem; }
  .stat-number { font-size: 1.5rem; }
  .stat-unit   { font-size: 0.9rem; }

  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn { padding: 0.65rem 1rem; font-size: 0.75rem; }
}

/* ====== WHATSAPP FLOATING BUTTON ====== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  border-radius: 50px;
  padding: 0.65rem 1.25rem 0.65rem 0.65rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.5), 0 4px 16px rgba(0,0,0,0.25);
}

.whatsapp-float:active {
  transform: translateY(-1px) scale(1.01);
}

/* Pulsing ring behind icon */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50px;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulseRing 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waPulseRing {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.06); }
}

/* GIF/SVG icon wrapper */
.whatsapp-float__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float__icon img {
  width: 48px;
  height: 48px;
  display: block;
  animation: waIconBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

@keyframes waIconBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  15%       { transform: translateY(-6px) rotate(-8deg); }
  30%       { transform: translateY(-4px) rotate(8deg); }
  45%       { transform: translateY(-2px) rotate(-4deg); }
  60%       { transform: translateY(0) rotate(0deg); }
}

/* Label */
.whatsapp-float__label {
  white-space: nowrap;
  line-height: 1.2;
}

.whatsapp-float__label span {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.85;
  text-transform: none;
}

/* Mobile: icon-only pill */
@media (max-width: 480px) {
  .whatsapp-float {
    padding: 0.55rem;
    border-radius: 50%;
    bottom: 1.5rem;
    left: 1.5rem;
    gap: 0;
  }

  .whatsapp-float__label { display: none; }

  .whatsapp-float__icon {
    width: 44px;
    height: 44px;
  }
}

