/* ==========================================================================
   LANDING PAGE LOTE 696 - SANTA CLARA AL SUR
   Styles System & Components
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette - Natural, Earthy, Premium */
  --clr-bg-main: #FBF9F5;
  --clr-bg-card: #FFFFFF;
  --clr-bg-alt: #F4EFE6;
  --clr-bg-dark: #1E2824;
  --clr-bg-dark-accent: #151D1A;
  
  --clr-brand-primary: #C27644;        /* Warm Terracotta / Clay */
  --clr-brand-primary-hover: #A65F31;
  --clr-brand-secondary: #2C4A3E;      /* Deep Forest Pine */
  --clr-brand-secondary-light: #3D6454;
  --clr-brand-accent: #D4A373;         /* Sand Gold */
  
  --clr-text-main: #1C2421;
  --clr-text-muted: #5C6762;
  --clr-text-light: #EBF0ED;
  --clr-text-light-muted: #A3B0A9;
  
  --clr-border: #E5DFD3;
  --clr-border-dark: #2E3B35;
  --clr-success: #25D366;
  
  /* Typography */
  --ff-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(28, 36, 33, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 36, 33, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 36, 33, 0.12);
  --shadow-glow: 0 0 30px rgba(194, 118, 68, 0.35);
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(14px);
  
  /* Layout Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --container-max: 1240px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  background-color: var(--clr-bg-main);
  color: var(--clr-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--clr-bg-alt);
}

.section-dark {
  background-color: var(--clr-bg-dark);
  color: var(--clr-text-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-brand-primary);
  margin-bottom: 0.75rem;
}

.eyebrow-dark {
  color: var(--clr-brand-accent);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-text-main);
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: var(--clr-text-light);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
  margin-top: 1rem;
  font-weight: 400;
}

.section-dark .section-subtitle {
  color: var(--clr-text-light-muted);
}

/* --- Buttons & UI Badges --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--clr-brand-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--clr-brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: var(--clr-brand-secondary);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--clr-brand-secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1.5px solid var(--clr-border);
  background-color: transparent;
  color: var(--clr-text-main);
}

.btn-outline:hover {
  border-color: var(--clr-brand-primary);
  color: var(--clr-brand-primary);
  background-color: rgba(194, 118, 68, 0.05);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background-color: transparent;
  color: #FFFFFF;
}

.btn-outline-light:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.15);
}

.btn-whatsapp {
  background-color: var(--clr-success);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #1EBE5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-brand-secondary);
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  background: linear-gradient(135deg, var(--clr-brand-primary), var(--clr-brand-primary-hover));
  color: #FFFFFF;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--clr-border);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-badge {
  background: var(--clr-brand-secondary);
  color: #FFFFFF;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--clr-text-main);
  line-height: 1.1;
}

.header-dark .brand-title {
  color: #FFFFFF;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--clr-brand-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text-main);
  position: relative;
}

.header-dark .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--clr-brand-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--clr-text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--clr-bg-main);
  z-index: 1001;
  padding: 5rem 2rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-text-main);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes heroZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg, 
    rgba(18, 26, 23, 0.75) 0%, 
    rgba(18, 26, 23, 0.85) 60%, 
    rgba(18, 26, 23, 0.95) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
}

.hero-content {
  max-width: 820px;
}

.hero-eyebrow {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--clr-brand-accent);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-price-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-price {
  font-family: var(--ff-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, #E29562, #C27644);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-price-badge {
  background: rgba(226, 149, 98, 0.2);
  border: 1px solid rgba(226, 149, 98, 0.5);
  color: #F8C3A0;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--clr-brand-accent);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-features-bar {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
}

.hero-feature-value {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hero-feature-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   2. EL LOTE SECTION
   ========================================================================== */
.lote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.lote-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lote-gallery-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.lote-gallery-main:hover img {
  transform: scale(1.03);
}

.lote-gallery-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-brand-secondary);
  box-shadow: var(--shadow-sm);
}

.lote-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.lote-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 85px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.lote-thumb.active, .lote-thumb:hover {
  border-color: var(--clr-brand-primary);
  transform: translateY(-2px);
}

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

