:root {
  --verde: #18432F;
  --verde-oscuro: #0E2A1D;
  --verde-claro: #2E6B4A;
  --crema: #F6F3EC;
  --blanco: #FFFFFF;
  --texto: #21281F;
  --font-titulo: 'Poppins', sans-serif;
  --font-cuerpo: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cuerpo);
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Iconos monocromáticos (sprite SVG) */
.icon {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tratamiento de color unificado para fotos (cohesión de marca en fotos temporales de stock) */
.hero__bg,
.amenidades__media,
.intro__image img,
.solares__image img,
.ubicacion__image img,
.vision__card img,
.galeria__grid img,
.master-plan__image img {
  filter: saturate(0.8) contrast(1.05) sepia(0.06);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-titulo);
  color: var(--verde);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { color: #4a5347; }

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

.section { padding: 46px 0; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--verde-claro);
  margin-bottom: 12px;
}

.section-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #6b7565;
}

.section-head { max-width: 700px; margin-bottom: 50px; }
.section-head--light .section-eyebrow { color: var(--crema); opacity: 0.8; }
.section-head--light h2 { color: var(--crema); }
.section-head--light .section-note { color: #cfe0d3; opacity: 0.85; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--verde);
  color: var(--crema);
}
.btn--primary:hover {
  background: var(--verde-oscuro);
  transform: translateY(-2px);
}
.btn--outline {
  border-color: var(--crema);
  color: var(--crema);
}
.btn--outline:hover {
  background: rgba(246, 243, 236, 0.15);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(24, 67, 47, 0.92);
  backdrop-filter: blur(6px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.header__logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--crema);
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 1; }
.header__cta {
  background: var(--crema);
  color: var(--verde);
  padding: 10px 22px;
}
.header__cta:hover { background: var(--blanco); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--crema);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -2%;
  background-color: var(--verde);
  background-size: cover;
  background-position: center;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}
@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.13); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,42,29,0.7) 0%, rgba(14,42,29,0.88) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--crema);
  padding-top: 230px;
  padding-bottom: 180px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: #cfe0d3;
  margin-bottom: 18px;
}
.hero h1 { color: var(--crema); margin-bottom: 20px; }
.hero__subtitle {
  color: #dfe8e1;
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 34px;
}
.hero__subtitle .highlight {
  color: var(--crema);
  font-weight: 700;
  font-family: var(--font-titulo);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.85rem;
  color: #cfe0d3;
}
.hero__badges li::before { content: "✓ "; color: #7bdcb0; }

/* Entrada escalonada del hero (CSS puro) */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow,
.hero h1,
.hero__subtitle,
.hero__actions,
.hero__badges {
  opacity: 0;
  animation: heroReveal 1.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  will-change: opacity, transform;
}
.hero .eyebrow { animation-delay: 0.2s; }
.hero h1 { animation-delay: 0.5s; }
.hero__subtitle { animation-delay: 0.85s; }
.hero__actions { animation-delay: 1.2s; }
.hero__badges { animation-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow,
  .hero h1,
  .hero__subtitle,
  .hero__actions,
  .hero__badges {
    animation: none;
    opacity: 1;
  }
}

/* ===== INTRO ===== */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro__image img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--verde-claro), var(--verde));
}
.intro h2 { margin-bottom: 18px; }

/* ===== WHY CARDS ===== */
.why { position: relative; overflow: hidden; }
.why__bg {
  position: absolute;
  inset: 0;
  background-color: var(--verde-oscuro);
  background-size: cover;
  background-position: center;
  filter: saturate(0.8) contrast(1.05) sepia(0.06);
}
.why__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(14,42,29,0.92) 0%, rgba(24,67,47,0.82) 100%);
}
.why .container { position: relative; z-index: 2; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: var(--blanco);
  padding: 40px 30px;
  border-radius: 14px;
  border: 1px solid rgba(24,67,47,0.08);
  box-shadow: 0 10px 30px rgba(24,67,47,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(24,67,47,0.09);
}
.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(24,67,47,0.08), rgba(24,67,47,0.03));
}
.card__icon .icon { width: 1.7em; height: 1.7em; }
.card h3 { margin-bottom: 10px; letter-spacing: 0.2px; }

/* ===== CARACTERISTICAS DEL PROYECTO ===== */
.caracteristicas__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.caracteristica {
  text-align: center;
  background: var(--blanco);
  border: 1px solid rgba(24,67,47,0.08);
  border-radius: 12px;
  padding: 26px 16px;
  box-shadow: 0 8px 24px rgba(24,67,47,0.04);
}
.caracteristica__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(24,67,47,0.06);
  color: var(--verde);
}
.caracteristica p { font-size: 0.85rem; margin: 0; font-weight: 500; }

