/* =============================================
   TRESOL. Landing Page — Style Sheet
   Design: Vibrant, Youthful, Green-toned
   ============================================= */

/* === ROOT VARIABLES === */
:root {
  --green-primary: #2ECC71;
  --green-dark: #1DB954;
  --green-light: #A8F0C6;
  --green-pale: #E8FBF0;
  --green-deep: #0D7A3E;
  --lime: #B5EF2A;
  --lime-dark: #94C81A;
  --black: #0A0A0A;
  --dark: #111827;
  --dark-2: #1F2937;
  --gray: #6B7280;
  --gray-light: #D1D5DB;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --card-bg: #FFFFFF;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p { line-height: 1.7; color: var(--gray); }
em { font-style: normal; color: var(--green-primary); }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { padding: 100px 0; background: var(--off-white); }

/* === SECTION HEADER === */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-sub { max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 8px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-primary);
  color: var(--black);
  border-color: var(--green-primary);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,204,113,0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}
.btn-primary-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-primary-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn i { font-size: 0.9em; transition: transform var(--transition); }
.btn:hover i { transform: translateX(3px); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
  background: rgba(31, 41, 55, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition), filter var(--transition);
  filter: brightness(0) invert(1);
}
.navbar.scrolled .nav-logo img {
  height: 26px;
  filter: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 50px;
  transition: all var(--transition);
}
.navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover {
  color: var(--green-primary);
  background: var(--green-pale);
}
.nav-cta {
  background: var(--green-primary) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
}
.nav-cta:hover {
  background: var(--green-dark) !important;
  box-shadow: 0 4px 16px rgba(46,204,113,0.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  position: relative;
  z-index: 1010;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--white) !important;
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--white) !important;
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 30, 0.5) 0%,
    rgba(10, 15, 30, 0.4) 45%,
    rgba(10, 15, 30, 0.8) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 60px;
  color: var(--white);
}
.hero-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  border: 1px solid rgba(168,240,198,0.5);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.25);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.55), 0 4px 48px rgba(0,0,0,0.35);
}
.hero-title em {
  color: var(--green-primary);
  display: block;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5), 0 0 60px rgba(46,204,113,0.25);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6), 0 2px 24px rgba(0,0,0,0.4);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(46,204,113,0.3);
  margin-top: auto;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 120px;
  right: 40px;
  z-index: 3;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
  transition: all var(--transition);
}
.scroll-down:hover { border-color: var(--green-primary); color: var(--green-primary); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =============================================
   PROYECTO
   ============================================= */
.proyecto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.proyecto-text .section-tag { margin-bottom: 12px; display: block; }
.proyecto-desc { font-size: 1.05rem; margin-bottom: 16px; }
.proyecto-desc strong { color: var(--dark); font-weight: 600; }
.proyecto-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proyecto-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-2);
}
.proyecto-list li i {
  width: 24px; height: 24px;
  background: var(--green-pale);
  color: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.proyecto-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.proyecto-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s ease;
}
.proyecto-img-wrap:hover .proyecto-img { transform: scale(1.03); }
.proyecto-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}
.badge-icon {
  width: 40px; height: 40px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
  flex-shrink: 0;
}
.proyecto-badge small { color: var(--gray); font-weight: 400; }

/* =============================================
   ETAPAS
   ============================================= */
.etapas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.etapa-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 2px solid transparent;
}
.etapa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.etapa1:hover { border-color: var(--green-primary); }
.etapa2:hover { border-color: #C8A96E; }
.etapa-color {
  height: 8px;
}
.etapa1 .etapa-color { background: linear-gradient(90deg, #C8895A, #B87A4A); }
.etapa2 .etapa-color { background: linear-gradient(90deg, #D4B896, #C8A96E); }
.etapa-info { padding: 28px; }
.etapa-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--green-pale);
  color: var(--green-deep);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.etapa-info h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--dark); }
.etapa-info p { font-size: 0.9rem; margin-bottom: 20px; }
.etapa-info ul { display: flex; flex-direction: column; gap: 10px; }
.etapa-info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--dark-2);
  font-weight: 500;
}
.etapa-info ul li i { color: var(--green-primary); width: 18px; text-align: center; }
.masterplan-img {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 20px;
}
.masterplan-img img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: contain;
}
.masterplan-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 16px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-2);
}
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 3px;
}
.etapa1-color .legend-dot { background: #C8895A; }
.etapa2-color .legend-dot { background: #D4B896; }

/* =============================================
   DEPARTAMENTOS
   ============================================= */
.tipo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: var(--off-white);
  border-radius: 50px;
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tipo-tab {
  padding: 12px 36px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
  transition: all var(--transition);
}
.tipo-tab.active {
  background: var(--green-primary);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(46,204,113,0.4);
}
.tipo-tab:hover:not(.active) { color: var(--green-deep); }
.tipo-content { display: none; }
.tipo-content.active { display: block; }

.tipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tipo-header { margin-bottom: 28px; }
.tipo-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.suite-tag { background: var(--green-pale); color: var(--green-deep); }
.loft-tag { background: #FFF3E0; color: #E65100; }
.tipo-header h3 { color: var(--dark); }
.tipo-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius);
}
.spec-item i {
  color: var(--green-primary);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.spec-item div { display: flex; flex-direction: column; gap: 2px; }
.spec-item strong { font-size: 0.9rem; color: var(--dark); font-weight: 600; }
.spec-item span { font-size: 0.78rem; color: var(--gray); }
.tipo-price {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--green-pale), #fff);
  border-radius: var(--radius);
  border: 1px solid var(--green-light);
}
.price-label { font-size: 0.78rem; color: var(--gray); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.price-value { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--green-deep); }

.tipo-imgs { position: relative; }
.tipo-swiper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tipo-swiper .swiper-slide {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tipo-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tipo-swiper .slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  color: var(--white);
  padding: 40px 20px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  pointer-events: none;
  z-index: 10;
}
.tipo-swiper .swiper-button-prev,
.tipo-swiper .swiper-button-next {
  width: 38px !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(4px);
  color: var(--black) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  transition: all var(--transition) !important;
}
.tipo-swiper .swiper-button-prev:hover,
.tipo-swiper .swiper-button-next:hover {
  background: var(--green-primary) !important;
  color: var(--black) !important;
}
.tipo-swiper .swiper-button-prev::after,
.tipo-swiper .swiper-button-next::after {
  font-size: 0.75rem !important;
  font-weight: 900 !important;
}
.tipo-swiper .swiper-pagination-bullet-active {
  background: var(--green-primary) !important;
}
.tipo-thumb-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.tipo-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all var(--transition);
  flex: 1;
}
.tipo-thumb:hover, .tipo-thumb.active {
  opacity: 1;
  border-color: var(--green-primary);
}

