.elementor-831 .elementor-element.elementor-element-da2150a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:-41px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-831 .elementor-element.elementor-element-79c4ec5{margin:-60px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-831 .elementor-element.elementor-element-f73c865{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-831 .elementor-element.elementor-element-34f9ef3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-79c4ec5 *//* --- CONTENEDOR PRINCIPAL --- */
.seccion-proyectos {
  background-color: #FFFFFF;
  padding: 80px 20px;
}
.contenedor {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- TÍTULO Y SUBTÍTULO --- */
.header-proyectos {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}
.titulo-proyectos {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color:#16243E;
  font-size: 2.5rem;
}
.subtexto-proyectos {
  font-family: 'Poppins', sans-serif;
  color: #3A3A3A;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- GRID DE PROYECTOS --- */
.grid-proyectos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- CARD COMÚN --- */
.card-proyecto {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: flex-end;
  transition: all 0.3s ease-in-out;
}

/* --- CARD DESTACADA --- */
.card-proyecto.destacada {
  grid-column: span 3;
  height: 500px;
}

/* --- OVERLAY Y TEXTO --- */
.card-proyecto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  transition: background 0.3s ease;
}
.card-proyecto:hover::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}
.overlay {
  position: relative;
  padding: 20px;
  color: #fff;
  z-index: 2;
  width: 100%;
}
.titulo-card, .desc-card {
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  hyphens: auto;
}
.titulo-card {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.desc-card {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* --- CTA --- */
.cta-card {
  display: inline-block;
  background-color: #C9A648;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
}
.card-proyecto:hover .cta-card {
  opacity: 1;
}
.cta-card:hover {
  background-color: #A58638;
}

/* --- BADGES --- */
.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  color: #fff;
  z-index: 3;
}
.estado-desarrollo {
  background-color: #C9A648;
}
.estado-entregado {
  background-color: #1C3A3E;
}
.estado-proximos {
  background-color: #A3A3A3;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 1024px) {
  .grid-proyectos {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-proyecto.destacada {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .grid-proyectos {
    grid-template-columns: 1fr;
  }
  .card-proyecto.destacada {
    grid-column: span 1;
  }
}
/* --- Texto dentro de las cards (títulos y descripciones) --- */
.card-proyecto .overlay,
.card-proyecto .overlay * {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* --- Fondo degradado más oscuro en la parte inferior --- */
.card-proyecto::before {
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
}
.card-proyecto:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.25));
}
/* =========================
   PROYECTO PRINCIPAL
========================= */

.seccion-proyectos {
  width: 100%;
  background: #ffffff;
  padding: 80px 20px 40px;
  box-sizing: border-box;
}

.contenedor {
  max-width: 1320px;
  margin: 0 auto;
}

.header-proyectos {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.titulo-proyectos {
  color: #2A5741;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.subtexto-proyectos {
  color: #4b4b4b;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.card-proyecto.destacada {
  min-height: 460px;
  border-radius: 18px;
  display: block;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

/* overlay fijo */
.card-proyecto .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.08));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  color: #fff;
}

.titulo-card {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
}

.desc-card {
  max-width: 650px;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
}

.cta-card {
  background: #C8A96E;
  color: #fff;
  width: fit-content;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
}

/* badges */
.badge {
  display: inline-block;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.card-proyecto .badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
}

.estado-desarrollo {
  background: #C8A96E;
}


/* =========================
   LEGADO / TORRES
========================= */

.ld-legado-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #ffffff;
  padding: 90px 24px;
  box-sizing: border-box;
}

.ld-legado-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.ld-legado-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.ld-eyebrow {
  display: inline-block;
  color: #C8A96E;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.ld-legado-header h2 {
  color: #2A5741;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.ld-legado-header p {
  color: #4b4b4b;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.ld-legado-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ld-torre-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

/* imagen con overlay fijo */
.ld-torre-image {
  height: 245px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ld-torre-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55),
    rgba(0,0,0,.05)
  );
}

/* badge */
.ld-status {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.ld-status.delivered {
  background: #2A5741;
}

.ld-status.progress {
  background: #C8A96E;
}

.ld-torre-content {
  padding: 26px;
}

.ld-year {
  display: block;
  color: #C8A96E;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ld-torre-content h3 {
  color: #183b2d;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.ld-location {
  color: #555;
  margin: 0 0 22px;
  font-size: 15px;
}

.ld-meta {
  border-top: 1px solid rgba(0,0,0,.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #2A5741;
  font-weight: 700;
  font-size: 14px;
}

.ld-torre-card.featured {
  border: 1px solid rgba(200,169,110,.4);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .ld-legado-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-proyecto.destacada {
    min-height: 400px;
  }
}

@media (max-width: 640px) {
  .seccion-proyectos {
    padding: 70px 16px 30px;
  }

  .ld-legado-section {
    padding: 70px 16px;
  }

  .ld-legado-grid {
    grid-template-columns: 1fr;
  }

  .card-proyecto .overlay {
    padding: 26px;
  }

  .card-proyecto.destacada {
    min-height: 360px;
  }

  .ld-torre-image {
    height: 260px;
  }

  .ld-meta {
    flex-direction: column;
  }
}/* End custom CSS */