/* ===== AMENIDADES (con video de fondo) ===== */
.amenidades {
  position: relative;
  overflow: hidden;
  background-color: var(--verde-oscuro);
}
.amenidades__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.amenidades__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,28,19,0.92);
}
.amenidades .container { position: relative; z-index: 2; }
.amenidades__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.amenidad {
  background: var(--crema);
  border: 1px solid rgba(24,67,47,0.08);
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  color: var(--verde);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.amenidad:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.22); }
.amenidad span {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(24,67,47,0.08);
}
.amenidad span .icon { width: 1.5em; height: 1.5em; }
.amenidad p { color: var(--verde); font-size: 0.92rem; margin: 0; letter-spacing: 0.2px; font-weight: 500; }

/* ===== SOLARES ===== */
.solares__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.solares__image img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--verde), var(--verde-claro));
}
.solares h2 { margin-bottom: 18px; }
.solares p { margin-bottom: 16px; }
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 26px;
}
.price-tag__label { font-size: 0.9rem; color: var(--verde-claro); font-weight: 600; }
.price-tag__value { font-family: var(--font-titulo); font-size: 2rem; font-weight: 800; color: var(--verde); }
.price-tag__note { font-size: 0.85rem; color: #6b7565; width: 100%; }

/* ===== DIVISOR DE SECCION (banda) ===== */
.section-band-divider {
  position: relative;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--verde-claro), var(--verde));
}
.section-band-divider__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--crema);
  color: var(--verde);
  box-shadow: 0 10px 24px rgba(24,67,47,0.25);
}
.section-band-divider__icon .icon { width: 1.4em; height: 1.4em; }

/* ===== EL TERRENO HOY (collage de fotos reales) ===== */
.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.vision__collage {
  position: relative;
  padding-bottom: 30px;
  padding-right: 40px;
}
.vision__main {
  border-radius: 14px;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, var(--verde-claro), var(--verde));
  box-shadow: 0 20px 40px rgba(24,67,47,0.15);
}
.vision__accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid var(--crema);
  background: linear-gradient(135deg, var(--verde), var(--verde-oscuro));
  box-shadow: 0 16px 32px rgba(24,67,47,0.2);
}
.vision__tag {
  position: absolute;
  top: -14px;
  left: 14px;
  z-index: 2;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 7px 16px;
  border-radius: 20px;
  background: var(--blanco);
  color: var(--verde);
  box-shadow: 0 6px 16px rgba(24,67,47,0.12);
}
.vision p { margin: 16px 0 18px; }

/* ===== GALERIA ===== */
.galeria .section-head { max-width: 700px; }
.galeria .section-head p { margin-top: 14px; }
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.galeria__grid img {
  border-radius: 10px;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: linear-gradient(135deg, var(--verde-claro), var(--verde));
}

/* ===== VENTAJAS COMPETITIVAS ===== */
.ventajas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ventajas__image img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--verde-claro), var(--verde));
}
.ventajas__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.ventajas__list li {
  background: var(--blanco);
  border: 1px solid rgba(24,67,47,0.08);
  border-radius: 12px;
  padding: 18px 22px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(24,67,47,0.04);
}
.ventajas__list li::before { content: "✓ "; color: var(--verde-claro); font-weight: 700; }

/* ===== STATS (dentro de Garantías) ===== */
.stats__head {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(246,243,236,0.15);
  text-align: center;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 10px;
}
.stat__num {
  display: block;
  font-family: var(--font-titulo);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--crema);
}
.stat p { font-size: 0.88rem; margin-top: 6px; color: #c9d4c9; }

/* ===== UBICACION ===== */
.ubicacion__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.checklist { list-style: none; margin-top: 22px; }
.checklist li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(24,67,47,0.1);
  color: var(--texto);
  font-weight: 500;
}
.checklist li::before { content: "📍 "; }
.ubicacion__image img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--crema), #d8d3c4);
}

/* ===== GARANTIAS ===== */
.garantias { background: linear-gradient(200deg, var(--verde) 0%, var(--verde-oscuro) 70%); }
.garantias__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.garantia {
  border-left: 3px solid var(--verde-claro);
  padding-left: 20px;
}
.garantia h3 { color: var(--crema); margin-bottom: 8px; }
.garantia p { color: #c9d4c9; }

/* ===== FORMA DE PAGO ===== */
.pago__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.pago__step { text-align: center; }
.pago__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(24,67,47,0.06);
  color: var(--verde);
}
.pago__step h3 { margin-bottom: 5px; font-size: 0.92rem; }
.pago__step p { font-size: 0.82rem; margin: 0; }