/* =============================================
   AMENIDADES
   ============================================= */
.amenidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.amenidad-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.amenidad-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--lime));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.amenidad-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.amenidad-card:hover::before { transform: scaleX(1); }
.amenidad-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--green-pale), #d4f5e4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--green-deep);
  transition: all var(--transition);
}
.amenidad-card:hover .amenidad-icon {
  background: var(--green-primary);
  color: var(--black);
  transform: rotate(-5deg) scale(1.05);
}
.amenidad-card h4 { color: var(--dark); margin-bottom: 8px; font-size: 1rem; }
.amenidad-card p { font-size: 0.82rem; }
.amenidades-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.amenidades-showcase img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.amenidades-showcase img:hover { transform: scale(1.05); }

/* =============================================
   GALERÍA (Swiper)
   ============================================= */
.galeria { padding: 100px 0; overflow: hidden; }
.galeria .container { margin-bottom: 40px; }
.galeria-swiper {
  padding: 0 40px 50px !important;
  overflow: visible !important;
}
.galeria-swiper .swiper-slide {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}
.galeria-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.galeria-swiper .swiper-slide:hover img { transform: scale(1.05); }
.galeria-swiper .swiper-slide span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 30px 20px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}
.swiper-button-next, .swiper-button-prev {
  width: 48px !important; height: 48px !important;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--green-deep) !important;
}
.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 700;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--green-primary);
  color: var(--black) !important;
}
.swiper-pagination-bullet { background: var(--gray-light) !important; }
.swiper-pagination-bullet-active { background: var(--green-primary) !important; }

/* =============================================
   UBICACIÓN
   ============================================= */
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.ubicacion-info h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--dark);
}
.poi-list { display: flex; flex-direction: column; gap: 16px; }
.poi-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.poi-list li:hover {
  border-color: var(--green-primary);
  box-shadow: 0 4px 16px rgba(46,204,113,0.15);
  transform: translateX(4px);
}
.poi-icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  font-size: 1rem;
  flex-shrink: 0;
}
.poi-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.poi-list li strong { font-size: 0.92rem; color: var(--dark); font-weight: 600; }
.poi-list li span { font-size: 0.8rem; color: var(--gray); }
.mapa-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mapa-wrap iframe { display: block; }
.mapa-pin {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--green-primary);
  color: var(--black);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(46,204,113,0.4);
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--dark) 60%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(46,204,113,0.2) 0%, transparent 70%);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 8px; font-size: 1.05rem; }
.cta-band-actions { display: flex; gap: 16px; flex-shrink: 0; flex-wrap: wrap; }

/* =============================================
   CONTACTO
   ============================================= */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contacto-info .section-tag { display: block; margin-bottom: 12px; }
.contacto-info p { font-size: 1.05rem; margin: 20px 0 28px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--dark-2);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-link i {
  width: 40px; height: 40px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-link:hover { color: var(--green-primary); }
.contact-link:hover i { background: var(--green-primary); color: var(--black); }
.contacto-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contacto-img-wrap img { width: 100%; max-height: 220px; object-fit: cover; }

/* Form */
.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
}
.contacto-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--off-white);
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(46,204,113,0.15);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gray);
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--green-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check a { color: var(--green-primary); text-decoration: underline; }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: var(--green-pale);
  border-radius: var(--radius);
  gap: 8px;
}
.form-success i { font-size: 2.5rem; color: var(--green-dark); }
.form-success strong { color: var(--green-deep); font-size: 1.05rem; }
.form-success p { font-size: 0.88rem; margin: 0; }
.form-success.show { display: flex; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer-logo {
  display: block;
  margin-bottom: 12px;
}
.footer-logo img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.92rem; margin-bottom: 8px; }
.footer-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.6; margin-top: 16px; }
.footer-links h5, .footer-contact h5 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-primary); }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.footer-contact p i { color: var(--green-primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--green-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: all var(--transition);
  animation: pulse-wa 3s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.65);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.8); }
}