.lote-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.spec-card {
  background: var(--clr-bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.spec-card:hover {
  border-color: var(--clr-brand-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.spec-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(194, 118, 68, 0.1);
  color: var(--clr-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spec-info {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.spec-value {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-text-main);
}

.lote-description {
  background: rgba(194, 118, 68, 0.06);
  border-left: 4px solid var(--clr-brand-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-text-main);
}

/* ==========================================================================
   3. MASTERPLAN SECTION
   ========================================================================== */
.masterplan-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  background: var(--clr-bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.masterplan-map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #E8E5DC;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.masterplan-map-viewport {
  width: 100%;
  height: 100%;
  min-height: 450px;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.masterplan-map-viewport:active {
  cursor: grabbing;
}

.masterplan-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-fast);
  transform-origin: center center;
}

/* Marker for Lote 696 (Etapa V) */
.map-marker-pin {
  position: absolute;
  top: 95%;
  left: 15%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
}

.pin-pulse {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(194, 118, 68, 0.4);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: mapPulse 2s infinite ease-out;
}

@keyframes mapPulse {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.pin-badge {
  position: relative;
  background: var(--clr-brand-primary);
  color: #FFFFFF;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(194, 118, 68, 0.6);
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.map-controls {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.5rem;
  z-index: 20;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
}

.map-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--clr-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.map-btn:hover {
  background: var(--clr-brand-primary);
  color: #FFFFFF;
}

.map-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(44, 74, 62, 0.1);
  color: var(--clr-brand-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.map-features-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.map-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

.map-feature-item svg {
  color: var(--clr-brand-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   4. APARTADO DEL RUIDO
   ========================================================================== */
.location-context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.location-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.location-card {
  background: var(--clr-bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  display: flex;
  gap: 1.25rem;
}

.location-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(44, 74, 62, 0.1);
  color: var(--clr-brand-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ==========================================================================
   5. SANTA CLARA DESDE EL AIRE
   ========================================================================== */
.aerial-hero-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 550px;
  box-shadow: var(--shadow-lg);
}

.aerial-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aerial-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg, 
    rgba(21, 29, 26, 0.9) 0%, 
    rgba(21, 29, 26, 0.3) 50%, 
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: #FFFFFF;
}

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

.aerial-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  position: relative;
  cursor: pointer;
}

.aerial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.aerial-card:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   6. INFRAESTRUCTURA & PENSADO PARA DURAR
   ========================================================================== */
.infra-highlight-banner {
  background: linear-gradient(135deg, var(--clr-brand-secondary), var(--clr-bg-dark));
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: #FFFFFF;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.infra-highlight-content h3 {
  font-family: var(--ff-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--clr-brand-accent);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.infra-card {
  background: var(--clr-bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  transition: var(--transition-fast);
}

.infra-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-brand-primary);
  box-shadow: var(--shadow-md);
}

.infra-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(194, 118, 68, 0.1);
  color: var(--clr-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.infra-title {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.infra-text {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

/* ==========================================================================
   7. NATURALEZA MASONRY GRID
   ========================================================================== */
.nature-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1.25rem;
}

.masonry-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.masonry-tall {
  grid-row: span 2;
}

.masonry-wide {
  grid-column: span 2;
}

.masonry-caption {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.masonry-item:hover .masonry-caption {
  opacity: 1;
}

/* ==========================================================================
   8. LAGUNAS & 9. DEPORTES & 10. ESPACIOS SOCIALES
   ========================================================================== */
.feature-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-visual-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-visual-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.feature-visual-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.atardecer-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  background: var(--clr-bg-dark);
}

.atardecer-photo {
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
}

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

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   12. EXPENSAS CON SENTIDO
   ========================================================================== */
.expensas-box {
  background: var(--clr-bg-card);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.expensas-quote-card {
  background: linear-gradient(135deg, var(--clr-brand-secondary), var(--clr-bg-dark));
  color: #FFFFFF;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: center;
}

.expensas-quote-tag {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--clr-brand-accent);
  margin-bottom: 1rem;
}

.expensas-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.expensas-stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.expensas-stat-num {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* ==========================================================================
   13. TRANQUILIDAD HERO BANNER
   ========================================================================== */
.tranquilidad-banner {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

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

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

.tranquilidad-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 23, 0.65);
  z-index: 2;
}

.tranquilidad-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 0 1.5rem;
}

.tranquilidad-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   14. VOLVER AL LOTE
   ========================================================================== */
.volver-lote-card {
  background: linear-gradient(135deg, var(--clr-bg-dark), var(--clr-bg-dark-accent));
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.volver-lote-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
}

.volver-lote-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   15. GALERÍA FILTRABLE
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--clr-brand-secondary);
  color: #FFFFFF;
  border-color: var(--clr-brand-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #FFFFFF;
  font-family: var(--ff-heading);
  font-weight: 600;
}

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

/* ==========================================================================
   16. CTA FINAL & FORMULARIO
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-box {
  background: var(--clr-bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-bg-main);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--clr-brand-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(194, 118, 68, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 20, 18, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: var(--clr-text-light);
  font-family: var(--ff-heading);
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--clr-brand-primary);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--clr-brand-primary);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--clr-success);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--clr-border);
  padding: 0.75rem 1rem;
  z-index: 998;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .lote-grid, .masterplan-wrapper, .location-context-grid, .infra-highlight-banner, .expensas-box, .volver-lote-card, .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .nature-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  
  .masonry-wide {
    grid-column: span 1;
  }

  .aerial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .hero-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lote-specs-grid {
    grid-template-columns: 1fr;
  }

  .expensas-box {
    padding: 1.25rem;
    gap: 1.5rem;
    overflow: hidden;
  }

  .expensas-box > * {
    min-width: 0;
  }

  .expensas-box .section-title {
    font-size: 2rem;
  }

  .expensas-box .badge {
    width: 100%;
    white-space: normal;
    line-height: 1.35;
    border-radius: var(--radius-md);
    align-items: flex-start;
  }

  .expensas-quote-card {
    padding: 1.5rem;
  }

  .expensas-quote-tag {
    font-size: 1.55rem;
  }

  .expensas-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .map-marker-pin {
    display: none;
  }
  
  .mobile-sticky-bar {
    display: flex;
  }
  
  .whatsapp-float {
    bottom: 4.5rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  
  .section {
    padding: 4rem 0;
  }
}