/* ===== FAQ / ACCORDION ===== */
.accordion__item {
  border-bottom: 1px solid rgba(24,67,47,0.15);
}
.accordion__trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font-titulo);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--verde);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion__panel p { padding-bottom: 18px; }
.accordion__item.active .accordion__panel { max-height: 200px; }
.accordion__item.active .accordion__trigger span { transform: rotate(45deg); }
.accordion__trigger span { transition: transform 0.2s; }

/* ===== CTA FINAL ===== */
.cta-final { background: linear-gradient(135deg, var(--verde-claro) 0%, var(--verde) 50%, var(--verde-oscuro) 100%); text-align: center; }
.cta-final__inner h2 { color: var(--crema); margin-bottom: 14px; }
.cta-final__inner p { color: #cfe0d3; margin-bottom: 30px; }

/* ===== CONTACTO ===== */
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.contacto__info {
  position: relative;
  overflow: hidden;
  padding: 70px 60px;
  display: flex;
  align-items: center;
}
.contacto__bg {
  position: absolute;
  inset: 0;
  background-color: var(--verde-oscuro);
  background-size: cover;
  background-position: center;
  filter: saturate(0.7) contrast(1.05) sepia(0.08);
}
.contacto__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(14,42,29,0.94) 0%, rgba(24,67,47,0.88) 100%);
}
.contacto__content { position: relative; z-index: 2; color: var(--crema); }
.contacto__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cfe0d3;
  margin-bottom: 18px;
}
.contacto__eyebrow span { width: 22px; height: 1px; background: #7bdcb0; display: inline-block; }
.contacto__content h2 { color: var(--crema); margin-bottom: 16px; }
.contacto__lead { color: #dfe8e1; margin-bottom: 36px; max-width: 440px; }
.contacto__item { margin-bottom: 26px; }
.contacto__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.72rem;
  color: #9fb5a3;
  margin-bottom: 6px;
}
.contacto__item a, .contacto__item p { color: var(--crema); font-weight: 500; margin: 0; }

.contacto__form-wrap {
  background: var(--blanco);
  padding: 70px 60px;
  display: flex;
  align-items: center;
}
.contacto__form { width: 100%; }
.contacto__form h2 { margin-bottom: 28px; }
.contacto__form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--verde-claro);
  margin-bottom: 18px;
}
.contacto__form input,
.contacto__form select,
.contacto__form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(24,67,47,0.18);
  border-radius: 8px;
  font-family: var(--font-cuerpo);
  font-size: 0.95rem;
  color: var(--texto);
  background: var(--crema);
}
.contacto__form input:focus,
.contacto__form select:focus,
.contacto__form textarea:focus {
  outline: none;
  border-color: var(--verde-claro);
}
.contacto__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contacto__submit {
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .contacto__grid { grid-template-columns: 1fr; min-height: auto; }
  .contacto__info, .contacto__form-wrap { padding: 50px 30px; }
  .contacto__row { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer { background: var(--verde-oscuro); padding: 50px 0; }
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer__info p { color: #c9d4c9; font-size: 0.9rem; margin: 2px 0; }
.footer__info a { color: var(--crema); text-decoration: underline; }
.footer__copy { color: #8a9788; font-size: 0.8rem; margin-top: 10px; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  z-index: 90;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== FADE IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE (breakpoints Elementor: Tablet <=1024px, Móvil <=767px) ===== */
@media (max-width: 1024px) {
  .section { padding: 38px 0; }
  .hero__content { padding-top: 140px; padding-bottom: 90px; }
  .why__grid, .amenidades__grid, .garantias__grid { grid-template-columns: repeat(2, 1fr); }
  .galeria__grid, .stats__grid, .caracteristicas__grid { grid-template-columns: repeat(2, 1fr); }
  .intro__grid, .solares__grid, .ubicacion__grid, .vision__grid, .ventajas__grid { grid-template-columns: 1fr; gap: 30px; }
  .solares__image { order: -1; }
  .pago__steps { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
}

@media (max-width: 767px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--verde-oscuro);
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
  }
  .nav.nav--open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(246,243,236,0.1); }
  .nav-toggle { display: flex; }
  .header__cta { padding: 8px 16px; font-size: 0.85rem; }
  .why__grid, .amenidades__grid, .garantias__grid, .galeria__grid, .stats__grid, .caracteristicas__grid { grid-template-columns: 1fr; }
  .pago__steps { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 30px 0; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}