/* =============================================
   IMAGE FALLBACKS (if URL restricted)
   ============================================= */
.hero-img { background: linear-gradient(135deg, #1F2937 0%, #0D7A3E 100%); }
.tipo-main-img { background: linear-gradient(135deg, var(--green-pale), #d4f5e4); }
img { object-fit: cover; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .proyecto-grid { grid-template-columns: 1fr; gap: 48px; }
  .proyecto-visual { order: -1; }
  .etapas-grid { grid-template-columns: 1fr 1fr; }
  .masterplan-img { grid-column: span 2; }
  .tipo-grid { grid-template-columns: 1fr; gap: 40px; }
  .tipo-swiper .swiper-slide { height: 300px; }
  .amenidades-grid { grid-template-columns: repeat(2, 1fr); }
  .amenidades-showcase { grid-template-columns: 1fr 1fr; }
  .amenidades-showcase img:last-child { display: none; }
  .ubicacion-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section, .section-alt { padding: 70px 0; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  
  /* WhatsApp Float mobile optimization */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
  
  /* Navbar mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    gap: 24px;
    transition: right var(--transition);
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    color: rgba(255,255,255,0.85) !important;
    font-size: 1.25rem;
    padding: 8px 0;
    width: auto;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
  }
  .nav-links a:hover { background: none; color: var(--green-primary) !important; border-bottom-color: var(--green-primary); }
  .nav-cta {
    background: var(--green-primary) !important;
    color: var(--black) !important;
    border-radius: 50px !important;
    text-align: center;
    margin-top: 12px;
    padding: 14px 32px !important;
    width: 100%;
    max-width: 200px;
    border-bottom: none !important;
  }

  /* Hero */
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: fit-content; }
  .scroll-down { display: none; }

  /* Etapas */
  .etapas-grid { grid-template-columns: 1fr; }
  .masterplan-img { grid-column: auto; }

  /* Tipos */
  .tipo-specs { grid-template-columns: 1fr; }
  .tipo-thumb-row { flex-direction: row; }

  /* Amenidades */
  .amenidades-grid { grid-template-columns: repeat(2, 1fr); }
  .amenidades-showcase { grid-template-columns: 1fr; }
  .amenidades-showcase img { height: 200px; }
  .amenidades-showcase img:not(:first-child) { display: none; }

  /* CTA Band */
  .cta-band-inner { flex-direction: column; text-align: center; }

  /* Form */
  .contacto-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  /* Galeria */
  .galeria-swiper { padding: 0 16px 40px !important; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .amenidades-grid { grid-template-columns: 1fr; }
  .tipo-tabs { width: 100%; }
  .tipo-tab { flex: 1; text-align: center; padding: 12px 16px; }
  .contacto-form-wrap { padding: 20px 16px; }
}

/* =============================================
   MODAL LIGHTBOX GALERÍA
   ============================================= */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-modal.open {
  opacity: 1;
  pointer-events: all;
}

/* Botón de Cerrar */
.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1200;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.4rem;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: var(--black);
  transform: scale(1.08) rotate(90deg);
}

/* Swiper Container en el Modal */
.modal-swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.modal-swiper .swiper-wrapper {
  align-items: center;
}

.modal-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 100px;
  box-sizing: border-box;
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

.modal-swiper .swiper-slide-active {
  opacity: 1 !important;
}

.modal-swiper .swiper-slide img {
  max-width: 90%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
}

/* Barra de Detalles Inferior */
.modal-info-bar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  z-index: 1150;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.modal-caption {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-counter {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-primary);
  background: rgba(46, 204, 113, 0.12);
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Flechas de Navegación del Modal */
.modal-prev,
.modal-next {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--white) !important;
  transition: all var(--transition) !important;
  z-index: 1150 !important;
}

.modal-prev::after,
.modal-next::after {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
}

.modal-prev:hover,
.modal-next:hover {
  background: var(--green-primary) !important;
  color: var(--black) !important;
  border-color: var(--green-primary) !important;
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.3) !important;
}

.modal-prev {
  left: 30px !important;
}

.modal-next {
  right: 30px !important;
}

/* Ajustes Responsivos para el Modal */
@media (max-width: 768px) {
  .modal-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .modal-swiper .swiper-slide {
    padding: 80px 24px;
  }

  .modal-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 65vh;
  }

  .modal-prev,
  .modal-next {
    display: none !important; /* En móviles se prefiere swipe */
  }

  .modal-info-bar {
    bottom: 24px;
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 20px;
    text-align: center;
    width: 85%;
  }

  .modal-caption {
    font-size: 0.95rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

